ETH Price: $3,162.69 (+2.48%)

Token

Pixel Ducks Aviator Club (PXDAC)
 

Overview

Max Total Supply

62 PXDAC

Holders

27

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PXDAC
0xdd2c6e765e9ee06e342e22974a90edb956f994c3
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:
MasterchefMasatoshiJunior

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : MasterchefMasatoshiJunior.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 "./IReverseRegistrar.sol";
import "./ERC721.sol";

/**
 * @title MasterchefMasatoshi
 * NFT + DAO = NEW META
 * Vitalik, remove contract size limit pls
 */
contract MasterchefMasatoshiJunior 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 payable immutable omakasea;

  address private signerAddress;
  bool public paused;

  address immutable ENSReverseRegistrar = 0x084b1c3C81545d370f3634392De611CaaBFf8148;

  enum MintStatus {
    Idle,
    AllowList,
    Public,
    Finished
  }

  MintStatus public mintStatus = MintStatus.Idle;

  mapping (address => uint256) totalMintsPerAddress;

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

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

  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.Idle);
    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");

    uint mintAmount = allowListMintPrice * amount;
    uint omakaseaFee = mintAmount * 25 / 1000;

    if (currency == wrappedNativeCoinAddress) {
        require(mintAmount <= msg.value, "a");
        // 2.5% Omakasea Fee
        omakasea.transfer(omakaseaFee);
    } else {
        IERC20 _currency = IERC20(currency);
        // 2.5% Omakasea Fee
        _currency.transferFrom(msg.sender, omakasea, omakaseaFee);    
        _currency.transferFrom(msg.sender, address(this), mintAmount - omakaseaFee);    
    }

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

    uint mintAmount = mintPrice * amount;
    uint omakaseaFee = mintAmount * 25 / 1000;

    if (currency == wrappedNativeCoinAddress) {
        require(mintPrice * amount <= msg.value, "a");
        // 2.5% Omakasea Fee
        omakasea.transfer(omakaseaFee);
    } else {
        IERC20 _currency = IERC20(currency);
        // 2.5% Omakasea Fee
        _currency.transferFrom(msg.sender, omakasea, omakaseaFee);  
        _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 addReverseENSRecord(string memory name) external onlyOwner{
    IReverseRegistrar(ENSReverseRegistrar).setName(name);
  }

  receive() external payable {
    mintPublic(msg.value / mintPrice);
  }

  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() {
    payable(msg.sender).transfer(address(this).balance);
  }

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

// The High Table

File 2 of 15 : 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 15 : 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 15 : 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 15 : IReverseRegistrar.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity >=0.8.4;

interface IReverseRegistrar {
    function setDefaultResolver(address resolver) external;

    function claim(address owner) external returns (bytes32);

    function claimForAddr(
        address addr,
        address owner,
        address resolver
    ) external returns (bytes32);

    function claimWithResolver(address owner, address resolver)
        external
        returns (bytes32);

    function setName(string memory name) external returns (bytes32);

    function setNameForAddr(
        address addr,
        address owner,
        address resolver,
        string memory name
    ) external returns (bytes32);

    function node(address addr) external pure returns (bytes32);
}

File 6 of 15 : 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 7 of 15 : 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 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : 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 15 of 15 : 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 payable","name":"_omakasea","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":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":[{"internalType":"string","name":"name","type":"string"}],"name":"addReverseENSRecord","outputs":[],"stateMutability":"nonpayable","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 MasterchefMasatoshiJunior.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 MasterchefMasatoshiJunior.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"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"}]

61012060405260008055600060085573084b1c3c81545d370f3634392de611caabff814873ffffffffffffffffffffffffffffffffffffffff166101009073ffffffffffffffffffffffffffffffffffffffff168152506000601060156101000a81548160ff021916908360038111156200007f576200007e620003e4565b5b02179055503480156200009157600080fd5b5060405162006202380380620062028339818101604052810190620000b7919062000695565b8989866000811162000100576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000f7906200082a565b60405180910390fd5b82600190805190602001906200011892919062000334565b5081600290805190602001906200013192919062000334565b5080608081815250505050506200015d620001516200026660201b60201c565b6200026e60201b60201c565b87600d8190555086600c8190555085600e8190555084600f8190555083601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff1660e08173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff168152505050505050505050505050620008b1565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000342906200087b565b90600052602060002090601f016020900481019282620003665760008555620003b2565b82601f106200038157805160ff1916838001178555620003b2565b82800160010185558215620003b2579182015b82811115620003b157825182559160200191906001019062000394565b5b509050620003c19190620003c5565b5090565b5b80821115620003e0576000816000905550600101620003c6565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200047c8262000431565b810181811067ffffffffffffffff821117156200049e576200049d62000442565b5b80604052505050565b6000620004b362000413565b9050620004c1828262000471565b919050565b600067ffffffffffffffff821115620004e457620004e362000442565b5b620004ef8262000431565b9050602081019050919050565b60005b838110156200051c578082015181840152602081019050620004ff565b838111156200052c576000848401525b50505050565b6000620005496200054384620004c6565b620004a7565b9050828152602081018484840111156200056857620005676200042c565b5b62000575848285620004fc565b509392505050565b600082601f83011262000595576200059462000427565b5b8151620005a784826020860162000532565b91505092915050565b6000819050919050565b620005c581620005b0565b8114620005d157600080fd5b50565b600081519050620005e581620005ba565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200061882620005eb565b9050919050565b6200062a816200060b565b81146200063657600080fd5b50565b6000815190506200064a816200061f565b92915050565b60006200065d82620005eb565b9050919050565b6200066f8162000650565b81146200067b57600080fd5b50565b6000815190506200068f8162000664565b92915050565b6000806000806000806000806000806101408b8d031215620006bc57620006bb6200041d565b5b60008b015167ffffffffffffffff811115620006dd57620006dc62000422565b5b620006eb8d828e016200057d565b9a505060208b015167ffffffffffffffff8111156200070f576200070e62000422565b5b6200071d8d828e016200057d565b9950506040620007308d828e01620005d4565b9850506060620007438d828e01620005d4565b9750506080620007568d828e01620005d4565b96505060a0620007698d828e01620005d4565b95505060c06200077c8d828e0162000639565b94505060e06200078f8d828e016200067e565b935050610100620007a38d828e0162000639565b925050610120620007b78d828e0162000639565b9150509295989b9194979a5092959850565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b600062000812600183620007c9565b91506200081f82620007da565b602082019050919050565b60006020820190508181036000830152620008458162000803565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200089457607f821691505b60208210811415620008ab57620008aa6200084c565b5b50919050565b60805160a05160c05160e051610100516158c66200093c60003960006125a1015260008181610b8001528181610c2e015281816121bb0152612269015260008181610abc0152612104015260008181610af301528181610bee0152818161213b015281816122290152612641015260008181612f6501528181612f8e01526135f901526158c66000f3fe6080604052600436106102345760003560e01c80636817c76c1161012e578063a22cb465116100ab578063dfb5259c1161006f578063dfb5259c1461083f578063e5a6b10f14610868578063e985e9c514610893578063efd0cbf9146108d0578063f2fde38b146108ec57610251565b8063a22cb46514610769578063a9cbd06d14610792578063b88d4fde146107ae578063c87b56dd146107d7578063d7224ba01461081457610251565b8063715018a6116100f2578063715018a6146106a85780637cac2602146106bf5780638da5cb5b146106e857806395d89b41146107135780639da3f8fd1461073e57610251565b80636817c76c146105ad57806368855b64146105d85780636c0360eb146106035780636c82054b1461062e57806370a082311461066b57610251565b8063386b7691116101bc5780634f6ccce7116101805780634f6ccce7146104b457806355f804b3146104f15780635c975abb1461051a5780636352211e146105455780636373a6b11461058257610251565b8063386b7691146103f55780633ccfd60b1461042057806342842e0e1461043757806344fead9e1461046057806349df728c1461048b57610251565b80631096952311610203578063109695231461032457806318160ddd1461034d57806323b872dd146103785780632f745c59146103a1578063333171bb146103de57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57610251565b366102515761024f600c543461024a9190613f85565b610915565b005b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190614022565b610e1a565b60405161028a919061406a565b60405180910390f35b34801561029f57600080fd5b506102a8610f64565b6040516102b5919061411e565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061416c565b610ff6565b6040516102f291906141da565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190614221565b61107b565b005b34801561033057600080fd5b5061034b60048036038101906103469190614396565b611194565b005b34801561035957600080fd5b5061036261125f565b60405161036f91906143ee565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a9190614409565b611268565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190614221565b611278565b6040516103d591906143ee565b60405180910390f35b3480156103ea57600080fd5b506103f3611476565b005b34801561040157600080fd5b5061040a61151e565b60405161041791906143ee565b60405180910390f35b34801561042c57600080fd5b50610435611524565b005b34801561044357600080fd5b5061045e60048036038101906104599190614409565b6115e9565b005b34801561046c57600080fd5b50610475611609565b60405161048291906143ee565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad919061445c565b61160f565b005b3480156104c057600080fd5b506104db60048036038101906104d6919061416c565b611786565b6040516104e891906143ee565b60405180910390f35b3480156104fd57600080fd5b5061051860048036038101906105139190614396565b6117d9565b005b34801561052657600080fd5b5061052f611861565b60405161053c919061406a565b60405180910390f35b34801561055157600080fd5b5061056c6004803603810190610567919061416c565b611874565b60405161057991906141da565b60405180910390f35b34801561058e57600080fd5b5061059761188a565b6040516105a4919061411e565b60405180910390f35b3480156105b957600080fd5b506105c2611918565b6040516105cf91906143ee565b60405180910390f35b3480156105e457600080fd5b506105ed61191e565b6040516105fa91906143ee565b60405180910390f35b34801561060f57600080fd5b50610618611924565b604051610625919061411e565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190614489565b6119b6565b60405161066291906144e2565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d919061445c565b6119e9565b60405161069f91906143ee565b60405180910390f35b3480156106b457600080fd5b506106bd611ad2565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190614522565b611b5a565b005b3480156106f457600080fd5b506106fd611c35565b60405161070a91906141da565b60405180910390f35b34801561071f57600080fd5b50610728611c5f565b604051610735919061411e565b60405180910390f35b34801561074a57600080fd5b50610753611cf1565b60405161076091906145c6565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b919061460d565b611d04565b005b6107ac60048036038101906107a791906146d9565b611e85565b005b3480156107ba57600080fd5b506107d560048036038101906107d091906147ee565b612419565b005b3480156107e357600080fd5b506107fe60048036038101906107f9919061416c565b612475565b60405161080b919061411e565b60405180910390f35b34801561082057600080fd5b5061082961251d565b60405161083691906143ee565b60405180910390f35b34801561084b57600080fd5b5061086660048036038101906108619190614396565b612523565b005b34801561087457600080fd5b5061087d61263f565b60405161088a91906141da565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190614489565b612663565b6040516108c7919061406a565b60405180910390f35b6108ea60048036038101906108e5919061416c565b610915565b005b3480156108f857600080fd5b50610913600480360381019061090e919061445c565b6126f7565b005b600260038111156109295761092861454f565b5b601060159054906101000a900460ff16600381111561094b5761094a61454f565b5b1480156109655750601060149054906101000a900460ff16155b6109a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099b906148bd565b60405180910390fd5b600d54816109b061125f565b6109ba91906148dd565b11156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f29061497f565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a4991906148dd565b1115610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a81906149eb565b60405180910390fd5b600081600c54610a9a9190614a0b565b905060006103e8601983610aae9190614a0b565b610ab89190613f85565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415610bea573483600c54610b3d9190614a0b565b1115610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590614ab1565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610be4573d6000803e3d6000fd5b50610d40565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000000000000000000000000000000000000000000000856040518463ffffffff1660e01b8152600401610c6c93929190614b30565b6020604051808303816000875af1158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf9190614b7c565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c5488610cdc9190614a0b565b6040518463ffffffff1660e01b8152600401610cfa93929190614ba9565b6020604051808303816000875af1158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d9190614b7c565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d8b91906148dd565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dd833846127ef565b600d54610de361125f565b1415610e15576003601060156101000a81548160ff02191690836003811115610e0f57610e0e61454f565b5b02179055505b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ee557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610f4d57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610f5d5750610f5c8261280d565b5b9050919050565b606060018054610f7390614c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90614c0f565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b5050505050905090565b600061100182612877565b611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614ab1565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061108682611874565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90614c8d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611116612884565b73ffffffffffffffffffffffffffffffffffffffff16148061114557506111448161113f612884565b612663565b5b611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b90614ab1565b60405180910390fd5b61118f83838361288c565b505050565b61119c612884565b73ffffffffffffffffffffffffffffffffffffffff166111ba611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790614cf9565b60405180910390fd5b600b60009054906101000a900460ff161561122a57600080fd5b80600a9080519060200190611240929190613e40565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b61127383838361293e565b505050565b6000611283836119e9565b82106112c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bb90614d65565b60405180910390fd5b60006112ce61125f565b905060008060005b83811015611434576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146113c857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114205786841415611411578195505050505050611470565b838061141c90614d85565b9450505b50808061142c90614d85565b9150506112d6565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790614e1a565b60405180910390fd5b92915050565b61147e612884565b73ffffffffffffffffffffffffffffffffffffffff1661149c611c35565b73ffffffffffffffffffffffffffffffffffffffff16146114f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e990614cf9565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b61152c612884565b73ffffffffffffffffffffffffffffffffffffffff1661154a611c35565b73ffffffffffffffffffffffffffffffffffffffff16146115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159790614cf9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115e6573d6000803e3d6000fd5b50565b61160483838360405180602001604052806000815250612419565b505050565b600f5481565b611617612884565b73ffffffffffffffffffffffffffffffffffffffff16611635611c35565b73ffffffffffffffffffffffffffffffffffffffff161461168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290614cf9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116e191906141da565b602060405180830381865afa1580156116fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117229190614e4f565b6040518363ffffffff1660e01b815260040161173f929190614e7c565b6020604051808303816000875af115801561175e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117829190614b7c565b5050565b600061179061125f565b82106117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614ef1565b60405180910390fd5b819050919050565b6117e1612884565b73ffffffffffffffffffffffffffffffffffffffff166117ff611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c90614cf9565b60405180910390fd5b61185e81612ef7565b50565b601060149054906101000a900460ff1681565b600061187f82612f11565b600001519050919050565b600a805461189790614c0f565b80601f01602080910402602001604051908101604052809291908181526020018280546118c390614c0f565b80156119105780601f106118e557610100808354040283529160200191611910565b820191906000526020600020905b8154815290600101906020018083116118f357829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461193390614c0f565b80601f016020809104026020016040519081016040528092919081815260200182805461195f90614c0f565b80156119ac5780601f10611981576101008083540402835291602001916119ac565b820191906000526020600020905b81548152906001019060200180831161198f57829003601f168201915b5050505050905090565b600082826040516020016119cb929190614f59565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5190614fd1565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611ada612884565b73ffffffffffffffffffffffffffffffffffffffff16611af8611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614cf9565b60405180910390fd5b611b586000613114565b565b611b62612884565b73ffffffffffffffffffffffffffffffffffffffff16611b80611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd90614cf9565b60405180910390fd5b60006003811115611bea57611be961454f565b5b816003811115611bfd57611bfc61454f565b5b1415611c0857600080fd5b80601060156101000a81548160ff02191690836003811115611c2d57611c2c61454f565b5b021790555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c6e90614c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9a90614c0f565b8015611ce75780601f10611cbc57610100808354040283529160200191611ce7565b820191906000526020600020905b815481529060010190602001808311611cca57829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b611d0c612884565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190614ab1565b60405180910390fd5b8060076000611d87612884565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e34612884565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e79919061406a565b60405180910390a35050565b60016003811115611e9957611e9861454f565b5b601060159054906101000a900460ff166003811115611ebb57611eba61454f565b5b148015611ed55750601060149054906101000a900460ff16155b611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b906148bd565b60405180910390fd5b600d5481611f2061125f565b611f2a91906148dd565b1115611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f629061497f565b60405180910390fd5b83611f7633306119b6565b14611fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fad9061503d565b60405180910390fd5b6120048484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506131da565b612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203a906150a9565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461209191906148dd565b11156120d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c9906149eb565b60405180910390fd5b600081600e546120e29190614a0b565b905060006103e86019836120f69190614a0b565b6121009190613f85565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16141561222557348211156121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090614ab1565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561221f573d6000803e3d6000fd5b50612379565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000000000000000000000000000000000000000000000856040518463ffffffff1660e01b81526004016122a793929190614b30565b6020604051808303816000875af11580156122c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ea9190614b7c565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330858761231591906150c9565b6040518463ffffffff1660e01b815260040161233393929190614ba9565b6020604051808303816000875af1158015612352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123769190614b7c565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123c491906148dd565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061241133846127ef565b505050505050565b61242484848461293e565b6124308484848461324f565b61246f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246690615149565b60405180910390fd5b50505050565b606061248082612877565b6124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b690615149565b60405180910390fd5b6000600380546124ce90614c0f565b9050116124ea5760405180602001604052806000815250612516565b60036124f5836133d7565b604051602001612506929190615239565b6040516020818303038152906040525b9050919050565b60085481565b61252b612884565b73ffffffffffffffffffffffffffffffffffffffff16612549611c35565b73ffffffffffffffffffffffffffffffffffffffff161461259f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259690614cf9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c47f0027826040518263ffffffff1660e01b81526004016125f8919061411e565b6020604051808303816000875af1158015612617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263b9190615272565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126ff612884565b73ffffffffffffffffffffffffffffffffffffffff1661271d611c35565b73ffffffffffffffffffffffffffffffffffffffff1614612773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276a90614cf9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615311565b60405180910390fd5b6127ec81613114565b50565b612809828260405180602001604052806000815250613538565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061294982612f11565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612970612884565b73ffffffffffffffffffffffffffffffffffffffff1614806129cc5750612995612884565b73ffffffffffffffffffffffffffffffffffffffff166129b484610ff6565b73ffffffffffffffffffffffffffffffffffffffff16145b806129e857506129e782600001516129e2612884565b612663565b5b905080612a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2190614ab1565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9390614c8d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0390614fd1565b60405180910390fd5b612b198585856001613a17565b612b29600084846000015161288c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612b97919061534d565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612c3b9190615381565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612d4191906148dd565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e8757612db781612877565b15612e86576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eef8686866001613a1d565b505050505050565b8060039080519060200190612f0d929190613e40565b5050565b612f19613ec6565b612f2282612877565b612f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5890615413565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612fc55760017f000000000000000000000000000000000000000000000000000000000000000084612fb891906150c9565b612fc291906148dd565b90505b60008390505b8181106130d3576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130bf5780935050505061310f565b5080806130cb90615433565b915050612fcb565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690614c8d565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006131f7826131e985613a23565b613a5390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60006132708473ffffffffffffffffffffffffffffffffffffffff16613a7a565b156133ca578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613299612884565b8786866040518563ffffffff1660e01b81526004016132bb94939291906154b2565b6020604051808303816000875af19250505080156132f757506040513d601f19601f820116820180604052508101906132f49190615513565b60015b61337a573d8060008114613327576040519150601f19603f3d011682016040523d82523d6000602084013e61332c565b606091505b50600081511415613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990615149565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133cf565b600190505b949350505050565b6060600082141561341f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613533565b600082905060005b6000821461345157808061343a90614d85565b915050600a8261344a9190613f85565b9150613427565b60008167ffffffffffffffff81111561346d5761346c61426b565b5b6040519080825280601f01601f19166020018201604052801561349f5781602001600182028036833780820191505090505b5090505b6000851461352c576001826134b891906150c9565b9150600a856134c79190615540565b60306134d391906148dd565b60f81b8183815181106134e9576134e8615571565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135259190613f85565b94506134a3565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a590614fd1565b60405180910390fd5b6135b781612877565b156135f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ee90614ab1565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561365a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136519061497f565b60405180910390fd5b6136676000858386613a17565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516137649190615381565b6fffffffffffffffffffffffffffffffff16815260200185836020015161378b9190615381565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156139fa57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461399a600088848861324f565b6139d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d090615149565b60405180910390fd5b81806139e490614d85565b92505080806139f290614d85565b915050613929565b5080600081905550613a0f6000878588613a1d565b505050505050565b50505050565b50505050565b600081604051602001613a36919061560d565b604051602081830303815290604052805190602001209050919050565b6000806000613a628585613a8d565b91509150613a6f81613b10565b819250505092915050565b600080823b905060008111915050919050565b600080604183511415613acf5760008060006020860151925060408601519150606086015160001a9050613ac387828585613ce5565b94509450505050613b09565b604083511415613b00576000806020850151915060408501519050613af5868383613df2565b935093505050613b09565b60006002915091505b9250929050565b60006004811115613b2457613b2361454f565b5b816004811115613b3757613b3661454f565b5b1415613b4257613ce2565b60016004811115613b5657613b5561454f565b5b816004811115613b6957613b6861454f565b5b1415613baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ba19061567f565b60405180910390fd5b60026004811115613bbe57613bbd61454f565b5b816004811115613bd157613bd061454f565b5b1415613c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c09906156eb565b60405180910390fd5b60036004811115613c2657613c2561454f565b5b816004811115613c3957613c3861454f565b5b1415613c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c719061577d565b60405180910390fd5b600480811115613c8d57613c8c61454f565b5b816004811115613ca057613c9f61454f565b5b1415613ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cd89061580f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613d20576000600391509150613de9565b601b8560ff1614158015613d385750601c8560ff1614155b15613d4a576000600491509150613de9565b600060018787878760405160008152602001604052604051613d6f949392919061584b565b6020604051602081039080840390855afa158015613d91573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613de057600060019250925050613de9565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613e3287828885613ce5565b935093505050935093915050565b828054613e4c90614c0f565b90600052602060002090601f016020900481019282613e6e5760008555613eb5565b82601f10613e8757805160ff1916838001178555613eb5565b82800160010185558215613eb5579182015b82811115613eb4578251825591602001919060010190613e99565b5b509050613ec29190613f00565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613f19576000816000905550600101613f01565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f9082613f1d565b9150613f9b83613f1d565b925082613fab57613faa613f27565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fff81613fca565b811461400a57600080fd5b50565b60008135905061401c81613ff6565b92915050565b60006020828403121561403857614037613fc0565b5b60006140468482850161400d565b91505092915050565b60008115159050919050565b6140648161404f565b82525050565b600060208201905061407f600083018461405b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140bf5780820151818401526020810190506140a4565b838111156140ce576000848401525b50505050565b6000601f19601f8301169050919050565b60006140f082614085565b6140fa8185614090565b935061410a8185602086016140a1565b614113816140d4565b840191505092915050565b6000602082019050818103600083015261413881846140e5565b905092915050565b61414981613f1d565b811461415457600080fd5b50565b60008135905061416681614140565b92915050565b60006020828403121561418257614181613fc0565b5b600061419084828501614157565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141c482614199565b9050919050565b6141d4816141b9565b82525050565b60006020820190506141ef60008301846141cb565b92915050565b6141fe816141b9565b811461420957600080fd5b50565b60008135905061421b816141f5565b92915050565b6000806040838503121561423857614237613fc0565b5b60006142468582860161420c565b925050602061425785828601614157565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142a3826140d4565b810181811067ffffffffffffffff821117156142c2576142c161426b565b5b80604052505050565b60006142d5613fb6565b90506142e1828261429a565b919050565b600067ffffffffffffffff8211156143015761430061426b565b5b61430a826140d4565b9050602081019050919050565b82818337600083830152505050565b6000614339614334846142e6565b6142cb565b90508281526020810184848401111561435557614354614266565b5b614360848285614317565b509392505050565b600082601f83011261437d5761437c614261565b5b813561438d848260208601614326565b91505092915050565b6000602082840312156143ac576143ab613fc0565b5b600082013567ffffffffffffffff8111156143ca576143c9613fc5565b5b6143d684828501614368565b91505092915050565b6143e881613f1d565b82525050565b600060208201905061440360008301846143df565b92915050565b60008060006060848603121561442257614421613fc0565b5b60006144308682870161420c565b93505060206144418682870161420c565b925050604061445286828701614157565b9150509250925092565b60006020828403121561447257614471613fc0565b5b60006144808482850161420c565b91505092915050565b600080604083850312156144a05761449f613fc0565b5b60006144ae8582860161420c565b92505060206144bf8582860161420c565b9150509250929050565b6000819050919050565b6144dc816144c9565b82525050565b60006020820190506144f760008301846144d3565b92915050565b6004811061450a57600080fd5b50565b60008135905061451c816144fd565b92915050565b60006020828403121561453857614537613fc0565b5b60006145468482850161450d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061458f5761458e61454f565b5b50565b60008190506145a08261457e565b919050565b60006145b082614592565b9050919050565b6145c0816145a5565b82525050565b60006020820190506145db60008301846145b7565b92915050565b6145ea8161404f565b81146145f557600080fd5b50565b600081359050614607816145e1565b92915050565b6000806040838503121561462457614623613fc0565b5b60006146328582860161420c565b9250506020614643858286016145f8565b9150509250929050565b614656816144c9565b811461466157600080fd5b50565b6000813590506146738161464d565b92915050565b600080fd5b600080fd5b60008083601f84011261469957614698614261565b5b8235905067ffffffffffffffff8111156146b6576146b5614679565b5b6020830191508360018202830111156146d2576146d161467e565b5b9250929050565b600080600080606085870312156146f3576146f2613fc0565b5b600061470187828801614664565b945050602085013567ffffffffffffffff81111561472257614721613fc5565b5b61472e87828801614683565b9350935050604061474187828801614157565b91505092959194509250565b600067ffffffffffffffff8211156147685761476761426b565b5b614771826140d4565b9050602081019050919050565b600061479161478c8461474d565b6142cb565b9050828152602081018484840111156147ad576147ac614266565b5b6147b8848285614317565b509392505050565b600082601f8301126147d5576147d4614261565b5b81356147e584826020860161477e565b91505092915050565b6000806000806080858703121561480857614807613fc0565b5b60006148168782880161420c565b94505060206148278782880161420c565b935050604061483887828801614157565b925050606085013567ffffffffffffffff81111561485957614858613fc5565b5b614865878288016147c0565b91505092959194509250565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006148a7600183614090565b91506148b282614871565b602082019050919050565b600060208201905081810360008301526148d68161489a565b9050919050565b60006148e882613f1d565b91506148f383613f1d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561492857614927613f56565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614969600183614090565b915061497482614933565b602082019050919050565b600060208201905081810360008301526149988161495c565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006149d5600183614090565b91506149e08261499f565b602082019050919050565b60006020820190508181036000830152614a04816149c8565b9050919050565b6000614a1682613f1d565b9150614a2183613f1d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a5a57614a59613f56565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a9b600183614090565b9150614aa682614a65565b602082019050919050565b60006020820190508181036000830152614aca81614a8e565b9050919050565b6000819050919050565b6000614af6614af1614aec84614199565b614ad1565b614199565b9050919050565b6000614b0882614adb565b9050919050565b6000614b1a82614afd565b9050919050565b614b2a81614b0f565b82525050565b6000606082019050614b4560008301866141cb565b614b526020830185614b21565b614b5f60408301846143df565b949350505050565b600081519050614b76816145e1565b92915050565b600060208284031215614b9257614b91613fc0565b5b6000614ba084828501614b67565b91505092915050565b6000606082019050614bbe60008301866141cb565b614bcb60208301856141cb565b614bd860408301846143df565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614c2757607f821691505b60208210811415614c3b57614c3a614be0565b5b50919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c77600183614090565b9150614c8282614c41565b602082019050919050565b60006020820190508181036000830152614ca681614c6a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ce3602083614090565b9150614cee82614cad565b602082019050919050565b60006020820190508181036000830152614d1281614cd6565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d4f600183614090565b9150614d5a82614d19565b602082019050919050565b60006020820190508181036000830152614d7e81614d42565b9050919050565b6000614d9082613f1d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dc357614dc2613f56565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e04600183614090565b9150614e0f82614dce565b602082019050919050565b60006020820190508181036000830152614e3381614df7565b9050919050565b600081519050614e4981614140565b92915050565b600060208284031215614e6557614e64613fc0565b5b6000614e7384828501614e3a565b91505092915050565b6000604082019050614e9160008301856141cb565b614e9e60208301846143df565b9392505050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614edb600183614090565b9150614ee682614ea5565b602082019050919050565b60006020820190508181036000830152614f0a81614ece565b9050919050565b60008160601b9050919050565b6000614f2982614f11565b9050919050565b6000614f3b82614f1e565b9050919050565b614f53614f4e826141b9565b614f30565b82525050565b6000614f658285614f42565b601482019150614f758284614f42565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fbb600183614090565b9150614fc682614f85565b602082019050919050565b60006020820190508181036000830152614fea81614fae565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000615027600183614090565b915061503282614ff1565b602082019050919050565b600060208201905081810360008301526150568161501a565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000615093600183614090565b915061509e8261505d565b602082019050919050565b600060208201905081810360008301526150c281615086565b9050919050565b60006150d482613f1d565b91506150df83613f1d565b9250828210156150f2576150f1613f56565b5b828203905092915050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615133600183614090565b915061513e826150fd565b602082019050919050565b6000602082019050818103600083015261516281615126565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461519681614c0f565b6151a08186615169565b945060018216600081146151bb57600181146151cc576151ff565b60ff198316865281860193506151ff565b6151d585615174565b60005b838110156151f7578154818901526001820191506020810190506151d8565b838801955050505b50505092915050565b600061521382614085565b61521d8185615169565b935061522d8185602086016140a1565b80840191505092915050565b60006152458285615189565b91506152518284615208565b91508190509392505050565b60008151905061526c8161464d565b92915050565b60006020828403121561528857615287613fc0565b5b60006152968482850161525d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152fb602683614090565b91506153068261529f565b604082019050919050565b6000602082019050818103600083015261532a816152ee565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061535882615331565b915061536383615331565b92508282101561537657615375613f56565b5b828203905092915050565b600061538c82615331565b915061539783615331565b9250826fffffffffffffffffffffffffffffffff038211156153bc576153bb613f56565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b60006153fd600183614090565b9150615408826153c7565b602082019050919050565b6000602082019050818103600083015261542c816153f0565b9050919050565b600061543e82613f1d565b9150600082141561545257615451613f56565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b60006154848261545d565b61548e8185615468565b935061549e8185602086016140a1565b6154a7816140d4565b840191505092915050565b60006080820190506154c760008301876141cb565b6154d460208301866141cb565b6154e160408301856143df565b81810360608301526154f38184615479565b905095945050505050565b60008151905061550d81613ff6565b92915050565b60006020828403121561552957615528613fc0565b5b6000615537848285016154fe565b91505092915050565b600061554b82613f1d565b915061555683613f1d565b92508261556657615565613f27565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006155d6601c83615169565b91506155e1826155a0565b601c82019050919050565b6000819050919050565b615607615602826144c9565b6155ec565b82525050565b6000615618826155c9565b915061562482846155f6565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615669601883614090565b915061567482615633565b602082019050919050565b600060208201905081810360008301526156988161565c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006156d5601f83614090565b91506156e08261569f565b602082019050919050565b60006020820190508181036000830152615704816156c8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615767602283614090565b91506157728261570b565b604082019050919050565b600060208201905081810360008301526157968161575a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006157f9602283614090565b91506158048261579d565b604082019050919050565b60006020820190508181036000830152615828816157ec565b9050919050565b600060ff82169050919050565b6158458161582f565b82525050565b600060808201905061586060008301876144d3565b61586d602083018661583c565b61587a60408301856144d3565b61588760608301846144d3565b9594505050505056fea264697066735822122033f3af7501747569b251b7d4576813ccb31287bf785f40f8da2ad3270bb4a7e564736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000e35fa931a0000000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000018506978656c204475636b732041766961746f7220436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000055058444143000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102345760003560e01c80636817c76c1161012e578063a22cb465116100ab578063dfb5259c1161006f578063dfb5259c1461083f578063e5a6b10f14610868578063e985e9c514610893578063efd0cbf9146108d0578063f2fde38b146108ec57610251565b8063a22cb46514610769578063a9cbd06d14610792578063b88d4fde146107ae578063c87b56dd146107d7578063d7224ba01461081457610251565b8063715018a6116100f2578063715018a6146106a85780637cac2602146106bf5780638da5cb5b146106e857806395d89b41146107135780639da3f8fd1461073e57610251565b80636817c76c146105ad57806368855b64146105d85780636c0360eb146106035780636c82054b1461062e57806370a082311461066b57610251565b8063386b7691116101bc5780634f6ccce7116101805780634f6ccce7146104b457806355f804b3146104f15780635c975abb1461051a5780636352211e146105455780636373a6b11461058257610251565b8063386b7691146103f55780633ccfd60b1461042057806342842e0e1461043757806344fead9e1461046057806349df728c1461048b57610251565b80631096952311610203578063109695231461032457806318160ddd1461034d57806323b872dd146103785780632f745c59146103a1578063333171bb146103de57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57610251565b366102515761024f600c543461024a9190613f85565b610915565b005b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190614022565b610e1a565b60405161028a919061406a565b60405180910390f35b34801561029f57600080fd5b506102a8610f64565b6040516102b5919061411e565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e0919061416c565b610ff6565b6040516102f291906141da565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190614221565b61107b565b005b34801561033057600080fd5b5061034b60048036038101906103469190614396565b611194565b005b34801561035957600080fd5b5061036261125f565b60405161036f91906143ee565b60405180910390f35b34801561038457600080fd5b5061039f600480360381019061039a9190614409565b611268565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190614221565b611278565b6040516103d591906143ee565b60405180910390f35b3480156103ea57600080fd5b506103f3611476565b005b34801561040157600080fd5b5061040a61151e565b60405161041791906143ee565b60405180910390f35b34801561042c57600080fd5b50610435611524565b005b34801561044357600080fd5b5061045e60048036038101906104599190614409565b6115e9565b005b34801561046c57600080fd5b50610475611609565b60405161048291906143ee565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad919061445c565b61160f565b005b3480156104c057600080fd5b506104db60048036038101906104d6919061416c565b611786565b6040516104e891906143ee565b60405180910390f35b3480156104fd57600080fd5b5061051860048036038101906105139190614396565b6117d9565b005b34801561052657600080fd5b5061052f611861565b60405161053c919061406a565b60405180910390f35b34801561055157600080fd5b5061056c6004803603810190610567919061416c565b611874565b60405161057991906141da565b60405180910390f35b34801561058e57600080fd5b5061059761188a565b6040516105a4919061411e565b60405180910390f35b3480156105b957600080fd5b506105c2611918565b6040516105cf91906143ee565b60405180910390f35b3480156105e457600080fd5b506105ed61191e565b6040516105fa91906143ee565b60405180910390f35b34801561060f57600080fd5b50610618611924565b604051610625919061411e565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190614489565b6119b6565b60405161066291906144e2565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d919061445c565b6119e9565b60405161069f91906143ee565b60405180910390f35b3480156106b457600080fd5b506106bd611ad2565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190614522565b611b5a565b005b3480156106f457600080fd5b506106fd611c35565b60405161070a91906141da565b60405180910390f35b34801561071f57600080fd5b50610728611c5f565b604051610735919061411e565b60405180910390f35b34801561074a57600080fd5b50610753611cf1565b60405161076091906145c6565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b919061460d565b611d04565b005b6107ac60048036038101906107a791906146d9565b611e85565b005b3480156107ba57600080fd5b506107d560048036038101906107d091906147ee565b612419565b005b3480156107e357600080fd5b506107fe60048036038101906107f9919061416c565b612475565b60405161080b919061411e565b60405180910390f35b34801561082057600080fd5b5061082961251d565b60405161083691906143ee565b60405180910390f35b34801561084b57600080fd5b5061086660048036038101906108619190614396565b612523565b005b34801561087457600080fd5b5061087d61263f565b60405161088a91906141da565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190614489565b612663565b6040516108c7919061406a565b60405180910390f35b6108ea60048036038101906108e5919061416c565b610915565b005b3480156108f857600080fd5b50610913600480360381019061090e919061445c565b6126f7565b005b600260038111156109295761092861454f565b5b601060159054906101000a900460ff16600381111561094b5761094a61454f565b5b1480156109655750601060149054906101000a900460ff16155b6109a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099b906148bd565b60405180910390fd5b600d54816109b061125f565b6109ba91906148dd565b11156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f29061497f565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a4991906148dd565b1115610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a81906149eb565b60405180910390fd5b600081600c54610a9a9190614a0b565b905060006103e8601983610aae9190614a0b565b610ab89190613f85565b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415610bea573483600c54610b3d9190614a0b565b1115610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590614ab1565b60405180910390fd5b7f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610be4573d6000803e3d6000fd5b50610d40565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b856040518463ffffffff1660e01b8152600401610c6c93929190614b30565b6020604051808303816000875af1158015610c8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caf9190614b7c565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c5488610cdc9190614a0b565b6040518463ffffffff1660e01b8152600401610cfa93929190614ba9565b6020604051808303816000875af1158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d9190614b7c565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d8b91906148dd565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610dd833846127ef565b600d54610de361125f565b1415610e15576003601060156101000a81548160ff02191690836003811115610e0f57610e0e61454f565b5b02179055505b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ee557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610f4d57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610f5d5750610f5c8261280d565b5b9050919050565b606060018054610f7390614c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90614c0f565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b5050505050905090565b600061100182612877565b611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614ab1565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061108682611874565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90614c8d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611116612884565b73ffffffffffffffffffffffffffffffffffffffff16148061114557506111448161113f612884565b612663565b5b611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b90614ab1565b60405180910390fd5b61118f83838361288c565b505050565b61119c612884565b73ffffffffffffffffffffffffffffffffffffffff166111ba611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790614cf9565b60405180910390fd5b600b60009054906101000a900460ff161561122a57600080fd5b80600a9080519060200190611240929190613e40565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b61127383838361293e565b505050565b6000611283836119e9565b82106112c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112bb90614d65565b60405180910390fd5b60006112ce61125f565b905060008060005b83811015611434576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146113c857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114205786841415611411578195505050505050611470565b838061141c90614d85565b9450505b50808061142c90614d85565b9150506112d6565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146790614e1a565b60405180910390fd5b92915050565b61147e612884565b73ffffffffffffffffffffffffffffffffffffffff1661149c611c35565b73ffffffffffffffffffffffffffffffffffffffff16146114f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e990614cf9565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b61152c612884565b73ffffffffffffffffffffffffffffffffffffffff1661154a611c35565b73ffffffffffffffffffffffffffffffffffffffff16146115a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159790614cf9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115e6573d6000803e3d6000fd5b50565b61160483838360405180602001604052806000815250612419565b505050565b600f5481565b611617612884565b73ffffffffffffffffffffffffffffffffffffffff16611635611c35565b73ffffffffffffffffffffffffffffffffffffffff161461168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290614cf9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016116e191906141da565b602060405180830381865afa1580156116fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117229190614e4f565b6040518363ffffffff1660e01b815260040161173f929190614e7c565b6020604051808303816000875af115801561175e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117829190614b7c565b5050565b600061179061125f565b82106117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614ef1565b60405180910390fd5b819050919050565b6117e1612884565b73ffffffffffffffffffffffffffffffffffffffff166117ff611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c90614cf9565b60405180910390fd5b61185e81612ef7565b50565b601060149054906101000a900460ff1681565b600061187f82612f11565b600001519050919050565b600a805461189790614c0f565b80601f01602080910402602001604051908101604052809291908181526020018280546118c390614c0f565b80156119105780601f106118e557610100808354040283529160200191611910565b820191906000526020600020905b8154815290600101906020018083116118f357829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461193390614c0f565b80601f016020809104026020016040519081016040528092919081815260200182805461195f90614c0f565b80156119ac5780601f10611981576101008083540402835291602001916119ac565b820191906000526020600020905b81548152906001019060200180831161198f57829003601f168201915b5050505050905090565b600082826040516020016119cb929190614f59565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5190614fd1565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611ada612884565b73ffffffffffffffffffffffffffffffffffffffff16611af8611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614cf9565b60405180910390fd5b611b586000613114565b565b611b62612884565b73ffffffffffffffffffffffffffffffffffffffff16611b80611c35565b73ffffffffffffffffffffffffffffffffffffffff1614611bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcd90614cf9565b60405180910390fd5b60006003811115611bea57611be961454f565b5b816003811115611bfd57611bfc61454f565b5b1415611c0857600080fd5b80601060156101000a81548160ff02191690836003811115611c2d57611c2c61454f565b5b021790555050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c6e90614c0f565b80601f0160208091040260200160405190810160405280929190818152602001828054611c9a90614c0f565b8015611ce75780601f10611cbc57610100808354040283529160200191611ce7565b820191906000526020600020905b815481529060010190602001808311611cca57829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b611d0c612884565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190614ab1565b60405180910390fd5b8060076000611d87612884565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e34612884565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e79919061406a565b60405180910390a35050565b60016003811115611e9957611e9861454f565b5b601060159054906101000a900460ff166003811115611ebb57611eba61454f565b5b148015611ed55750601060149054906101000a900460ff16155b611f14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0b906148bd565b60405180910390fd5b600d5481611f2061125f565b611f2a91906148dd565b1115611f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f629061497f565b60405180910390fd5b83611f7633306119b6565b14611fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fad9061503d565b60405180910390fd5b6120048484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506131da565b612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203a906150a9565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461209191906148dd565b11156120d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c9906149eb565b60405180910390fd5b600081600e546120e29190614a0b565b905060006103e86019836120f69190614a0b565b6121009190613f85565b90507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff16141561222557348211156121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090614ab1565b60405180910390fd5b7f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561221f573d6000803e3d6000fd5b50612379565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd337f0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b856040518463ffffffff1660e01b81526004016122a793929190614b30565b6020604051808303816000875af11580156122c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ea9190614b7c565b508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330858761231591906150c9565b6040518463ffffffff1660e01b815260040161233393929190614ba9565b6020604051808303816000875af1158015612352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123769190614b7c565b50505b82601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123c491906148dd565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061241133846127ef565b505050505050565b61242484848461293e565b6124308484848461324f565b61246f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246690615149565b60405180910390fd5b50505050565b606061248082612877565b6124bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b690615149565b60405180910390fd5b6000600380546124ce90614c0f565b9050116124ea5760405180602001604052806000815250612516565b60036124f5836133d7565b604051602001612506929190615239565b6040516020818303038152906040525b9050919050565b60085481565b61252b612884565b73ffffffffffffffffffffffffffffffffffffffff16612549611c35565b73ffffffffffffffffffffffffffffffffffffffff161461259f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259690614cf9565b60405180910390fd5b7f000000000000000000000000084b1c3c81545d370f3634392de611caabff814873ffffffffffffffffffffffffffffffffffffffff1663c47f0027826040518263ffffffff1660e01b81526004016125f8919061411e565b6020604051808303816000875af1158015612617573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061263b9190615272565b5050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126ff612884565b73ffffffffffffffffffffffffffffffffffffffff1661271d611c35565b73ffffffffffffffffffffffffffffffffffffffff1614612773576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276a90614cf9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615311565b60405180910390fd5b6127ec81613114565b50565b612809828260405180602001604052806000815250613538565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061294982612f11565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612970612884565b73ffffffffffffffffffffffffffffffffffffffff1614806129cc5750612995612884565b73ffffffffffffffffffffffffffffffffffffffff166129b484610ff6565b73ffffffffffffffffffffffffffffffffffffffff16145b806129e857506129e782600001516129e2612884565b612663565b5b905080612a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2190614ab1565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9390614c8d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0390614fd1565b60405180910390fd5b612b198585856001613a17565b612b29600084846000015161288c565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612b97919061534d565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612c3b9190615381565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612d4191906148dd565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612e8757612db781612877565b15612e86576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eef8686866001613a1d565b505050505050565b8060039080519060200190612f0d929190613e40565b5050565b612f19613ec6565b612f2282612877565b612f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5890615413565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000001e8310612fc55760017f000000000000000000000000000000000000000000000000000000000000001e84612fb891906150c9565b612fc291906148dd565b90505b60008390505b8181106130d3576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130bf5780935050505061310f565b5080806130cb90615433565b915050612fcb565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310690614c8d565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006131f7826131e985613a23565b613a5390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60006132708473ffffffffffffffffffffffffffffffffffffffff16613a7a565b156133ca578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613299612884565b8786866040518563ffffffff1660e01b81526004016132bb94939291906154b2565b6020604051808303816000875af19250505080156132f757506040513d601f19601f820116820180604052508101906132f49190615513565b60015b61337a573d8060008114613327576040519150601f19603f3d011682016040523d82523d6000602084013e61332c565b606091505b50600081511415613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990615149565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133cf565b600190505b949350505050565b6060600082141561341f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613533565b600082905060005b6000821461345157808061343a90614d85565b915050600a8261344a9190613f85565b9150613427565b60008167ffffffffffffffff81111561346d5761346c61426b565b5b6040519080825280601f01601f19166020018201604052801561349f5781602001600182028036833780820191505090505b5090505b6000851461352c576001826134b891906150c9565b9150600a856134c79190615540565b60306134d391906148dd565b60f81b8183815181106134e9576134e8615571565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135259190613f85565b94506134a3565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a590614fd1565b60405180910390fd5b6135b781612877565b156135f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ee90614ab1565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000001e83111561365a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136519061497f565b60405180910390fd5b6136676000858386613a17565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516137649190615381565b6fffffffffffffffffffffffffffffffff16815260200185836020015161378b9190615381565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156139fa57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461399a600088848861324f565b6139d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d090615149565b60405180910390fd5b81806139e490614d85565b92505080806139f290614d85565b915050613929565b5080600081905550613a0f6000878588613a1d565b505050505050565b50505050565b50505050565b600081604051602001613a36919061560d565b604051602081830303815290604052805190602001209050919050565b6000806000613a628585613a8d565b91509150613a6f81613b10565b819250505092915050565b600080823b905060008111915050919050565b600080604183511415613acf5760008060006020860151925060408601519150606086015160001a9050613ac387828585613ce5565b94509450505050613b09565b604083511415613b00576000806020850151915060408501519050613af5868383613df2565b935093505050613b09565b60006002915091505b9250929050565b60006004811115613b2457613b2361454f565b5b816004811115613b3757613b3661454f565b5b1415613b4257613ce2565b60016004811115613b5657613b5561454f565b5b816004811115613b6957613b6861454f565b5b1415613baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ba19061567f565b60405180910390fd5b60026004811115613bbe57613bbd61454f565b5b816004811115613bd157613bd061454f565b5b1415613c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c09906156eb565b60405180910390fd5b60036004811115613c2657613c2561454f565b5b816004811115613c3957613c3861454f565b5b1415613c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c719061577d565b60405180910390fd5b600480811115613c8d57613c8c61454f565b5b816004811115613ca057613c9f61454f565b5b1415613ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cd89061580f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613d20576000600391509150613de9565b601b8560ff1614158015613d385750601c8560ff1614155b15613d4a576000600491509150613de9565b600060018787878760405160008152602001604052604051613d6f949392919061584b565b6020604051602081039080840390855afa158015613d91573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613de057600060019250925050613de9565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613e3287828885613ce5565b935093505050935093915050565b828054613e4c90614c0f565b90600052602060002090601f016020900481019282613e6e5760008555613eb5565b82601f10613e8757805160ff1916838001178555613eb5565b82800160010185558215613eb5579182015b82811115613eb4578251825591602001919060010190613e99565b5b509050613ec29190613f00565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613f19576000816000905550600101613f01565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f9082613f1d565b9150613f9b83613f1d565b925082613fab57613faa613f27565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613fff81613fca565b811461400a57600080fd5b50565b60008135905061401c81613ff6565b92915050565b60006020828403121561403857614037613fc0565b5b60006140468482850161400d565b91505092915050565b60008115159050919050565b6140648161404f565b82525050565b600060208201905061407f600083018461405b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140bf5780820151818401526020810190506140a4565b838111156140ce576000848401525b50505050565b6000601f19601f8301169050919050565b60006140f082614085565b6140fa8185614090565b935061410a8185602086016140a1565b614113816140d4565b840191505092915050565b6000602082019050818103600083015261413881846140e5565b905092915050565b61414981613f1d565b811461415457600080fd5b50565b60008135905061416681614140565b92915050565b60006020828403121561418257614181613fc0565b5b600061419084828501614157565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141c482614199565b9050919050565b6141d4816141b9565b82525050565b60006020820190506141ef60008301846141cb565b92915050565b6141fe816141b9565b811461420957600080fd5b50565b60008135905061421b816141f5565b92915050565b6000806040838503121561423857614237613fc0565b5b60006142468582860161420c565b925050602061425785828601614157565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142a3826140d4565b810181811067ffffffffffffffff821117156142c2576142c161426b565b5b80604052505050565b60006142d5613fb6565b90506142e1828261429a565b919050565b600067ffffffffffffffff8211156143015761430061426b565b5b61430a826140d4565b9050602081019050919050565b82818337600083830152505050565b6000614339614334846142e6565b6142cb565b90508281526020810184848401111561435557614354614266565b5b614360848285614317565b509392505050565b600082601f83011261437d5761437c614261565b5b813561438d848260208601614326565b91505092915050565b6000602082840312156143ac576143ab613fc0565b5b600082013567ffffffffffffffff8111156143ca576143c9613fc5565b5b6143d684828501614368565b91505092915050565b6143e881613f1d565b82525050565b600060208201905061440360008301846143df565b92915050565b60008060006060848603121561442257614421613fc0565b5b60006144308682870161420c565b93505060206144418682870161420c565b925050604061445286828701614157565b9150509250925092565b60006020828403121561447257614471613fc0565b5b60006144808482850161420c565b91505092915050565b600080604083850312156144a05761449f613fc0565b5b60006144ae8582860161420c565b92505060206144bf8582860161420c565b9150509250929050565b6000819050919050565b6144dc816144c9565b82525050565b60006020820190506144f760008301846144d3565b92915050565b6004811061450a57600080fd5b50565b60008135905061451c816144fd565b92915050565b60006020828403121561453857614537613fc0565b5b60006145468482850161450d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061458f5761458e61454f565b5b50565b60008190506145a08261457e565b919050565b60006145b082614592565b9050919050565b6145c0816145a5565b82525050565b60006020820190506145db60008301846145b7565b92915050565b6145ea8161404f565b81146145f557600080fd5b50565b600081359050614607816145e1565b92915050565b6000806040838503121561462457614623613fc0565b5b60006146328582860161420c565b9250506020614643858286016145f8565b9150509250929050565b614656816144c9565b811461466157600080fd5b50565b6000813590506146738161464d565b92915050565b600080fd5b600080fd5b60008083601f84011261469957614698614261565b5b8235905067ffffffffffffffff8111156146b6576146b5614679565b5b6020830191508360018202830111156146d2576146d161467e565b5b9250929050565b600080600080606085870312156146f3576146f2613fc0565b5b600061470187828801614664565b945050602085013567ffffffffffffffff81111561472257614721613fc5565b5b61472e87828801614683565b9350935050604061474187828801614157565b91505092959194509250565b600067ffffffffffffffff8211156147685761476761426b565b5b614771826140d4565b9050602081019050919050565b600061479161478c8461474d565b6142cb565b9050828152602081018484840111156147ad576147ac614266565b5b6147b8848285614317565b509392505050565b600082601f8301126147d5576147d4614261565b5b81356147e584826020860161477e565b91505092915050565b6000806000806080858703121561480857614807613fc0565b5b60006148168782880161420c565b94505060206148278782880161420c565b935050604061483887828801614157565b925050606085013567ffffffffffffffff81111561485957614858613fc5565b5b614865878288016147c0565b91505092959194509250565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006148a7600183614090565b91506148b282614871565b602082019050919050565b600060208201905081810360008301526148d68161489a565b9050919050565b60006148e882613f1d565b91506148f383613f1d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561492857614927613f56565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614969600183614090565b915061497482614933565b602082019050919050565b600060208201905081810360008301526149988161495c565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b60006149d5600183614090565b91506149e08261499f565b602082019050919050565b60006020820190508181036000830152614a04816149c8565b9050919050565b6000614a1682613f1d565b9150614a2183613f1d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a5a57614a59613f56565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a9b600183614090565b9150614aa682614a65565b602082019050919050565b60006020820190508181036000830152614aca81614a8e565b9050919050565b6000819050919050565b6000614af6614af1614aec84614199565b614ad1565b614199565b9050919050565b6000614b0882614adb565b9050919050565b6000614b1a82614afd565b9050919050565b614b2a81614b0f565b82525050565b6000606082019050614b4560008301866141cb565b614b526020830185614b21565b614b5f60408301846143df565b949350505050565b600081519050614b76816145e1565b92915050565b600060208284031215614b9257614b91613fc0565b5b6000614ba084828501614b67565b91505092915050565b6000606082019050614bbe60008301866141cb565b614bcb60208301856141cb565b614bd860408301846143df565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614c2757607f821691505b60208210811415614c3b57614c3a614be0565b5b50919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c77600183614090565b9150614c8282614c41565b602082019050919050565b60006020820190508181036000830152614ca681614c6a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ce3602083614090565b9150614cee82614cad565b602082019050919050565b60006020820190508181036000830152614d1281614cd6565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d4f600183614090565b9150614d5a82614d19565b602082019050919050565b60006020820190508181036000830152614d7e81614d42565b9050919050565b6000614d9082613f1d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dc357614dc2613f56565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e04600183614090565b9150614e0f82614dce565b602082019050919050565b60006020820190508181036000830152614e3381614df7565b9050919050565b600081519050614e4981614140565b92915050565b600060208284031215614e6557614e64613fc0565b5b6000614e7384828501614e3a565b91505092915050565b6000604082019050614e9160008301856141cb565b614e9e60208301846143df565b9392505050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614edb600183614090565b9150614ee682614ea5565b602082019050919050565b60006020820190508181036000830152614f0a81614ece565b9050919050565b60008160601b9050919050565b6000614f2982614f11565b9050919050565b6000614f3b82614f1e565b9050919050565b614f53614f4e826141b9565b614f30565b82525050565b6000614f658285614f42565b601482019150614f758284614f42565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fbb600183614090565b9150614fc682614f85565b602082019050919050565b60006020820190508181036000830152614fea81614fae565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000615027600183614090565b915061503282614ff1565b602082019050919050565b600060208201905081810360008301526150568161501a565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000615093600183614090565b915061509e8261505d565b602082019050919050565b600060208201905081810360008301526150c281615086565b9050919050565b60006150d482613f1d565b91506150df83613f1d565b9250828210156150f2576150f1613f56565b5b828203905092915050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000615133600183614090565b915061513e826150fd565b602082019050919050565b6000602082019050818103600083015261516281615126565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461519681614c0f565b6151a08186615169565b945060018216600081146151bb57600181146151cc576151ff565b60ff198316865281860193506151ff565b6151d585615174565b60005b838110156151f7578154818901526001820191506020810190506151d8565b838801955050505b50505092915050565b600061521382614085565b61521d8185615169565b935061522d8185602086016140a1565b80840191505092915050565b60006152458285615189565b91506152518284615208565b91508190509392505050565b60008151905061526c8161464d565b92915050565b60006020828403121561528857615287613fc0565b5b60006152968482850161525d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152fb602683614090565b91506153068261529f565b604082019050919050565b6000602082019050818103600083015261532a816152ee565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061535882615331565b915061536383615331565b92508282101561537657615375613f56565b5b828203905092915050565b600061538c82615331565b915061539783615331565b9250826fffffffffffffffffffffffffffffffff038211156153bc576153bb613f56565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b60006153fd600183614090565b9150615408826153c7565b602082019050919050565b6000602082019050818103600083015261542c816153f0565b9050919050565b600061543e82613f1d565b9150600082141561545257615451613f56565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b60006154848261545d565b61548e8185615468565b935061549e8185602086016140a1565b6154a7816140d4565b840191505092915050565b60006080820190506154c760008301876141cb565b6154d460208301866141cb565b6154e160408301856143df565b81810360608301526154f38184615479565b905095945050505050565b60008151905061550d81613ff6565b92915050565b60006020828403121561552957615528613fc0565b5b6000615537848285016154fe565b91505092915050565b600061554b82613f1d565b915061555683613f1d565b92508261556657615565613f27565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006155d6601c83615169565b91506155e1826155a0565b601c82019050919050565b6000819050919050565b615607615602826144c9565b6155ec565b82525050565b6000615618826155c9565b915061562482846155f6565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615669601883614090565b915061567482615633565b602082019050919050565b600060208201905081810360008301526156988161565c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006156d5601f83614090565b91506156e08261569f565b602082019050919050565b60006020820190508181036000830152615704816156c8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615767602283614090565b91506157728261570b565b604082019050919050565b600060208201905081810360008301526157968161575a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006157f9602283614090565b91506158048261579d565b604082019050919050565b60006020820190508181036000830152615828816157ec565b9050919050565b600060ff82169050919050565b6158458161582f565b82525050565b600060808201905061586060008301876144d3565b61586d602083018661583c565b61587a60408301856144d3565b61588760608301846144d3565b9594505050505056fea264697066735822122033f3af7501747569b251b7d4576813ccb31287bf785f40f8da2ad3270bb4a7e564736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000002386f26fc10000000000000000000000000000000000000000000000000000000e35fa931a0000000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000000000000000000000000000000000000000000018506978656c204475636b732041766961746f7220436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000055058444143000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Pixel Ducks Aviator Club
Arg [1] : _symbol (string): PXDAC
Arg [2] : _maxPossibleSupply (uint256): 10000
Arg [3] : _mintPrice (uint256): 10000000000000000
Arg [4] : _allowListMintPrice (uint256): 4000000000000000
Arg [5] : _maxAllowedMints (uint256): 30
Arg [6] : _signerAddress (address): 0xe9A347e4bFbe5A219F3497B1CA3Ac8568a99ED6c
Arg [7] : _omakasea (address): 0x9A88d47EBb4038e9d8479A9535FCCa0d3F8Ba73B
Arg [8] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [9] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [4] : 000000000000000000000000000000000000000000000000000e35fa931a0000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [6] : 000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c
Arg [7] : 0000000000000000000000009a88d47ebb4038e9d8479a9535fcca0d3f8ba73b
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [11] : 506978656c204475636b732041766961746f7220436c75620000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [13] : 5058444143000000000000000000000000000000000000000000000000000000


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

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