ETH Price: $3,881.72 (-2.95%)

 

Overview

TokenID

11

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

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

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

Contract Source Code Verified (Exact Match)

Contract Name:
ChainsAirdropV2

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : ChainsDropV2.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

//       ___          ___          ___                     ___          ___                   ___          ___       ___
//      /\  \        /\__\        /\  \         ___       /\__\        /\  \                 /\__\        /\  \     /\  \
//     /::\  \      /:/  /       /::\  \       /\  \     /::|  |      /::\  \               /::|  |      /::\  \    \:\  \
//    /:/\:\  \    /:/__/       /:/\:\  \      \:\  \   /:|:|  |     /:/\ \  \             /:|:|  |     /:/\:\  \    \:\  \
//   /:/  \:\  \  /::\  \ ___  /::\~\:\  \     /::\__\ /:/|:|  |__  _\:\~\ \  \           /:/|:|  |__  /::\~\:\  \   /::\  \
//  /:/__/ \:\__\/:/\:\  /\__\/:/\:\ \:\__\ __/:/\/__//:/ |:| /\__\/\ \:\ \ \__\         /:/ |:| /\__\/:/\:\ \:\__\ /:/\:\__\
//  \:\  \  \/__/\/__\:\/:/  /\/__\:\/:/  //\/:/  /   \/__|:|/:/  /\:\ \:\ \/__/         \/__|:|/:/  /\/__\:\ \/__//:/  \/__/
//   \:\  \           \::/  /      \::/  / \::/__/        |:/:/  /  \:\ \:\__\               |:/:/  /      \:\__\ /:/  /
//    \:\  \          /:/  /       /:/  /   \:\__\        |::/  /    \:\/:/  /               |::/  /        \/__/ \/__/
//     \:\__\        /:/  /       /:/  /     \/__/        /:/  /      \::/  /                /:/  /
//      \/__/        \/__/        \/__/                   \/__/        \/__/                 \/__/




// This is a free claimable "airdrop" contract that allows holders at the time of a snapshot to claim the level of their holdings plus everything below it.
contract ChainsAirdropV2 is ERC1155, Ownable {
  using ECDSA for bytes32;

  
  //Price
  uint public price = 25000000000000000;

  

  uint private constant LEGENDARY = 1;
  uint private constant MEGADIAMONDWHALE = 2;
  uint private constant MEGADIAMONDRING = 3;
  uint private constant DIAMONDRING = 4;
  uint private constant DIAMONDINGOT = 5;
  uint private constant PLATINUMRING =6;
  uint private constant PLATINUMINGOT = 7;
  uint private constant GOLDCHAINRING = 8;
  uint private constant GOLDETHRING = 9;
  uint private constant BASE = 10;
  uint private constant PUBLICFREE = 11;
  uint private constant PUBLICPAID = 12;

  bool public mintEnabled;

  // The address of the private key that signs a combination of the address and amount of Chains held as signatures for the mint.
  // NOTE: Always ensure you update your private key environment variable between testnet and mainnet deploys.
  address public systemAddress;

  // Tracks if the airdrop recipient has claimed.
  mapping(address => bool) public hasMinted;
   //wallet
   address public a1 = 0x1c29Fed7470938f31d21eaCcB89Ecea1D779684F;

  // Constructor

  constructor(address _systemAddress) ERC1155("https://gateway.pinata.cloud/ipfs/QmbFR5pZXaikMNLc8MYPaReozmVSpSBsjzX5ZiVS9wXPWk/{id}") {
    systemAddress = _systemAddress;
  }

  // Mint Function

  /// @notice This function can only be called from the aidrop site and will fail if you attempt to call it from Etherscan since it requires the `_signature` parameter.
  function mint(uint256 _ownerCount, bool _megadiamondWhale,bool _diamondRing, bool _goldChain, bool _platinumRing, bytes calldata _signature) external {
    require(mintEnabled, "Mint disabled");
    require(!hasMinted[msg.sender], "Already minted");
    hasMinted[msg.sender] = true;

    // On the server, we send in a signature comprising of the msg.sender and the amount the address held at the time of the snapshot.
    require(isValidSignature(keccak256(abi.encodePacked(msg.sender, _ownerCount)), _signature), "Invalid signature");



    if (_ownerCount > 48) {
      mintLegendary(_diamondRing, _platinumRing,_megadiamondWhale, _goldChain);
    }else if (_ownerCount > 10 && _ownerCount < 31) {
      mintMegaDiamond(_diamondRing, _platinumRing,_megadiamondWhale, _goldChain);

    } else if (_ownerCount > 6 &&_ownerCount < 11 ) {
      mintDiamond(_goldChain,_platinumRing,_diamondRing);

    } else if (_ownerCount <= 6) {
      mintPlatinum(_goldChain,_platinumRing);

    } else if (_ownerCount <= 3 ) {
      mintGold(_goldChain);

    } else {
      mintBase();
    }
  }
 function PublicMint( uint _amount) external payable {
        require(mintEnabled, "Mint disabled");
        require(price * _amount == msg.value, "Wrong ETH amount");
                 
        _mint(msg.sender, PUBLICPAID, _amount, "");
    

   }

   function PublicFree(uint _amount) external payable {
    require(mintEnabled, "Mint disabled");
    require(!hasMinted[msg.sender], "Already minted");
    hasMinted[msg.sender] = true;
     _mint(msg.sender, PUBLICFREE, _amount, "");
      
       
    

   }
  // Private Functions
  function mintLegendary( bool _megadiamondWhale,bool _diamondRing, bool _goldChain, bool _platinumRing) private {
    mint(LEGENDARY);
    mint(_megadiamondWhale ? MEGADIAMONDWHALE :  MEGADIAMONDRING);
    mint(_diamondRing ? DIAMONDRING : DIAMONDINGOT );
    mint(_platinumRing ? PLATINUMRING : PLATINUMINGOT);
    mint(_goldChain ? GOLDCHAINRING :  GOLDETHRING);
    mint(BASE);
     
  }


  function mintMegaDiamond(bool megadiamondWhale,bool _diamondRing, bool _goldChain, bool _platinumIngot) private {
    mint(megadiamondWhale ? MEGADIAMONDWHALE :  MEGADIAMONDRING);
    mint(_diamondRing ? DIAMONDRING : DIAMONDINGOT );
    mint(_platinumIngot ? PLATINUMRING : PLATINUMINGOT);
    mint(_goldChain ? GOLDCHAINRING :  GOLDETHRING);
    mint(BASE);
  }

  function mintDiamond(bool _diamondRing, bool _goldChain, bool _platinumRing) private {
    mint(_diamondRing ? DIAMONDRING : DIAMONDINGOT );
    mint(_platinumRing ? PLATINUMRING : PLATINUMINGOT);
    mint(_goldChain ? GOLDCHAINRING :  GOLDETHRING);
    mint(BASE);
  }

  function mintPlatinum(bool _goldChain, bool _platinumRing) private {
    mint(_platinumRing ? PLATINUMRING : PLATINUMINGOT);
    mint(_goldChain ? GOLDCHAINRING :  GOLDETHRING);
    mint(BASE);
  }

  function mintGold(bool _goldChain) private {
    mint(_goldChain ? GOLDCHAINRING : GOLDETHRING);
    mint(BASE);
  }

  function mintBase() private {
    mint(BASE);
  }

  function mint(uint _type) private {
    _mint(msg.sender, _type, 1, "");
  }


 
    

   
  function isValidSignature(bytes32 hash, bytes calldata signature) internal view returns (bool) {
    require(systemAddress != address(0), "Missing system address");
    bytes32 signedHash = hash.toEthSignedMessageHash();
    return signedHash.recover(signature) == systemAddress;
  }

  // Ownable functions

  // Sets the system address that corresponds to the private key being used in the API. For good measure and good security, make sure your systemAddress and the contract's owner are different addresses and private keys so there isn't a single point of failure.
  function setSystemAddress(address _systemAddress) external onlyOwner {
    systemAddress = _systemAddress;
  }

  // Enables/disables mint
  function setMintEnabled(bool _val) external onlyOwner {
    mintEnabled = _val;
  }
function withdrawOwner() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
      
    }
    function withdrawCrypto() external onlyOwner {
        payable(a1).transfer(address(this).balance);
    }
 }

