ETH Price: $2,484.89 (+3.14%)
 

Overview

Max Total Supply

3,333 BUMS

Holders

677

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 BUMS
0x6786e3cf6b7b7fab55038d452d2d197cc3176db4
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MasterchefMasatoshiJuniorX

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./IReverseRegistrar.sol";
import "./ERC721.sol";

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

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

  address public immutable currency;
  address immutable wrappedNativeCoinAddress;

  address private signerAddress;
  bool public paused;

  address immutable ENSReverseRegistrar = 0x084b1c3C81545d370f3634392De611CaaBFf8148;

  enum MintStatus {
    PreMint,
    AllowList,
    Public,
    Finished
  }

  MintStatus public mintStatus = MintStatus.PreMint;

  mapping (address => uint256) totalMintsPerAddress;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// The High Table

File 2 of 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","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 MasterchefMasatoshiJuniorX.MintStatus","name":"_status","type":"uint8"}],"name":"changeMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"thisContract","type":"address"}],"name":"hashMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPossibleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum MasterchefMasatoshiJuniorX.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

61010060405260008055600060085573084b1c3c81545d370f3634392de611caabff814873ffffffffffffffffffffffffffffffffffffffff1660e09073ffffffffffffffffffffffffffffffffffffffff168152506000601060156101000a81548160ff021916908360038111156200007e576200007d620003ae565b5b02179055503480156200009057600080fd5b5060405162005fe538038062005fe58339818101604052810190620000b691906200061a565b88888560008111620000ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000f69062000798565b60405180910390fd5b826001908051906020019062000117929190620002fe565b50816002908051906020019062000130929190620002fe565b5080608081815250505050506200015c620001506200023060201b60201c565b6200023860201b60201c565b86600d8190555085600c8190555084600e8190555083600f8190555082601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250505050505050505050506200081f565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200030c90620007e9565b90600052602060002090601f0160209004810192826200033057600085556200037c565b82601f106200034b57805160ff19168380011785556200037c565b828001600101855582156200037c579182015b828111156200037b5782518255916020019190600101906200035e565b5b5090506200038b91906200038f565b5090565b5b80821115620003aa57600081600090555060010162000390565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200044682620003fb565b810181811067ffffffffffffffff821117156200046857620004676200040c565b5b80604052505050565b60006200047d620003dd565b90506200048b82826200043b565b919050565b600067ffffffffffffffff821115620004ae57620004ad6200040c565b5b620004b982620003fb565b9050602081019050919050565b60005b83811015620004e6578082015181840152602081019050620004c9565b83811115620004f6576000848401525b50505050565b6000620005136200050d8462000490565b62000471565b905082815260208101848484011115620005325762000531620003f6565b5b6200053f848285620004c6565b509392505050565b600082601f8301126200055f576200055e620003f1565b5b815162000571848260208601620004fc565b91505092915050565b6000819050919050565b6200058f816200057a565b81146200059b57600080fd5b50565b600081519050620005af8162000584565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005e282620005b5565b9050919050565b620005f481620005d5565b81146200060057600080fd5b50565b6000815190506200061481620005e9565b92915050565b60008060008060008060008060006101208a8c03121562000640576200063f620003e7565b5b60008a015167ffffffffffffffff811115620006615762000660620003ec565b5b6200066f8c828d0162000547565b99505060208a015167ffffffffffffffff811115620006935762000692620003ec565b5b620006a18c828d0162000547565b9850506040620006b48c828d016200059e565b9750506060620006c78c828d016200059e565b9650506080620006da8c828d016200059e565b95505060a0620006ed8c828d016200059e565b94505060c0620007008c828d0162000603565b93505060e0620007138c828d0162000603565b925050610100620007278c828d0162000603565b9150509295985092959850929598565b600082825260208201905092915050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b60006200078060018362000737565b91506200078d8262000748565b602082019050919050565b60006020820190508181036000830152620007b38162000771565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200080257607f821691505b60208210811415620008195762000818620007ba565b5b50919050565b60805160a05160c05160e05161575b6200088a60003960006124cc015260008181610ac0015261212a015260008181610af701528181610b8b01528181612161015281816121f5015261256c015260008181612e9001528181612eb90152613524015261575b6000f3fe60806040526004361061023f5760003560e01c806368855b641161012e578063a22cb465116100ab578063dfb5259c1161006f578063dfb5259c14610873578063e5a6b10f1461089c578063e985e9c5146108c7578063efd0cbf914610904578063f2fde38b146109205761025c565b8063a22cb4651461079d578063a9cbd06d146107c6578063b88d4fde146107e2578063c87b56dd1461080b578063d7224ba0146108485761025c565b80637cac2602116100f25780637cac2602146106ca5780638ad433ac146106f35780638da5cb5b1461071c57806395d89b41146107475780639da3f8fd146107725761025c565b806368855b64146105e35780636c0360eb1461060e5780636c82054b1461063957806370a0823114610676578063715018a6146106b35761025c565b80633ccfd60b116101bc57806355f804b31161018057806355f804b3146104fc5780635c975abb146105255780636352211e146105505780636373a6b11461058d5780636817c76c146105b85761025c565b80633ccfd60b1461042b57806342842e0e1461044257806344fead9e1461046b57806349df728c146104965780634f6ccce7146104bf5761025c565b806318160ddd1161020357806318160ddd1461035857806323b872dd146103835780632f745c59146103ac578063333171bb146103e9578063386b7691146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b314610306578063109695231461032f5761025c565b3661025c5761025a600c54346102559190613eb0565b610949565b005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f4d565b610d14565b6040516102959190613f95565b60405180910390f35b3480156102aa57600080fd5b506102b3610e5e565b6040516102c09190614049565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190614097565b610ef0565b6040516102fd9190614105565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061414c565b610f75565b005b34801561033b57600080fd5b50610356600480360381019061035191906142c1565b61108e565b005b34801561036457600080fd5b5061036d611159565b60405161037a9190614319565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190614334565b611162565b005b3480156103b857600080fd5b506103d360048036038101906103ce919061414c565b611172565b6040516103e09190614319565b60405180910390f35b3480156103f557600080fd5b506103fe611370565b005b34801561040c57600080fd5b50610415611418565b6040516104229190614319565b60405180910390f35b34801561043757600080fd5b5061044061141e565b005b34801561044e57600080fd5b5061046960048036038101906104649190614334565b6114e9565b005b34801561047757600080fd5b50610480611509565b60405161048d9190614319565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190614387565b61150f565b005b3480156104cb57600080fd5b506104e660048036038101906104e19190614097565b611686565b6040516104f39190614319565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e91906142c1565b6116d9565b005b34801561053157600080fd5b5061053a611761565b6040516105479190613f95565b60405180910390f35b34801561055c57600080fd5b5061057760048036038101906105729190614097565b611774565b6040516105849190614105565b60405180910390f35b34801561059957600080fd5b506105a261178a565b6040516105af9190614049565b60405180910390f35b3480156105c457600080fd5b506105cd611818565b6040516105da9190614319565b60405180910390f35b3480156105ef57600080fd5b506105f861181e565b6040516106059190614319565b60405180910390f35b34801561061a57600080fd5b50610623611824565b6040516106309190614049565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b91906143b4565b6118b6565b60405161066d919061440d565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190614387565b6118e9565b6040516106aa9190614319565b60405180910390f35b3480156106bf57600080fd5b506106c86119d2565b005b3480156106d657600080fd5b506106f160048036038101906106ec919061444d565b611a5a565b005b3480156106ff57600080fd5b5061071a60048036038101906107159190614097565b611b35565b005b34801561072857600080fd5b50610731611c8b565b60405161073e9190614105565b60405180910390f35b34801561075357600080fd5b5061075c611cb5565b6040516107699190614049565b60405180910390f35b34801561077e57600080fd5b50610787611d47565b60405161079491906144f1565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190614538565b611d5a565b005b6107e060048036038101906107db9190614604565b611edb565b005b3480156107ee57600080fd5b5061080960048036038101906108049190614719565b612344565b005b34801561081757600080fd5b50610832600480360381019061082d9190614097565b6123a0565b60405161083f9190614049565b60405180910390f35b34801561085457600080fd5b5061085d612448565b60405161086a9190614319565b60405180910390f35b34801561087f57600080fd5b5061089a600480360381019061089591906142c1565b61244e565b005b3480156108a857600080fd5b506108b161256a565b6040516108be9190614105565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e991906143b4565b61258e565b6040516108fb9190613f95565b60405180910390f35b61091e60048036038101906109199190614097565b610949565b005b34801561092c57600080fd5b5061094760048036038101906109429190614387565b612622565b005b6002600381111561095d5761095c61447a565b5b601060159054906101000a900460ff16600381111561097f5761097e61447a565b5b1480156109995750601060149054906101000a900460ff16155b6109d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cf906147e8565b60405180910390fd5b600d54816109e4611159565b6109ee9190614808565b1115610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a26906148aa565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a7d9190614808565b1115610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab590614916565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff161415610b87573481600c54610b419190614936565b1115610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b79906149dc565b60405180910390fd5b610c3c565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c5486610bd89190614936565b6040518463ffffffff1660e01b8152600401610bf6939291906149fc565b6020604051808303816000875af1158015610c15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c399190614a48565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c879190614808565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cd4338261271a565b600d54610cdf611159565b1415610d11576003601060156101000a81548160ff02191690836003811115610d0b57610d0a61447a565b5b02179055505b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ddf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e4757507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e575750610e5682612738565b5b9050919050565b606060018054610e6d90614aa4565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9990614aa4565b8015610ee65780601f10610ebb57610100808354040283529160200191610ee6565b820191906000526020600020905b815481529060010190602001808311610ec957829003601f168201915b5050505050905090565b6000610efb826127a2565b610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f31906149dc565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f8082611774565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890614b22565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110106127af565b73ffffffffffffffffffffffffffffffffffffffff16148061103f575061103e816110396127af565b61258e565b5b61107e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611075906149dc565b60405180910390fd5b6110898383836127b7565b505050565b6110966127af565b73ffffffffffffffffffffffffffffffffffffffff166110b4611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190614b8e565b60405180910390fd5b600b60009054906101000a900460ff161561112457600080fd5b80600a908051906020019061113a929190613d6b565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b61116d838383612869565b505050565b600061117d836118e9565b82106111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590614bfa565b60405180910390fd5b60006111c8611159565b905060008060005b8381101561132e576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146112c257806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561131a578684141561130b57819550505050505061136a565b838061131690614c1a565b9450505b50808061132690614c1a565b9150506111d0565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190614caf565b60405180910390fd5b92915050565b6113786127af565b73ffffffffffffffffffffffffffffffffffffffff16611396611c8b565b73ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390614b8e565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b6114266127af565b73ffffffffffffffffffffffffffffffffffffffff16611444611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190614b8e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114e5573d6000803e3d6000fd5b5050565b61150483838360405180602001604052806000815250612344565b505050565b600f5481565b6115176127af565b73ffffffffffffffffffffffffffffffffffffffff16611535611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461158b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158290614b8e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016115e19190614105565b602060405180830381865afa1580156115fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116229190614ce4565b6040518363ffffffff1660e01b815260040161163f929190614d11565b6020604051808303816000875af115801561165e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116829190614a48565b5050565b6000611690611159565b82106116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890614d86565b60405180910390fd5b819050919050565b6116e16127af565b73ffffffffffffffffffffffffffffffffffffffff166116ff611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c90614b8e565b60405180910390fd5b61175e81612e22565b50565b601060149054906101000a900460ff1681565b600061177f82612e3c565b600001519050919050565b600a805461179790614aa4565b80601f01602080910402602001604051908101604052809291908181526020018280546117c390614aa4565b80156118105780601f106117e557610100808354040283529160200191611810565b820191906000526020600020905b8154815290600101906020018083116117f357829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461183390614aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461185f90614aa4565b80156118ac5780601f10611881576101008083540402835291602001916118ac565b820191906000526020600020905b81548152906001019060200180831161188f57829003601f168201915b5050505050905090565b600082826040516020016118cb929190614dee565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561195a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195190614e66565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6119da6127af565b73ffffffffffffffffffffffffffffffffffffffff166119f8611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4590614b8e565b60405180910390fd5b611a58600061303f565b565b611a626127af565b73ffffffffffffffffffffffffffffffffffffffff16611a80611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90614b8e565b60405180910390fd5b60006003811115611aea57611ae961447a565b5b816003811115611afd57611afc61447a565b5b1415611b0857600080fd5b80601060156101000a81548160ff02191690836003811115611b2d57611b2c61447a565b5b021790555050565b611b3d6127af565b73ffffffffffffffffffffffffffffffffffffffff16611b5b611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890614b8e565b60405180910390fd5b60006003811115611bc557611bc461447a565b5b601060159054906101000a900460ff166003811115611be757611be661447a565b5b14611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e906147e8565b60405180910390fd5b600d5481611c33611159565b611c3d9190614808565b1115611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c75906148aa565b60405180910390fd5b611c88338261271a565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611cc490614aa4565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf090614aa4565b8015611d3d5780601f10611d1257610100808354040283529160200191611d3d565b820191906000526020600020905b815481529060010190602001808311611d2057829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b611d626127af565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906149dc565b60405180910390fd5b8060076000611ddd6127af565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e8a6127af565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ecf9190613f95565b60405180910390a35050565b60016003811115611eef57611eee61447a565b5b601060159054906101000a900460ff166003811115611f1157611f1061447a565b5b148015611f2b5750601060149054906101000a900460ff16155b611f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f61906147e8565b60405180910390fd5b600d5481611f76611159565b611f809190614808565b1115611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb8906148aa565b60405180910390fd5b83611fcc33306118b6565b1461200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390614ed2565b60405180910390fd5b61205a8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613105565b612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090614f3e565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120e79190614808565b1115612128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211f90614916565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1614156121f1573481600e546121ab9190614936565b11156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e3906149dc565b60405180910390fd5b6122a6565b60007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600e54866122429190614936565b6040518463ffffffff1660e01b8152600401612260939291906149fc565b6020604051808303816000875af115801561227f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a39190614a48565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122f19190614808565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061233e338261271a565b50505050565b61234f848484612869565b61235b8484848461317a565b61239a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239190614faa565b60405180910390fd5b50505050565b60606123ab826127a2565b6123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e190614faa565b60405180910390fd5b6000600380546123f990614aa4565b9050116124155760405180602001604052806000815250612441565b600361242083613302565b60405160200161243192919061509a565b6040516020818303038152906040525b9050919050565b60085481565b6124566127af565b73ffffffffffffffffffffffffffffffffffffffff16612474611c8b565b73ffffffffffffffffffffffffffffffffffffffff16146124ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c190614b8e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c47f0027826040518263ffffffff1660e01b81526004016125239190614049565b6020604051808303816000875af1158015612542573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256691906150d3565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61262a6127af565b73ffffffffffffffffffffffffffffffffffffffff16612648611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461269e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269590614b8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270590615172565b60405180910390fd5b6127178161303f565b50565b612734828260405180602001604052806000815250613463565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061287482612e3c565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661289b6127af565b73ffffffffffffffffffffffffffffffffffffffff1614806128f757506128c06127af565b73ffffffffffffffffffffffffffffffffffffffff166128df84610ef0565b73ffffffffffffffffffffffffffffffffffffffff16145b806129135750612912826000015161290d6127af565b61258e565b5b905080612955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294c906149dc565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90614b22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2e90614e66565b60405180910390fd5b612a448585856001613942565b612a5460008484600001516127b7565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612ac291906151ae565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612b6691906151e2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612c6c9190614808565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612db257612ce2816127a2565b15612db1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e1a8686866001613948565b505050505050565b8060039080519060200190612e38929190613d6b565b5050565b612e44613df1565b612e4d826127a2565b612e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8390615274565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612ef05760017f000000000000000000000000000000000000000000000000000000000000000084612ee39190615294565b612eed9190614808565b90505b60008390505b818110612ffe576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fea5780935050505061303a565b508080612ff6906152c8565b915050612ef6565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303190614b22565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000613122826131148561394e565b61397e90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061319b8473ffffffffffffffffffffffffffffffffffffffff166139a5565b156132f5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131c46127af565b8786866040518563ffffffff1660e01b81526004016131e69493929190615347565b6020604051808303816000875af192505050801561322257506040513d601f19601f8201168201806040525081019061321f91906153a8565b60015b6132a5573d8060008114613252576040519150601f19603f3d011682016040523d82523d6000602084013e613257565b606091505b5060008151141561329d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329490614faa565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132fa565b600190505b949350505050565b6060600082141561334a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061345e565b600082905060005b6000821461337c57808061336590614c1a565b915050600a826133759190613eb0565b9150613352565b60008167ffffffffffffffff81111561339857613397614196565b5b6040519080825280601f01601f1916602001820160405280156133ca5781602001600182028036833780820191505090505b5090505b60008514613457576001826133e39190615294565b9150600a856133f291906153d5565b60306133fe9190614808565b60f81b81838151811061341457613413615406565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134509190613eb0565b94506133ce565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d090614e66565b60405180910390fd5b6134e2816127a2565b15613522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613519906149dc565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115613585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357c906148aa565b60405180910390fd5b6135926000858386613942565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161368f91906151e2565b6fffffffffffffffffffffffffffffffff1681526020018583602001516136b691906151e2565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561392557818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138c5600088848861317a565b613904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fb90614faa565b60405180910390fd5b818061390f90614c1a565b925050808061391d90614c1a565b915050613854565b508060008190555061393a6000878588613948565b505050505050565b50505050565b50505050565b60008160405160200161396191906154a2565b604051602081830303815290604052805190602001209050919050565b600080600061398d85856139b8565b9150915061399a81613a3b565b819250505092915050565b600080823b905060008111915050919050565b6000806041835114156139fa5760008060006020860151925060408601519150606086015160001a90506139ee87828585613c10565b94509450505050613a34565b604083511415613a2b576000806020850151915060408501519050613a20868383613d1d565b935093505050613a34565b60006002915091505b9250929050565b60006004811115613a4f57613a4e61447a565b5b816004811115613a6257613a6161447a565b5b1415613a6d57613c0d565b60016004811115613a8157613a8061447a565b5b816004811115613a9457613a9361447a565b5b1415613ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613acc90615514565b60405180910390fd5b60026004811115613ae957613ae861447a565b5b816004811115613afc57613afb61447a565b5b1415613b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3490615580565b60405180910390fd5b60036004811115613b5157613b5061447a565b5b816004811115613b6457613b6361447a565b5b1415613ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b9c90615612565b60405180910390fd5b600480811115613bb857613bb761447a565b5b816004811115613bcb57613bca61447a565b5b1415613c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c03906156a4565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613c4b576000600391509150613d14565b601b8560ff1614158015613c635750601c8560ff1614155b15613c75576000600491509150613d14565b600060018787878760405160008152602001604052604051613c9a94939291906156e0565b6020604051602081039080840390855afa158015613cbc573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d0b57600060019250925050613d14565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613d5d87828885613c10565b935093505050935093915050565b828054613d7790614aa4565b90600052602060002090601f016020900481019282613d995760008555613de0565b82601f10613db257805160ff1916838001178555613de0565b82800160010185558215613de0579182015b82811115613ddf578251825591602001919060010190613dc4565b5b509050613ded9190613e2b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613e44576000816000905550600101613e2c565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ebb82613e48565b9150613ec683613e48565b925082613ed657613ed5613e52565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f2a81613ef5565b8114613f3557600080fd5b50565b600081359050613f4781613f21565b92915050565b600060208284031215613f6357613f62613eeb565b5b6000613f7184828501613f38565b91505092915050565b60008115159050919050565b613f8f81613f7a565b82525050565b6000602082019050613faa6000830184613f86565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fea578082015181840152602081019050613fcf565b83811115613ff9576000848401525b50505050565b6000601f19601f8301169050919050565b600061401b82613fb0565b6140258185613fbb565b9350614035818560208601613fcc565b61403e81613fff565b840191505092915050565b600060208201905081810360008301526140638184614010565b905092915050565b61407481613e48565b811461407f57600080fd5b50565b6000813590506140918161406b565b92915050565b6000602082840312156140ad576140ac613eeb565b5b60006140bb84828501614082565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140ef826140c4565b9050919050565b6140ff816140e4565b82525050565b600060208201905061411a60008301846140f6565b92915050565b614129816140e4565b811461413457600080fd5b50565b60008135905061414681614120565b92915050565b6000806040838503121561416357614162613eeb565b5b600061417185828601614137565b925050602061418285828601614082565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141ce82613fff565b810181811067ffffffffffffffff821117156141ed576141ec614196565b5b80604052505050565b6000614200613ee1565b905061420c82826141c5565b919050565b600067ffffffffffffffff82111561422c5761422b614196565b5b61423582613fff565b9050602081019050919050565b82818337600083830152505050565b600061426461425f84614211565b6141f6565b9050828152602081018484840111156142805761427f614191565b5b61428b848285614242565b509392505050565b600082601f8301126142a8576142a761418c565b5b81356142b8848260208601614251565b91505092915050565b6000602082840312156142d7576142d6613eeb565b5b600082013567ffffffffffffffff8111156142f5576142f4613ef0565b5b61430184828501614293565b91505092915050565b61431381613e48565b82525050565b600060208201905061432e600083018461430a565b92915050565b60008060006060848603121561434d5761434c613eeb565b5b600061435b86828701614137565b935050602061436c86828701614137565b925050604061437d86828701614082565b9150509250925092565b60006020828403121561439d5761439c613eeb565b5b60006143ab84828501614137565b91505092915050565b600080604083850312156143cb576143ca613eeb565b5b60006143d985828601614137565b92505060206143ea85828601614137565b9150509250929050565b6000819050919050565b614407816143f4565b82525050565b600060208201905061442260008301846143fe565b92915050565b6004811061443557600080fd5b50565b60008135905061444781614428565b92915050565b60006020828403121561446357614462613eeb565b5b600061447184828501614438565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106144ba576144b961447a565b5b50565b60008190506144cb826144a9565b919050565b60006144db826144bd565b9050919050565b6144eb816144d0565b82525050565b600060208201905061450660008301846144e2565b92915050565b61451581613f7a565b811461452057600080fd5b50565b6000813590506145328161450c565b92915050565b6000806040838503121561454f5761454e613eeb565b5b600061455d85828601614137565b925050602061456e85828601614523565b9150509250929050565b614581816143f4565b811461458c57600080fd5b50565b60008135905061459e81614578565b92915050565b600080fd5b600080fd5b60008083601f8401126145c4576145c361418c565b5b8235905067ffffffffffffffff8111156145e1576145e06145a4565b5b6020830191508360018202830111156145fd576145fc6145a9565b5b9250929050565b6000806000806060858703121561461e5761461d613eeb565b5b600061462c8782880161458f565b945050602085013567ffffffffffffffff81111561464d5761464c613ef0565b5b614659878288016145ae565b9350935050604061466c87828801614082565b91505092959194509250565b600067ffffffffffffffff82111561469357614692614196565b5b61469c82613fff565b9050602081019050919050565b60006146bc6146b784614678565b6141f6565b9050828152602081018484840111156146d8576146d7614191565b5b6146e3848285614242565b509392505050565b600082601f830112614700576146ff61418c565b5b81356147108482602086016146a9565b91505092915050565b6000806000806080858703121561473357614732613eeb565b5b600061474187828801614137565b945050602061475287828801614137565b935050604061476387828801614082565b925050606085013567ffffffffffffffff81111561478457614783613ef0565b5b614790878288016146eb565b91505092959194509250565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006147d2600183613fbb565b91506147dd8261479c565b602082019050919050565b60006020820190508181036000830152614801816147c5565b9050919050565b600061481382613e48565b915061481e83613e48565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561485357614852613e81565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614894600183613fbb565b915061489f8261485e565b602082019050919050565b600060208201905081810360008301526148c381614887565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614900600183613fbb565b915061490b826148ca565b602082019050919050565b6000602082019050818103600083015261492f816148f3565b9050919050565b600061494182613e48565b915061494c83613e48565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561498557614984613e81565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006149c6600183613fbb565b91506149d182614990565b602082019050919050565b600060208201905081810360008301526149f5816149b9565b9050919050565b6000606082019050614a1160008301866140f6565b614a1e60208301856140f6565b614a2b604083018461430a565b949350505050565b600081519050614a428161450c565b92915050565b600060208284031215614a5e57614a5d613eeb565b5b6000614a6c84828501614a33565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614abc57607f821691505b60208210811415614ad057614acf614a75565b5b50919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b0c600183613fbb565b9150614b1782614ad6565b602082019050919050565b60006020820190508181036000830152614b3b81614aff565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b78602083613fbb565b9150614b8382614b42565b602082019050919050565b60006020820190508181036000830152614ba781614b6b565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614be4600183613fbb565b9150614bef82614bae565b602082019050919050565b60006020820190508181036000830152614c1381614bd7565b9050919050565b6000614c2582613e48565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c5857614c57613e81565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c99600183613fbb565b9150614ca482614c63565b602082019050919050565b60006020820190508181036000830152614cc881614c8c565b9050919050565b600081519050614cde8161406b565b92915050565b600060208284031215614cfa57614cf9613eeb565b5b6000614d0884828501614ccf565b91505092915050565b6000604082019050614d2660008301856140f6565b614d33602083018461430a565b9392505050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d70600183613fbb565b9150614d7b82614d3a565b602082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b60008160601b9050919050565b6000614dbe82614da6565b9050919050565b6000614dd082614db3565b9050919050565b614de8614de3826140e4565b614dc5565b82525050565b6000614dfa8285614dd7565b601482019150614e0a8284614dd7565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e50600183613fbb565b9150614e5b82614e1a565b602082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ebc600183613fbb565b9150614ec782614e86565b602082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f28600183613fbb565b9150614f3382614ef2565b602082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f94600183613fbb565b9150614f9f82614f5e565b602082019050919050565b60006020820190508181036000830152614fc381614f87565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614ff781614aa4565b6150018186614fca565b9450600182166000811461501c576001811461502d57615060565b60ff19831686528186019350615060565b61503685614fd5565b60005b8381101561505857815481890152600182019150602081019050615039565b838801955050505b50505092915050565b600061507482613fb0565b61507e8185614fca565b935061508e818560208601613fcc565b80840191505092915050565b60006150a68285614fea565b91506150b28284615069565b91508190509392505050565b6000815190506150cd81614578565b92915050565b6000602082840312156150e9576150e8613eeb565b5b60006150f7848285016150be565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061515c602683613fbb565b915061516782615100565b604082019050919050565b6000602082019050818103600083015261518b8161514f565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006151b982615192565b91506151c483615192565b9250828210156151d7576151d6613e81565b5b828203905092915050565b60006151ed82615192565b91506151f883615192565b9250826fffffffffffffffffffffffffffffffff0382111561521d5761521c613e81565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061525e600183613fbb565b915061526982615228565b602082019050919050565b6000602082019050818103600083015261528d81615251565b9050919050565b600061529f82613e48565b91506152aa83613e48565b9250828210156152bd576152bc613e81565b5b828203905092915050565b60006152d382613e48565b915060008214156152e7576152e6613e81565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000615319826152f2565b61532381856152fd565b9350615333818560208601613fcc565b61533c81613fff565b840191505092915050565b600060808201905061535c60008301876140f6565b61536960208301866140f6565b615376604083018561430a565b8181036060830152615388818461530e565b905095945050505050565b6000815190506153a281613f21565b92915050565b6000602082840312156153be576153bd613eeb565b5b60006153cc84828501615393565b91505092915050565b60006153e082613e48565b91506153eb83613e48565b9250826153fb576153fa613e52565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061546b601c83614fca565b915061547682615435565b601c82019050919050565b6000819050919050565b61549c615497826143f4565b615481565b82525050565b60006154ad8261545e565b91506154b9828461548b565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006154fe601883613fbb565b9150615509826154c8565b602082019050919050565b6000602082019050818103600083015261552d816154f1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061556a601f83613fbb565b915061557582615534565b602082019050919050565b600060208201905081810360008301526155998161555d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006155fc602283613fbb565b9150615607826155a0565b604082019050919050565b6000602082019050818103600083015261562b816155ef565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061568e602283613fbb565b915061569982615632565b604082019050919050565b600060208201905081810360008301526156bd81615681565b9050919050565b600060ff82169050919050565b6156da816156c4565b82525050565b60006080820190506156f560008301876143fe565b61570260208301866156d1565b61570f60408301856143fe565b61571c60608301846143fe565b9594505050505056fea264697066735822122026cf0cf843c0e54653fd42aa6c1c45ba44276ed8e69f17b3e6d6d406e6d024c064736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000d05000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000a43727970746f42756d7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442554d5300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023f5760003560e01c806368855b641161012e578063a22cb465116100ab578063dfb5259c1161006f578063dfb5259c14610873578063e5a6b10f1461089c578063e985e9c5146108c7578063efd0cbf914610904578063f2fde38b146109205761025c565b8063a22cb4651461079d578063a9cbd06d146107c6578063b88d4fde146107e2578063c87b56dd1461080b578063d7224ba0146108485761025c565b80637cac2602116100f25780637cac2602146106ca5780638ad433ac146106f35780638da5cb5b1461071c57806395d89b41146107475780639da3f8fd146107725761025c565b806368855b64146105e35780636c0360eb1461060e5780636c82054b1461063957806370a0823114610676578063715018a6146106b35761025c565b80633ccfd60b116101bc57806355f804b31161018057806355f804b3146104fc5780635c975abb146105255780636352211e146105505780636373a6b11461058d5780636817c76c146105b85761025c565b80633ccfd60b1461042b57806342842e0e1461044257806344fead9e1461046b57806349df728c146104965780634f6ccce7146104bf5761025c565b806318160ddd1161020357806318160ddd1461035857806323b872dd146103835780632f745c59146103ac578063333171bb146103e9578063386b7691146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b314610306578063109695231461032f5761025c565b3661025c5761025a600c54346102559190613eb0565b610949565b005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f4d565b610d14565b6040516102959190613f95565b60405180910390f35b3480156102aa57600080fd5b506102b3610e5e565b6040516102c09190614049565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190614097565b610ef0565b6040516102fd9190614105565b60405180910390f35b34801561031257600080fd5b5061032d6004803603810190610328919061414c565b610f75565b005b34801561033b57600080fd5b50610356600480360381019061035191906142c1565b61108e565b005b34801561036457600080fd5b5061036d611159565b60405161037a9190614319565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190614334565b611162565b005b3480156103b857600080fd5b506103d360048036038101906103ce919061414c565b611172565b6040516103e09190614319565b60405180910390f35b3480156103f557600080fd5b506103fe611370565b005b34801561040c57600080fd5b50610415611418565b6040516104229190614319565b60405180910390f35b34801561043757600080fd5b5061044061141e565b005b34801561044e57600080fd5b5061046960048036038101906104649190614334565b6114e9565b005b34801561047757600080fd5b50610480611509565b60405161048d9190614319565b60405180910390f35b3480156104a257600080fd5b506104bd60048036038101906104b89190614387565b61150f565b005b3480156104cb57600080fd5b506104e660048036038101906104e19190614097565b611686565b6040516104f39190614319565b60405180910390f35b34801561050857600080fd5b50610523600480360381019061051e91906142c1565b6116d9565b005b34801561053157600080fd5b5061053a611761565b6040516105479190613f95565b60405180910390f35b34801561055c57600080fd5b5061057760048036038101906105729190614097565b611774565b6040516105849190614105565b60405180910390f35b34801561059957600080fd5b506105a261178a565b6040516105af9190614049565b60405180910390f35b3480156105c457600080fd5b506105cd611818565b6040516105da9190614319565b60405180910390f35b3480156105ef57600080fd5b506105f861181e565b6040516106059190614319565b60405180910390f35b34801561061a57600080fd5b50610623611824565b6040516106309190614049565b60405180910390f35b34801561064557600080fd5b50610660600480360381019061065b91906143b4565b6118b6565b60405161066d919061440d565b60405180910390f35b34801561068257600080fd5b5061069d60048036038101906106989190614387565b6118e9565b6040516106aa9190614319565b60405180910390f35b3480156106bf57600080fd5b506106c86119d2565b005b3480156106d657600080fd5b506106f160048036038101906106ec919061444d565b611a5a565b005b3480156106ff57600080fd5b5061071a60048036038101906107159190614097565b611b35565b005b34801561072857600080fd5b50610731611c8b565b60405161073e9190614105565b60405180910390f35b34801561075357600080fd5b5061075c611cb5565b6040516107699190614049565b60405180910390f35b34801561077e57600080fd5b50610787611d47565b60405161079491906144f1565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190614538565b611d5a565b005b6107e060048036038101906107db9190614604565b611edb565b005b3480156107ee57600080fd5b5061080960048036038101906108049190614719565b612344565b005b34801561081757600080fd5b50610832600480360381019061082d9190614097565b6123a0565b60405161083f9190614049565b60405180910390f35b34801561085457600080fd5b5061085d612448565b60405161086a9190614319565b60405180910390f35b34801561087f57600080fd5b5061089a600480360381019061089591906142c1565b61244e565b005b3480156108a857600080fd5b506108b161256a565b6040516108be9190614105565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e991906143b4565b61258e565b6040516108fb9190613f95565b60405180910390f35b61091e60048036038101906109199190614097565b610949565b005b34801561092c57600080fd5b5061094760048036038101906109429190614387565b612622565b005b6002600381111561095d5761095c61447a565b5b601060159054906101000a900460ff16600381111561097f5761097e61447a565b5b1480156109995750601060149054906101000a900460ff16155b6109d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cf906147e8565b60405180910390fd5b600d54816109e4611159565b6109ee9190614808565b1115610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a26906148aa565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a7d9190614808565b1115610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab590614916565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff161415610b87573481600c54610b419190614936565b1115610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b79906149dc565b60405180910390fd5b610c3c565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600c5486610bd89190614936565b6040518463ffffffff1660e01b8152600401610bf6939291906149fc565b6020604051808303816000875af1158015610c15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c399190614a48565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c879190614808565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610cd4338261271a565b600d54610cdf611159565b1415610d11576003601060156101000a81548160ff02191690836003811115610d0b57610d0a61447a565b5b02179055505b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ddf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e4757507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e575750610e5682612738565b5b9050919050565b606060018054610e6d90614aa4565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9990614aa4565b8015610ee65780601f10610ebb57610100808354040283529160200191610ee6565b820191906000526020600020905b815481529060010190602001808311610ec957829003601f168201915b5050505050905090565b6000610efb826127a2565b610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f31906149dc565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f8082611774565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890614b22565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166110106127af565b73ffffffffffffffffffffffffffffffffffffffff16148061103f575061103e816110396127af565b61258e565b5b61107e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611075906149dc565b60405180910390fd5b6110898383836127b7565b505050565b6110966127af565b73ffffffffffffffffffffffffffffffffffffffff166110b4611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461110a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190614b8e565b60405180910390fd5b600b60009054906101000a900460ff161561112457600080fd5b80600a908051906020019061113a929190613d6b565b506001600b60006101000a81548160ff02191690831515021790555050565b60008054905090565b61116d838383612869565b505050565b600061117d836118e9565b82106111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590614bfa565b60405180910390fd5b60006111c8611159565b905060008060005b8381101561132e576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146112c257806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561131a578684141561130b57819550505050505061136a565b838061131690614c1a565b9450505b50808061132690614c1a565b9150506111d0565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190614caf565b60405180910390fd5b92915050565b6113786127af565b73ffffffffffffffffffffffffffffffffffffffff16611396611c8b565b73ffffffffffffffffffffffffffffffffffffffff16146113ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e390614b8e565b60405180910390fd5b601060149054906101000a900460ff1615601060146101000a81548160ff021916908315150217905550565b600d5481565b6114266127af565b73ffffffffffffffffffffffffffffffffffffffff16611444611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190614b8e565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114e5573d6000803e3d6000fd5b5050565b61150483838360405180602001604052806000815250612344565b505050565b600f5481565b6115176127af565b73ffffffffffffffffffffffffffffffffffffffff16611535611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461158b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158290614b8e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb338373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016115e19190614105565b602060405180830381865afa1580156115fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116229190614ce4565b6040518363ffffffff1660e01b815260040161163f929190614d11565b6020604051808303816000875af115801561165e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116829190614a48565b5050565b6000611690611159565b82106116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890614d86565b60405180910390fd5b819050919050565b6116e16127af565b73ffffffffffffffffffffffffffffffffffffffff166116ff611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174c90614b8e565b60405180910390fd5b61175e81612e22565b50565b601060149054906101000a900460ff1681565b600061177f82612e3c565b600001519050919050565b600a805461179790614aa4565b80601f01602080910402602001604051908101604052809291908181526020018280546117c390614aa4565b80156118105780601f106117e557610100808354040283529160200191611810565b820191906000526020600020905b8154815290600101906020018083116117f357829003601f168201915b505050505081565b600c5481565b600e5481565b60606003805461183390614aa4565b80601f016020809104026020016040519081016040528092919081815260200182805461185f90614aa4565b80156118ac5780601f10611881576101008083540402835291602001916118ac565b820191906000526020600020905b81548152906001019060200180831161188f57829003601f168201915b5050505050905090565b600082826040516020016118cb929190614dee565b60405160208183030381529060405280519060200120905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561195a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195190614e66565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6119da6127af565b73ffffffffffffffffffffffffffffffffffffffff166119f8611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4590614b8e565b60405180910390fd5b611a58600061303f565b565b611a626127af565b73ffffffffffffffffffffffffffffffffffffffff16611a80611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd90614b8e565b60405180910390fd5b60006003811115611aea57611ae961447a565b5b816003811115611afd57611afc61447a565b5b1415611b0857600080fd5b80601060156101000a81548160ff02191690836003811115611b2d57611b2c61447a565b5b021790555050565b611b3d6127af565b73ffffffffffffffffffffffffffffffffffffffff16611b5b611c8b565b73ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890614b8e565b60405180910390fd5b60006003811115611bc557611bc461447a565b5b601060159054906101000a900460ff166003811115611be757611be661447a565b5b14611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e906147e8565b60405180910390fd5b600d5481611c33611159565b611c3d9190614808565b1115611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c75906148aa565b60405180910390fd5b611c88338261271a565b50565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611cc490614aa4565b80601f0160208091040260200160405190810160405280929190818152602001828054611cf090614aa4565b8015611d3d5780601f10611d1257610100808354040283529160200191611d3d565b820191906000526020600020905b815481529060010190602001808311611d2057829003601f168201915b5050505050905090565b601060159054906101000a900460ff1681565b611d626127af565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906149dc565b60405180910390fd5b8060076000611ddd6127af565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e8a6127af565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ecf9190613f95565b60405180910390a35050565b60016003811115611eef57611eee61447a565b5b601060159054906101000a900460ff166003811115611f1157611f1061447a565b5b148015611f2b5750601060149054906101000a900460ff16155b611f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f61906147e8565b60405180910390fd5b600d5481611f76611159565b611f809190614808565b1115611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb8906148aa565b60405180910390fd5b83611fcc33306118b6565b1461200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390614ed2565b60405180910390fd5b61205a8484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613105565b612099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209090614f3e565b60405180910390fd5b600f5481601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546120e79190614808565b1115612128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211f90614916565b60405180910390fd5b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff1614156121f1573481600e546121ab9190614936565b11156121ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e3906149dc565b60405180910390fd5b6122a6565b60007f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290508073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330600e54866122429190614936565b6040518463ffffffff1660e01b8152600401612260939291906149fc565b6020604051808303816000875af115801561227f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a39190614a48565b50505b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546122f19190614808565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061233e338261271a565b50505050565b61234f848484612869565b61235b8484848461317a565b61239a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239190614faa565b60405180910390fd5b50505050565b60606123ab826127a2565b6123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e190614faa565b60405180910390fd5b6000600380546123f990614aa4565b9050116124155760405180602001604052806000815250612441565b600361242083613302565b60405160200161243192919061509a565b6040516020818303038152906040525b9050919050565b60085481565b6124566127af565b73ffffffffffffffffffffffffffffffffffffffff16612474611c8b565b73ffffffffffffffffffffffffffffffffffffffff16146124ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c190614b8e565b60405180910390fd5b7f000000000000000000000000084b1c3c81545d370f3634392de611caabff814873ffffffffffffffffffffffffffffffffffffffff1663c47f0027826040518263ffffffff1660e01b81526004016125239190614049565b6020604051808303816000875af1158015612542573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256691906150d3565b5050565b7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61262a6127af565b73ffffffffffffffffffffffffffffffffffffffff16612648611c8b565b73ffffffffffffffffffffffffffffffffffffffff161461269e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269590614b8e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561270e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270590615172565b60405180910390fd5b6127178161303f565b50565b612734828260405180602001604052806000815250613463565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061287482612e3c565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661289b6127af565b73ffffffffffffffffffffffffffffffffffffffff1614806128f757506128c06127af565b73ffffffffffffffffffffffffffffffffffffffff166128df84610ef0565b73ffffffffffffffffffffffffffffffffffffffff16145b806129135750612912826000015161290d6127af565b61258e565b5b905080612955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294c906149dc565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90614b22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2e90614e66565b60405180910390fd5b612a448585856001613942565b612a5460008484600001516127b7565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612ac291906151ae565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612b6691906151e2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612c6c9190614808565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612db257612ce2816127a2565b15612db1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e1a8686866001613948565b505050505050565b8060039080519060200190612e38929190613d6b565b5050565b612e44613df1565b612e4d826127a2565b612e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8390615274565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000058310612ef05760017f000000000000000000000000000000000000000000000000000000000000000584612ee39190615294565b612eed9190614808565b90505b60008390505b818110612ffe576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fea5780935050505061303a565b508080612ff6906152c8565b915050612ef6565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303190614b22565b60405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000613122826131148561394e565b61397e90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061319b8473ffffffffffffffffffffffffffffffffffffffff166139a5565b156132f5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131c46127af565b8786866040518563ffffffff1660e01b81526004016131e69493929190615347565b6020604051808303816000875af192505050801561322257506040513d601f19601f8201168201806040525081019061321f91906153a8565b60015b6132a5573d8060008114613252576040519150601f19603f3d011682016040523d82523d6000602084013e613257565b606091505b5060008151141561329d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329490614faa565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132fa565b600190505b949350505050565b6060600082141561334a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061345e565b600082905060005b6000821461337c57808061336590614c1a565b915050600a826133759190613eb0565b9150613352565b60008167ffffffffffffffff81111561339857613397614196565b5b6040519080825280601f01601f1916602001820160405280156133ca5781602001600182028036833780820191505090505b5090505b60008514613457576001826133e39190615294565b9150600a856133f291906153d5565b60306133fe9190614808565b60f81b81838151811061341457613413615406565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134509190613eb0565b94506133ce565b8093505050505b919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156134d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d090614e66565b60405180910390fd5b6134e2816127a2565b15613522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613519906149dc565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000005831115613585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357c906148aa565b60405180910390fd5b6135926000858386613942565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161368f91906151e2565b6fffffffffffffffffffffffffffffffff1681526020018583602001516136b691906151e2565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561392557818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138c5600088848861317a565b613904576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138fb90614faa565b60405180910390fd5b818061390f90614c1a565b925050808061391d90614c1a565b915050613854565b508060008190555061393a6000878588613948565b505050505050565b50505050565b50505050565b60008160405160200161396191906154a2565b604051602081830303815290604052805190602001209050919050565b600080600061398d85856139b8565b9150915061399a81613a3b565b819250505092915050565b600080823b905060008111915050919050565b6000806041835114156139fa5760008060006020860151925060408601519150606086015160001a90506139ee87828585613c10565b94509450505050613a34565b604083511415613a2b576000806020850151915060408501519050613a20868383613d1d565b935093505050613a34565b60006002915091505b9250929050565b60006004811115613a4f57613a4e61447a565b5b816004811115613a6257613a6161447a565b5b1415613a6d57613c0d565b60016004811115613a8157613a8061447a565b5b816004811115613a9457613a9361447a565b5b1415613ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613acc90615514565b60405180910390fd5b60026004811115613ae957613ae861447a565b5b816004811115613afc57613afb61447a565b5b1415613b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3490615580565b60405180910390fd5b60036004811115613b5157613b5061447a565b5b816004811115613b6457613b6361447a565b5b1415613ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b9c90615612565b60405180910390fd5b600480811115613bb857613bb761447a565b5b816004811115613bcb57613bca61447a565b5b1415613c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c03906156a4565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613c4b576000600391509150613d14565b601b8560ff1614158015613c635750601c8560ff1614155b15613c75576000600491509150613d14565b600060018787878760405160008152602001604052604051613c9a94939291906156e0565b6020604051602081039080840390855afa158015613cbc573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d0b57600060019250925050613d14565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613d5d87828885613c10565b935093505050935093915050565b828054613d7790614aa4565b90600052602060002090601f016020900481019282613d995760008555613de0565b82601f10613db257805160ff1916838001178555613de0565b82800160010185558215613de0579182015b82811115613ddf578251825591602001919060010190613dc4565b5b509050613ded9190613e2b565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613e44576000816000905550600101613e2c565b5090565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ebb82613e48565b9150613ec683613e48565b925082613ed657613ed5613e52565b5b828204905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f2a81613ef5565b8114613f3557600080fd5b50565b600081359050613f4781613f21565b92915050565b600060208284031215613f6357613f62613eeb565b5b6000613f7184828501613f38565b91505092915050565b60008115159050919050565b613f8f81613f7a565b82525050565b6000602082019050613faa6000830184613f86565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fea578082015181840152602081019050613fcf565b83811115613ff9576000848401525b50505050565b6000601f19601f8301169050919050565b600061401b82613fb0565b6140258185613fbb565b9350614035818560208601613fcc565b61403e81613fff565b840191505092915050565b600060208201905081810360008301526140638184614010565b905092915050565b61407481613e48565b811461407f57600080fd5b50565b6000813590506140918161406b565b92915050565b6000602082840312156140ad576140ac613eeb565b5b60006140bb84828501614082565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140ef826140c4565b9050919050565b6140ff816140e4565b82525050565b600060208201905061411a60008301846140f6565b92915050565b614129816140e4565b811461413457600080fd5b50565b60008135905061414681614120565b92915050565b6000806040838503121561416357614162613eeb565b5b600061417185828601614137565b925050602061418285828601614082565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6141ce82613fff565b810181811067ffffffffffffffff821117156141ed576141ec614196565b5b80604052505050565b6000614200613ee1565b905061420c82826141c5565b919050565b600067ffffffffffffffff82111561422c5761422b614196565b5b61423582613fff565b9050602081019050919050565b82818337600083830152505050565b600061426461425f84614211565b6141f6565b9050828152602081018484840111156142805761427f614191565b5b61428b848285614242565b509392505050565b600082601f8301126142a8576142a761418c565b5b81356142b8848260208601614251565b91505092915050565b6000602082840312156142d7576142d6613eeb565b5b600082013567ffffffffffffffff8111156142f5576142f4613ef0565b5b61430184828501614293565b91505092915050565b61431381613e48565b82525050565b600060208201905061432e600083018461430a565b92915050565b60008060006060848603121561434d5761434c613eeb565b5b600061435b86828701614137565b935050602061436c86828701614137565b925050604061437d86828701614082565b9150509250925092565b60006020828403121561439d5761439c613eeb565b5b60006143ab84828501614137565b91505092915050565b600080604083850312156143cb576143ca613eeb565b5b60006143d985828601614137565b92505060206143ea85828601614137565b9150509250929050565b6000819050919050565b614407816143f4565b82525050565b600060208201905061442260008301846143fe565b92915050565b6004811061443557600080fd5b50565b60008135905061444781614428565b92915050565b60006020828403121561446357614462613eeb565b5b600061447184828501614438565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106144ba576144b961447a565b5b50565b60008190506144cb826144a9565b919050565b60006144db826144bd565b9050919050565b6144eb816144d0565b82525050565b600060208201905061450660008301846144e2565b92915050565b61451581613f7a565b811461452057600080fd5b50565b6000813590506145328161450c565b92915050565b6000806040838503121561454f5761454e613eeb565b5b600061455d85828601614137565b925050602061456e85828601614523565b9150509250929050565b614581816143f4565b811461458c57600080fd5b50565b60008135905061459e81614578565b92915050565b600080fd5b600080fd5b60008083601f8401126145c4576145c361418c565b5b8235905067ffffffffffffffff8111156145e1576145e06145a4565b5b6020830191508360018202830111156145fd576145fc6145a9565b5b9250929050565b6000806000806060858703121561461e5761461d613eeb565b5b600061462c8782880161458f565b945050602085013567ffffffffffffffff81111561464d5761464c613ef0565b5b614659878288016145ae565b9350935050604061466c87828801614082565b91505092959194509250565b600067ffffffffffffffff82111561469357614692614196565b5b61469c82613fff565b9050602081019050919050565b60006146bc6146b784614678565b6141f6565b9050828152602081018484840111156146d8576146d7614191565b5b6146e3848285614242565b509392505050565b600082601f830112614700576146ff61418c565b5b81356147108482602086016146a9565b91505092915050565b6000806000806080858703121561473357614732613eeb565b5b600061474187828801614137565b945050602061475287828801614137565b935050604061476387828801614082565b925050606085013567ffffffffffffffff81111561478457614783613ef0565b5b614790878288016146eb565b91505092959194509250565b7f7300000000000000000000000000000000000000000000000000000000000000600082015250565b60006147d2600183613fbb565b91506147dd8261479c565b602082019050919050565b60006020820190508181036000830152614801816147c5565b9050919050565b600061481382613e48565b915061481e83613e48565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561485357614852613e81565b5b828201905092915050565b7f6d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614894600183613fbb565b915061489f8261485e565b602082019050919050565b600060208201905081810360008301526148c381614887565b9050919050565b7f6c00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614900600183613fbb565b915061490b826148ca565b602082019050919050565b6000602082019050818103600083015261492f816148f3565b9050919050565b600061494182613e48565b915061494c83613e48565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561498557614984613e81565b5b828202905092915050565b7f6100000000000000000000000000000000000000000000000000000000000000600082015250565b60006149c6600183613fbb565b91506149d182614990565b602082019050919050565b600060208201905081810360008301526149f5816149b9565b9050919050565b6000606082019050614a1160008301866140f6565b614a1e60208301856140f6565b614a2b604083018461430a565b949350505050565b600081519050614a428161450c565b92915050565b600060208284031215614a5e57614a5d613eeb565b5b6000614a6c84828501614a33565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614abc57607f821691505b60208210811415614ad057614acf614a75565b5b50919050565b7f6f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b0c600183613fbb565b9150614b1782614ad6565b602082019050919050565b60006020820190508181036000830152614b3b81614aff565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b78602083613fbb565b9150614b8382614b42565b602082019050919050565b60006020820190508181036000830152614ba781614b6b565b9050919050565b7f6200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614be4600183613fbb565b9150614bef82614bae565b602082019050919050565b60006020820190508181036000830152614c1381614bd7565b9050919050565b6000614c2582613e48565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c5857614c57613e81565b5b600182019050919050565b7f7500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c99600183613fbb565b9150614ca482614c63565b602082019050919050565b60006020820190508181036000830152614cc881614c8c565b9050919050565b600081519050614cde8161406b565b92915050565b600060208284031215614cfa57614cf9613eeb565b5b6000614d0884828501614ccf565b91505092915050565b6000604082019050614d2660008301856140f6565b614d33602083018461430a565b9392505050565b7f6700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d70600183613fbb565b9150614d7b82614d3a565b602082019050919050565b60006020820190508181036000830152614d9f81614d63565b9050919050565b60008160601b9050919050565b6000614dbe82614da6565b9050919050565b6000614dd082614db3565b9050919050565b614de8614de3826140e4565b614dc5565b82525050565b6000614dfa8285614dd7565b601482019150614e0a8284614dd7565b6014820191508190509392505050565b7f3000000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e50600183613fbb565b9150614e5b82614e1a565b602082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b7f6900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ebc600183613fbb565b9150614ec782614e86565b602082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b7f6600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f28600183613fbb565b9150614f3382614ef2565b602082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f7a00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f94600183613fbb565b9150614f9f82614f5e565b602082019050919050565b60006020820190508181036000830152614fc381614f87565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614ff781614aa4565b6150018186614fca565b9450600182166000811461501c576001811461502d57615060565b60ff19831686528186019350615060565b61503685614fd5565b60005b8381101561505857815481890152600182019150602081019050615039565b838801955050505b50505092915050565b600061507482613fb0565b61507e8185614fca565b935061508e818560208601613fcc565b80840191505092915050565b60006150a68285614fea565b91506150b28284615069565b91508190509392505050565b6000815190506150cd81614578565b92915050565b6000602082840312156150e9576150e8613eeb565b5b60006150f7848285016150be565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061515c602683613fbb565b915061516782615100565b604082019050919050565b6000602082019050818103600083015261518b8161514f565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006151b982615192565b91506151c483615192565b9250828210156151d7576151d6613e81565b5b828203905092915050565b60006151ed82615192565b91506151f883615192565b9250826fffffffffffffffffffffffffffffffff0382111561521d5761521c613e81565b5b828201905092915050565b7f7400000000000000000000000000000000000000000000000000000000000000600082015250565b600061525e600183613fbb565b915061526982615228565b602082019050919050565b6000602082019050818103600083015261528d81615251565b9050919050565b600061529f82613e48565b91506152aa83613e48565b9250828210156152bd576152bc613e81565b5b828203905092915050565b60006152d382613e48565b915060008214156152e7576152e6613e81565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000615319826152f2565b61532381856152fd565b9350615333818560208601613fcc565b61533c81613fff565b840191505092915050565b600060808201905061535c60008301876140f6565b61536960208301866140f6565b615376604083018561430a565b8181036060830152615388818461530e565b905095945050505050565b6000815190506153a281613f21565b92915050565b6000602082840312156153be576153bd613eeb565b5b60006153cc84828501615393565b91505092915050565b60006153e082613e48565b91506153eb83613e48565b9250826153fb576153fa613e52565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061546b601c83614fca565b915061547682615435565b601c82019050919050565b6000819050919050565b61549c615497826143f4565b615481565b82525050565b60006154ad8261545e565b91506154b9828461548b565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006154fe601883613fbb565b9150615509826154c8565b602082019050919050565b6000602082019050818103600083015261552d816154f1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061556a601f83613fbb565b915061557582615534565b602082019050919050565b600060208201905081810360008301526155998161555d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006155fc602283613fbb565b9150615607826155a0565b604082019050919050565b6000602082019050818103600083015261562b816155ef565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061568e602283613fbb565b915061569982615632565b604082019050919050565b600060208201905081810360008301526156bd81615681565b9050919050565b600060ff82169050919050565b6156da816156c4565b82525050565b60006080820190506156f560008301876143fe565b61570260208301866156d1565b61570f60408301856143fe565b61571c60608301846143fe565b9594505050505056fea264697066735822122026cf0cf843c0e54653fd42aa6c1c45ba44276ed8e69f17b3e6d6d406e6d024c064736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000d05000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000000a43727970746f42756d7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442554d5300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): CryptoBums
Arg [1] : _symbol (string): BUMS
Arg [2] : _maxPossibleSupply (uint256): 3333
Arg [3] : _mintPrice (uint256): 0
Arg [4] : _allowListMintPrice (uint256): 0
Arg [5] : _maxAllowedMints (uint256): 5
Arg [6] : _signerAddress (address): 0xe9A347e4bFbe5A219F3497B1CA3Ac8568a99ED6c
Arg [7] : _currency (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [8] : _wrappedNativeCoinAddress (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 000000000000000000000000e9a347e4bfbe5a219f3497b1ca3ac8568a99ed6c
Arg [7] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 43727970746f42756d7300000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [12] : 42554d5300000000000000000000000000000000000000000000000000000000


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.