ETH Price: $3,411.84 (+2.94%)

Token

 

Overview

Max Total Supply

2,300

Holders

1,187

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cryptoash.eth
0x3dff236850aff41158182bd032b07df8adb8c5f3
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:
ChainsAirdrop

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : ChainsAirdrop.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";

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

// Contract by: @backseats_eth


// 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 ChainsAirdrop is ERC1155, Ownable {
  using ECDSA for bytes32;

  uint private constant MEGADIAMOND = 1;
  uint private constant DIAMONDM = 2;
  uint private constant DIAMONDF = 3;
  uint private constant PLATINUM = 4;
  uint private constant GOLDM = 5;
  uint private constant GOLDF = 6;
  uint private constant BASE = 7;

  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;

  // Constructor

  constructor(address _systemAddress) ERC1155("https://gateway.pinata.cloud/ipfs/QmRjDoufviftnfQU3xaemNpGuG7co9ub3HJ4LCpdmvYnVH/{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 _diamondMens, bool _goldMens, 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 > 29) {
      mintMegaDiamond(_diamondMens, _goldMens);

    } else if (_ownerCount > 9 && _ownerCount < 30) {
      mintDiamond(_diamondMens, _goldMens);

    } else if (_ownerCount > 5 && _ownerCount < 10) {
      mintPlatinum(_goldMens);

    } else if (_ownerCount > 2 && _ownerCount < 6) {
      mintGold(_goldMens);

    } else {
      mintBase();
    }
  }

  // Private Functions

  function mintMegaDiamond(bool _diamondMens, bool _goldMens) private {
    mint(MEGADIAMOND);
    mintDiamond(_diamondMens, _goldMens);
  }

  function mintDiamond(bool _diamondMens, bool _goldMens) private {
    mint(_diamondMens ? DIAMONDM : DIAMONDF);
    mintPlatinum(_goldMens);
  }

  function mintPlatinum(bool _mens) private {
    mint(PLATINUM);
    mintGold(_mens);
  }

  function mintGold(bool _mens) private {
    mint(_mens ? GOLDM : GOLDF);
    mintBase();
  }

  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;
  }

 }

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 3 of 16 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address");
        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 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: transfer caller is not 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();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), 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);

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

        _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();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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);

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * 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();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * 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);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {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 `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 _beforeTokenTransfer(
        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 4 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 overriden 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        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: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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 a {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 a {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 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 {
                    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 5 of 16 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = 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 6 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 7 of 16 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 be 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 8 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 9 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 10 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 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 12 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);
}

File 13 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 14 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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":"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":"_diamondMens","type":"bool"},{"internalType":"bool","name":"_goldMens","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":"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"}]

60806040523480156200001157600080fd5b50604051620043333803806200433383398181016040528101906200003791906200027c565b604051806080016040528060558152602001620042de605591396200006281620000cb60201b60201c565b506200008362000077620000e760201b60201c565b620000ef60201b60201c565b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200035b565b8060029080519060200190620000e3929190620001b5565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001c390620002dc565b90600052602060002090601f016020900481019282620001e7576000855562000233565b82601f106200020257805160ff191683800117855562000233565b8280016001018555821562000233579182015b828111156200023257825182559160200191906001019062000215565b5b50905062000242919062000246565b5090565b5b808211156200026157600081600090555060010162000247565b5090565b600081519050620002768162000341565b92915050565b6000602082840312156200028f57600080fd5b60006200029f8482850162000265565b91505092915050565b6000620002b582620002bc565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620002f557607f821691505b602082108114156200030c576200030b62000312565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200034c81620002a8565b81146200035857600080fd5b50565b613f73806200036b6000396000f3fe608060405234801561001057600080fd5b506004361061010a5760003560e01c8063715018a6116100a2578063d3e848f111610071578063d3e848f1146102b5578063e985e9c5146102d3578063f242432a14610303578063f2fde38b1461031f578063f46a04eb1461033b5761010a565b8063715018a6146102535780638da5cb5b1461025d578063a22cb4651461027b578063d1239730146102975761010a565b80632eac4717116100de5780632eac4717146101bb5780632eb2c2d6146101d757806338e21cce146101f35780634e1273f4146102235761010a565b8062fdd58e1461010f57806301ffc9a71461013f578063062101971461016f5780630e89341c1461018b575b600080fd5b61012960048036038101906101249190612963565b610357565b6040516101369190613462565b60405180910390f35b61015960048036038101906101549190612a34565b610420565b6040516101669190613140565b60405180910390f35b61018960048036038101906101849190612774565b610502565b005b6101a560048036038101906101a09190612a86565b6105c2565b6040516101b291906131a0565b60405180910390f35b6101d560048036038101906101d09190612aaf565b610656565b005b6101f160048036038101906101ec91906127d9565b610891565b005b61020d60048036038101906102089190612774565b610932565b60405161021a9190613140565b60405180910390f35b61023d6004803603810190610238919061299f565b610952565b60405161024a91906130e7565b60405180910390f35b61025b610b03565b005b610265610b8b565b604051610272919061300a565b60405180910390f35b61029560048036038101906102909190612927565b610bb5565b005b61029f610bcb565b6040516102ac9190613140565b60405180910390f35b6102bd610bde565b6040516102ca919061300a565b60405180910390f35b6102ed60048036038101906102e8919061279d565b610c04565b6040516102fa9190613140565b60405180910390f35b61031d60048036038101906103189190612898565b610c98565b005b61033960048036038101906103349190612774565b610d39565b005b61035560048036038101906103509190612a0b565b610e31565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103bf90613262565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa82610eca565b5b9050919050565b61050a610f34565b73ffffffffffffffffffffffffffffffffffffffff16610528610b8b565b73ffffffffffffffffffffffffffffffffffffffff161461057e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610575906133a2565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600280546105d1906136f3565b80601f01602080910402602001604051908101604052809291908181526020018280546105fd906136f3565b801561064a5780601f1061061f5761010080835404028352916020019161064a565b820191906000526020600020905b81548152906001019060200180831161062d57829003601f168201915b50505050509050919050565b600360149054906101000a900460ff166106a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069c906133c2565b60405180910390fd5b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072990613222565b60405180910390fd5b6001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506107bd33866040516020016107a0929190612fb8565b604051602081830303815290604052805190602001208383610f3c565b6107fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f3906132c2565b60405180910390fd5b601d8511156108145761080f848461108d565b61088a565b6009851180156108245750601e85105b156108385761083384846110a5565b610889565b6005851180156108485750600a85105b1561085b57610856836110c9565b610888565b60028511801561086b5750600685105b1561087e57610879836110df565b610887565b610886611101565b5b5b5b5b5050505050565b610899610f34565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108df57506108de856108d9610f34565b610c04565b5b61091e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091590613322565b60405180910390fd5b61092b858585858561110d565b5050505050565b60056020528060005260406000206000915054906101000a900460ff1681565b60608151835114610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f90613402565b60405180910390fd5b6000835167ffffffffffffffff8111156109db577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a095781602001602082028036833780820191505090505b50905060005b8451811015610af857610aa2858281518110610a54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610357565b828281518110610adb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610af190613756565b9050610a0f565b508091505092915050565b610b0b610f34565b73ffffffffffffffffffffffffffffffffffffffff16610b29610b8b565b73ffffffffffffffffffffffffffffffffffffffff1614610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b76906133a2565b60405180910390fd5b610b89600061146d565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610bc7610bc0610f34565b8383611533565b5050565b600360149054906101000a900460ff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610ca0610f34565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ce65750610ce585610ce0610f34565b610c04565b5b610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c906132a2565b60405180910390fd5b610d3285858585856116a0565b5050505050565b610d41610f34565b73ffffffffffffffffffffffffffffffffffffffff16610d5f610b8b565b73ffffffffffffffffffffffffffffffffffffffff1614610db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dac906133a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90613282565b60405180910390fd5b610e2e8161146d565b50565b610e39610f34565b73ffffffffffffffffffffffffffffffffffffffff16610e57610b8b565b73ffffffffffffffffffffffffffffffffffffffff1614610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea4906133a2565b60405180910390fd5b80600360146101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690613342565b60405180910390fd5b6000610fda85611922565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661106c85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508361195290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b6110976001611979565b6110a182826110a5565b5050565b6110bc826110b45760036110b7565b60025b611979565b6110c5816110c9565b5050565b6110d36004611979565b6110dc816110df565b50565b6110f6816110ee5760066110f1565b60055b611979565b6110fe611101565b50565b61110b6007611979565b565b8151835114611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890613422565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156111c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b890613302565b60405180910390fd5b60006111cb610f34565b90506111db818787878787611998565b60005b84518110156113d8576000858281518110611222577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611267577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff90613382565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113bd91906135d0565b92505081905550505050806113d190613756565b90506111de565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161144f929190613109565b60405180910390a46114658187878787876119a0565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611599906133e2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116939190613140565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790613302565b60405180910390fd5b600061171a610f34565b905061173a81878761172b88611b87565b61173488611b87565b87611998565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890613382565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188691906135d0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161190392919061347d565b60405180910390a4611919828888888888611c4d565b50505050505050565b6000816040516020016119359190612fe4565b604051602081830303815290604052805190602001209050919050565b60008060006119618585611e34565b9150915061196e81611eb7565b819250505092915050565b6119953382600160405180602001604052806000815250612208565b50565b505050505050565b6119bf8473ffffffffffffffffffffffffffffffffffffffff1661239e565b15611b7f578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611a05959493929190613025565b602060405180830381600087803b158015611a1f57600080fd5b505af1925050508015611a5057506040513d601f19601f82011682018060405250810190611a4d9190612a5d565b60015b611af657611a5c613864565b806308c379a01415611ab95750611a71613e4b565b80611a7c5750611abb565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab091906131a0565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed906131e2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7490613202565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115611bcc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611bfa5781602001602082028036833780820191505090505b5090508281600081518110611c38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b611c6c8473ffffffffffffffffffffffffffffffffffffffff1661239e565b15611e2c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611cb295949392919061308d565b602060405180830381600087803b158015611ccc57600080fd5b505af1925050508015611cfd57506040513d601f19601f82011682018060405250810190611cfa9190612a5d565b60015b611da357611d09613864565b806308c379a01415611d665750611d1e613e4b565b80611d295750611d68565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d91906131a0565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9a906131e2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2190613202565b60405180910390fd5b505b505050505050565b600080604183511415611e765760008060006020860151925060408601519150606086015160001a9050611e6a878285856123c1565b94509450505050611eb0565b604083511415611ea7576000806020850151915060408501519050611e9c8683836124ce565b935093505050611eb0565b60006002915091505b9250929050565b60006004811115611ef1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611f3557612205565b60016004811115611f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611fa8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe0906131c2565b60405180910390fd5b60026004811115612023577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561205c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561209d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209490613242565b60405180910390fd5b600360048111156120d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612110577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612151576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612148906132e2565b60405180910390fd5b60048081111561218a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156121c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90613362565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613442565b60405180910390fd5b6000612282610f34565b90506122a38160008761229488611b87565b61229d88611b87565b87611998565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230291906135d0565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161238092919061347d565b60405180910390a461239781600087878787611c4d565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156123fc5760006003915091506124c5565b601b8560ff16141580156124145750601c8560ff1614155b156124265760006004915091506124c5565b60006001878787876040516000815260200160405260405161244b949392919061315b565b6020604051602081039080840390855afa15801561246d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124bc576000600192509250506124c5565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61251191906135d0565b905061251f878288856123c1565b935093505050935093915050565b600061254061253b846134cb565b6134a6565b9050808382526020820190508285602086028201111561255f57600080fd5b60005b8581101561258f57816125758882612643565b845260208401935060208301925050600181019050612562565b5050509392505050565b60006125ac6125a7846134f7565b6134a6565b905080838252602082019050828560208602820111156125cb57600080fd5b60005b858110156125fb57816125e1888261275f565b8452602084019350602083019250506001810190506125ce565b5050509392505050565b600061261861261384613523565b6134a6565b90508281526020810184848401111561263057600080fd5b61263b8482856136b1565b509392505050565b60008135905061265281613ee1565b92915050565b600082601f83011261266957600080fd5b813561267984826020860161252d565b91505092915050565b600082601f83011261269357600080fd5b81356126a3848260208601612599565b91505092915050565b6000813590506126bb81613ef8565b92915050565b6000813590506126d081613f0f565b92915050565b6000815190506126e581613f0f565b92915050565b60008083601f8401126126fd57600080fd5b8235905067ffffffffffffffff81111561271657600080fd5b60208301915083600182028301111561272e57600080fd5b9250929050565b600082601f83011261274657600080fd5b8135612756848260208601612605565b91505092915050565b60008135905061276e81613f26565b92915050565b60006020828403121561278657600080fd5b600061279484828501612643565b91505092915050565b600080604083850312156127b057600080fd5b60006127be85828601612643565b92505060206127cf85828601612643565b9150509250929050565b600080600080600060a086880312156127f157600080fd5b60006127ff88828901612643565b955050602061281088828901612643565b945050604086013567ffffffffffffffff81111561282d57600080fd5b61283988828901612682565b935050606086013567ffffffffffffffff81111561285657600080fd5b61286288828901612682565b925050608086013567ffffffffffffffff81111561287f57600080fd5b61288b88828901612735565b9150509295509295909350565b600080600080600060a086880312156128b057600080fd5b60006128be88828901612643565b95505060206128cf88828901612643565b94505060406128e08882890161275f565b93505060606128f18882890161275f565b925050608086013567ffffffffffffffff81111561290e57600080fd5b61291a88828901612735565b9150509295509295909350565b6000806040838503121561293a57600080fd5b600061294885828601612643565b9250506020612959858286016126ac565b9150509250929050565b6000806040838503121561297657600080fd5b600061298485828601612643565b92505060206129958582860161275f565b9150509250929050565b600080604083850312156129b257600080fd5b600083013567ffffffffffffffff8111156129cc57600080fd5b6129d885828601612658565b925050602083013567ffffffffffffffff8111156129f557600080fd5b612a0185828601612682565b9150509250929050565b600060208284031215612a1d57600080fd5b6000612a2b848285016126ac565b91505092915050565b600060208284031215612a4657600080fd5b6000612a54848285016126c1565b91505092915050565b600060208284031215612a6f57600080fd5b6000612a7d848285016126d6565b91505092915050565b600060208284031215612a9857600080fd5b6000612aa68482850161275f565b91505092915050565b600080600080600060808688031215612ac757600080fd5b6000612ad58882890161275f565b9550506020612ae6888289016126ac565b9450506040612af7888289016126ac565b935050606086013567ffffffffffffffff811115612b1457600080fd5b612b20888289016126eb565b92509250509295509295909350565b6000612b3b8383612f74565b60208301905092915050565b612b5081613626565b82525050565b612b67612b6282613626565b61379f565b82525050565b6000612b7882613564565b612b828185613592565b9350612b8d83613554565b8060005b83811015612bbe578151612ba58882612b2f565b9750612bb083613585565b925050600181019050612b91565b5085935050505092915050565b612bd481613638565b82525050565b612be381613644565b82525050565b612bfa612bf582613644565b6137b1565b82525050565b6000612c0b8261356f565b612c1581856135a3565b9350612c258185602086016136c0565b612c2e81613886565b840191505092915050565b6000612c448261357a565b612c4e81856135b4565b9350612c5e8185602086016136c0565b612c6781613886565b840191505092915050565b6000612c7f6018836135b4565b9150612c8a826138b1565b602082019050919050565b6000612ca26034836135b4565b9150612cad826138da565b604082019050919050565b6000612cc56028836135b4565b9150612cd082613929565b604082019050919050565b6000612ce8600e836135b4565b9150612cf382613978565b602082019050919050565b6000612d0b601f836135b4565b9150612d16826139a1565b602082019050919050565b6000612d2e601c836135c5565b9150612d39826139ca565b601c82019050919050565b6000612d51602b836135b4565b9150612d5c826139f3565b604082019050919050565b6000612d746026836135b4565b9150612d7f82613a42565b604082019050919050565b6000612d976029836135b4565b9150612da282613a91565b604082019050919050565b6000612dba6011836135b4565b9150612dc582613ae0565b602082019050919050565b6000612ddd6022836135b4565b9150612de882613b09565b604082019050919050565b6000612e006025836135b4565b9150612e0b82613b58565b604082019050919050565b6000612e236032836135b4565b9150612e2e82613ba7565b604082019050919050565b6000612e466016836135b4565b9150612e5182613bf6565b602082019050919050565b6000612e696022836135b4565b9150612e7482613c1f565b604082019050919050565b6000612e8c602a836135b4565b9150612e9782613c6e565b604082019050919050565b6000612eaf6020836135b4565b9150612eba82613cbd565b602082019050919050565b6000612ed2600d836135b4565b9150612edd82613ce6565b602082019050919050565b6000612ef56029836135b4565b9150612f0082613d0f565b604082019050919050565b6000612f186029836135b4565b9150612f2382613d5e565b604082019050919050565b6000612f3b6028836135b4565b9150612f4682613dad565b604082019050919050565b6000612f5e6021836135b4565b9150612f6982613dfc565b604082019050919050565b612f7d8161369a565b82525050565b612f8c8161369a565b82525050565b612fa3612f9e8261369a565b6137cd565b82525050565b612fb2816136a4565b82525050565b6000612fc48285612b56565b601482019150612fd48284612f92565b6020820191508190509392505050565b6000612fef82612d21565b9150612ffb8284612be9565b60208201915081905092915050565b600060208201905061301f6000830184612b47565b92915050565b600060a08201905061303a6000830188612b47565b6130476020830187612b47565b81810360408301526130598186612b6d565b9050818103606083015261306d8185612b6d565b905081810360808301526130818184612c00565b90509695505050505050565b600060a0820190506130a26000830188612b47565b6130af6020830187612b47565b6130bc6040830186612f83565b6130c96060830185612f83565b81810360808301526130db8184612c00565b90509695505050505050565b600060208201905081810360008301526131018184612b6d565b905092915050565b600060408201905081810360008301526131238185612b6d565b905081810360208301526131378184612b6d565b90509392505050565b60006020820190506131556000830184612bcb565b92915050565b60006080820190506131706000830187612bda565b61317d6020830186612fa9565b61318a6040830185612bda565b6131976060830184612bda565b95945050505050565b600060208201905081810360008301526131ba8184612c39565b905092915050565b600060208201905081810360008301526131db81612c72565b9050919050565b600060208201905081810360008301526131fb81612c95565b9050919050565b6000602082019050818103600083015261321b81612cb8565b9050919050565b6000602082019050818103600083015261323b81612cdb565b9050919050565b6000602082019050818103600083015261325b81612cfe565b9050919050565b6000602082019050818103600083015261327b81612d44565b9050919050565b6000602082019050818103600083015261329b81612d67565b9050919050565b600060208201905081810360008301526132bb81612d8a565b9050919050565b600060208201905081810360008301526132db81612dad565b9050919050565b600060208201905081810360008301526132fb81612dd0565b9050919050565b6000602082019050818103600083015261331b81612df3565b9050919050565b6000602082019050818103600083015261333b81612e16565b9050919050565b6000602082019050818103600083015261335b81612e39565b9050919050565b6000602082019050818103600083015261337b81612e5c565b9050919050565b6000602082019050818103600083015261339b81612e7f565b9050919050565b600060208201905081810360008301526133bb81612ea2565b9050919050565b600060208201905081810360008301526133db81612ec5565b9050919050565b600060208201905081810360008301526133fb81612ee8565b9050919050565b6000602082019050818103600083015261341b81612f0b565b9050919050565b6000602082019050818103600083015261343b81612f2e565b9050919050565b6000602082019050818103600083015261345b81612f51565b9050919050565b60006020820190506134776000830184612f83565b92915050565b60006040820190506134926000830185612f83565b61349f6020830184612f83565b9392505050565b60006134b06134c1565b90506134bc8282613725565b919050565b6000604051905090565b600067ffffffffffffffff8211156134e6576134e5613835565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561351257613511613835565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561353e5761353d613835565b5b61354782613886565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006135db8261369a565b91506135e68361369a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561361b5761361a6137d7565b5b828201905092915050565b60006136318261367a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156136de5780820151818401526020810190506136c3565b838111156136ed576000848401525b50505050565b6000600282049050600182168061370b57607f821691505b6020821081141561371f5761371e613806565b5b50919050565b61372e82613886565b810181811067ffffffffffffffff8211171561374d5761374c613835565b5b80604052505050565b60006137618261369a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613794576137936137d7565b5b600182019050919050565b60006137aa826137bb565b9050919050565b6000819050919050565b60006137c682613897565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156138835760046000803e6138806000516138a4565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4d697373696e672073797374656d206164647265737300000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e742064697361626c656400000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613e5b57613ede565b613e636134c1565b60043d036004823e80513d602482011167ffffffffffffffff82111715613e8b575050613ede565b808201805167ffffffffffffffff811115613ea95750505050613ede565b80602083010160043d038501811115613ec6575050505050613ede565b613ed582602001850186613725565b82955050505050505b90565b613eea81613626565b8114613ef557600080fd5b50565b613f0181613638565b8114613f0c57600080fd5b50565b613f188161364e565b8114613f2357600080fd5b50565b613f2f8161369a565b8114613f3a57600080fd5b5056fea2646970667358221220fba4ea804842403993346b537a3cab705bf418a92b91b569bf67de22555a069564736f6c6343000804003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d526a446f7566766966746e665155337861656d4e7047754737636f39756233484a344c4370646d76596e56482f7b69647d000000000000000000000000c7c90983ca76b2e53472987ce10ca166575e9414

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010a5760003560e01c8063715018a6116100a2578063d3e848f111610071578063d3e848f1146102b5578063e985e9c5146102d3578063f242432a14610303578063f2fde38b1461031f578063f46a04eb1461033b5761010a565b8063715018a6146102535780638da5cb5b1461025d578063a22cb4651461027b578063d1239730146102975761010a565b80632eac4717116100de5780632eac4717146101bb5780632eb2c2d6146101d757806338e21cce146101f35780634e1273f4146102235761010a565b8062fdd58e1461010f57806301ffc9a71461013f578063062101971461016f5780630e89341c1461018b575b600080fd5b61012960048036038101906101249190612963565b610357565b6040516101369190613462565b60405180910390f35b61015960048036038101906101549190612a34565b610420565b6040516101669190613140565b60405180910390f35b61018960048036038101906101849190612774565b610502565b005b6101a560048036038101906101a09190612a86565b6105c2565b6040516101b291906131a0565b60405180910390f35b6101d560048036038101906101d09190612aaf565b610656565b005b6101f160048036038101906101ec91906127d9565b610891565b005b61020d60048036038101906102089190612774565b610932565b60405161021a9190613140565b60405180910390f35b61023d6004803603810190610238919061299f565b610952565b60405161024a91906130e7565b60405180910390f35b61025b610b03565b005b610265610b8b565b604051610272919061300a565b60405180910390f35b61029560048036038101906102909190612927565b610bb5565b005b61029f610bcb565b6040516102ac9190613140565b60405180910390f35b6102bd610bde565b6040516102ca919061300a565b60405180910390f35b6102ed60048036038101906102e8919061279d565b610c04565b6040516102fa9190613140565b60405180910390f35b61031d60048036038101906103189190612898565b610c98565b005b61033960048036038101906103349190612774565b610d39565b005b61035560048036038101906103509190612a0b565b610e31565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156103c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103bf90613262565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104eb57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806104fb57506104fa82610eca565b5b9050919050565b61050a610f34565b73ffffffffffffffffffffffffffffffffffffffff16610528610b8b565b73ffffffffffffffffffffffffffffffffffffffff161461057e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610575906133a2565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600280546105d1906136f3565b80601f01602080910402602001604051908101604052809291908181526020018280546105fd906136f3565b801561064a5780601f1061061f5761010080835404028352916020019161064a565b820191906000526020600020905b81548152906001019060200180831161062d57829003601f168201915b50505050509050919050565b600360149054906101000a900460ff166106a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069c906133c2565b60405180910390fd5b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610732576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072990613222565b60405180910390fd5b6001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506107bd33866040516020016107a0929190612fb8565b604051602081830303815290604052805190602001208383610f3c565b6107fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f3906132c2565b60405180910390fd5b601d8511156108145761080f848461108d565b61088a565b6009851180156108245750601e85105b156108385761083384846110a5565b610889565b6005851180156108485750600a85105b1561085b57610856836110c9565b610888565b60028511801561086b5750600685105b1561087e57610879836110df565b610887565b610886611101565b5b5b5b5b5050505050565b610899610f34565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806108df57506108de856108d9610f34565b610c04565b5b61091e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091590613322565b60405180910390fd5b61092b858585858561110d565b5050505050565b60056020528060005260406000206000915054906101000a900460ff1681565b60608151835114610998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098f90613402565b60405180910390fd5b6000835167ffffffffffffffff8111156109db577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a095781602001602082028036833780820191505090505b50905060005b8451811015610af857610aa2858281518110610a54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610357565b828281518110610adb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610af190613756565b9050610a0f565b508091505092915050565b610b0b610f34565b73ffffffffffffffffffffffffffffffffffffffff16610b29610b8b565b73ffffffffffffffffffffffffffffffffffffffff1614610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b76906133a2565b60405180910390fd5b610b89600061146d565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610bc7610bc0610f34565b8383611533565b5050565b600360149054906101000a900460ff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610ca0610f34565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ce65750610ce585610ce0610f34565b610c04565b5b610d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1c906132a2565b60405180910390fd5b610d3285858585856116a0565b5050505050565b610d41610f34565b73ffffffffffffffffffffffffffffffffffffffff16610d5f610b8b565b73ffffffffffffffffffffffffffffffffffffffff1614610db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dac906133a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c90613282565b60405180910390fd5b610e2e8161146d565b50565b610e39610f34565b73ffffffffffffffffffffffffffffffffffffffff16610e57610b8b565b73ffffffffffffffffffffffffffffffffffffffff1614610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea4906133a2565b60405180910390fd5b80600360146101000a81548160ff02191690831515021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc690613342565b60405180910390fd5b6000610fda85611922565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661106c85858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508361195290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b6110976001611979565b6110a182826110a5565b5050565b6110bc826110b45760036110b7565b60025b611979565b6110c5816110c9565b5050565b6110d36004611979565b6110dc816110df565b50565b6110f6816110ee5760066110f1565b60055b611979565b6110fe611101565b50565b61110b6007611979565b565b8151835114611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114890613422565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156111c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b890613302565b60405180910390fd5b60006111cb610f34565b90506111db818787878787611998565b60005b84518110156113d8576000858281518110611222577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611267577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff90613382565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113bd91906135d0565b92505081905550505050806113d190613756565b90506111de565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161144f929190613109565b60405180910390a46114658187878787876119a0565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156115a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611599906133e2565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116939190613140565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170790613302565b60405180910390fd5b600061171a610f34565b905061173a81878761172b88611b87565b61173488611b87565b87611998565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890613382565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188691906135d0565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161190392919061347d565b60405180910390a4611919828888888888611c4d565b50505050505050565b6000816040516020016119359190612fe4565b604051602081830303815290604052805190602001209050919050565b60008060006119618585611e34565b9150915061196e81611eb7565b819250505092915050565b6119953382600160405180602001604052806000815250612208565b50565b505050505050565b6119bf8473ffffffffffffffffffffffffffffffffffffffff1661239e565b15611b7f578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611a05959493929190613025565b602060405180830381600087803b158015611a1f57600080fd5b505af1925050508015611a5057506040513d601f19601f82011682018060405250810190611a4d9190612a5d565b60015b611af657611a5c613864565b806308c379a01415611ab95750611a71613e4b565b80611a7c5750611abb565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab091906131a0565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed906131e2565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7490613202565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115611bcc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611bfa5781602001602082028036833780820191505090505b5090508281600081518110611c38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b611c6c8473ffffffffffffffffffffffffffffffffffffffff1661239e565b15611e2c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611cb295949392919061308d565b602060405180830381600087803b158015611ccc57600080fd5b505af1925050508015611cfd57506040513d601f19601f82011682018060405250810190611cfa9190612a5d565b60015b611da357611d09613864565b806308c379a01415611d665750611d1e613e4b565b80611d295750611d68565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5d91906131a0565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9a906131e2565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2190613202565b60405180910390fd5b505b505050505050565b600080604183511415611e765760008060006020860151925060408601519150606086015160001a9050611e6a878285856123c1565b94509450505050611eb0565b604083511415611ea7576000806020850151915060408501519050611e9c8683836124ce565b935093505050611eb0565b60006002915091505b9250929050565b60006004811115611ef1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611f2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611f3557612205565b60016004811115611f6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115611fa8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415611fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe0906131c2565b60405180910390fd5b60026004811115612023577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561205c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561209d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209490613242565b60405180910390fd5b600360048111156120d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612110577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612151576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612148906132e2565b60405180910390fd5b60048081111561218a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156121c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fb90613362565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226f90613442565b60405180910390fd5b6000612282610f34565b90506122a38160008761229488611b87565b61229d88611b87565b87611998565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230291906135d0565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161238092919061347d565b60405180910390a461239781600087878787611c4d565b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156123fc5760006003915091506124c5565b601b8560ff16141580156124145750601c8560ff1614155b156124265760006004915091506124c5565b60006001878787876040516000815260200160405260405161244b949392919061315b565b6020604051602081039080840390855afa15801561246d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124bc576000600192509250506124c5565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61251191906135d0565b905061251f878288856123c1565b935093505050935093915050565b600061254061253b846134cb565b6134a6565b9050808382526020820190508285602086028201111561255f57600080fd5b60005b8581101561258f57816125758882612643565b845260208401935060208301925050600181019050612562565b5050509392505050565b60006125ac6125a7846134f7565b6134a6565b905080838252602082019050828560208602820111156125cb57600080fd5b60005b858110156125fb57816125e1888261275f565b8452602084019350602083019250506001810190506125ce565b5050509392505050565b600061261861261384613523565b6134a6565b90508281526020810184848401111561263057600080fd5b61263b8482856136b1565b509392505050565b60008135905061265281613ee1565b92915050565b600082601f83011261266957600080fd5b813561267984826020860161252d565b91505092915050565b600082601f83011261269357600080fd5b81356126a3848260208601612599565b91505092915050565b6000813590506126bb81613ef8565b92915050565b6000813590506126d081613f0f565b92915050565b6000815190506126e581613f0f565b92915050565b60008083601f8401126126fd57600080fd5b8235905067ffffffffffffffff81111561271657600080fd5b60208301915083600182028301111561272e57600080fd5b9250929050565b600082601f83011261274657600080fd5b8135612756848260208601612605565b91505092915050565b60008135905061276e81613f26565b92915050565b60006020828403121561278657600080fd5b600061279484828501612643565b91505092915050565b600080604083850312156127b057600080fd5b60006127be85828601612643565b92505060206127cf85828601612643565b9150509250929050565b600080600080600060a086880312156127f157600080fd5b60006127ff88828901612643565b955050602061281088828901612643565b945050604086013567ffffffffffffffff81111561282d57600080fd5b61283988828901612682565b935050606086013567ffffffffffffffff81111561285657600080fd5b61286288828901612682565b925050608086013567ffffffffffffffff81111561287f57600080fd5b61288b88828901612735565b9150509295509295909350565b600080600080600060a086880312156128b057600080fd5b60006128be88828901612643565b95505060206128cf88828901612643565b94505060406128e08882890161275f565b93505060606128f18882890161275f565b925050608086013567ffffffffffffffff81111561290e57600080fd5b61291a88828901612735565b9150509295509295909350565b6000806040838503121561293a57600080fd5b600061294885828601612643565b9250506020612959858286016126ac565b9150509250929050565b6000806040838503121561297657600080fd5b600061298485828601612643565b92505060206129958582860161275f565b9150509250929050565b600080604083850312156129b257600080fd5b600083013567ffffffffffffffff8111156129cc57600080fd5b6129d885828601612658565b925050602083013567ffffffffffffffff8111156129f557600080fd5b612a0185828601612682565b9150509250929050565b600060208284031215612a1d57600080fd5b6000612a2b848285016126ac565b91505092915050565b600060208284031215612a4657600080fd5b6000612a54848285016126c1565b91505092915050565b600060208284031215612a6f57600080fd5b6000612a7d848285016126d6565b91505092915050565b600060208284031215612a9857600080fd5b6000612aa68482850161275f565b91505092915050565b600080600080600060808688031215612ac757600080fd5b6000612ad58882890161275f565b9550506020612ae6888289016126ac565b9450506040612af7888289016126ac565b935050606086013567ffffffffffffffff811115612b1457600080fd5b612b20888289016126eb565b92509250509295509295909350565b6000612b3b8383612f74565b60208301905092915050565b612b5081613626565b82525050565b612b67612b6282613626565b61379f565b82525050565b6000612b7882613564565b612b828185613592565b9350612b8d83613554565b8060005b83811015612bbe578151612ba58882612b2f565b9750612bb083613585565b925050600181019050612b91565b5085935050505092915050565b612bd481613638565b82525050565b612be381613644565b82525050565b612bfa612bf582613644565b6137b1565b82525050565b6000612c0b8261356f565b612c1581856135a3565b9350612c258185602086016136c0565b612c2e81613886565b840191505092915050565b6000612c448261357a565b612c4e81856135b4565b9350612c5e8185602086016136c0565b612c6781613886565b840191505092915050565b6000612c7f6018836135b4565b9150612c8a826138b1565b602082019050919050565b6000612ca26034836135b4565b9150612cad826138da565b604082019050919050565b6000612cc56028836135b4565b9150612cd082613929565b604082019050919050565b6000612ce8600e836135b4565b9150612cf382613978565b602082019050919050565b6000612d0b601f836135b4565b9150612d16826139a1565b602082019050919050565b6000612d2e601c836135c5565b9150612d39826139ca565b601c82019050919050565b6000612d51602b836135b4565b9150612d5c826139f3565b604082019050919050565b6000612d746026836135b4565b9150612d7f82613a42565b604082019050919050565b6000612d976029836135b4565b9150612da282613a91565b604082019050919050565b6000612dba6011836135b4565b9150612dc582613ae0565b602082019050919050565b6000612ddd6022836135b4565b9150612de882613b09565b604082019050919050565b6000612e006025836135b4565b9150612e0b82613b58565b604082019050919050565b6000612e236032836135b4565b9150612e2e82613ba7565b604082019050919050565b6000612e466016836135b4565b9150612e5182613bf6565b602082019050919050565b6000612e696022836135b4565b9150612e7482613c1f565b604082019050919050565b6000612e8c602a836135b4565b9150612e9782613c6e565b604082019050919050565b6000612eaf6020836135b4565b9150612eba82613cbd565b602082019050919050565b6000612ed2600d836135b4565b9150612edd82613ce6565b602082019050919050565b6000612ef56029836135b4565b9150612f0082613d0f565b604082019050919050565b6000612f186029836135b4565b9150612f2382613d5e565b604082019050919050565b6000612f3b6028836135b4565b9150612f4682613dad565b604082019050919050565b6000612f5e6021836135b4565b9150612f6982613dfc565b604082019050919050565b612f7d8161369a565b82525050565b612f8c8161369a565b82525050565b612fa3612f9e8261369a565b6137cd565b82525050565b612fb2816136a4565b82525050565b6000612fc48285612b56565b601482019150612fd48284612f92565b6020820191508190509392505050565b6000612fef82612d21565b9150612ffb8284612be9565b60208201915081905092915050565b600060208201905061301f6000830184612b47565b92915050565b600060a08201905061303a6000830188612b47565b6130476020830187612b47565b81810360408301526130598186612b6d565b9050818103606083015261306d8185612b6d565b905081810360808301526130818184612c00565b90509695505050505050565b600060a0820190506130a26000830188612b47565b6130af6020830187612b47565b6130bc6040830186612f83565b6130c96060830185612f83565b81810360808301526130db8184612c00565b90509695505050505050565b600060208201905081810360008301526131018184612b6d565b905092915050565b600060408201905081810360008301526131238185612b6d565b905081810360208301526131378184612b6d565b90509392505050565b60006020820190506131556000830184612bcb565b92915050565b60006080820190506131706000830187612bda565b61317d6020830186612fa9565b61318a6040830185612bda565b6131976060830184612bda565b95945050505050565b600060208201905081810360008301526131ba8184612c39565b905092915050565b600060208201905081810360008301526131db81612c72565b9050919050565b600060208201905081810360008301526131fb81612c95565b9050919050565b6000602082019050818103600083015261321b81612cb8565b9050919050565b6000602082019050818103600083015261323b81612cdb565b9050919050565b6000602082019050818103600083015261325b81612cfe565b9050919050565b6000602082019050818103600083015261327b81612d44565b9050919050565b6000602082019050818103600083015261329b81612d67565b9050919050565b600060208201905081810360008301526132bb81612d8a565b9050919050565b600060208201905081810360008301526132db81612dad565b9050919050565b600060208201905081810360008301526132fb81612dd0565b9050919050565b6000602082019050818103600083015261331b81612df3565b9050919050565b6000602082019050818103600083015261333b81612e16565b9050919050565b6000602082019050818103600083015261335b81612e39565b9050919050565b6000602082019050818103600083015261337b81612e5c565b9050919050565b6000602082019050818103600083015261339b81612e7f565b9050919050565b600060208201905081810360008301526133bb81612ea2565b9050919050565b600060208201905081810360008301526133db81612ec5565b9050919050565b600060208201905081810360008301526133fb81612ee8565b9050919050565b6000602082019050818103600083015261341b81612f0b565b9050919050565b6000602082019050818103600083015261343b81612f2e565b9050919050565b6000602082019050818103600083015261345b81612f51565b9050919050565b60006020820190506134776000830184612f83565b92915050565b60006040820190506134926000830185612f83565b61349f6020830184612f83565b9392505050565b60006134b06134c1565b90506134bc8282613725565b919050565b6000604051905090565b600067ffffffffffffffff8211156134e6576134e5613835565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561351257613511613835565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561353e5761353d613835565b5b61354782613886565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006135db8261369a565b91506135e68361369a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561361b5761361a6137d7565b5b828201905092915050565b60006136318261367a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156136de5780820151818401526020810190506136c3565b838111156136ed576000848401525b50505050565b6000600282049050600182168061370b57607f821691505b6020821081141561371f5761371e613806565b5b50919050565b61372e82613886565b810181811067ffffffffffffffff8211171561374d5761374c613835565b5b80604052505050565b60006137618261369a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613794576137936137d7565b5b600182019050919050565b60006137aa826137bb565b9050919050565b6000819050919050565b60006137c682613897565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156138835760046000803e6138806000516138a4565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f4d697373696e672073797374656d206164647265737300000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e742064697361626c656400000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015613e5b57613ede565b613e636134c1565b60043d036004823e80513d602482011167ffffffffffffffff82111715613e8b575050613ede565b808201805167ffffffffffffffff811115613ea95750505050613ede565b80602083010160043d038501811115613ec6575050505050613ede565b613ed582602001850186613725565b82955050505050505b90565b613eea81613626565b8114613ef557600080fd5b50565b613f0181613638565b8114613f0c57600080fd5b50565b613f188161364e565b8114613f2357600080fd5b50565b613f2f8161369a565b8114613f3a57600080fd5b5056fea2646970667358221220fba4ea804842403993346b537a3cab705bf418a92b91b569bf67de22555a069564736f6c63430008040033

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

000000000000000000000000c7c90983ca76b2e53472987ce10ca166575e9414

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c7c90983ca76b2e53472987ce10ca166575e9414


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

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