ETH Price: $3,477.51 (+0.83%)

Token

MOLFAR666 (MOLFAR666)
 

Overview

Max Total Supply

666 MOLFAR666

Holders

443

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
emilios.eth
0xf6df8128e3b7a579c2dac631b1dadb12a4fbf0b2
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:
MOLFAR666

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 17 : MOLFAR666.sol
// SPDX-License-Identifier: MIT
//
//
//        MOLFAR by Ukraines
//
//    Smart Contract v2 by Ryan Meyers
//
//    Generosity attracts generosity
//   The world will be saved by beauty
//
//

pragma solidity ^0.8.16;

import "ERC1155Burnable.sol";

import "Ownable.sol";

import "ERC2981.sol";

import "draft-EIP712.sol";
import "ECDSA.sol";

import "Base64.sol";
import "Strings.sol";


contract MOLFAR666 is ERC2981, EIP712, ERC1155Burnable, Ownable {

  error ExceedsMaxSupply();
  error AlreadyMinted();
  error NotAllowed();
  error BadTiming();
  // error NeedMoreEther();
  error BadMintKey();

  struct MintKey {
    address wallet;
    uint8 generation;
  }

  bytes32 private constant MINTKEY_TYPE_HASH = keccak256("MintKey(address wallet,uint8 generation)");

  address private _signer;

  uint16 public MAX_SUPPLY = 666;
  uint16 public TOTAL_SUPPLY = 40;
  uint8 public GENERATION = 6;
  bool public MINT_OPEN = false;

  mapping(address => bool) private _minted;
  
  string public imageURI = "ipfs://bafybeibdd4hnmikjaly7pgl5zjhgxq2knvy6kbrmxdkgb5cdk2amlsg47a/molfar.gif";

  string public name;
  string public symbol;

  constructor(
      string memory name_,
      string memory symbol_,
      address signer,
      address receiver
    )
     ERC1155("")
     EIP712(name_, "1")
    {
      setSigner(signer);
      symbol = symbol_;
      name = name_;
      _mint(msg.sender, 666, TOTAL_SUPPLY, "");
      
      _setDefaultRoyalty(receiver, 1000);

    }

    
    function mint(bytes calldata signature) public {
      if (!MINT_OPEN) revert BadTiming();
      // if (msg.sender.balance < 0.15 ether) revert NeedMoreEther();
      if (_minted[msg.sender]) revert AlreadyMinted();
      if (!verify(signature)) revert BadMintKey();
      if (TOTAL_SUPPLY >= MAX_SUPPLY) revert ExceedsMaxSupply();
      
      _minted[msg.sender] = true;
      TOTAL_SUPPLY += 1;

      _mint(msg.sender, 666, 1, "");
      
      

      if(TOTAL_SUPPLY == MAX_SUPPLY){
        MINT_OPEN = false;
        GENERATION += 1;
      }

    }

    function hasMinted(address minter) public view returns (bool) {
      return _minted[minter];
    }


    // Setter methods
    function setSigner(address signer) public onlyOwner {
      _signer = signer;
    }
    
    function setImageURI(string memory uri_) public onlyOwner {
      imageURI = uri_;
    }

    function openMint() public onlyOwner {
      MINT_OPEN = true;
    }

    function closeMint() public onlyOwner {
      MINT_OPEN = false;
    }

    function setRoyalty(address receiver, uint96 feeNumerator) public onlyOwner {
      _setDefaultRoyalty(receiver, feeNumerator);
    }

    function SEED_PUZZLE_HINT() public pure returns (string memory) {
      return "Roget+BIP39";
    }

    function verify(bytes calldata signature) public view returns (bool) {
    bytes32 digest = _hashTypedDataV4(
        keccak256(
            abi.encode(
                MINTKEY_TYPE_HASH,
                msg.sender,
                GENERATION
            )
        )
      );

      return ECDSA.recover(digest, signature) == _signer;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256) public view virtual returns (string memory) {
        string memory baseURI = "data:application/json;base64,";
        string memory json = string(
            abi.encodePacked(
                '{"name": "DARK MOLFAR", "description": "MOLFAR is considered a powerful magician who is capable of many miracles. However, what exactly this magician is hiding, and what secrets are hidden under his cloak? What will happen next and what opportunities will be opened? The only way is to join the story or leave with nothing...", "image":"',
                imageURI,
                '", "attributes": [{"trait_type": "Magic", "value": "Dark"}]}'
            )
        );
        string memory jsonBase64Encoded = Base64.encode(bytes(json));
        return string(abi.encodePacked(baseURI, jsonBase64Encoded));
    }

    function uri(uint256 _id) public view virtual override returns (string memory) {
        return tokenURI(_id);
    }

   

    // Override to support royalties via ERC2981
    function supportsInterface(
    bytes4 interfaceId
    ) public view virtual override(ERC1155, ERC2981) returns (bool) {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return 
            ERC1155.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId) ||
            super.supportsInterface(interfaceId);
    }

}

// if you made it this far, you deserve a good fork.
// go mint one at forkhunger.art and feed someone real food

File 2 of 17 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

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

pragma solidity ^0.8.0;

import "IERC1155.sol";
import "IERC1155Receiver.sol";
import "IERC1155MetadataURI.sol";
import "Address.sol";
import "Context.sol";
import "ERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.0;

import "IERC165.sol";

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

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

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

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

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

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

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

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

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

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

File 5 of 17 : 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 6 of 17 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 17 : 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 10 of 17 : 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 11 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 12 of 17 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "IERC2981.sol";
import "ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 13 of 17 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 14 of 17 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

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

pragma solidity ^0.8.0;

