ETH Price: $3,637.22 (+8.15%)

Dracattus Primals (DCATP)
 

Overview

TokenID

460

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MasterchefMasatoshiJuniorX

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : MasterchefMasatoshiJuniorX.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 MasterchefMasatoshiJuniorX 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;
  bool public paused;

  enum MintStatus {
    PreMint,
    AllowList,
    Public,
    Finished
  }

  MintStatus public mintStatus = MintStatus.PreMint;

  mapping (address => uint256) public totalMintsPerAddress;

  event Received(address, uint256);

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

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

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

  function preMint(uint amount) public onlyOwner {
    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;
  }

  function setBaseURI(string memory baseURI) public onlyOwner {
    _setBaseURI(baseURI);
  }
  
  function changeMintStatus(MintStatus _status) external onlyOwner {
    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 withdraw() external onlyOwner() {
    uint balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }

  function withdrawTokens(address tokenAddress) external onlyOwner() {
    IERC20(tokenAddress).transfer(msg.sender, IERC20(tokenAddress).balanceOf(address(this)));
  }
}

// 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":"_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"},{"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 MasterchefMasatoshiJuniorX.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":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"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 MasterchefMasatoshiJuniorX.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":[{"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":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e06040526000805560006008556000601060156101000a81548160ff0219169083600381111562000036576200003562000366565b5b02179055503480156200004857600080fd5b5060405162005ef338038062005ef383398181016040528101906200006e9190620005d2565b88888560008111620000b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000ae9062000750565b60405180910390fd5b8260019080519060200190620000cf929190620002b6565b508160029080519060200190620000e8929190620002b6565b5080608081815250505050506200011462000108620001e860201b60201c565b620001f060201b60201c565b86600d8190555085600c8190555084600e8190555083600f8190555082601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505050505050505050620007d7565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c490620007a1565b90600052602060002090601f016020900481019282620002e8576000855562000334565b82601f106200030357805160ff191683800117855562000334565b8280016001018555821562000334579182015b828111156200033357825182559160200191906001019062000316565b5b50905062000343919062000347565b5090565b5b808211156200036257600081600090555060010162000348565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003fe82620003b3565b810181811067ffffffffffffffff8211171562000420576200041f620003c4565b5b80604052505050565b60006200043562000395565b9050620004438282620003f3565b919050565b600067ffffffffffffffff821115620004665762000465620003c4565b5b6200047182620003b3565b9050602081019050919050565b60005b838110156200049e57808201518184015260208101905062000481565b83811115620004ae576000848401525b50505050565b6000620004cb620004c58462000448565b62000429565b905082815260208101848484011115620004ea57620004e9620003ae565b5b620004f78482856200047e565b509392505050565b600082601f830112620005175762000516620003a9565b5b815162000529848260208601620004b4565b91505092915050565b6000819050919050565b620005478162000532565b81146200055357600080fd5b50565b60008151905062000567816200053c565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200059a826200056d565b9050919050565b620005ac816200058d565b8114620005b857600080fd5b50565b600081519050620005cc81620005a1565b92915050565b60008060008060008060008060006101208a8c031215620005f857620005f76200039f565b5b60008a015167ffffffffffffffff811115620006195762000618620003a4565b5b620006278c828d01620004ff565b99505060208a015167ffffffffffffffff8111156200064b576200064a620003a4565b5b620006598c828d01620004ff565b98505060406200066c8c828d0162000556565b97505060606200067f8c828d0162000556565b9650506080620006928c828d0162000556565b95505060a0620006a58c828d0162000556565b94505060c0620006b88c828d01620005bb565b93505060e0620006cb8c828d01620005bb565b925050610100620006df8c828d01620005bb565b9150509295985092959850929598565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600062000738600183620006ef565b9150620007458262000700565b602082019050919050565b600060208201905081810360008301526200076b8162000729565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007ba57607f821691505b60208210811415620007d157620007d062000772565b5b50919050565b60805160a05160c0516156bb6200083860003960008181611e050152612370015260008181611e3c01528181611ed001528181612143015281816123a7015261243b015260008181612e1401528181612e3d01526134d201526156bb6000f3fe60806040526004361061023f5760003560e01c806368855b641161012e578063a22cb465116100ab578063d7224ba01161006f578063d7224ba0146108a8578063e5a6b10f146108d3578063e985e9c5146108fe578063efd0cbf91461093b578063f2fde38b146109575761027f565b8063a22cb465146107c0578063a9cbd06d146107e9578063b88d4fde14610805578063b9bd28011461082e578063c87b56dd1461086b5761027f565b80637cac2602116100f25780637cac2602146106ed5780638ad433ac146107165780638da5cb5b1461073f57806395d89b411461076a5780639da3f8fd146107955761027f565b806368855b64146106065780636c0360eb146106315780636c82054b1461065c57806370a0823114610699578063715018a6146106d65761027f565b80633ccfd60b116101bc57806355f804b31161018057806355f804b31461051f5780635c975abb146105485780636352211e146105735780636373a6b1146105b05780636817c76c146105db5761027f565b80633ccfd60b1461044e57806342842e0e1461046557806344fead9e1461048e57806349df728c146104b95780634f6ccce7146104e25761027f565b806318160ddd1161020357806318160ddd1461037b57806323b872dd146103a65780632f745c59146103cf578063333171bb1461040c578063386b7691146104235761027f565b806301ffc9a71461028457806306fdde03146102c1578063081812fc146102ec578063095ea7b31461032957806310969523146103525761027f565b3661027f577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743334604051610275929190613e44565b60405180910390a1005b600080fd5b34801561029057600080fd5b506102ab60048036038101906102a69190613ed9565b610980565b6040516102b89190613f21565b60405180910390f35b3480156102cd57600080fd5b506102d6610aca565b6040516102e39190613fd5565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190614023565b610b5c565b6040516103209190614050565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190614097565b610be1565b005b34801561035e57600080fd5b506103796004803603810190610374919061420c565b610cfa565b005b34801561038757600080fd5b50610390610dc5565b60405161039d9190614255565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190614270565b610dce565b005b3480156103db57600080fd5b506103f660048036038101906103f19190614097565b610dde565b6040516104039190614255565b60405180910390f35b34801561041857600080fd5b50610421610fdc565b005b34801561042f57600080fd5b50610438611084565b6040516104459190614255565b60405180910390f35b34801561045a57600080fd5b5061046361108a565b005b34801561047157600080fd5b5061048c60048036038101906104879190614270565b611155565b005b34801561049a57600080fd5b506104a3611175565b6040516104b09190614255565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db91906142c3565b61117b565b005b3480156104ee57600080fd5b5061050960048036038101906105049190614023565b6112f2565b6040516105169190614255565b60405180910390f35b34801561052b57600080fd5b506105466004803603810190610541919061420c565b611345565b005b34801561055457600080fd5b5061055d6113cd565b60405161056a9190613f21565b60405180910390f35b34801561057f57600080fd5b5061059a60048036038101906105959190614023565b6113e0565b6040516105a79190614050565b60405180910390f35b3480156105bc57600080fd5b506105c56113f6565b6040516105d29190613fd5565b60405180910390f35b3480156105e757600080fd5b506105f0611484565b6040516105fd9190614255565b60405180910390f35b34801561061257600080fd5b5061061b61148a565b6040516106289190614255565b60405180910390f35b34801561063d57600080fd5b50610646611490565b6040516106539190613fd5565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e91906142f0565b611522565b6040516106909190614349565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb91906142c3565b611555565b6040516106cd9190614255565b60405180910390f35b3480156106e257600080fd5b506106eb61163e565b005b3480156106f957600080fd5b50610714600480360381019061070f9190614389565b6116c6565b005b34801561072257600080fd5b5061073d60048036038101906107389190614023565b611810565b005b34801561074b57600080fd5b50610754611966565b6040516107619190614050565b60405180910390f35b34801561077657600080fd5b5061077f611990565b60405161078c9190613fd5565b60405180910390f35b3480156107a157600080fd5b506107aa611a22565b6040516107b7919061442d565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190614474565b611a35565b005b61080360048036038101906107fe9190614540565b611bb6565b005b34801561081157600080fd5b5061082c60048036038101906108279190614655565b61201f565b005b34801561083a57600080fd5b50610855600480360381019061085091906142c3565b61207b565b6040516108629190614255565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d9190614023565b612093565b60405161089f9190613fd5565b60405180910390f35b3480156108b457600080fd5b506108bd61213b565b6040516108ca9190614255565b60405180910390f35b3480156108df57600080fd5b506108e8612141565b6040516108f59190614050565b60405180910390f35b34801561090a57600080fd5b50610925600480360381019061092091906142f0565b612165565b6040516109329190613f21565b60405180910390f35b61095560048036038101906109509190614023565b6121f9565b005b34801561096357600080fd5b5061097e600480360381019061097991906142c3565b6125c4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac35750610ac2826126bc565b5b9050919050565b606060018054610ad990614707565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0590614707565b8015610b525780601f10610b2757610100808354040283529160200191610b52565b820191906000526020600020905b815481529060010190602001808311610b3557829003601f168201915b5050505050905090565b6000610b6782612726565b610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90614785565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bec826113e0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c54906147f1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7c612733565b73ffffffffffffffffffffffffffffffffffffffff161480610cab5750610caa81610ca5612733565b612165565b5b610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190614785565b60405180910390fd5b610cf583838361273b565b505050565b610d02612733565b73ffffffffffffffffffffffffffffffffffffffff16610d20611966565b73ffffffffffffffffffffffffffffffffffffffff1614610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d9061485d565b60405180910390fd5b600b60009054906101000a900460ff1615610d9057600080fd5b80600a9080519060200190610da6929190613d0d565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b610dd98383836127ed565b505050565b6000610de983611555565b8210610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e21906148c9565b60405180910390fd5b6000610e34610dc5565b905060008060005b83811015610f9a576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f2e57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f865786841415610f77578195505050505050610fd6565b8380610f8290614918565b9450505b508080610f9290614918565b915050610e3c565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd906149ad565b60405180910390fd5b92915050565b610fe4612733565b73ffffffffffffffffffffffffffffffffffffffff16611002611966565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f9061485d565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b611092612733565b73ffffffffffffffffffffffffffffffffffffffff166110b0611966565b73ffffffffffffffffffffffffffffffffffffffff1614611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd9061485d565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611151573d6000803e3d6000fd5b5050565b6111708383836040518060200160405280600081525061201f565b505050565b600f5481565b611183612733565b73ffffffffffffffffffffffffffffffffffffffff166111a1611966565b73ffffffffffffffffffffffffffffffffffffffff16146111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee9061485d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161124d9190614050565b602060405180830381865afa15801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e91906149e2565b6040518363ffffffff1660e01b81526004016112ab929190613e44565b6020604051808303816000875af11580156112ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ee9190614a24565b5050565b60006112fc610dc5565b821061133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490614a9d565b60405180910390fd5b819050919050565b61134d612733565b73ffffffffffffffffffffffffffffffffffffffff1661136b611966565b73ffffffffffffffffffffffffffffffffffffffff16146113c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b89061485d565b60405180910390fd5b6113ca81612da6565b50565b601060149054906101000a900460ff1681565b60006113eb82612dc0565b600001519050919050565b600a805461140390614707565b80601f016020809104026020016040519081016040528092919081815260200182805461142f90614707565b801561147c5780601f106114515761010080835404028352916020019161147c565b820191906000526020600020905b81548152906001019060200180831161145f57829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461149f90614707565b80601f01602080910402602001604051908101604052809291908181526020018280546114cb90614707565b80156115185780601f106114ed57610100808354040283529160200191611518565b820191906000526020600020905b8154815290600101906020018083116114fb57829003601f168201915b5050505050905090565b60008282604051602001611537929190614b05565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bd90614b7d565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611646612733565b73ffffffffffffffffffffffffffffffffffffffff16611664611966565b73ffffffffffffffffffffffffffffffffffffffff16146116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b19061485d565b60405180910390fd5b6116c46000612fc3565b565b6116ce612733565b73ffffffffffffffffffffffffffffffffffffffff166116ec611966565b73ffffffffffffffffffffffffffffffffffffffff1614611742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117399061485d565b60405180910390fd5b60006003811115611756576117556143b6565b5b816003811115611769576117686143b6565b5b141561177457600080fd5b60026003811115611788576117876143b6565b5b601060159054906101000a900460ff1660038111156117aa576117a96143b6565b5b14156117e357600160038111156117c4576117c36143b6565b5b8160038111156117d7576117d66143b6565b5b14156117e257600080fd5b5b80601060156101000a81548160ff02191690836003811115611808576118076143b6565b5b021790555050565b611818612733565b73ffffffffffffffffffffffffffffffffffffffff16611836611966565b73ffffffffffffffffffffffffffffffffffffffff161461188c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118839061485d565b60405180910390fd5b600060038111156118a05761189f6143b6565b5b601060159054906101000a900460ff1660038111156118c2576118c16143b6565b5b14611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990614be9565b60405180910390fd5b600d548161190e610dc5565b6119189190614c09565b1115611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090614cab565b60405180910390fd5b6119633382613089565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461199f90614707565b80601f01602080910402602001604051908101604052809291908181526020018280546119cb90614707565b8015611a185780601f106119ed57610100808354040283529160200191611a18565b820191906000526020600020905b8154815290600101906020018083116119fb57829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b611a3d612733565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290614785565b60405180910390fd5b8060076000611ab8612733565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b65612733565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611baa9190613f21565b60405180910390a35050565b60016003811115611bca57611bc96143b6565b5b601060159054906101000a900460ff166003811115611bec57611beb6143b6565b5b148015611c065750601060149054906101000a900460ff16155b611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90614be9565b60405180910390fd5b600d5481611c51610dc5565b611c5b9190614c09565b1115611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9390614cab565b60405180910390fd5b83611ca73330611522565b14611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90614d17565b60405180910390fd5b611d358484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506130a7565b611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b90614d83565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dc29190614c09565b1115611e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfa90614def565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415611ecc573481600e54611e869190614e0f565b1115611ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebe90614785565b60405180910390fd5b611f81565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600e5486611f1d9190614e0f565b6040518463ffffffff1660e01b8152600401611f3b93929190614e69565b6020604051808303816000875af1158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e9190614a24565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fcc9190614c09565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120193382613089565b50505050565b61202a8484846127ed565b6120368484848461311c565b612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c90614eec565b60405180910390fd5b50505050565b60116020528060005260406000206000915090505481565b606061209e82612726565b6120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d490614eec565b60405180910390fd5b6000600380546120ec90614707565b9050116121085760405180602001604052806000815250612134565b6003612113836132a4565b604051602001612124929190614fdc565b6040516020818303038152906040525b9050919050565b60085481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6002600381111561220d5761220c6143b6565b5b601060159054906101000a900460ff16600381111561222f5761222e6143b6565b5b1480156122495750601060149054906101000a900460ff16155b612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614be9565b60405180910390fd5b600d5481612294610dc5565b61229e9190614c09565b11156122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614cab565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461232d9190614c09565b111561236e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236590614def565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415612437573481600c546123f19190614e0f565b1115612432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242990614785565b60405180910390fd5b6124ec565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c54866124889190614e0f565b6040518463ffffffff1660e01b81526004016124a693929190614e69565b6020604051808303816000875af11580156124c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e99190614a24565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125379190614c09565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506125843382613089565b600d5461258f610dc5565b14156125c1576003601060156101000a81548160ff021916908360038111156125bb576125ba6143b6565b5b02179055505b50565b6125cc612733565b73ffffffffffffffffffffffffffffffffffffffff166125ea611966565b73ffffffffffffffffffffffffffffffffffffffff1614612640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126379061485d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a790615072565b60405180910390fd5b6126b981612fc3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006127f882612dc0565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661281f612733565b73ffffffffffffffffffffffffffffffffffffffff16148061287b5750612844612733565b73ffffffffffffffffffffffffffffffffffffffff1661286384610b5c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061289757506128968260000151612891612733565b612165565b5b9050806128d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d090614785565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461294b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612942906147f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b290614b7d565b60405180910390fd5b6129c88585856001613405565b6129d8600084846000015161273b565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612a4691906150ae565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612aea91906150e2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612bf09190614c09565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d3657612c6681612726565b15612d35576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d9e868686600161340b565b505050505050565b8060039080519060200190612dbc929190613d0d565b5050565b612dc8613d93565b612dd182612726565b612e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0790615174565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612e745760017f000000000000000000000000000000000000000000000000000000000000000084612e679190615194565b612e719190614c09565b90505b60008390505b818110612f82576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f6e57809350505050612fbe565b508080612f7a906151c8565b915050612e7a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb5906147f1565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6130a3828260405180602001604052806000815250613411565b5050565b60006130c4826130b6856138f0565b61392090919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061313d8473ffffffffffffffffffffffffffffffffffffffff16613947565b15613297578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613166612733565b8786866040518563ffffffff1660e01b81526004016131889493929190615247565b6020604051808303816000875af19250505080156131c457506040513d601f19601f820116820180604052508101906131c191906152a8565b60015b613247573d80600081146131f4576040519150601f19603f3d011682016040523d82523d6000602084013e6131f9565b606091505b5060008151141561323f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323690614eec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061329c565b600190505b949350505050565b606060008214156132ec576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613400565b600082905060005b6000821461331e57808061330790614918565b915050600a826133179190615304565b91506132f4565b60008167ffffffffffffffff81111561333a576133396140e1565b5b6040519080825280601f01601f19166020018201604052801561336c5781602001600182028036833780820191505090505b5090505b600085146133f9576001826133859190615194565b9150600a856133949190615335565b60306133a09190614c09565b60f81b8183815181106133b6576133b5615366565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133f29190615304565b9450613370565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347e90614b7d565b60405180910390fd5b61349081612726565b156134d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c790614785565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352a90614cab565b60405180910390fd5b6135406000858386613405565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161363d91906150e2565b6fffffffffffffffffffffffffffffffff16815260200185836020015161366491906150e2565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156138d357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613873600088848861311c565b6138b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a990614eec565b60405180910390fd5b81806138bd90614918565b92505080806138cb90614918565b915050613802565b50806000819055506138e8600087858861340b565b505050505050565b6000816040516020016139039190615402565b604051602081830303815290604052805190602001209050919050565b600080600061392f858561395a565b9150915061393c816139dd565b819250505092915050565b600080823b905060008111915050919050565b60008060418351141561399c5760008060006020860151925060408601519150606086015160001a905061399087828585613bb2565b945094505050506139d6565b6040835114156139cd5760008060208501519150604085015190506139c2868383613cbf565b9350935050506139d6565b60006002915091505b9250929050565b600060048111156139f1576139f06143b6565b5b816004811115613a0457613a036143b6565b5b1415613a0f57613baf565b60016004811115613a2357613a226143b6565b5b816004811115613a3657613a356143b6565b5b1415613a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6e90615474565b60405180910390fd5b60026004811115613a8b57613a8a6143b6565b5b816004811115613a9e57613a9d6143b6565b5b1415613adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad6906154e0565b60405180910390fd5b60036004811115613af357613af26143b6565b5b816004811115613b0657613b056143b6565b5b1415613b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3e90615572565b60405180910390fd5b600480811115613b5a57613b596143b6565b5b816004811115613b6d57613b6c6143b6565b5b1415613bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ba590615604565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613bed576000600391509150613cb6565b601b8560ff1614158015613c055750601c8560ff1614155b15613c17576000600491509150613cb6565b600060018787878760405160008152602001604052604051613c3c9493929190615640565b6020604051602081039080840390855afa158015613c5e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613cad57600060019250925050613cb6565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613cff87828885613bb2565b935093505050935093915050565b828054613d1990614707565b90600052602060002090601f016020900481019282613d3b5760008555613d82565b82601f10613d5457805160ff1916838001178555613d82565b82800160010185558215613d82579182015b82811115613d81578251825591602001919060010190613d66565b5b509050613d8f9190613dcd565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613de6576000816000905550600101613dce565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e1582613dea565b9050919050565b613e2581613e0a565b82525050565b6000819050919050565b613e3e81613e2b565b82525050565b6000604082019050613e596000830185613e1c565b613e666020830184613e35565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613eb681613e81565b8114613ec157600080fd5b50565b600081359050613ed381613ead565b92915050565b600060208284031215613eef57613eee613e77565b5b6000613efd84828501613ec4565b91505092915050565b60008115159050919050565b613f1b81613f06565b82525050565b6000602082019050613f366000830184613f12565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f76578082015181840152602081019050613f5b565b83811115613f85576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fa782613f3c565b613fb18185613f47565b9350613fc1818560208601613f58565b613fca81613f8b565b840191505092915050565b60006020820190508181036000830152613fef8184613f9c565b905092915050565b61400081613e2b565b811461400b57600080fd5b50565b60008135905061401d81613ff7565b92915050565b60006020828403121561403957614038613e77565b5b60006140478482850161400e565b91505092915050565b60006020820190506140656000830184613e1c565b92915050565b61407481613e0a565b811461407f57600080fd5b50565b6000813590506140918161406b565b92915050565b600080604083850312156140ae576140ad613e77565b5b60006140bc85828601614082565b92505060206140cd8582860161400e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61411982613f8b565b810181811067ffffffffffffffff82111715614138576141376140e1565b5b80604052505050565b600061414b613e6d565b90506141578282614110565b919050565b600067ffffffffffffffff821115614177576141766140e1565b5b61418082613f8b565b9050602081019050919050565b82818337600083830152505050565b60006141af6141aa8461415c565b614141565b9050828152602081018484840111156141cb576141ca6140dc565b5b6141d684828561418d565b509392505050565b600082601f8301126141f3576141f26140d7565b5b813561420384826020860161419c565b91505092915050565b60006020828403121561422257614221613e77565b5b600082013567ffffffffffffffff8111156142405761423f613e7c565b5b61424c848285016141de565b91505092915050565b600060208201905061426a6000830184613e35565b92915050565b60008060006060848603121561428957614288613e77565b5b600061429786828701614082565b93505060206142a886828701614082565b92505060406142b98682870161400e565b9150509250925092565b6000602082840312156142d9576142d8613e77565b5b60006142e784828501614082565b91505092915050565b6000806040838503121561430757614306613e77565b5b600061431585828601614082565b925050602061432685828601614082565b9150509250929050565b6000819050919050565b61434381614330565b82525050565b600060208201905061435e600083018461433a565b92915050565b6004811061437157600080fd5b50565b60008135905061438381614364565b92915050565b60006020828403121561439f5761439e613e77565b5b60006143ad84828501614374565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106143f6576143f56143b6565b5b50565b6000819050614407826143e5565b919050565b6000614417826143f9565b9050919050565b6144278161440c565b82525050565b6000602082019050614442600083018461441e565b92915050565b61445181613f06565b811461445c57600080fd5b50565b60008135905061446e81614448565b92915050565b6000806040838503121561448b5761448a613e77565b5b600061449985828601614082565b92505060206144aa8582860161445f565b9150509250929050565b6144bd81614330565b81146144c857600080fd5b50565b6000813590506144da816144b4565b92915050565b600080fd5b600080fd5b60008083601f840112614500576144ff6140d7565b5b8235905067ffffffffffffffff81111561451d5761451c6144e0565b5b602083019150836001820283011115614539576145386144e5565b5b9250929050565b6000806000806060858703121561455a57614559613e77565b5b6000614568878288016144cb565b945050602085013567ffffffffffffffff81111561458957614588613e7c565b5b614595878288016144ea565b935093505060406145a88782880161400e565b91505092959194509250565b600067ffffffffffffffff8211156145cf576145ce6140e1565b5b6145d882613f8b565b9050602081019050919050565b60006145f86145f3846145b4565b614141565b905082815260208101848484011115614614576146136140dc565b5b61461f84828561418d565b509392505050565b600082601f83011261463c5761463b6140d7565b5b813561464c8482602086016145e5565b91505092915050565b6000806000806080858703121561466f5761466e613e77565b5b600061467d87828801614082565b945050602061468e87828801614082565b935050604061469f8782880161400e565b925050606085013567ffffffffffffffff8111156146c0576146bf613e7c565b5b6146cc87828801614627565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061471f57607f821691505b60208210811415614733576147326146d8565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b600061476f600183613f47565b915061477a82614739565b602082019050919050565b6000602082019050818103600083015261479e81614762565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006147db600183613f47565b91506147e6826147a5565b602082019050919050565b6000602082019050818103600083015261480a816147ce565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614847602083613f47565b915061485282614811565b602082019050919050565b600060208201905081810360008301526148768161483a565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b60006148b3600183613f47565b91506148be8261487d565b602082019050919050565b600060208201905081810360008301526148e2816148a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061492382613e2b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614956576149556148e9565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614997600183613f47565b91506149a282614961565b602082019050919050565b600060208201905081810360008301526149c68161498a565b9050919050565b6000815190506149dc81613ff7565b92915050565b6000602082840312156149f8576149f7613e77565b5b6000614a06848285016149cd565b91505092915050565b600081519050614a1e81614448565b92915050565b600060208284031215614a3a57614a39613e77565b5b6000614a4884828501614a0f565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a87600183613f47565b9150614a9282614a51565b602082019050919050565b60006020820190508181036000830152614ab681614a7a565b9050919050565b60008160601b9050919050565b6000614ad582614abd565b9050919050565b6000614ae782614aca565b9050919050565b614aff614afa82613e0a565b614adc565b82525050565b6000614b118285614aee565b601482019150614b218284614aee565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b67600183613f47565b9150614b7282614b31565b602082019050919050565b60006020820190508181036000830152614b9681614b5a565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614bd3600183613f47565b9150614bde82614b9d565b602082019050919050565b60006020820190508181036000830152614c0281614bc6565b9050919050565b6000614c1482613e2b565b9150614c1f83613e2b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c5457614c536148e9565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c95600183613f47565b9150614ca082614c5f565b602082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d01600183613f47565b9150614d0c82614ccb565b602082019050919050565b60006020820190508181036000830152614d3081614cf4565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d6d600183613f47565b9150614d7882614d37565b602082019050919050565b60006020820190508181036000830152614d9c81614d60565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614dd9600183613f47565b9150614de482614da3565b602082019050919050565b60006020820190508181036000830152614e0881614dcc565b9050919050565b6000614e1a82613e2b565b9150614e2583613e2b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e5e57614e5d6148e9565b5b828202905092915050565b6000606082019050614e7e6000830186613e1c565b614e8b6020830185613e1c565b614e986040830184613e35565b949350505050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ed6600183613f47565b9150614ee182614ea0565b602082019050919050565b60006020820190508181036000830152614f0581614ec9565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614f3981614707565b614f438186614f0c565b94506001821660008114614f5e5760018114614f6f57614fa2565b60ff19831686528186019350614fa2565b614f7885614f17565b60005b83811015614f9a57815481890152600182019150602081019050614f7b565b838801955050505b50505092915050565b6000614fb682613f3c565b614fc08185614f0c565b9350614fd0818560208601613f58565b80840191505092915050565b6000614fe88285614f2c565b9150614ff48284614fab565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061505c602683613f47565b915061506782615000565b604082019050919050565b6000602082019050818103600083015261508b8161504f565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006150b982615092565b91506150c483615092565b9250828210156150d7576150d66148e9565b5b828203905092915050565b60006150ed82615092565b91506150f883615092565b9250826fffffffffffffffffffffffffffffffff0382111561511d5761511c6148e9565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061515e600183613f47565b915061516982615128565b602082019050919050565b6000602082019050818103600083015261518d81615151565b9050919050565b600061519f82613e2b565b91506151aa83613e2b565b9250828210156151bd576151bc6148e9565b5b828203905092915050565b60006151d382613e2b565b915060008214156151e7576151e66148e9565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000615219826151f2565b61522381856151fd565b9350615233818560208601613f58565b61523c81613f8b565b840191505092915050565b600060808201905061525c6000830187613e1c565b6152696020830186613e1c565b6152766040830185613e35565b8181036060830152615288818461520e565b905095945050505050565b6000815190506152a281613ead565b92915050565b6000602082840312156152be576152bd613e77565b5b60006152cc84828501615293565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061530f82613e2b565b915061531a83613e2b565b92508261532a576153296152d5565b5b828204905092915050565b600061534082613e2b565b915061534b83613e2b565b92508261535b5761535a6152d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006153cb601c83614f0c565b91506153d682615395565b601c82019050919050565b6000819050919050565b6153fc6153f782614330565b6153e1565b82525050565b600061540d826153be565b915061541982846153eb565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061545e601883613f47565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006154ca601f83613f47565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061555c602283613f47565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006155ee602283613f47565b91506155f982615592565b604082019050919050565b6000602082019050818103600083015261561d816155e1565b9050919050565b600060ff82169050919050565b61563a81615624565b82525050565b6000608082019050615655600083018761433a565b6156626020830186615631565b61566f604083018561433a565b61567c606083018461433a565b9594505050505056fea2646970667358221220ff2a2ec2080266369aa2cf481e1ce0770f6555bed453ed5683afe883cd78efeb64736f6c634300080a00330000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000027787c73746000000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000011447261636174747573205072696d616c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054443415450000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023f5760003560e01c806368855b641161012e578063a22cb465116100ab578063d7224ba01161006f578063d7224ba0146108a8578063e5a6b10f146108d3578063e985e9c5146108fe578063efd0cbf91461093b578063f2fde38b146109575761027f565b8063a22cb465146107c0578063a9cbd06d146107e9578063b88d4fde14610805578063b9bd28011461082e578063c87b56dd1461086b5761027f565b80637cac2602116100f25780637cac2602146106ed5780638ad433ac146107165780638da5cb5b1461073f57806395d89b411461076a5780639da3f8fd146107955761027f565b806368855b64146106065780636c0360eb146106315780636c82054b1461065c57806370a0823114610699578063715018a6146106d65761027f565b80633ccfd60b116101bc57806355f804b31161018057806355f804b31461051f5780635c975abb146105485780636352211e146105735780636373a6b1146105b05780636817c76c146105db5761027f565b80633ccfd60b1461044e57806342842e0e1461046557806344fead9e1461048e57806349df728c146104b95780634f6ccce7146104e25761027f565b806318160ddd1161020357806318160ddd1461037b57806323b872dd146103a65780632f745c59146103cf578063333171bb1461040c578063386b7691146104235761027f565b806301ffc9a71461028457806306fdde03146102c1578063081812fc146102ec578063095ea7b31461032957806310969523146103525761027f565b3661027f577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743334604051610275929190613e44565b60405180910390a1005b600080fd5b34801561029057600080fd5b506102ab60048036038101906102a69190613ed9565b610980565b6040516102b89190613f21565b60405180910390f35b3480156102cd57600080fd5b506102d6610aca565b6040516102e39190613fd5565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e9190614023565b610b5c565b6040516103209190614050565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190614097565b610be1565b005b34801561035e57600080fd5b506103796004803603810190610374919061420c565b610cfa565b005b34801561038757600080fd5b50610390610dc5565b60405161039d9190614255565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c89190614270565b610dce565b005b3480156103db57600080fd5b506103f660048036038101906103f19190614097565b610dde565b6040516104039190614255565b60405180910390f35b34801561041857600080fd5b50610421610fdc565b005b34801561042f57600080fd5b50610438611084565b6040516104459190614255565b60405180910390f35b34801561045a57600080fd5b5061046361108a565b005b34801561047157600080fd5b5061048c60048036038101906104879190614270565b611155565b005b34801561049a57600080fd5b506104a3611175565b6040516104b09190614255565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db91906142c3565b61117b565b005b3480156104ee57600080fd5b5061050960048036038101906105049190614023565b6112f2565b6040516105169190614255565b60405180910390f35b34801561052b57600080fd5b506105466004803603810190610541919061420c565b611345565b005b34801561055457600080fd5b5061055d6113cd565b60405161056a9190613f21565b60405180910390f35b34801561057f57600080fd5b5061059a60048036038101906105959190614023565b6113e0565b6040516105a79190614050565b60405180910390f35b3480156105bc57600080fd5b506105c56113f6565b6040516105d29190613fd5565b60405180910390f35b3480156105e757600080fd5b506105f0611484565b6040516105fd9190614255565b60405180910390f35b34801561061257600080fd5b5061061b61148a565b6040516106289190614255565b60405180910390f35b34801561063d57600080fd5b50610646611490565b6040516106539190613fd5565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e91906142f0565b611522565b6040516106909190614349565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb91906142c3565b611555565b6040516106cd9190614255565b60405180910390f35b3480156106e257600080fd5b506106eb61163e565b005b3480156106f957600080fd5b50610714600480360381019061070f9190614389565b6116c6565b005b34801561072257600080fd5b5061073d60048036038101906107389190614023565b611810565b005b34801561074b57600080fd5b50610754611966565b6040516107619190614050565b60405180910390f35b34801561077657600080fd5b5061077f611990565b60405161078c9190613fd5565b60405180910390f35b3480156107a157600080fd5b506107aa611a22565b6040516107b7919061442d565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190614474565b611a35565b005b61080360048036038101906107fe9190614540565b611bb6565b005b34801561081157600080fd5b5061082c60048036038101906108279190614655565b61201f565b005b34801561083a57600080fd5b50610855600480360381019061085091906142c3565b61207b565b6040516108629190614255565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d9190614023565b612093565b60405161089f9190613fd5565b60405180910390f35b3480156108b457600080fd5b506108bd61213b565b6040516108ca9190614255565b60405180910390f35b3480156108df57600080fd5b506108e8612141565b6040516108f59190614050565b60405180910390f35b34801561090a57600080fd5b50610925600480360381019061092091906142f0565b612165565b6040516109329190613f21565b60405180910390f35b61095560048036038101906109509190614023565b6121f9565b005b34801561096357600080fd5b5061097e600480360381019061097991906142c3565b6125c4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac35750610ac2826126bc565b5b9050919050565b606060018054610ad990614707565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0590614707565b8015610b525780601f10610b2757610100808354040283529160200191610b52565b820191906000526020600020905b815481529060010190602001808311610b3557829003601f168201915b5050505050905090565b6000610b6782612726565b610ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9d90614785565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bec826113e0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c54906147f1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7c612733565b73ffffffffffffffffffffffffffffffffffffffff161480610cab5750610caa81610ca5612733565b612165565b5b610cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce190614785565b60405180910390fd5b610cf583838361273b565b505050565b610d02612733565b73ffffffffffffffffffffffffffffffffffffffff16610d20611966565b73ffffffffffffffffffffffffffffffffffffffff1614610d76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6d9061485d565b60405180910390fd5b600b60009054906101000a900460ff1615610d9057600080fd5b80600a9080519060200190610da6929190613d0d565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b610dd98383836127ed565b505050565b6000610de983611555565b8210610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e21906148c9565b60405180910390fd5b6000610e34610dc5565b905060008060005b83811015610f9a576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610f2e57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f865786841415610f77578195505050505050610fd6565b8380610f8290614918565b9450505b508080610f9290614918565b915050610e3c565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd906149ad565b60405180910390fd5b92915050565b610fe4612733565b73ffffffffffffffffffffffffffffffffffffffff16611002611966565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f9061485d565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b611092612733565b73ffffffffffffffffffffffffffffffffffffffff166110b0611966565b73ffffffffffffffffffffffffffffffffffffffff1614611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd9061485d565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611151573d6000803e3d6000fd5b5050565b6111708383836040518060200160405280600081525061201f565b505050565b600f5481565b611183612733565b73ffffffffffffffffffffffffffffffffffffffff166111a1611966565b73ffffffffffffffffffffffffffffffffffffffff16146111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee9061485d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161124d9190614050565b602060405180830381865afa15801561126a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128e91906149e2565b6040518363ffffffff1660e01b81526004016112ab929190613e44565b6020604051808303816000875af11580156112ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ee9190614a24565b5050565b60006112fc610dc5565b821061133d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133490614a9d565b60405180910390fd5b819050919050565b61134d612733565b73ffffffffffffffffffffffffffffffffffffffff1661136b611966565b73ffffffffffffffffffffffffffffffffffffffff16146113c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b89061485d565b60405180910390fd5b6113ca81612da6565b50565b601060149054906101000a900460ff1681565b60006113eb82612dc0565b600001519050919050565b600a805461140390614707565b80601f016020809104026020016040519081016040528092919081815260200182805461142f90614707565b801561147c5780601f106114515761010080835404028352916020019161147c565b820191906000526020600020905b81548152906001019060200180831161145f57829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461149f90614707565b80601f01602080910402602001604051908101604052809291908181526020018280546114cb90614707565b80156115185780601f106114ed57610100808354040283529160200191611518565b820191906000526020600020905b8154815290600101906020018083116114fb57829003601f168201915b5050505050905090565b60008282604051602001611537929190614b05565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bd90614b7d565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611646612733565b73ffffffffffffffffffffffffffffffffffffffff16611664611966565b73ffffffffffffffffffffffffffffffffffffffff16146116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b19061485d565b60405180910390fd5b6116c46000612fc3565b565b6116ce612733565b73ffffffffffffffffffffffffffffffffffffffff166116ec611966565b73ffffffffffffffffffffffffffffffffffffffff1614611742576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117399061485d565b60405180910390fd5b60006003811115611756576117556143b6565b5b816003811115611769576117686143b6565b5b141561177457600080fd5b60026003811115611788576117876143b6565b5b601060159054906101000a900460ff1660038111156117aa576117a96143b6565b5b14156117e357600160038111156117c4576117c36143b6565b5b8160038111156117d7576117d66143b6565b5b14156117e257600080fd5b5b80601060156101000a81548160ff02191690836003811115611808576118076143b6565b5b021790555050565b611818612733565b73ffffffffffffffffffffffffffffffffffffffff16611836611966565b73ffffffffffffffffffffffffffffffffffffffff161461188c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118839061485d565b60405180910390fd5b600060038111156118a05761189f6143b6565b5b601060159054906101000a900460ff1660038111156118c2576118c16143b6565b5b14611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990614be9565b60405180910390fd5b600d548161190e610dc5565b6119189190614c09565b1115611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090614cab565b60405180910390fd5b6119633382613089565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461199f90614707565b80601f01602080910402602001604051908101604052809291908181526020018280546119cb90614707565b8015611a185780601f106119ed57610100808354040283529160200191611a18565b820191906000526020600020905b8154815290600101906020018083116119fb57829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b611a3d612733565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290614785565b60405180910390fd5b8060076000611ab8612733565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b65612733565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611baa9190613f21565b60405180910390a35050565b60016003811115611bca57611bc96143b6565b5b601060159054906101000a900460ff166003811115611bec57611beb6143b6565b5b148015611c065750601060149054906101000a900460ff16155b611c45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3c90614be9565b60405180910390fd5b600d5481611c51610dc5565b611c5b9190614c09565b1115611c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9390614cab565b60405180910390fd5b83611ca73330611522565b14611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90614d17565b60405180910390fd5b611d358484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506130a7565b611d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6b90614d83565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611dc29190614c09565b1115611e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfa90614def565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415611ecc573481600e54611e869190614e0f565b1115611ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebe90614785565b60405180910390fd5b611f81565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600e5486611f1d9190614e0f565b6040518463ffffffff1660e01b8152600401611f3b93929190614e69565b6020604051808303816000875af1158015611f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7e9190614a24565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611fcc9190614c09565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120193382613089565b50505050565b61202a8484846127ed565b6120368484848461311c565b612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c90614eec565b60405180910390fd5b50505050565b60116020528060005260406000206000915090505481565b606061209e82612726565b6120dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d490614eec565b60405180910390fd5b6000600380546120ec90614707565b9050116121085760405180602001604052806000815250612134565b6003612113836132a4565b604051602001612124929190614fdc565b6040516020818303038152906040525b9050919050565b60085481565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6002600381111561220d5761220c6143b6565b5b601060159054906101000a900460ff16600381111561222f5761222e6143b6565b5b1480156122495750601060149054906101000a900460ff16155b612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614be9565b60405180910390fd5b600d5481612294610dc5565b61229e9190614c09565b11156122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614cab565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461232d9190614c09565b111561236e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236590614def565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415612437573481600c546123f19190614e0f565b1115612432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242990614785565b60405180910390fd5b6124ec565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c54866124889190614e0f565b6040518463ffffffff1660e01b81526004016124a693929190614e69565b6020604051808303816000875af11580156124c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e99190614a24565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125379190614c09565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506125843382613089565b600d5461258f610dc5565b14156125c1576003601060156101000a81548160ff021916908360038111156125bb576125ba6143b6565b5b02179055505b50565b6125cc612733565b73ffffffffffffffffffffffffffffffffffffffff166125ea611966565b73ffffffffffffffffffffffffffffffffffffffff1614612640576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126379061485d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a790615072565b60405180910390fd5b6126b981612fc3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006127f882612dc0565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661281f612733565b73ffffffffffffffffffffffffffffffffffffffff16148061287b5750612844612733565b73ffffffffffffffffffffffffffffffffffffffff1661286384610b5c565b73ffffffffffffffffffffffffffffffffffffffff16145b8061289757506128968260000151612891612733565b612165565b5b9050806128d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d090614785565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461294b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612942906147f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b290614b7d565b60405180910390fd5b6129c88585856001613405565b6129d8600084846000015161273b565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612a4691906150ae565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612aea91906150e2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612bf09190614c09565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d3657612c6681612726565b15612d35576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d9e868686600161340b565b505050505050565b8060039080519060200190612dbc929190613d0d565b5050565b612dc8613d93565b612dd182612726565b612e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0790615174565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000168310612e745760017f000000000000000000000000000000000000000000000000000000000000001684612e679190615194565b612e719190614c09565b90505b60008390505b818110612f82576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f6e57809350505050612fbe565b508080612f7a906151c8565b915050612e7a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb5906147f1565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6130a3828260405180602001604052806000815250613411565b5050565b60006130c4826130b6856138f0565b61392090919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061313d8473ffffffffffffffffffffffffffffffffffffffff16613947565b15613297578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613166612733565b8786866040518563ffffffff1660e01b81526004016131889493929190615247565b6020604051808303816000875af19250505080156131c457506040513d601f19601f820116820180604052508101906131c191906152a8565b60015b613247573d80600081146131f4576040519150601f19603f3d011682016040523d82523d6000602084013e6131f9565b606091505b5060008151141561323f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323690614eec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061329c565b600190505b949350505050565b606060008214156132ec576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613400565b600082905060005b6000821461331e57808061330790614918565b915050600a826133179190615304565b91506132f4565b60008167ffffffffffffffff81111561333a576133396140e1565b5b6040519080825280601f01601f19166020018201604052801561336c5781602001600182028036833780820191505090505b5090505b600085146133f9576001826133859190615194565b9150600a856133949190615335565b60306133a09190614c09565b60f81b8183815181106133b6576133b5615366565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133f29190615304565b9450613370565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347e90614b7d565b60405180910390fd5b61349081612726565b156134d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c790614785565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000016831115613533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352a90614cab565b60405180910390fd5b6135406000858386613405565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161363d91906150e2565b6fffffffffffffffffffffffffffffffff16815260200185836020015161366491906150e2565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156138d357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613873600088848861311c565b6138b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138a990614eec565b60405180910390fd5b81806138bd90614918565b92505080806138cb90614918565b915050613802565b50806000819055506138e8600087858861340b565b505050505050565b6000816040516020016139039190615402565b604051602081830303815290604052805190602001209050919050565b600080600061392f858561395a565b9150915061393c816139dd565b819250505092915050565b600080823b905060008111915050919050565b60008060418351141561399c5760008060006020860151925060408601519150606086015160001a905061399087828585613bb2565b945094505050506139d6565b6040835114156139cd5760008060208501519150604085015190506139c2868383613cbf565b9350935050506139d6565b60006002915091505b9250929050565b600060048111156139f1576139f06143b6565b5b816004811115613a0457613a036143b6565b5b1415613a0f57613baf565b60016004811115613a2357613a226143b6565b5b816004811115613a3657613a356143b6565b5b1415613a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6e90615474565b60405180910390fd5b60026004811115613a8b57613a8a6143b6565b5b816004811115613a9e57613a9d6143b6565b5b1415613adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad6906154e0565b60405180910390fd5b60036004811115613af357613af26143b6565b5b816004811115613b0657613b056143b6565b5b1415613b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3e90615572565b60405180910390fd5b600480811115613b5a57613b596143b6565b5b816004811115613b6d57613b6c6143b6565b5b1415613bae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ba590615604565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613bed576000600391509150613cb6565b601b8560ff1614158015613c055750601c8560ff1614155b15613c17576000600491509150613cb6565b600060018787878760405160008152602001604052604051613c3c9493929190615640565b6020604051602081039080840390855afa158015613c5e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613cad57600060019250925050613cb6565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613cff87828885613bb2565b935093505050935093915050565b828054613d1990614707565b90600052602060002090601f016020900481019282613d3b5760008555613d82565b82601f10613d5457805160ff1916838001178555613d82565b82800160010185558215613d82579182015b82811115613d81578251825591602001919060010190613d66565b5b509050613d8f9190613dcd565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613de6576000816000905550600101613dce565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e1582613dea565b9050919050565b613e2581613e0a565b82525050565b6000819050919050565b613e3e81613e2b565b82525050565b6000604082019050613e596000830185613e1c565b613e666020830184613e35565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613eb681613e81565b8114613ec157600080fd5b50565b600081359050613ed381613ead565b92915050565b600060208284031215613eef57613eee613e77565b5b6000613efd84828501613ec4565b91505092915050565b60008115159050919050565b613f1b81613f06565b82525050565b6000602082019050613f366000830184613f12565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f76578082015181840152602081019050613f5b565b83811115613f85576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fa782613f3c565b613fb18185613f47565b9350613fc1818560208601613f58565b613fca81613f8b565b840191505092915050565b60006020820190508181036000830152613fef8184613f9c565b905092915050565b61400081613e2b565b811461400b57600080fd5b50565b60008135905061401d81613ff7565b92915050565b60006020828403121561403957614038613e77565b5b60006140478482850161400e565b91505092915050565b60006020820190506140656000830184613e1c565b92915050565b61407481613e0a565b811461407f57600080fd5b50565b6000813590506140918161406b565b92915050565b600080604083850312156140ae576140ad613e77565b5b60006140bc85828601614082565b92505060206140cd8582860161400e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61411982613f8b565b810181811067ffffffffffffffff82111715614138576141376140e1565b5b80604052505050565b600061414b613e6d565b90506141578282614110565b919050565b600067ffffffffffffffff821115614177576141766140e1565b5b61418082613f8b565b9050602081019050919050565b82818337600083830152505050565b60006141af6141aa8461415c565b614141565b9050828152602081018484840111156141cb576141ca6140dc565b5b6141d684828561418d565b509392505050565b600082601f8301126141f3576141f26140d7565b5b813561420384826020860161419c565b91505092915050565b60006020828403121561422257614221613e77565b5b600082013567ffffffffffffffff8111156142405761423f613e7c565b5b61424c848285016141de565b91505092915050565b600060208201905061426a6000830184613e35565b92915050565b60008060006060848603121561428957614288613e77565b5b600061429786828701614082565b93505060206142a886828701614082565b92505060406142b98682870161400e565b9150509250925092565b6000602082840312156142d9576142d8613e77565b5b60006142e784828501614082565b91505092915050565b6000806040838503121561430757614306613e77565b5b600061431585828601614082565b925050602061432685828601614082565b9150509250929050565b6000819050919050565b61434381614330565b82525050565b600060208201905061435e600083018461433a565b92915050565b6004811061437157600080fd5b50565b60008135905061438381614364565b92915050565b60006020828403121561439f5761439e613e77565b5b60006143ad84828501614374565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106143f6576143f56143b6565b5b50565b6000819050614407826143e5565b919050565b6000614417826143f9565b9050919050565b6144278161440c565b82525050565b6000602082019050614442600083018461441e565b92915050565b61445181613f06565b811461445c57600080fd5b50565b60008135905061446e81614448565b92915050565b6000806040838503121561448b5761448a613e77565b5b600061449985828601614082565b92505060206144aa8582860161445f565b9150509250929050565b6144bd81614330565b81146144c857600080fd5b50565b6000813590506144da816144b4565b92915050565b600080fd5b600080fd5b60008083601f840112614500576144ff6140d7565b5b8235905067ffffffffffffffff81111561451d5761451c6144e0565b5b602083019150836001820283011115614539576145386144e5565b5b9250929050565b6000806000806060858703121561455a57614559613e77565b5b6000614568878288016144cb565b945050602085013567ffffffffffffffff81111561458957614588613e7c565b5b614595878288016144ea565b935093505060406145a88782880161400e565b91505092959194509250565b600067ffffffffffffffff8211156145cf576145ce6140e1565b5b6145d882613f8b565b9050602081019050919050565b60006145f86145f3846145b4565b614141565b905082815260208101848484011115614614576146136140dc565b5b61461f84828561418d565b509392505050565b600082601f83011261463c5761463b6140d7565b5b813561464c8482602086016145e5565b91505092915050565b6000806000806080858703121561466f5761466e613e77565b5b600061467d87828801614082565b945050602061468e87828801614082565b935050604061469f8782880161400e565b925050606085013567ffffffffffffffff8111156146c0576146bf613e7c565b5b6146cc87828801614627565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061471f57607f821691505b60208210811415614733576147326146d8565b5b50919050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b600061476f600183613f47565b915061477a82614739565b602082019050919050565b6000602082019050818103600083015261479e81614762565b9050919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006147db600183613f47565b91506147e6826147a5565b602082019050919050565b6000602082019050818103600083015261480a816147ce565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614847602083613f47565b915061485282614811565b602082019050919050565b600060208201905081810360008301526148768161483a565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b60006148b3600183613f47565b91506148be8261487d565b602082019050919050565b600060208201905081810360008301526148e2816148a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061492382613e2b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614956576149556148e9565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614997600183613f47565b91506149a282614961565b602082019050919050565b600060208201905081810360008301526149c68161498a565b9050919050565b6000815190506149dc81613ff7565b92915050565b6000602082840312156149f8576149f7613e77565b5b6000614a06848285016149cd565b91505092915050565b600081519050614a1e81614448565b92915050565b600060208284031215614a3a57614a39613e77565b5b6000614a4884828501614a0f565b91505092915050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a87600183613f47565b9150614a9282614a51565b602082019050919050565b60006020820190508181036000830152614ab681614a7a565b9050919050565b60008160601b9050919050565b6000614ad582614abd565b9050919050565b6000614ae782614aca565b9050919050565b614aff614afa82613e0a565b614adc565b82525050565b6000614b118285614aee565b601482019150614b218284614aee565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b67600183613f47565b9150614b7282614b31565b602082019050919050565b60006020820190508181036000830152614b9681614b5a565b9050919050565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614bd3600183613f47565b9150614bde82614b9d565b602082019050919050565b60006020820190508181036000830152614c0281614bc6565b9050919050565b6000614c1482613e2b565b9150614c1f83613e2b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c5457614c536148e9565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c95600183613f47565b9150614ca082614c5f565b602082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d01600183613f47565b9150614d0c82614ccb565b602082019050919050565b60006020820190508181036000830152614d3081614cf4565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d6d600183613f47565b9150614d7882614d37565b602082019050919050565b60006020820190508181036000830152614d9c81614d60565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614dd9600183613f47565b9150614de482614da3565b602082019050919050565b60006020820190508181036000830152614e0881614dcc565b9050919050565b6000614e1a82613e2b565b9150614e2583613e2b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e5e57614e5d6148e9565b5b828202905092915050565b6000606082019050614e7e6000830186613e1c565b614e8b6020830185613e1c565b614e986040830184613e35565b949350505050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ed6600183613f47565b9150614ee182614ea0565b602082019050919050565b60006020820190508181036000830152614f0581614ec9565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614f3981614707565b614f438186614f0c565b94506001821660008114614f5e5760018114614f6f57614fa2565b60ff19831686528186019350614fa2565b614f7885614f17565b60005b83811015614f9a57815481890152600182019150602081019050614f7b565b838801955050505b50505092915050565b6000614fb682613f3c565b614fc08185614f0c565b9350614fd0818560208601613f58565b80840191505092915050565b6000614fe88285614f2c565b9150614ff48284614fab565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061505c602683613f47565b915061506782615000565b604082019050919050565b6000602082019050818103600083015261508b8161504f565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006150b982615092565b91506150c483615092565b9250828210156150d7576150d66148e9565b5b828203905092915050565b60006150ed82615092565b91506150f883615092565b9250826fffffffffffffffffffffffffffffffff0382111561511d5761511c6148e9565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061515e600183613f47565b915061516982615128565b602082019050919050565b6000602082019050818103600083015261518d81615151565b9050919050565b600061519f82613e2b565b91506151aa83613e2b565b9250828210156151bd576151bc6148e9565b5b828203905092915050565b60006151d382613e2b565b915060008214156151e7576151e66148e9565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000615219826151f2565b61522381856151fd565b9350615233818560208601613f58565b61523c81613f8b565b840191505092915050565b600060808201905061525c6000830187613e1c565b6152696020830186613e1c565b6152766040830185613e35565b8181036060830152615288818461520e565b905095945050505050565b6000815190506152a281613ead565b92915050565b6000602082840312156152be576152bd613e77565b5b60006152cc84828501615293565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061530f82613e2b565b915061531a83613e2b565b92508261532a576153296152d5565b5b828204905092915050565b600061534082613e2b565b915061534b83613e2b565b92508261535b5761535a6152d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006153cb601c83614f0c565b91506153d682615395565b601c82019050919050565b6000819050919050565b6153fc6153f782614330565b6153e1565b82525050565b600061540d826153be565b915061541982846153eb565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061545e601883613f47565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006154ca601f83613f47565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061555c602283613f47565b915061556782615500565b604082019050919050565b6000602082019050818103600083015261558b8161554f565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006155ee602283613f47565b91506155f982615592565b604082019050919050565b6000602082019050818103600083015261561d816155e1565b9050919050565b600060ff82169050919050565b61563a81615624565b82525050565b6000608082019050615655600083018761433a565b6156626020830186615631565b61566f604083018561433a565b61567c606083018461433a565b9594505050505056fea2646970667358221220ff2a2ec2080266369aa2cf481e1ce0770f6555bed453ed5683afe883cd78efeb64736f6c634300080a0033

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

0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000004570000000000000000000000000000000000000000000000000027787c73746000000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000000016000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000011447261636174747573205072696d616c7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054443415450000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Dracattus Primals
Arg [1] : _symbol (string): DCATP
Arg [2] : _maxPossibleSupply (uint256): 1111
Arg [3] : _mintPrice (uint256): 11110000000000000
Arg [4] : _allowListMintPrice (uint256): 10000000000000000
Arg [5] : _maxAllowedMints (uint256): 22
Arg [6] : _signerAddress (address): 0xe9A347e4bFbe5A219F3497B1CA3Ac8568a99ED6c
Arg [7] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [8] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [3] : 0000000000000000000000000000000000000000000000000027787c73746000
Arg [4] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [6] : 000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c
Arg [7] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [10] : 447261636174747573205072696d616c73000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [12] : 4443415450000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.