File 2 of 16 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @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) {
        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.
            /// @solidity memory-safe-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 {
            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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @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 3 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @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) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 4 of 16 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 5 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 7 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 8 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 9 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 13 of 16 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 14 of 16 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 16 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 16 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_systemAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"PublicFree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"a1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ownerCount","type":"uint256"},{"internalType":"bool","name":"_megadiamondWhale","type":"bool"},{"internalType":"bool","name":"_diamondRing","type":"bool"},{"internalType":"bool","name":"_goldChain","type":"bool"},{"internalType":"bool","name":"_platinumRing","type":"bool"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bool","name":"_val","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_systemAddress","type":"address"}],"name":"setSystemAddress","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":"systemAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawCrypto","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526658d15e17628000600455731c29fed7470938f31d21eaccb89ecea1d779684f600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200007157600080fd5b506040516200485f3803806200485f833981810160405281019062000097919062000278565b6040518060800160405280605581526020016200480a60559139620000c2816200012b60201b60201c565b50620000e3620000d76200014060201b60201c565b6200014860201b60201c565b80600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200060b565b80600290816200013c919062000524565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002408262000213565b9050919050565b620002528162000233565b81146200025e57600080fd5b50565b600081519050620002728162000247565b92915050565b6000602082840312156200029157620002906200020e565b5b6000620002a18482850162000261565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200032c57607f821691505b602082108103620003425762000341620002e4565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003ac7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200036d565b620003b886836200036d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000405620003ff620003f984620003d0565b620003da565b620003d0565b9050919050565b6000819050919050565b6200042183620003e4565b6200043962000430826200040c565b8484546200037a565b825550505050565b600090565b6200045062000441565b6200045d81848462000416565b505050565b5b8181101562000485576200047960008262000446565b60018101905062000463565b5050565b601f821115620004d4576200049e8162000348565b620004a9846200035d565b81016020851015620004b9578190505b620004d1620004c8856200035d565b83018262000462565b50505b505050565b600082821c905092915050565b6000620004f960001984600802620004d9565b1980831691505092915050565b6000620005148383620004e6565b9150826002028217905092915050565b6200052f82620002aa565b67ffffffffffffffff8111156200054b576200054a620002b5565b5b62000557825462000313565b6200056482828562000489565b600060209050601f8311600181146200059c576000841562000587578287015190505b62000593858262000506565b86555062000603565b601f198416620005ac8662000348565b60005b82811015620005d657848901518255600182019150602085019450602081019050620005af565b86831015620005f65784890151620005f2601f891682620004e6565b8355505b6001600288020188555050505b505050505050565b6141ef806200061b6000396000f3fe60806040526004361061013f5760003560e01c80639fb17e34116100b6578063e8cc00ad1161006f578063e8cc00ad1461043f578063e985e9c514610456578063f242432a14610493578063f2fde38b146104bc578063f46a04eb146104e5578063f6d1af071461050e5761013f565b80639fb17e341461035d578063a035b1fe14610379578063a22cb465146103a4578063d1239730146103cd578063d3e848f1146103f8578063d78953d1146104235761013f565b806321954acd1161010857806321954acd1461024f5780632eb2c2d61461027857806338e21cce146102a15780634e1273f4146102de578063715018a61461031b5780638da5cb5b146103325761013f565b8062fdd58e1461014457806301ffc9a71461018157806306210197146101be5780630e89341c146101e7578063119552a114610224575b600080fd5b34801561015057600080fd5b5061016b60048036038101906101669190612763565b610525565b60405161017891906127b2565b60405180910390f35b34801561018d57600080fd5b506101a860048036038101906101a39190612825565b6105ed565b6040516101b5919061286d565b60405180910390f35b3480156101ca57600080fd5b506101e560048036038101906101e09190612888565b6106cf565b005b3480156101f357600080fd5b5061020e600480360381019061020991906128b5565b61071b565b60405161021b9190612972565b60405180910390f35b34801561023057600080fd5b506102396107af565b60405161024691906129a3565b60405180910390f35b34801561025b57600080fd5b5061027660048036038101906102719190612a4f565b6107d5565b005b34801561028457600080fd5b5061029f600480360381019061029a9190612cf1565b610a23565b005b3480156102ad57600080fd5b506102c860048036038101906102c39190612888565b610ac4565b6040516102d5919061286d565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190612e83565b610ae4565b6040516103129190612fb9565b60405180910390f35b34801561032757600080fd5b50610330610bfd565b005b34801561033e57600080fd5b50610347610c11565b60405161035491906129a3565b60405180910390f35b610377600480360381019061037291906128b5565b610c3b565b005b34801561038557600080fd5b5061038e610cf8565b60405161039b91906127b2565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190612fdb565b610cfe565b005b3480156103d957600080fd5b506103e2610d14565b6040516103ef919061286d565b60405180910390f35b34801561040457600080fd5b5061040d610d27565b60405161041a91906129a3565b60405180910390f35b61043d600480360381019061043891906128b5565b610d4d565b005b34801561044b57600080fd5b50610454610ea0565b005b34801561046257600080fd5b5061047d6004803603810190610478919061301b565b610ef1565b60405161048a919061286d565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b5919061305b565b610f85565b005b3480156104c857600080fd5b506104e360048036038101906104de9190612888565b611026565b005b3480156104f157600080fd5b5061050c600480360381019061050791906130f2565b6110a9565b005b34801561051a57600080fd5b506105236110ce565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058c90613191565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106b857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106c857506106c782611141565b5b9050919050565b6106d76111ab565b80600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606002805461072a906131e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610756906131e0565b80156107a35780601f10610778576101008083540402835291602001916107a3565b820191906000526020600020905b81548152906001019060200180831161078657829003601f168201915b50505050509050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900460ff16610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b9061325d565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a8906132c9565b60405180910390fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061093c338860405160200161091f929190613352565b604051602081830303815290604052805190602001208383611229565b61097b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906133ca565b60405180910390fd5b60308711156109955761099085848887611379565b610a1a565b600a871180156109a55750601f87105b156109bb576109b6858488876113ef565b610a19565b6006871180156109cb5750600b87105b156109e0576109db84848761145b565b610a18565b600687116109f7576109f284846114af565b610a17565b60038711610a0d57610a08846114eb565b610a16565b610a1561150f565b5b5b5b5b5b50505050505050565b610a2b61151b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a715750610a7085610a6b61151b565b610ef1565b5b610ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa79061345c565b60405180910390fd5b610abd8585858585611523565b5050505050565b60066020528060005260406000206000915054906101000a900460ff1681565b60608151835114610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b21906134ee565b60405180910390fd5b6000835167ffffffffffffffff811115610b4757610b46612afe565b5b604051908082528060200260200182016040528015610b755781602001602082028036833780820191505090505b50905060005b8451811015610bf257610bc2858281518110610b9a57610b9961350e565b5b6020026020010151858381518110610bb557610bb461350e565b5b6020026020010151610525565b828281518110610bd557610bd461350e565b5b60200260200101818152505080610beb9061356c565b9050610b7b565b508091505092915050565b610c056111ab565b610c0f6000611844565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600560009054906101000a900460ff16610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c819061325d565b60405180910390fd5b3481600454610c9991906135b4565b14610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090613642565b60405180910390fd5b610cf533600c836040518060200160405280600081525061190a565b50565b60045481565b610d10610d0961151b565b8383611aba565b5050565b600560009054906101000a900460ff1681565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900460ff16610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d939061325d565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906132c9565b60405180910390fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e9d33600b836040518060200160405280600081525061190a565b50565b610ea86111ab565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610eee573d6000803e3d6000fd5b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f8d61151b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fd35750610fd285610fcd61151b565b610ef1565b5b611012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110099061345c565b60405180910390fd5b61101f8585858585611c26565b5050505050565b61102e6111ab565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361109d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611094906136d4565b60405180910390fd5b6110a681611844565b50565b6110b16111ab565b80600560006101000a81548160ff02191690831515021790555050565b6110d66111ab565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561113e573d6000803e3d6000fd5b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6111b361151b565b73ffffffffffffffffffffffffffffffffffffffff166111d1610c11565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90613740565b60405180910390fd5b565b60008073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b2906137ac565b60405180910390fd5b60006112c685611ec1565b9050600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661135885858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083611ef190919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b6113836001611f18565b61139a84611392576003611395565b60025b611f18565b6113b1836113a95760056113ac565b60045b611f18565b6113c8816113c05760076113c3565b60065b611f18565b6113df826113d75760096113da565b60085b611f18565b6113e9600a611f18565b50505050565b611406846113fe576003611401565b60025b611f18565b61141d83611415576005611418565b60045b611f18565b6114348161142c57600761142f565b60065b611f18565b61144b82611443576009611446565b60085b611f18565b611455600a611f18565b50505050565b6114728361146a57600561146d565b60045b611f18565b61148981611481576007611484565b60065b611f18565b6114a08261149857600961149b565b60085b611f18565b6114aa600a611f18565b505050565b6114c6816114be5760076114c1565b60065b611f18565b6114dd826114d55760096114d8565b60085b611f18565b6114e7600a611f18565b5050565b611502816114fa5760096114fd565b60085b611f18565b61150c600a611f18565b50565b611519600a611f18565b565b600033905090565b8151835114611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e9061383e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cd906138d0565b60405180910390fd5b60006115e061151b565b90506115f0818787878787611f37565b60005b84518110156117a15760008582815181106116115761161061350e565b5b6020026020010151905060008583815181106116305761162f61350e565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890613962565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117869190613982565b925050819055505050508061179a9061356c565b90506115f3565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118189291906139b6565b60405180910390a461182e818787878787611f3f565b61183c818787878787611f47565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197090613a5f565b60405180910390fd5b600061198361151b565b905060006119908561211e565b9050600061199d8561211e565b90506119ae83600089858589611f37565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a0d9190613982565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611a8b929190613a7f565b60405180910390a4611aa283600089858589611f3f565b611ab183600089898989612198565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f90613b1a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c19919061286d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c906138d0565b60405180910390fd5b6000611c9f61151b565b90506000611cac8561211e565b90506000611cb98561211e565b9050611cc9838989858589611f37565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790613962565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e159190613982565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611e92929190613a7f565b60405180910390a4611ea8848a8a86868a611f3f565b611eb6848a8a8a8a8a612198565b505050505050505050565b600081604051602001611ed49190613bbc565b604051602081830303815290604052805190602001209050919050565b6000806000611f00858561236f565b91509150611f0d816123c0565b819250505092915050565b611f34338260016040518060200160405280600081525061190a565b50565b505050505050565b505050505050565b611f668473ffffffffffffffffffffffffffffffffffffffff1661258c565b15612116578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611fac959493929190613c37565b6020604051808303816000875af1925050508015611fe857506040513d601f19601f82011682018060405250810190611fe59190613cb4565b60015b61208d57611ff4613cee565b806308c379a0036120505750612008613d10565b806120135750612052565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120479190612972565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490613e12565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b90613ea4565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561213d5761213c612afe565b5b60405190808252806020026020018201604052801561216b5781602001602082028036833780820191505090505b50905082816000815181106121835761218261350e565b5b60200260200101818152505080915050919050565b6121b78473ffffffffffffffffffffffffffffffffffffffff1661258c565b15612367578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016121fd959493929190613ec4565b6020604051808303816000875af192505050801561223957506040513d601f19601f820116820180604052508101906122369190613cb4565b60015b6122de57612245613cee565b806308c379a0036122a15750612259613d10565b8061226457506122a3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122989190612972565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d590613e12565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c90613ea4565b60405180910390fd5b505b505050505050565b60008060418351036123b05760008060006020860151925060408601519150606086015160001a90506123a4878285856125af565b945094505050506123b9565b60006002915091505b9250929050565b600060048111156123d4576123d3613f1e565b5b8160048111156123e7576123e6613f1e565b5b0315612589576001600481111561240157612400613f1e565b5b81600481111561241457612413613f1e565b5b03612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b90613f99565b60405180910390fd5b6002600481111561246857612467613f1e565b5b81600481111561247b5761247a613f1e565b5b036124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290614005565b60405180910390fd5b600360048111156124cf576124ce613f1e565b5b8160048111156124e2576124e1613f1e565b5b03612522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251990614097565b60405180910390fd5b60048081111561253557612534613f1e565b5b81600481111561254857612547613f1e565b5b03612588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257f90614129565b60405180910390fd5b5b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156125ea5760006003915091506126b2565b601b8560ff16141580156126025750601c8560ff1614155b156126145760006004915091506126b2565b6000600187878787604051600081526020016040526040516126399493929190614174565b6020604051602081039080840390855afa15801561265b573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126a9576000600192509250506126b2565b80600092509250505b94509492505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126fa826126cf565b9050919050565b61270a816126ef565b811461271557600080fd5b50565b60008135905061272781612701565b92915050565b6000819050919050565b6127408161272d565b811461274b57600080fd5b50565b60008135905061275d81612737565b92915050565b6000806040838503121561277a576127796126c5565b5b600061278885828601612718565b92505060206127998582860161274e565b9150509250929050565b6127ac8161272d565b82525050565b60006020820190506127c760008301846127a3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612802816127cd565b811461280d57600080fd5b50565b60008135905061281f816127f9565b92915050565b60006020828403121561283b5761283a6126c5565b5b600061284984828501612810565b91505092915050565b60008115159050919050565b61286781612852565b82525050565b6000602082019050612882600083018461285e565b92915050565b60006020828403121561289e5761289d6126c5565b5b60006128ac84828501612718565b91505092915050565b6000602082840312156128cb576128ca6126c5565b5b60006128d98482850161274e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561291c578082015181840152602081019050612901565b60008484015250505050565b6000601f19601f8301169050919050565b6000612944826128e2565b61294e81856128ed565b935061295e8185602086016128fe565b61296781612928565b840191505092915050565b6000602082019050818103600083015261298c8184612939565b905092915050565b61299d816126ef565b82525050565b60006020820190506129b86000830184612994565b92915050565b6129c781612852565b81146129d257600080fd5b50565b6000813590506129e4816129be565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612a0f57612a0e6129ea565b5b8235905067ffffffffffffffff811115612a2c57612a2b6129ef565b5b602083019150836001820283011115612a4857612a476129f4565b5b9250929050565b600080600080600080600060c0888a031215612a6e57612a6d6126c5565b5b6000612a7c8a828b0161274e565b9750506020612a8d8a828b016129d5565b9650506040612a9e8a828b016129d5565b9550506060612aaf8a828b016129d5565b9450506080612ac08a828b016129d5565b93505060a088013567ffffffffffffffff811115612ae157612ae06126ca565b5b612aed8a828b016129f9565b925092505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b3682612928565b810181811067ffffffffffffffff82111715612b5557612b54612afe565b5b80604052505050565b6000612b686126bb565b9050612b748282612b2d565b919050565b600067ffffffffffffffff821115612b9457612b93612afe565b5b602082029050602081019050919050565b6000612bb8612bb384612b79565b612b5e565b90508083825260208201905060208402830185811115612bdb57612bda6129f4565b5b835b81811015612c045780612bf0888261274e565b845260208401935050602081019050612bdd565b5050509392505050565b600082601f830112612c2357612c226129ea565b5b8135612c33848260208601612ba5565b91505092915050565b600080fd5b600067ffffffffffffffff821115612c5c57612c5b612afe565b5b612c6582612928565b9050602081019050919050565b82818337600083830152505050565b6000612c94612c8f84612c41565b612b5e565b905082815260208101848484011115612cb057612caf612c3c565b5b612cbb848285612c72565b509392505050565b600082601f830112612cd857612cd76129ea565b5b8135612ce8848260208601612c81565b91505092915050565b600080600080600060a08688031215612d0d57612d0c6126c5565b5b6000612d1b88828901612718565b9550506020612d2c88828901612718565b945050604086013567ffffffffffffffff811115612d4d57612d4c6126ca565b5b612d5988828901612c0e565b935050606086013567ffffffffffffffff811115612d7a57612d796126ca565b5b612d8688828901612c0e565b925050608086013567ffffffffffffffff811115612da757612da66126ca565b5b612db388828901612cc3565b9150509295509295909350565b600067ffffffffffffffff821115612ddb57612dda612afe565b5b602082029050602081019050919050565b6000612dff612dfa84612dc0565b612b5e565b90508083825260208201905060208402830185811115612e2257612e216129f4565b5b835b81811015612e4b5780612e378882612718565b845260208401935050602081019050612e24565b5050509392505050565b600082601f830112612e6a57612e696129ea565b5b8135612e7a848260208601612dec565b91505092915050565b60008060408385031215612e9a57612e996126c5565b5b600083013567ffffffffffffffff811115612eb857612eb76126ca565b5b612ec485828601612e55565b925050602083013567ffffffffffffffff811115612ee557612ee46126ca565b5b612ef185828601612c0e565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f308161272d565b82525050565b6000612f428383612f27565b60208301905092915050565b6000602082019050919050565b6000612f6682612efb565b612f708185612f06565b9350612f7b83612f17565b8060005b83811015612fac578151612f938882612f36565b9750612f9e83612f4e565b925050600181019050612f7f565b5085935050505092915050565b60006020820190508181036000830152612fd38184612f5b565b905092915050565b60008060408385031215612ff257612ff16126c5565b5b600061300085828601612718565b9250506020613011858286016129d5565b9150509250929050565b60008060408385031215613032576130316126c5565b5b600061304085828601612718565b925050602061305185828601612718565b9150509250929050565b600080600080600060a08688031215613077576130766126c5565b5b600061308588828901612718565b955050602061309688828901612718565b94505060406130a78882890161274e565b93505060606130b88882890161274e565b925050608086013567ffffffffffffffff8111156130d9576130d86126ca565b5b6130e588828901612cc3565b9150509295509295909350565b600060208284031215613108576131076126c5565b5b6000613116848285016129d5565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061317b602a836128ed565b91506131868261311f565b604082019050919050565b600060208201905081810360008301526131aa8161316e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131f857607f821691505b60208210810361320b5761320a6131b1565b5b50919050565b7f4d696e742064697361626c656400000000000000000000000000000000000000600082015250565b6000613247600d836128ed565b915061325282613211565b602082019050919050565b600060208201905081810360008301526132768161323a565b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b60006132b3600e836128ed565b91506132be8261327d565b602082019050919050565b600060208201905081810360008301526132e2816132a6565b9050919050565b60008160601b9050919050565b6000613301826132e9565b9050919050565b6000613313826132f6565b9050919050565b61332b613326826126ef565b613308565b82525050565b6000819050919050565b61334c6133478261272d565b613331565b82525050565b600061335e828561331a565b60148201915061336e828461333b565b6020820191508190509392505050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b60006133b46011836128ed565b91506133bf8261337e565b602082019050919050565b600060208201905081810360008301526133e3816133a7565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613446602f836128ed565b9150613451826133ea565b604082019050919050565b6000602082019050818103600083015261347581613439565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006134d86029836128ed565b91506134e38261347c565b604082019050919050565b60006020820190508181036000830152613507816134cb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135778261272d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135a9576135a861353d565b5b600182019050919050565b60006135bf8261272d565b91506135ca8361272d565b92508282026135d88161272d565b915082820484148315176135ef576135ee61353d565b5b5092915050565b7f57726f6e672045544820616d6f756e7400000000000000000000000000000000600082015250565b600061362c6010836128ed565b9150613637826135f6565b602082019050919050565b6000602082019050818103600083015261365b8161361f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136be6026836128ed565b91506136c982613662565b604082019050919050565b600060208201905081810360008301526136ed816136b1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061372a6020836128ed565b9150613735826136f4565b602082019050919050565b600060208201905081810360008301526137598161371d565b9050919050565b7f4d697373696e672073797374656d206164647265737300000000000000000000600082015250565b60006137966016836128ed565b91506137a182613760565b602082019050919050565b600060208201905081810360008301526137c581613789565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006138286028836128ed565b9150613833826137cc565b604082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006138ba6025836128ed565b91506138c58261385e565b604082019050919050565b600060208201905081810360008301526138e9816138ad565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061394c602a836128ed565b9150613957826138f0565b604082019050919050565b6000602082019050818103600083015261397b8161393f565b9050919050565b600061398d8261272d565b91506139988361272d565b92508282019050808211156139b0576139af61353d565b5b92915050565b600060408201905081810360008301526139d08185612f5b565b905081810360208301526139e48184612f5b565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a496021836128ed565b9150613a54826139ed565b604082019050919050565b60006020820190508181036000830152613a7881613a3c565b9050919050565b6000604082019050613a9460008301856127a3565b613aa160208301846127a3565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613b046029836128ed565b9150613b0f82613aa8565b604082019050919050565b60006020820190508181036000830152613b3381613af7565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613b7b601c83613b3a565b9150613b8682613b45565b601c82019050919050565b6000819050919050565b6000819050919050565b613bb6613bb182613b91565b613b9b565b82525050565b6000613bc782613b6e565b9150613bd38284613ba5565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b6000613c0982613be2565b613c138185613bed565b9350613c238185602086016128fe565b613c2c81612928565b840191505092915050565b600060a082019050613c4c6000830188612994565b613c596020830187612994565b8181036040830152613c6b8186612f5b565b90508181036060830152613c7f8185612f5b565b90508181036080830152613c938184613bfe565b90509695505050505050565b600081519050613cae816127f9565b92915050565b600060208284031215613cca57613cc96126c5565b5b6000613cd884828501613c9f565b91505092915050565b60008160e01c9050919050565b600060033d1115613d0d5760046000803e613d0a600051613ce1565b90505b90565b600060443d10613d9d57613d226126bb565b60043d036004823e80513d602482011167ffffffffffffffff82111715613d4a575050613d9d565b808201805167ffffffffffffffff811115613d685750505050613d9d565b80602083010160043d038501811115613d85575050505050613d9d565b613d9482602001850186612b2d565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613dfc6034836128ed565b9150613e0782613da0565b604082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613e8e6028836128ed565b9150613e9982613e32565b604082019050919050565b60006020820190508181036000830152613ebd81613e81565b9050919050565b600060a082019050613ed96000830188612994565b613ee66020830187612994565b613ef360408301866127a3565b613f0060608301856127a3565b8181036080830152613f128184613bfe565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613f836018836128ed565b9150613f8e82613f4d565b602082019050919050565b60006020820190508181036000830152613fb281613f76565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613fef601f836128ed565b9150613ffa82613fb9565b602082019050919050565b6000602082019050818103600083015261401e81613fe2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140816022836128ed565b915061408c82614025565b604082019050919050565b600060208201905081810360008301526140b081614074565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006141136022836128ed565b915061411e826140b7565b604082019050919050565b6000602082019050818103600083015261414281614106565b9050919050565b61415281613b91565b82525050565b600060ff82169050919050565b61416e81614158565b82525050565b60006080820190506141896000830187614149565b6141966020830186614165565b6141a36040830185614149565b6141b06060830184614149565b9594505050505056fea26469706673582212208048c4e3d744b47ed85d5a811b8b7afb70fc990c47036adf3edd05d169ce4aab64736f6c6343000811003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d62465235705a5861696b4d4e4c63384d59506152656f7a6d5653705342736a7a58355a69565339775850576b2f7b69647d0000000000000000000000007b3fa375554ffda2c78c21ebdd22c43804ea1515