import "Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "MOLFAR666.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"receiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyMinted","type":"error"},{"inputs":[],"name":"BadMintKey","type":"error"},{"inputs":[],"name":"BadTiming","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"NotAllowed","type":"error"},{"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":[],"name":"GENERATION","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_OPEN","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEED_PUZZLE_HINT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMint","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"string","name":"uri_","type":"string"}],"name":"setImageURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6006805465ffffffffffff60a01b191664030014014d60a11b1790556101c0604052604d6101408181529062003a6d61016039600890620000419082620007a8565b503480156200004f57600080fd5b5060405162003aba38038062003aba83398101604081905262000072916200095e565b6040805160208082018352600082528251808401845260018152603160f81b9082015286518782012060e08190527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66101008190524660a081815286517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818701819052818901959095526060810193909352608080840192909252308382018190528751808503909201825260c09384019097528051940193909320909252929052610120919091526200014781620001c3565b506200015333620001d5565b6200015e8262000227565b600a6200016c8482620007a8565b5060096200017b8582620007a8565b50600654604080516020810190915260008152620001ab91339161029a91600160b01b900461ffff169062000253565b620001b9816103e862000377565b5050505062000b94565b6004620001d18282620007a8565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200023162000478565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038416620002b95760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b336000620002c785620004d6565b90506000620002d685620004d6565b905060008681526002602090815260408083206001600160a01b038b168452909152812080548792906200030c908490620009ed565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46200036e836000898989896200052c565b50505050505050565b6127106001600160601b0382161115620003e75760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401620002b0565b6001600160a01b0382166200043f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620002b0565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6005546001600160a01b03163314620004d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620002b0565b565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811062000513576200051362000a15565b602090810291909101015292915050565b505050505050565b6200054b846001600160a01b0316620006f860201b62000d5d1760201c565b15620005245760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619062000587908990899088908890889060040162000a59565b6020604051808303816000875af1925050508015620005c5575060408051601f3d908101601f19168201909252620005c29181019062000aa0565b60015b6200068557620005d462000ad3565b806308c379a003620006145750620005eb62000af0565b80620005f8575062000616565b8060405162461bcd60e51b8152600401620002b0919062000b7f565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401620002b0565b6001600160e01b0319811663f23a6e6160e01b146200036e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401620002b0565b6001600160a01b03163b151590565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200073257607f821691505b6020821081036200075357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007a357600081815260208120601f850160051c81016020861015620007825750805b601f850160051c820191505b8181101562000524578281556001016200078e565b505050565b81516001600160401b03811115620007c457620007c462000707565b620007dc81620007d584546200071d565b8462000759565b602080601f831160018114620008145760008415620007fb5750858301515b600019600386901b1c1916600185901b17855562000524565b600085815260208120601f198616915b82811015620008455788860151825594840194600190910190840162000824565b5085821015620008645787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b601f8201601f191681016001600160401b03811182821017156200089c576200089c62000707565b6040525050565b60005b83811015620008c0578181015183820152602001620008a6565b50506000910152565b600082601f830112620008db57600080fd5b81516001600160401b03811115620008f757620008f762000707565b60405162000910601f8301601f19166020018262000874565b8181528460208386010111156200092657600080fd5b62000939826020830160208701620008a3565b949350505050565b80516001600160a01b03811681146200095957600080fd5b919050565b600080600080608085870312156200097557600080fd5b84516001600160401b03808211156200098d57600080fd5b6200099b88838901620008c9565b95506020870151915080821115620009b257600080fd5b50620009c187828801620008c9565b935050620009d26040860162000941565b9150620009e26060860162000941565b905092959194509250565b8082018082111562000a0f57634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603260045260246000fd5b6000815180845262000a45816020860160208601620008a3565b601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009062000a959083018462000a2b565b979650505050505050565b60006020828403121562000ab357600080fd5b81516001600160e01b03198116811462000acc57600080fd5b9392505050565b600060033d111562000aed5760046000803e5060005160e01c5b90565b600060443d101562000aff5790565b6040516003193d81016004833e81513d6001600160401b03808311602484018310171562000b2f57505050505090565b828501915081518181111562000b485750505050505090565b843d870101602082850101111562000b635750505050505090565b62000b746020828601018762000874565b509095945050505050565b60208152600062000acc602083018462000a2b565b60805160a05160c05160e0516101005161012051612e8962000be46000396000611b8501526000611bd401526000611baf01526000611b0801526000611b3201526000611b5c0152612e896000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80636b20c4541161010f57806395d89b41116100a2578063e985e9c511610071578063e985e9c514610466578063f242432a146104a2578063f2fde38b146104b5578063f5298aca146104c857600080fd5b806395d89b4114610430578063a22cb46514610438578063bce6d6721461044b578063c87b56dd1461045357600080fd5b80638da5cb5b116100de5780638da5cb5b146103da5780638e760afe146103f55780638f2fc60b14610408578063902d55a51461041b57600080fd5b80636b20c454146103995780636c19e783146103ac578063715018a6146103bf5780637ba0e2e7146103c757600080fd5b806317edaba01161018757806338e21cce1161015657806338e21cce1461031e5780634e1273f41461034a5780634e5b0b091461036a57806364f101f01461039157600080fd5b806317edaba01461028b5780632a55205a146102b15780632eb2c2d6146102e357806332cb6b0c146102f657600080fd5b806306fdde03116101c357806306fdde0314610247578063088b69431461025c5780630e89341c14610270578063135d088d1461028357600080fd5b8062fdd58e146101e957806301ffc9a71461020f57806304787ca214610232575b600080fd5b6101fc6101f7366004611f26565b6104db565b6040519081526020015b60405180910390f35b61022261021d366004611f66565b610576565b6040519015158152602001610206565b610245610240366004612029565b61059f565b005b61024f6105b7565b60405161020691906120c9565b60065461022290600160c81b900460ff1681565b61024f61027e3660046120dc565b610645565b61024f610650565b60065461029f90600160c01b900460ff1681565b60405160ff9091168152602001610206565b6102c46102bf3660046120f5565b61065d565b604080516001600160a01b039093168352602083019190915201610206565b6102456102f13660046121cb565b61070b565b60065461030b90600160a01b900461ffff1681565b60405161ffff9091168152602001610206565b61022261032c366004612274565b6001600160a01b031660009081526007602052604090205460ff1690565b61035d61035836600461228f565b610757565b6040516102069190612394565b60408051808201909152600b81526a526f6765742b424950333960a81b602082015261024f565b610245610880565b6102456103a73660046123a7565b610897565b6102456103ba366004612274565b6108df565b610245610909565b6102456103d536600461241a565b61091d565b6005546040516001600160a01b039091168152602001610206565b61022261040336600461241a565b610aab565b61024561041636600461248b565b610b7b565b60065461030b90600160b01b900461ffff1681565b61024f610b8d565b6102456104463660046124ce565b610b9a565b610245610ba5565b61024f6104613660046120dc565b610bc2565b6102226104743660046124ff565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b6102456104b0366004612532565b610c5c565b6102456104c3366004612274565b610ca1565b6102456104d6366004612596565b610d1a565b60006001600160a01b03831661054b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b600061058182610d6c565b80610590575061059082610da8565b80610570575061057082610d6c565b6105a7610ddd565b60086105b38282612649565b5050565b600980546105c4906125c9565b80601f01602080910402602001604051908101604052809291908181526020018280546105f0906125c9565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b505050505081565b606061057082610bc2565b600880546105c4906125c9565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916106d25750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906106f1906001600160601b03168761271e565b6106fb919061273d565b91519350909150505b9250929050565b6001600160a01b03851633148061072757506107278533610474565b6107435760405162461bcd60e51b81526004016105429061275f565b6107508585858585610e37565b5050505050565b606081518351146107bc5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610542565b600083516001600160401b038111156107d7576107d7611f8a565b604051908082528060200260200182016040528015610800578160200160208202803683370190505b50905060005b84518110156108785761084b858281518110610824576108246127ae565b602002602001015185838151811061083e5761083e6127ae565b60200260200101516104db565b82828151811061085d5761085d6127ae565b6020908102919091010152610871816127c4565b9050610806565b509392505050565b610888610ddd565b6006805460ff60c81b19169055565b6001600160a01b0383163314806108b357506108b38333610474565b6108cf5760405162461bcd60e51b81526004016105429061275f565b6108da838383610fd6565b505050565b6108e7610ddd565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610911610ddd565b61091b6000611164565b565b600654600160c81b900460ff16610947576040516304edaab360e31b815260040160405180910390fd5b3360009081526007602052604090205460ff161561097857604051631bbdf5c560e31b815260040160405180910390fd5b6109828282610aab565b61099f5760405163d53ed59d60e01b815260040160405180910390fd5b60065461ffff600160a01b82048116600160b01b90920416106109d55760405163c30436e960e01b815260040160405180910390fd5b336000908152600760205260409020805460ff1916600190811790915560068054601690610a1090849061ffff600160b01b909104166127dd565b92506101000a81548161ffff021916908361ffff160217905550610a483361029a6001604051806020016040528060008152506111b6565b60065461ffff600160a01b82048116600160b01b90920416036105b3576006805460ff60c81b191680825560019190601890610a8f908490600160c01b900460ff166127ff565b92506101000a81548160ff021916908360ff1602179055505050565b600654604080517fa8b4b6824077a7943d129df560351b2976c6adf9e0be005ece17ca25bdf3620060208201523391810191909152600160c01b90910460ff1660608201526000908190610b1790608001604051602081830303815290604052805190602001206112cc565b600654604080516020601f88018190048102820181019092528681529293506001600160a01b0390911691610b6991849190889088908190840183828082843760009201919091525061131a92505050565b6001600160a01b031614949350505050565b610b83610ddd565b6105b38282611336565b600a80546105c4906125c9565b6105b3338383611433565b610bad610ddd565b6006805460ff60c81b1916600160c81b179055565b606060006040518060400160405280601d81526020017f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250905060006008604051602001610c12919061288b565b60405160208183030381529060405290506000610c2e82611513565b90508281604051602001610c43929190612a83565b6040516020818303038152906040529350505050919050565b6001600160a01b038516331480610c785750610c788533610474565b610c945760405162461bcd60e51b81526004016105429061275f565b6107508585858585611665565b610ca9610ddd565b6001600160a01b038116610d0e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610542565b610d1781611164565b50565b6001600160a01b038316331480610d365750610d368333610474565b610d525760405162461bcd60e51b81526004016105429061275f565b6108da838383611793565b6001600160a01b03163b151590565b60006001600160e01b03198216636cdb3d1360e11b1480610d9d57506001600160e01b031982166303a24d0760e21b145b806105705750610570825b60006001600160e01b0319821663152a902d60e11b148061057057506301ffc9a760e01b6001600160e01b0319831614610570565b6005546001600160a01b0316331461091b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610542565b8151835114610e585760405162461bcd60e51b815260040161054290612ab2565b6001600160a01b038416610e7e5760405162461bcd60e51b815260040161054290612afa565b3360005b8451811015610f68576000858281518110610e9f57610e9f6127ae565b602002602001015190506000858381518110610ebd57610ebd6127ae565b60209081029190910181015160008481526002835260408082206001600160a01b038e168352909352919091205490915081811015610f0e5760405162461bcd60e51b815260040161054290612b3f565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610f4d908490612b89565b9250508190555050505080610f61906127c4565b9050610e82565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610fb8929190612b9c565b60405180910390a4610fce81878787878761189a565b505050505050565b6001600160a01b038316610ffc5760405162461bcd60e51b815260040161054290612bca565b805182511461101d5760405162461bcd60e51b815260040161054290612ab2565b604080516020810190915260009081905233905b83518110156110f657600084828151811061104e5761104e6127ae565b60200260200101519050600084838151811061106c5761106c6127ae565b60209081029190910181015160008481526002835260408082206001600160a01b038c1683529093529190912054909150818110156110bd5760405162461bcd60e51b815260040161054290612c0d565b60009283526002602090815260408085206001600160a01b038b16865290915290922091039055806110ee816127c4565b915050611031565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611147929190612b9c565b60405180910390a460408051602081019091526000905250505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166112165760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610542565b336000611222856119f5565b9050600061122f856119f5565b905060008681526002602090815260408083206001600160a01b038b16845290915281208054879290611263908490612b89565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46112c383600089898989611a40565b50505050505050565b60006105706112d9611afb565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006113298585611c25565b9150915061087881611c67565b6127106001600160601b03821611156113a45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610542565b6001600160a01b0382166113fa5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610542565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b816001600160a01b0316836001600160a01b0316036114a65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610542565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060815160000361153257505060408051602081019091526000815290565b6000604051806060016040528060408152602001612e1460409139905060006003845160026115619190612b89565b61156b919061273d565b61157690600461271e565b6001600160401b0381111561158d5761158d611f8a565b6040519080825280601f01601f1916602001820160405280156115b7576020820181803683370190505b509050600182016020820185865187015b80821015611623576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506115c8565b505060038651066001811461163f57600281146116525761165a565b603d6001830353603d600283035361165a565b603d60018303535b509195945050505050565b6001600160a01b03841661168b5760405162461bcd60e51b815260040161054290612afa565b336000611697856119f5565b905060006116a4856119f5565b905060008681526002602090815260408083206001600160a01b038c168452909152902054858110156116e95760405162461bcd60e51b815260040161054290612b3f565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611728908490612b89565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611788848a8a8a8a8a611a40565b505050505050505050565b6001600160a01b0383166117b95760405162461bcd60e51b815260040161054290612bca565b3360006117c5846119f5565b905060006117d2846119f5565b6040805160208082018352600091829052888252600281528282206001600160a01b038b16835290522054909150848110156118205760405162461bcd60e51b815260040161054290612c0d565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526112c3565b6001600160a01b0384163b15610fce5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906118de9089908990889088908890600401612c51565b6020604051808303816000875af1925050508015611919575060408051601f3d908101601f1916820190925261191691810190612caf565b60015b6119c557611925612ccc565b806308c379a00361195e5750611939612ce7565b806119445750611960565b8060405162461bcd60e51b815260040161054291906120c9565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610542565b6001600160e01b0319811663bc197c8160e01b146112c35760405162461bcd60e51b815260040161054290612d70565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2f57611a2f6127ae565b602090810291909101015292915050565b6001600160a01b0384163b15610fce5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611a849089908990889088908890600401612db8565b6020604051808303816000875af1925050508015611abf575060408051601f3d908101601f19168201909252611abc91810190612caf565b60015b611acb57611925612ccc565b6001600160e01b0319811663f23a6e6160e01b146112c35760405162461bcd60e51b815260040161054290612d70565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611b5457507f000000000000000000000000000000000000000000000000000000000000000046145b15611b7e57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b90565b6000808251604103611c5b5760208301516040840151606085015160001a611c4f87828585611e1d565b94509450505050610704565b50600090506002610704565b6000816004811115611c7b57611c7b612dfd565b03611c835750565b6001816004811115611c9757611c97612dfd565b03611ce45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610542565b6002816004811115611cf857611cf8612dfd565b03611d455760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610542565b6003816004811115611d5957611d59612dfd565b03611db15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610542565b6004816004811115611dc557611dc5612dfd565b03610d175760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610542565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611e545750600090506003611f01565b8460ff16601b14158015611e6c57508460ff16601c14155b15611e7d5750600090506004611f01565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ed1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611efa57600060019250925050611f01565b9150600090505b94509492505050565b80356001600160a01b0381168114611f2157600080fd5b919050565b60008060408385031215611f3957600080fd5b611f4283611f0a565b946020939093013593505050565b6001600160e01b031981168114610d1757600080fd5b600060208284031215611f7857600080fd5b8135611f8381611f50565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611fc557611fc5611f8a565b6040525050565b60006001600160401b03831115611fe557611fe5611f8a565b604051611ffc601f8501601f191660200182611fa0565b80915083815284848401111561201157600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561203b57600080fd5b81356001600160401b0381111561205157600080fd5b8201601f8101841361206257600080fd5b61207184823560208401611fcc565b949350505050565b60005b8381101561209457818101518382015260200161207c565b50506000910152565b600081518084526120b5816020860160208601612079565b601f01601f19169290920160200192915050565b602081526000611f83602083018461209d565b6000602082840312156120ee57600080fd5b5035919050565b6000806040838503121561210857600080fd5b50508035926020909101359150565b60006001600160401b0382111561213057612130611f8a565b5060051b60200190565b600082601f83011261214b57600080fd5b8135602061215882612117565b6040516121658282611fa0565b83815260059390931b850182019282810191508684111561218557600080fd5b8286015b848110156121a05780358352918301918301612189565b509695505050505050565b600082601f8301126121bc57600080fd5b611f8383833560208501611fcc565b600080600080600060a086880312156121e357600080fd5b6121ec86611f0a565b94506121fa60208701611f0a565b935060408601356001600160401b038082111561221657600080fd5b61222289838a0161213a565b9450606088013591508082111561223857600080fd5b61224489838a0161213a565b9350608088013591508082111561225a57600080fd5b50612267888289016121ab565b9150509295509295909350565b60006020828403121561228657600080fd5b611f8382611f0a565b600080604083850312156122a257600080fd5b82356001600160401b03808211156122b957600080fd5b818501915085601f8301126122cd57600080fd5b813560206122da82612117565b6040516122e78282611fa0565b83815260059390931b850182019282810191508984111561230757600080fd5b948201945b8386101561232c5761231d86611f0a565b8252948201949082019061230c565b9650508601359250508082111561234257600080fd5b5061234f8582860161213a565b9150509250929050565b600081518084526020808501945080840160005b838110156123895781518752958201959082019060010161236d565b509495945050505050565b602081526000611f836020830184612359565b6000806000606084860312156123bc57600080fd5b6123c584611f0a565b925060208401356001600160401b03808211156123e157600080fd5b6123ed8783880161213a565b9350604086013591508082111561240357600080fd5b506124108682870161213a565b9150509250925092565b6000806020838503121561242d57600080fd5b82356001600160401b038082111561244457600080fd5b818501915085601f83011261245857600080fd5b81358181111561246757600080fd5b86602082850101111561247957600080fd5b60209290920196919550909350505050565b6000806040838503121561249e57600080fd5b6124a783611f0a565b915060208301356001600160601b03811681146124c357600080fd5b809150509250929050565b600080604083850312156124e157600080fd5b6124ea83611f0a565b9150602083013580151581146124c357600080fd5b6000806040838503121561251257600080fd5b61251b83611f0a565b915061252960208401611f0a565b90509250929050565b600080600080600060a0868803121561254a57600080fd5b61255386611f0a565b945061256160208701611f0a565b9350604086013592506060860135915060808601356001600160401b0381111561258a57600080fd5b612267888289016121ab565b6000806000606084860312156125ab57600080fd5b6125b484611f0a565b95602085013595506040909401359392505050565b600181811c908216806125dd57607f821691505b6020821081036125fd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156108da57600081815260208120601f850160051c8101602086101561262a5750805b601f850160051c820191505b81811015610fce57828155600101612636565b81516001600160401b0381111561266257612662611f8a565b6126768161267084546125c9565b84612603565b602080601f8311600181146126ab57600084156126935750858301515b600019600386901b1c1916600185901b178555610fce565b600085815260208120601f198616915b828110156126da578886015182559484019460019091019084016126bb565b50858210156126f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561273857612738612708565b500290565b60008261275a57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016127d6576127d6612708565b5060010190565b61ffff8181168382160190808211156127f8576127f8612708565b5092915050565b60ff818116838216019081111561057057610570612708565b60008154612825816125c9565b6001828116801561283d576001811461285257612881565b60ff1984168752821515830287019450612881565b8560005260208060002060005b858110156128785781548a82015290840190820161285f565b50505082870194505b5050505092915050565b7f7b226e616d65223a20224441524b204d4f4c464152222c20226465736372697081527f74696f6e223a20224d4f4c46415220697320636f6e736964657265642061207060208201527f6f77657266756c206d6167696369616e2077686f2069732063617061626c652060408201527f6f66206d616e79206d697261636c65732e20486f77657665722c20776861742060608201527f65786163746c792074686973206d6167696369616e20697320686964696e672c60808201527f20616e6420776861742073656372657473206172652068696464656e20756e6460a08201527f65722068697320636c6f616b3f20576861742077696c6c2068617070656e206e60c08201527f65787420616e642077686174206f70706f7274756e69746965732077696c6c2060e08201527f6265206f70656e65643f20546865206f6e6c792077617920697320746f206a6f6101008201527f696e207468652073746f7279206f72206c656176652077697468206e6f7468696101208201527037339717171116101134b6b0b3b2911d1160791b6101408201526000611f83612a34610151840185612818565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a81527f20224d61676963222c202276616c7565223a20224461726b227d5d7d000000006020820152603c0190565b60008351612a95818460208801612079565b835190830190612aa9818360208801612079565b01949350505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b8082018082111561057057610570612708565b604081526000612baf6040830185612359565b8281036020840152612bc18185612359565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612c7d90830186612359565b8281036060840152612c8f8186612359565b90508281036080840152612ca3818561209d565b98975050505050505050565b600060208284031215612cc157600080fd5b8151611f8381611f50565b600060033d1115611c225760046000803e5060005160e01c90565b600060443d1015612cf55790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612d2457505050505090565b8285019150815181811115612d3c5750505050505090565b843d8701016020828501011115612d565750505050505090565b612d6560208286010187611fa0565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612df29083018461209d565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d507b86193d80a27661793e97f3dc63499262b2009cb0282a2e284d6b95ad37964736f6c63430008100033697066733a2f2f6261667962656962646434686e6d696b6a616c793770676c357a6a68677871326b6e7679366b62726d78646b67623563646b32616d6c73673437612f6d6f6c6661722e676966000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000b8623fd6f753952bdae909b9840079e38b8b892000000000000000000000000867fbb4a36f57881091b04bac3d8767a0b12634e00000000000000000000000000000000000000000000000000000000000000094d4f4c464152363636000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094d4f4c4641523636360000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e45760003560e01c80636b20c4541161010f57806395d89b41116100a2578063e985e9c511610071578063e985e9c514610466578063f242432a146104a2578063f2fde38b146104b5578063f5298aca146104c857600080fd5b806395d89b4114610430578063a22cb46514610438578063bce6d6721461044b578063c87b56dd1461045357600080fd5b80638da5cb5b116100de5780638da5cb5b146103da5780638e760afe146103f55780638f2fc60b14610408578063902d55a51461041b57600080fd5b80636b20c454146103995780636c19e783146103ac578063715018a6146103bf5780637ba0e2e7146103c757600080fd5b806317edaba01161018757806338e21cce1161015657806338e21cce1461031e5780634e1273f41461034a5780634e5b0b091461036a57806364f101f01461039157600080fd5b806317edaba01461028b5780632a55205a146102b15780632eb2c2d6146102e357806332cb6b0c146102f657600080fd5b806306fdde03116101c357806306fdde0314610247578063088b69431461025c5780630e89341c14610270578063135d088d1461028357600080fd5b8062fdd58e146101e957806301ffc9a71461020f57806304787ca214610232575b600080fd5b6101fc6101f7366004611f26565b6104db565b6040519081526020015b60405180910390f35b61022261021d366004611f66565b610576565b6040519015158152602001610206565b610245610240366004612029565b61059f565b005b61024f6105b7565b60405161020691906120c9565b60065461022290600160c81b900460ff1681565b61024f61027e3660046120dc565b610645565b61024f610650565b60065461029f90600160c01b900460ff1681565b60405160ff9091168152602001610206565b6102c46102bf3660046120f5565b61065d565b604080516001600160a01b039093168352602083019190915201610206565b6102456102f13660046121cb565b61070b565b60065461030b90600160a01b900461ffff1681565b60405161ffff9091168152602001610206565b61022261032c366004612274565b6001600160a01b031660009081526007602052604090205460ff1690565b61035d61035836600461228f565b610757565b6040516102069190612394565b60408051808201909152600b81526a526f6765742b424950333960a81b602082015261024f565b610245610880565b6102456103a73660046123a7565b610897565b6102456103ba366004612274565b6108df565b610245610909565b6102456103d536600461241a565b61091d565b6005546040516001600160a01b039091168152602001610206565b61022261040336600461241a565b610aab565b61024561041636600461248b565b610b7b565b60065461030b90600160b01b900461ffff1681565b61024f610b8d565b6102456104463660046124ce565b610b9a565b610245610ba5565b61024f6104613660046120dc565b610bc2565b6102226104743660046124ff565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b6102456104b0366004612532565b610c5c565b6102456104c3366004612274565b610ca1565b6102456104d6366004612596565b610d1a565b60006001600160a01b03831661054b5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b600061058182610d6c565b80610590575061059082610da8565b80610570575061057082610d6c565b6105a7610ddd565b60086105b38282612649565b5050565b600980546105c4906125c9565b80601f01602080910402602001604051908101604052809291908181526020018280546105f0906125c9565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b505050505081565b606061057082610bc2565b600880546105c4906125c9565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916106d25750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906106f1906001600160601b03168761271e565b6106fb919061273d565b91519350909150505b9250929050565b6001600160a01b03851633148061072757506107278533610474565b6107435760405162461bcd60e51b81526004016105429061275f565b6107508585858585610e37565b5050505050565b606081518351146107bc5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610542565b600083516001600160401b038111156107d7576107d7611f8a565b604051908082528060200260200182016040528015610800578160200160208202803683370190505b50905060005b84518110156108785761084b858281518110610824576108246127ae565b602002602001015185838151811061083e5761083e6127ae565b60200260200101516104db565b82828151811061085d5761085d6127ae565b6020908102919091010152610871816127c4565b9050610806565b509392505050565b610888610ddd565b6006805460ff60c81b19169055565b6001600160a01b0383163314806108b357506108b38333610474565b6108cf5760405162461bcd60e51b81526004016105429061275f565b6108da838383610fd6565b505050565b6108e7610ddd565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610911610ddd565b61091b6000611164565b565b600654600160c81b900460ff16610947576040516304edaab360e31b815260040160405180910390fd5b3360009081526007602052604090205460ff161561097857604051631bbdf5c560e31b815260040160405180910390fd5b6109828282610aab565b61099f5760405163d53ed59d60e01b815260040160405180910390fd5b60065461ffff600160a01b82048116600160b01b90920416106109d55760405163c30436e960e01b815260040160405180910390fd5b336000908152600760205260409020805460ff1916600190811790915560068054601690610a1090849061ffff600160b01b909104166127dd565b92506101000a81548161ffff021916908361ffff160217905550610a483361029a6001604051806020016040528060008152506111b6565b60065461ffff600160a01b82048116600160b01b90920416036105b3576006805460ff60c81b191680825560019190601890610a8f908490600160c01b900460ff166127ff565b92506101000a81548160ff021916908360ff1602179055505050565b600654604080517fa8b4b6824077a7943d129df560351b2976c6adf9e0be005ece17ca25bdf3620060208201523391810191909152600160c01b90910460ff1660608201526000908190610b1790608001604051602081830303815290604052805190602001206112cc565b600654604080516020601f88018190048102820181019092528681529293506001600160a01b0390911691610b6991849190889088908190840183828082843760009201919091525061131a92505050565b6001600160a01b031614949350505050565b610b83610ddd565b6105b38282611336565b600a80546105c4906125c9565b6105b3338383611433565b610bad610ddd565b6006805460ff60c81b1916600160c81b179055565b606060006040518060400160405280601d81526020017f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250905060006008604051602001610c12919061288b565b60405160208183030381529060405290506000610c2e82611513565b90508281604051602001610c43929190612a83565b6040516020818303038152906040529350505050919050565b6001600160a01b038516331480610c785750610c788533610474565b610c945760405162461bcd60e51b81526004016105429061275f565b6107508585858585611665565b610ca9610ddd565b6001600160a01b038116610d0e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610542565b610d1781611164565b50565b6001600160a01b038316331480610d365750610d368333610474565b610d525760405162461bcd60e51b81526004016105429061275f565b6108da838383611793565b6001600160a01b03163b151590565b60006001600160e01b03198216636cdb3d1360e11b1480610d9d57506001600160e01b031982166303a24d0760e21b145b806105705750610570825b60006001600160e01b0319821663152a902d60e11b148061057057506301ffc9a760e01b6001600160e01b0319831614610570565b6005546001600160a01b0316331461091b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610542565b8151835114610e585760405162461bcd60e51b815260040161054290612ab2565b6001600160a01b038416610e7e5760405162461bcd60e51b815260040161054290612afa565b3360005b8451811015610f68576000858281518110610e9f57610e9f6127ae565b602002602001015190506000858381518110610ebd57610ebd6127ae565b60209081029190910181015160008481526002835260408082206001600160a01b038e168352909352919091205490915081811015610f0e5760405162461bcd60e51b815260040161054290612b3f565b60008381526002602090815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610f4d908490612b89565b9250508190555050505080610f61906127c4565b9050610e82565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610fb8929190612b9c565b60405180910390a4610fce81878787878761189a565b505050505050565b6001600160a01b038316610ffc5760405162461bcd60e51b815260040161054290612bca565b805182511461101d5760405162461bcd60e51b815260040161054290612ab2565b604080516020810190915260009081905233905b83518110156110f657600084828151811061104e5761104e6127ae565b60200260200101519050600084838151811061106c5761106c6127ae565b60209081029190910181015160008481526002835260408082206001600160a01b038c1683529093529190912054909150818110156110bd5760405162461bcd60e51b815260040161054290612c0d565b60009283526002602090815260408085206001600160a01b038b16865290915290922091039055806110ee816127c4565b915050611031565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611147929190612b9c565b60405180910390a460408051602081019091526000905250505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166112165760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610542565b336000611222856119f5565b9050600061122f856119f5565b905060008681526002602090815260408083206001600160a01b038b16845290915281208054879290611263908490612b89565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46112c383600089898989611a40565b50505050505050565b60006105706112d9611afb565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006113298585611c25565b9150915061087881611c67565b6127106001600160601b03821611156113a45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610542565b6001600160a01b0382166113fa5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610542565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b816001600160a01b0316836001600160a01b0316036114a65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610542565b6001600160a01b03838116600081815260036020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060815160000361153257505060408051602081019091526000815290565b6000604051806060016040528060408152602001612e1460409139905060006003845160026115619190612b89565b61156b919061273d565b61157690600461271e565b6001600160401b0381111561158d5761158d611f8a565b6040519080825280601f01601f1916602001820160405280156115b7576020820181803683370190505b509050600182016020820185865187015b80821015611623576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506115c8565b505060038651066001811461163f57600281146116525761165a565b603d6001830353603d600283035361165a565b603d60018303535b509195945050505050565b6001600160a01b03841661168b5760405162461bcd60e51b815260040161054290612afa565b336000611697856119f5565b905060006116a4856119f5565b905060008681526002602090815260408083206001600160a01b038c168452909152902054858110156116e95760405162461bcd60e51b815260040161054290612b3f565b60008781526002602090815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290611728908490612b89565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611788848a8a8a8a8a611a40565b505050505050505050565b6001600160a01b0383166117b95760405162461bcd60e51b815260040161054290612bca565b3360006117c5846119f5565b905060006117d2846119f5565b6040805160208082018352600091829052888252600281528282206001600160a01b038b16835290522054909150848110156118205760405162461bcd60e51b815260040161054290612c0d565b60008681526002602090815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526112c3565b6001600160a01b0384163b15610fce5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906118de9089908990889088908890600401612c51565b6020604051808303816000875af1925050508015611919575060408051601f3d908101601f1916820190925261191691810190612caf565b60015b6119c557611925612ccc565b806308c379a00361195e5750611939612ce7565b806119445750611960565b8060405162461bcd60e51b815260040161054291906120c9565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610542565b6001600160e01b0319811663bc197c8160e01b146112c35760405162461bcd60e51b815260040161054290612d70565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2f57611a2f6127ae565b602090810291909101015292915050565b6001600160a01b0384163b15610fce5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611a849089908990889088908890600401612db8565b6020604051808303816000875af1925050508015611abf575060408051601f3d908101601f19168201909252611abc91810190612caf565b60015b611acb57611925612ccc565b6001600160e01b0319811663f23a6e6160e01b146112c35760405162461bcd60e51b815260040161054290612d70565b6000306001600160a01b037f000000000000000000000000ea823a96eae4126353dc78a851a16b90ee79356816148015611b5457507f000000000000000000000000000000000000000000000000000000000000000146145b15611b7e57507f15b98761b66e049a02c8456336f628b21dc0810373ce194457b38b241477bcf190565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f56f24c7f76080264336a283eb8e2e013c7eef98fbe8c9b927a9bfa3639d43ea3828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b90565b6000808251604103611c5b5760208301516040840151606085015160001a611c4f87828585611e1d565b94509450505050610704565b50600090506002610704565b6000816004811115611c7b57611c7b612dfd565b03611c835750565b6001816004811115611c9757611c97612dfd565b03611ce45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610542565b6002816004811115611cf857611cf8612dfd565b03611d455760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610542565b6003816004811115611d5957611d59612dfd565b03611db15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610542565b6004816004811115611dc557611dc5612dfd565b03610d175760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610542565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611e545750600090506003611f01565b8460ff16601b14158015611e6c57508460ff16601c14155b15611e7d5750600090506004611f01565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ed1573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611efa57600060019250925050611f01565b9150600090505b94509492505050565b80356001600160a01b0381168114611f2157600080fd5b919050565b60008060408385031215611f3957600080fd5b611f4283611f0a565b946020939093013593505050565b6001600160e01b031981168114610d1757600080fd5b600060208284031215611f7857600080fd5b8135611f8381611f50565b9392505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715611fc557611fc5611f8a565b6040525050565b60006001600160401b03831115611fe557611fe5611f8a565b604051611ffc601f8501601f191660200182611fa0565b80915083815284848401111561201157600080fd5b83836020830137600060208583010152509392505050565b60006020828403121561203b57600080fd5b81356001600160401b0381111561205157600080fd5b8201601f8101841361206257600080fd5b61207184823560208401611fcc565b949350505050565b60005b8381101561209457818101518382015260200161207c565b50506000910152565b600081518084526120b5816020860160208601612079565b601f01601f19169290920160200192915050565b602081526000611f83602083018461209d565b6000602082840312156120ee57600080fd5b5035919050565b6000806040838503121561210857600080fd5b50508035926020909101359150565b60006001600160401b0382111561213057612130611f8a565b5060051b60200190565b600082601f83011261214b57600080fd5b8135602061215882612117565b6040516121658282611fa0565b83815260059390931b850182019282810191508684111561218557600080fd5b8286015b848110156121a05780358352918301918301612189565b509695505050505050565b600082601f8301126121bc57600080fd5b611f8383833560208501611fcc565b600080600080600060a086880312156121e357600080fd5b6121ec86611f0a565b94506121fa60208701611f0a565b935060408601356001600160401b038082111561221657600080fd5b61222289838a0161213a565b9450606088013591508082111561223857600080fd5b61224489838a0161213a565b9350608088013591508082111561225a57600080fd5b50612267888289016121ab565b9150509295509295909350565b60006020828403121561228657600080fd5b611f8382611f0a565b600080604083850312156122a257600080fd5b82356001600160401b03808211156122b957600080fd5b818501915085601f8301126122cd57600080fd5b813560206122da82612117565b6040516122e78282611fa0565b83815260059390931b850182019282810191508984111561230757600080fd5b948201945b8386101561232c5761231d86611f0a565b8252948201949082019061230c565b9650508601359250508082111561234257600080fd5b5061234f8582860161213a565b9150509250929050565b600081518084526020808501945080840160005b838110156123895781518752958201959082019060010161236d565b509495945050505050565b602081526000611f836020830184612359565b6000806000606084860312156123bc57600080fd5b6123c584611f0a565b925060208401356001600160401b03808211156123e157600080fd5b6123ed8783880161213a565b9350604086013591508082111561240357600080fd5b506124108682870161213a565b9150509250925092565b6000806020838503121561242d57600080fd5b82356001600160401b038082111561244457600080fd5b818501915085601f83011261245857600080fd5b81358181111561246757600080fd5b86602082850101111561247957600080fd5b60209290920196919550909350505050565b6000806040838503121561249e57600080fd5b6124a783611f0a565b915060208301356001600160601b03811681146124c357600080fd5b809150509250929050565b600080604083850312156124e157600080fd5b6124ea83611f0a565b9150602083013580151581146124c357600080fd5b6000806040838503121561251257600080fd5b61251b83611f0a565b915061252960208401611f0a565b90509250929050565b600080600080600060a0868803121561254a57600080fd5b61255386611f0a565b945061256160208701611f0a565b9350604086013592506060860135915060808601356001600160401b0381111561258a57600080fd5b612267888289016121ab565b6000806000606084860312156125ab57600080fd5b6125b484611f0a565b95602085013595506040909401359392505050565b600181811c908216806125dd57607f821691505b6020821081036125fd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156108da57600081815260208120601f850160051c8101602086101561262a5750805b601f850160051c820191505b81811015610fce57828155600101612636565b81516001600160401b0381111561266257612662611f8a565b6126768161267084546125c9565b84612603565b602080601f8311600181146126ab57600084156126935750858301515b600019600386901b1c1916600185901b178555610fce565b600085815260208120601f198616915b828110156126da578886015182559484019460019091019084016126bb565b50858210156126f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561273857612738612708565b500290565b60008261275a57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252602f908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526e195c881b9bdc88185c1c1c9bdd9959608a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000600182016127d6576127d6612708565b5060010190565b61ffff8181168382160190808211156127f8576127f8612708565b5092915050565b60ff818116838216019081111561057057610570612708565b60008154612825816125c9565b6001828116801561283d576001811461285257612881565b60ff1984168752821515830287019450612881565b8560005260208060002060005b858110156128785781548a82015290840190820161285f565b50505082870194505b5050505092915050565b7f7b226e616d65223a20224441524b204d4f4c464152222c20226465736372697081527f74696f6e223a20224d4f4c46415220697320636f6e736964657265642061207060208201527f6f77657266756c206d6167696369616e2077686f2069732063617061626c652060408201527f6f66206d616e79206d697261636c65732e20486f77657665722c20776861742060608201527f65786163746c792074686973206d6167696369616e20697320686964696e672c60808201527f20616e6420776861742073656372657473206172652068696464656e20756e6460a08201527f65722068697320636c6f616b3f20576861742077696c6c2068617070656e206e60c08201527f65787420616e642077686174206f70706f7274756e69746965732077696c6c2060e08201527f6265206f70656e65643f20546865206f6e6c792077617920697320746f206a6f6101008201527f696e207468652073746f7279206f72206c656176652077697468206e6f7468696101208201527037339717171116101134b6b0b3b2911d1160791b6101408201526000611f83612a34610151840185612818565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a81527f20224d61676963222c202276616c7565223a20224461726b227d5d7d000000006020820152603c0190565b60008351612a95818460208801612079565b835190830190612aa9818360208801612079565b01949350505050565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b8082018082111561057057610570612708565b604081526000612baf6040830185612359565b8281036020840152612bc18185612359565b95945050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b606082015260800190565b6001600160a01b0386811682528516602082015260a060408201819052600090612c7d90830186612359565b8281036060840152612c8f8186612359565b90508281036080840152612ca3818561209d565b98975050505050505050565b600060208284031215612cc157600080fd5b8151611f8381611f50565b600060033d1115611c225760046000803e5060005160e01c90565b600060443d1015612cf55790565b6040516003193d81016004833e81513d6001600160401b038160248401118184111715612d2457505050505090565b8285019150815181811115612d3c5750505050505090565b843d8701016020828501011115612d565750505050505090565b612d6560208286010187611fa0565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090612df29083018461209d565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d507b86193d80a27661793e97f3dc63499262b2009cb0282a2e284d6b95ad37964736f6c63430008100033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000b8623fd6f753952bdae909b9840079e38b8b892000000000000000000000000867fbb4a36f57881091b04bac3d8767a0b12634e00000000000000000000000000000000000000000000000000000000000000094d4f4c464152363636000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000094d4f4c4641523636360000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): MOLFAR666
Arg [1] : symbol_ (string): MOLFAR666
Arg [2] : signer (address): 0x0b8623FD6F753952Bdae909B9840079E38B8B892
Arg [3] : receiver (address): 0x867fBb4a36f57881091b04baC3D8767a0b12634e

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000b8623fd6f753952bdae909b9840079e38b8b892
Arg [3] : 000000000000000000000000867fbb4a36f57881091b04bac3d8767a0b12634e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 4d4f4c4641523636360000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 4d4f4c4641523636360000000000000000000000000000000000000000000000


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.