Deployed Bytecode

0x60806040526004361061013f5760003560e01c80639fb17e34116100b6578063e8cc00ad1161006f578063e8cc00ad1461043f578063e985e9c514610456578063f242432a14610493578063f2fde38b146104bc578063f46a04eb146104e5578063f6d1af071461050e5761013f565b80639fb17e341461035d578063a035b1fe14610379578063a22cb465146103a4578063d1239730146103cd578063d3e848f1146103f8578063d78953d1146104235761013f565b806321954acd1161010857806321954acd1461024f5780632eb2c2d61461027857806338e21cce146102a15780634e1273f4146102de578063715018a61461031b5780638da5cb5b146103325761013f565b8062fdd58e1461014457806301ffc9a71461018157806306210197146101be5780630e89341c146101e7578063119552a114610224575b600080fd5b34801561015057600080fd5b5061016b60048036038101906101669190612763565b610525565b60405161017891906127b2565b60405180910390f35b34801561018d57600080fd5b506101a860048036038101906101a39190612825565b6105ed565b6040516101b5919061286d565b60405180910390f35b3480156101ca57600080fd5b506101e560048036038101906101e09190612888565b6106cf565b005b3480156101f357600080fd5b5061020e600480360381019061020991906128b5565b61071b565b60405161021b9190612972565b60405180910390f35b34801561023057600080fd5b506102396107af565b60405161024691906129a3565b60405180910390f35b34801561025b57600080fd5b5061027660048036038101906102719190612a4f565b6107d5565b005b34801561028457600080fd5b5061029f600480360381019061029a9190612cf1565b610a23565b005b3480156102ad57600080fd5b506102c860048036038101906102c39190612888565b610ac4565b6040516102d5919061286d565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190612e83565b610ae4565b6040516103129190612fb9565b60405180910390f35b34801561032757600080fd5b50610330610bfd565b005b34801561033e57600080fd5b50610347610c11565b60405161035491906129a3565b60405180910390f35b610377600480360381019061037291906128b5565b610c3b565b005b34801561038557600080fd5b5061038e610cf8565b60405161039b91906127b2565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190612fdb565b610cfe565b005b3480156103d957600080fd5b506103e2610d14565b6040516103ef919061286d565b60405180910390f35b34801561040457600080fd5b5061040d610d27565b60405161041a91906129a3565b60405180910390f35b61043d600480360381019061043891906128b5565b610d4d565b005b34801561044b57600080fd5b50610454610ea0565b005b34801561046257600080fd5b5061047d6004803603810190610478919061301b565b610ef1565b60405161048a919061286d565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b5919061305b565b610f85565b005b3480156104c857600080fd5b506104e360048036038101906104de9190612888565b611026565b005b3480156104f157600080fd5b5061050c600480360381019061050791906130f2565b6110a9565b005b34801561051a57600080fd5b506105236110ce565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058c90613191565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106b857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106c857506106c782611141565b5b9050919050565b6106d76111ab565b80600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606002805461072a906131e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610756906131e0565b80156107a35780601f10610778576101008083540402835291602001916107a3565b820191906000526020600020905b81548152906001019060200180831161078657829003601f168201915b50505050509050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900460ff16610824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081b9061325d565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156108b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a8906132c9565b60405180910390fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061093c338860405160200161091f929190613352565b604051602081830303815290604052805190602001208383611229565b61097b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610972906133ca565b60405180910390fd5b60308711156109955761099085848887611379565b610a1a565b600a871180156109a55750601f87105b156109bb576109b6858488876113ef565b610a19565b6006871180156109cb5750600b87105b156109e0576109db84848761145b565b610a18565b600687116109f7576109f284846114af565b610a17565b60038711610a0d57610a08846114eb565b610a16565b610a1561150f565b5b5b5b5b5b50505050505050565b610a2b61151b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a715750610a7085610a6b61151b565b610ef1565b5b610ab0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa79061345c565b60405180910390fd5b610abd8585858585611523565b5050505050565b60066020528060005260406000206000915054906101000a900460ff1681565b60608151835114610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b21906134ee565b60405180910390fd5b6000835167ffffffffffffffff811115610b4757610b46612afe565b5b604051908082528060200260200182016040528015610b755781602001602082028036833780820191505090505b50905060005b8451811015610bf257610bc2858281518110610b9a57610b9961350e565b5b6020026020010151858381518110610bb557610bb461350e565b5b6020026020010151610525565b828281518110610bd557610bd461350e565b5b60200260200101818152505080610beb9061356c565b9050610b7b565b508091505092915050565b610c056111ab565b610c0f6000611844565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600560009054906101000a900460ff16610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c819061325d565b60405180910390fd5b3481600454610c9991906135b4565b14610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090613642565b60405180910390fd5b610cf533600c836040518060200160405280600081525061190a565b50565b60045481565b610d10610d0961151b565b8383611aba565b5050565b600560009054906101000a900460ff1681565b600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600560009054906101000a900460ff16610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d939061325d565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906132c9565b60405180910390fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610e9d33600b836040518060200160405280600081525061190a565b50565b610ea86111ab565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610eee573d6000803e3d6000fd5b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f8d61151b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fd35750610fd285610fcd61151b565b610ef1565b5b611012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110099061345c565b60405180910390fd5b61101f8585858585611c26565b5050505050565b61102e6111ab565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361109d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611094906136d4565b60405180910390fd5b6110a681611844565b50565b6110b16111ab565b80600560006101000a81548160ff02191690831515021790555050565b6110d66111ab565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561113e573d6000803e3d6000fd5b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6111b361151b565b73ffffffffffffffffffffffffffffffffffffffff166111d1610c11565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90613740565b60405180910390fd5b565b60008073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b2906137ac565b60405180910390fd5b60006112c685611ec1565b9050600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661135885858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083611ef190919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b6113836001611f18565b61139a84611392576003611395565b60025b611f18565b6113b1836113a95760056113ac565b60045b611f18565b6113c8816113c05760076113c3565b60065b611f18565b6113df826113d75760096113da565b60085b611f18565b6113e9600a611f18565b50505050565b611406846113fe576003611401565b60025b611f18565b61141d83611415576005611418565b60045b611f18565b6114348161142c57600761142f565b60065b611f18565b61144b82611443576009611446565b60085b611f18565b611455600a611f18565b50505050565b6114728361146a57600561146d565b60045b611f18565b61148981611481576007611484565b60065b611f18565b6114a08261149857600961149b565b60085b611f18565b6114aa600a611f18565b505050565b6114c6816114be5760076114c1565b60065b611f18565b6114dd826114d55760096114d8565b60085b611f18565b6114e7600a611f18565b5050565b611502816114fa5760096114fd565b60085b611f18565b61150c600a611f18565b50565b611519600a611f18565b565b600033905090565b8151835114611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e9061383e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cd906138d0565b60405180910390fd5b60006115e061151b565b90506115f0818787878787611f37565b60005b84518110156117a15760008582815181106116115761161061350e565b5b6020026020010151905060008583815181106116305761162f61350e565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890613962565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117869190613982565b925050819055505050508061179a9061356c565b90506115f3565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118189291906139b6565b60405180910390a461182e818787878787611f3f565b61183c818787878787611f47565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197090613a5f565b60405180910390fd5b600061198361151b565b905060006119908561211e565b9050600061199d8561211e565b90506119ae83600089858589611f37565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a0d9190613982565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611a8b929190613a7f565b60405180910390a4611aa283600089858589611f3f565b611ab183600089898989612198565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1f90613b1a565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c19919061286d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c906138d0565b60405180910390fd5b6000611c9f61151b565b90506000611cac8561211e565b90506000611cb98561211e565b9050611cc9838989858589611f37565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5790613962565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e159190613982565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611e92929190613a7f565b60405180910390a4611ea8848a8a86868a611f3f565b611eb6848a8a8a8a8a612198565b505050505050505050565b600081604051602001611ed49190613bbc565b604051602081830303815290604052805190602001209050919050565b6000806000611f00858561236f565b91509150611f0d816123c0565b819250505092915050565b611f34338260016040518060200160405280600081525061190a565b50565b505050505050565b505050505050565b611f668473ffffffffffffffffffffffffffffffffffffffff1661258c565b15612116578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611fac959493929190613c37565b6020604051808303816000875af1925050508015611fe857506040513d601f19601f82011682018060405250810190611fe59190613cb4565b60015b61208d57611ff4613cee565b806308c379a0036120505750612008613d10565b806120135750612052565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120479190612972565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208490613e12565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210b90613ea4565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561213d5761213c612afe565b5b60405190808252806020026020018201604052801561216b5781602001602082028036833780820191505090505b50905082816000815181106121835761218261350e565b5b60200260200101818152505080915050919050565b6121b78473ffffffffffffffffffffffffffffffffffffffff1661258c565b15612367578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016121fd959493929190613ec4565b6020604051808303816000875af192505050801561223957506040513d601f19601f820116820180604052508101906122369190613cb4565b60015b6122de57612245613cee565b806308c379a0036122a15750612259613d10565b8061226457506122a3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122989190612972565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d590613e12565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c90613ea4565b60405180910390fd5b505b505050505050565b60008060418351036123b05760008060006020860151925060408601519150606086015160001a90506123a4878285856125af565b945094505050506123b9565b60006002915091505b9250929050565b600060048111156123d4576123d3613f1e565b5b8160048111156123e7576123e6613f1e565b5b0315612589576001600481111561240157612400613f1e565b5b81600481111561241457612413613f1e565b5b03612454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244b90613f99565b60405180910390fd5b6002600481111561246857612467613f1e565b5b81600481111561247b5761247a613f1e565b5b036124bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b290614005565b60405180910390fd5b600360048111156124cf576124ce613f1e565b5b8160048111156124e2576124e1613f1e565b5b03612522576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251990614097565b60405180910390fd5b60048081111561253557612534613f1e565b5b81600481111561254857612547613f1e565b5b03612588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257f90614129565b60405180910390fd5b5b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156125ea5760006003915091506126b2565b601b8560ff16141580156126025750601c8560ff1614155b156126145760006004915091506126b2565b6000600187878787604051600081526020016040526040516126399493929190614174565b6020604051602081039080840390855afa15801561265b573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036126a9576000600192509250506126b2565b80600092509250505b94509492505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126fa826126cf565b9050919050565b61270a816126ef565b811461271557600080fd5b50565b60008135905061272781612701565b92915050565b6000819050919050565b6127408161272d565b811461274b57600080fd5b50565b60008135905061275d81612737565b92915050565b6000806040838503121561277a576127796126c5565b5b600061278885828601612718565b92505060206127998582860161274e565b9150509250929050565b6127ac8161272d565b82525050565b60006020820190506127c760008301846127a3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612802816127cd565b811461280d57600080fd5b50565b60008135905061281f816127f9565b92915050565b60006020828403121561283b5761283a6126c5565b5b600061284984828501612810565b91505092915050565b60008115159050919050565b61286781612852565b82525050565b6000602082019050612882600083018461285e565b92915050565b60006020828403121561289e5761289d6126c5565b5b60006128ac84828501612718565b91505092915050565b6000602082840312156128cb576128ca6126c5565b5b60006128d98482850161274e565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561291c578082015181840152602081019050612901565b60008484015250505050565b6000601f19601f8301169050919050565b6000612944826128e2565b61294e81856128ed565b935061295e8185602086016128fe565b61296781612928565b840191505092915050565b6000602082019050818103600083015261298c8184612939565b905092915050565b61299d816126ef565b82525050565b60006020820190506129b86000830184612994565b92915050565b6129c781612852565b81146129d257600080fd5b50565b6000813590506129e4816129be565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612a0f57612a0e6129ea565b5b8235905067ffffffffffffffff811115612a2c57612a2b6129ef565b5b602083019150836001820283011115612a4857612a476129f4565b5b9250929050565b600080600080600080600060c0888a031215612a6e57612a6d6126c5565b5b6000612a7c8a828b0161274e565b9750506020612a8d8a828b016129d5565b9650506040612a9e8a828b016129d5565b9550506060612aaf8a828b016129d5565b9450506080612ac08a828b016129d5565b93505060a088013567ffffffffffffffff811115612ae157612ae06126ca565b5b612aed8a828b016129f9565b925092505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b3682612928565b810181811067ffffffffffffffff82111715612b5557612b54612afe565b5b80604052505050565b6000612b686126bb565b9050612b748282612b2d565b919050565b600067ffffffffffffffff821115612b9457612b93612afe565b5b602082029050602081019050919050565b6000612bb8612bb384612b79565b612b5e565b90508083825260208201905060208402830185811115612bdb57612bda6129f4565b5b835b81811015612c045780612bf0888261274e565b845260208401935050602081019050612bdd565b5050509392505050565b600082601f830112612c2357612c226129ea565b5b8135612c33848260208601612ba5565b91505092915050565b600080fd5b600067ffffffffffffffff821115612c5c57612c5b612afe565b5b612c6582612928565b9050602081019050919050565b82818337600083830152505050565b6000612c94612c8f84612c41565b612b5e565b905082815260208101848484011115612cb057612caf612c3c565b5b612cbb848285612c72565b509392505050565b600082601f830112612cd857612cd76129ea565b5b8135612ce8848260208601612c81565b91505092915050565b600080600080600060a08688031215612d0d57612d0c6126c5565b5b6000612d1b88828901612718565b9550506020612d2c88828901612718565b945050604086013567ffffffffffffffff811115612d4d57612d4c6126ca565b5b612d5988828901612c0e565b935050606086013567ffffffffffffffff811115612d7a57612d796126ca565b5b612d8688828901612c0e565b925050608086013567ffffffffffffffff811115612da757612da66126ca565b5b612db388828901612cc3565b9150509295509295909350565b600067ffffffffffffffff821115612ddb57612dda612afe565b5b602082029050602081019050919050565b6000612dff612dfa84612dc0565b612b5e565b90508083825260208201905060208402830185811115612e2257612e216129f4565b5b835b81811015612e4b5780612e378882612718565b845260208401935050602081019050612e24565b5050509392505050565b600082601f830112612e6a57612e696129ea565b5b8135612e7a848260208601612dec565b91505092915050565b60008060408385031215612e9a57612e996126c5565b5b600083013567ffffffffffffffff811115612eb857612eb76126ca565b5b612ec485828601612e55565b925050602083013567ffffffffffffffff811115612ee557612ee46126ca565b5b612ef185828601612c0e565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612f308161272d565b82525050565b6000612f428383612f27565b60208301905092915050565b6000602082019050919050565b6000612f6682612efb565b612f708185612f06565b9350612f7b83612f17565b8060005b83811015612fac578151612f938882612f36565b9750612f9e83612f4e565b925050600181019050612f7f565b5085935050505092915050565b60006020820190508181036000830152612fd38184612f5b565b905092915050565b60008060408385031215612ff257612ff16126c5565b5b600061300085828601612718565b9250506020613011858286016129d5565b9150509250929050565b60008060408385031215613032576130316126c5565b5b600061304085828601612718565b925050602061305185828601612718565b9150509250929050565b600080600080600060a08688031215613077576130766126c5565b5b600061308588828901612718565b955050602061309688828901612718565b94505060406130a78882890161274e565b93505060606130b88882890161274e565b925050608086013567ffffffffffffffff8111156130d9576130d86126ca565b5b6130e588828901612cc3565b9150509295509295909350565b600060208284031215613108576131076126c5565b5b6000613116848285016129d5565b91505092915050565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061317b602a836128ed565b91506131868261311f565b604082019050919050565b600060208201905081810360008301526131aa8161316e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131f857607f821691505b60208210810361320b5761320a6131b1565b5b50919050565b7f4d696e742064697361626c656400000000000000000000000000000000000000600082015250565b6000613247600d836128ed565b915061325282613211565b602082019050919050565b600060208201905081810360008301526132768161323a565b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b60006132b3600e836128ed565b91506132be8261327d565b602082019050919050565b600060208201905081810360008301526132e2816132a6565b9050919050565b60008160601b9050919050565b6000613301826132e9565b9050919050565b6000613313826132f6565b9050919050565b61332b613326826126ef565b613308565b82525050565b6000819050919050565b61334c6133478261272d565b613331565b82525050565b600061335e828561331a565b60148201915061336e828461333b565b6020820191508190509392505050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b60006133b46011836128ed565b91506133bf8261337e565b602082019050919050565b600060208201905081810360008301526133e3816133a7565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613446602f836128ed565b9150613451826133ea565b604082019050919050565b6000602082019050818103600083015261347581613439565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006134d86029836128ed565b91506134e38261347c565b604082019050919050565b60006020820190508181036000830152613507816134cb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135778261272d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036135a9576135a861353d565b5b600182019050919050565b60006135bf8261272d565b91506135ca8361272d565b92508282026135d88161272d565b915082820484148315176135ef576135ee61353d565b5b5092915050565b7f57726f6e672045544820616d6f756e7400000000000000000000000000000000600082015250565b600061362c6010836128ed565b9150613637826135f6565b602082019050919050565b6000602082019050818103600083015261365b8161361f565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136be6026836128ed565b91506136c982613662565b604082019050919050565b600060208201905081810360008301526136ed816136b1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061372a6020836128ed565b9150613735826136f4565b602082019050919050565b600060208201905081810360008301526137598161371d565b9050919050565b7f4d697373696e672073797374656d206164647265737300000000000000000000600082015250565b60006137966016836128ed565b91506137a182613760565b602082019050919050565b600060208201905081810360008301526137c581613789565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006138286028836128ed565b9150613833826137cc565b604082019050919050565b600060208201905081810360008301526138578161381b565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006138ba6025836128ed565b91506138c58261385e565b604082019050919050565b600060208201905081810360008301526138e9816138ad565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061394c602a836128ed565b9150613957826138f0565b604082019050919050565b6000602082019050818103600083015261397b8161393f565b9050919050565b600061398d8261272d565b91506139988361272d565b92508282019050808211156139b0576139af61353d565b5b92915050565b600060408201905081810360008301526139d08185612f5b565b905081810360208301526139e48184612f5b565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613a496021836128ed565b9150613a54826139ed565b604082019050919050565b60006020820190508181036000830152613a7881613a3c565b9050919050565b6000604082019050613a9460008301856127a3565b613aa160208301846127a3565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613b046029836128ed565b9150613b0f82613aa8565b604082019050919050565b60006020820190508181036000830152613b3381613af7565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613b7b601c83613b3a565b9150613b8682613b45565b601c82019050919050565b6000819050919050565b6000819050919050565b613bb6613bb182613b91565b613b9b565b82525050565b6000613bc782613b6e565b9150613bd38284613ba5565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b6000613c0982613be2565b613c138185613bed565b9350613c238185602086016128fe565b613c2c81612928565b840191505092915050565b600060a082019050613c4c6000830188612994565b613c596020830187612994565b8181036040830152613c6b8186612f5b565b90508181036060830152613c7f8185612f5b565b90508181036080830152613c938184613bfe565b90509695505050505050565b600081519050613cae816127f9565b92915050565b600060208284031215613cca57613cc96126c5565b5b6000613cd884828501613c9f565b91505092915050565b60008160e01c9050919050565b600060033d1115613d0d5760046000803e613d0a600051613ce1565b90505b90565b600060443d10613d9d57613d226126bb565b60043d036004823e80513d602482011167ffffffffffffffff82111715613d4a575050613d9d565b808201805167ffffffffffffffff811115613d685750505050613d9d565b80602083010160043d038501811115613d85575050505050613d9d565b613d9482602001850186612b2d565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613dfc6034836128ed565b9150613e0782613da0565b604082019050919050565b60006020820190508181036000830152613e2b81613def565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613e8e6028836128ed565b9150613e9982613e32565b604082019050919050565b60006020820190508181036000830152613ebd81613e81565b9050919050565b600060a082019050613ed96000830188612994565b613ee66020830187612994565b613ef360408301866127a3565b613f0060608301856127a3565b8181036080830152613f128184613bfe565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000613f836018836128ed565b9150613f8e82613f4d565b602082019050919050565b60006020820190508181036000830152613fb281613f76565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000613fef601f836128ed565b9150613ffa82613fb9565b602082019050919050565b6000602082019050818103600083015261401e81613fe2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006140816022836128ed565b915061408c82614025565b604082019050919050565b600060208201905081810360008301526140b081614074565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006141136022836128ed565b915061411e826140b7565b604082019050919050565b6000602082019050818103600083015261414281614106565b9050919050565b61415281613b91565b82525050565b600060ff82169050919050565b61416e81614158565b82525050565b60006080820190506141896000830187614149565b6141966020830186614165565b6141a36040830185614149565b6141b06060830184614149565b9594505050505056fea26469706673582212208048c4e3d744b47ed85d5a811b8b7afb70fc990c47036adf3edd05d169ce4aab64736f6c63430008110033

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

0000000000000000000000007b3fa375554ffda2c78c21ebdd22c43804ea1515

-----Decoded View---------------
Arg [0] : _systemAddress (address): 0x7B3fA375554Ffda2c78C21eBDd22C43804EA1515

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007b3fa375554ffda2c78c21ebdd22c43804ea1515


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

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