ETH Price: $3,827.58 (+4.76%)

Token

Dads Specials (DADSSPECIALS)
 

Overview

Max Total Supply

1,805 DADSSPECIALS

Holders

1,434

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x671344e1775435224fd596ddf77628fdf979f29a
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:
DadsSpecials

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : DadsSpecials.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

/*
                                                                         ▄▄▄██
 ████████████████▄▄▄▄                                               ▄█████████
  █████████▀▀▀▀█████████▄                                            ▀████████
  ▐███████▌       ▀████████▄                                          ▐███████
  ▐███████▌         █████████▄                                        ▐███████
  ▐███████▌          ▀████████▌         ▄▄▄▄                    ▄▄▄   ▐███████          ▄▄▄▄
  ▐███████▌           █████████▌   ▄█████▀▀█████▄▄         ▄█████▀▀███████████     ▄█████▀▀██████▄
  ▐███████▌            █████████ ▐██████    ▐██████▄     ▄█████▌     ▀████████   ▄██████    ▐██████
  ▐███████▌            █████████ ▐█████      ███████▌   ███████       ████████  ▐███████▌    ▀█████
  ▐███████▌            ▐████████       ▄▄▄▄  ▐███████  ▐███████       ▐███████   ██████████▄▄
  ▐███████▌            ▐███████▌   ▄███████▀█████████  ████████       ▐███████    ██████████████▄▄
  ▐███████▌            ███████▌  ▄███████    ▐███████▌ ▐███████       ▐███████      ▀▀█████████████
  ▐███████▌           ▄██████▀   ████████     ████████  ████████      ▐███████   ████▄    ▀▀███████▌
  ▐████████▄        ▄██████▀     ████████     ████████   ███████▌     ▐███████  ███████     ▐██████▌
 ▄██████████████████████▀         ▀███████▄  ▄█████████▄  ▀███████▄  ▄█████████  ▀██████▄   ██████▀
 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀                ▀▀▀████▀▀▀  ▀▀▀▀▀▀▀▀     ▀▀▀████▀▀  ▀▀▀▀▀▀▀▀    ▀▀▀▀████▀▀▀▀

*/

import { GenericCollection } from "@mikker/contracts/contracts/GenericCollection.sol";

contract DadsSpecials is GenericCollection {
  constructor(string memory contractURI, address royalties)
    GenericCollection(
      "Dads Specials",
      "DADSSPECIALS",
      contractURI,
      royalties,
      750
    )
  {}
}

File 2 of 14 : GenericCollection.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/*

        ████████████
      ██            ██
    ██              ██▓▓
    ██            ████▓▓▓▓▓▓
    ██      ██████▓▓▒▒▓▓▓▓▓▓▓▓
    ████████▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒
    ██    ████████▓▓▒▒▒▒▒▒▒▒▒▒
    ██            ██▓▓▒▒▒▒▒▒▒▒
    ██              ██▓▓▓▓▓▓▓▓
    ██    ██      ██    ██       '||''|.                    ||           '||
    ██                  ██        ||   ||  ... ..   ....   ...  .. ...    || ...    ...   ... ... ...
      ██              ██          ||'''|.   ||' '' '' .||   ||   ||  ||   ||'  || .|  '|.  ||  ||  |
        ██          ██            ||    ||  ||     .|' ||   ||   ||  ||   ||    | ||   ||   ||| |||
          ██████████             .||...|'  .||.    '|..'|' .||. .||. ||.  '|...'   '|..|'    |   |

*/

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import { IERC2981, IERC165 } from "@openzeppelin/contracts/interfaces/IERC2981.sol";

/**
 * @dev A general purpose ERC1155 collection.
 * Supports common royalty standards like OpenSea's contractURI and ERC2981.
 * Mint new works directly on the contract with mint() or grant the MINTER role to a
 * separate contract with more advanced functionality.
 */
contract GenericCollection is ERC1155, AccessControl {
  string public name;
  string public symbol;

  bytes32 private constant MINTER = keccak256("MINTER");

  mapping(uint256 => string) private _uris;
  string private _contractURI;

  address private _royaltiesReceiver;
  uint256 private _royaltiesPercentage;

  constructor(
    string memory name_,
    string memory symbol_,
    string memory contractURI_,
    address royaltiesReceiver,
    uint256 royaltiesPercentage
  ) ERC1155("") {
    name = name_;
    symbol = symbol_;

    _contractURI = contractURI_;
    _royaltiesReceiver = royaltiesReceiver;
    _royaltiesPercentage = royaltiesPercentage;

    _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
    _grantRole(MINTER, _msgSender());
  }

  // Access Control

  function grantMint(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
    grantRole(MINTER, account);
  }

  function revokeMint(address account) public onlyRole(DEFAULT_ADMIN_ROLE) {
    revokeRole(MINTER, account);
  }

  // Minting

  function mint(
    uint256 id,
    uint256 amount,
    string memory tokenUri,
    address destination
  ) public onlyRole(MINTER) {
    setUri(id, tokenUri);
    _mint(destination, id, amount, "");
  }

  // Metadata

  function setUri(uint256 id, string memory tokenUri) public onlyRole(MINTER) {
    _uris[id] = tokenUri;
  }

  function uri(uint256 id) public view virtual override returns (string memory) {
    return _uris[id];
  }

  function contractURI() public view returns (string memory) {
    return _contractURI;
  }

  function setContractURI(string memory contractURI_) public onlyRole(DEFAULT_ADMIN_ROLE) {
    _contractURI = contractURI_;
  }

  // IERC2981

  function setRoyaltyInfo(address royaltiesReceiver, uint256 royaltiesPercentage) public onlyRole(DEFAULT_ADMIN_ROLE) {
    _royaltiesReceiver = royaltiesReceiver;
    _royaltiesPercentage = royaltiesPercentage;
  }

  function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address, uint256 royaltyAmount) {
    tokenId; // silence solc warning
    royaltyAmount = (salePrice / 10000) * _royaltiesPercentage;
    return (_royaltiesReceiver, royaltyAmount);
  }

  // ERC165

  function supportsInterface(bytes4 interfaceId) public view override(ERC1155, AccessControl) returns (bool) {
    return interfaceId == type(IERC2981).interfaceId || interfaceId == type(AccessControl).interfaceId || super.supportsInterface(interfaceId);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();
        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}.
     *
     * 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`
     *
     * 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}.
     *
     * 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 a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @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 14 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

import "../utils/introspection/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 6 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : 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 11 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 13 of 14 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 14 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"address","name":"royalties","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"},{"internalType":"address","name":"destination","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":"royaltyAmount","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":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltiesReceiver","type":"address"},{"internalType":"uint256","name":"royaltiesPercentage","type":"uint256"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"setUri","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":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620043a7380380620043a7833981810160405281019062000037919062000602565b6040518060400160405280600d81526020017f44616473205370656369616c73000000000000000000000000000000000000008152506040518060400160405280600c81526020017f444144535350454349414c53000000000000000000000000000000000000000081525083836102ee60405180602001604052806000815250620000c981620001cf60201b60201c565b508460049080519060200190620000e292919062000350565b508360059080519060200190620000fb92919062000350565b5082600790805190602001906200011492919062000350565b5081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600981905550620001816000801b62000175620001eb60201b60201c565b620001f360201b60201c565b620001c27ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9620001b6620001eb60201b60201c565b620001f360201b60201c565b50505050505050620006cd565b8060029080519060200190620001e792919062000350565b5050565b600033905090565b620002058282620002e560201b60201c565b620002e15760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000286620001eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280546200035e9062000697565b90600052602060002090601f016020900481019282620003825760008555620003ce565b82601f106200039d57805160ff1916838001178555620003ce565b82800160010185558215620003ce579182015b82811115620003cd578251825591602001919060010190620003b0565b5b509050620003dd9190620003e1565b5090565b5b80821115620003fc576000816000905550600101620003e2565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000469826200041e565b810181811067ffffffffffffffff821117156200048b576200048a6200042f565b5b80604052505050565b6000620004a062000400565b9050620004ae82826200045e565b919050565b600067ffffffffffffffff821115620004d157620004d06200042f565b5b620004dc826200041e565b9050602081019050919050565b60005b8381101562000509578082015181840152602081019050620004ec565b8381111562000519576000848401525b50505050565b6000620005366200053084620004b3565b62000494565b90508281526020810184848401111562000555576200055462000419565b5b62000562848285620004e9565b509392505050565b600082601f83011262000582576200058162000414565b5b8151620005948482602086016200051f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005ca826200059d565b9050919050565b620005dc81620005bd565b8114620005e857600080fd5b50565b600081519050620005fc81620005d1565b92915050565b600080604083850312156200061c576200061b6200040a565b5b600083015167ffffffffffffffff8111156200063d576200063c6200040f565b5b6200064b858286016200056a565b92505060206200065e85828601620005eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006b057607f821691505b60208210811415620006c757620006c662000668565b5b50919050565b613cca80620006dd6000396000f3fe608060405234801561001057600080fd5b50600436106101575760003560e01c806391d14854116100c3578063c72216e11161007c578063c72216e1146103e7578063d547741f14610403578063e2e784d51461041f578063e8a3d4851461043b578063e985e9c514610459578063f242432a1461048957610157565b806391d1485414610327578063938e3d7b1461035757806395d89b4114610373578063a06d8fc714610391578063a217fddf146103ad578063a22cb465146103cb57610157565b80632eb2c2d6116101155780632eb2c2d61461026b5780632f2ff15d1461028757806336568abe146102a35780633935bac6146102bf5780634e1273f4146102db578063782f08ae1461030b57610157565b8062fdd58e1461015c57806301ffc9a71461018c57806306fdde03146101bc5780630e89341c146101da578063248a9ca31461020a5780632a55205a1461023a575b600080fd5b61017660048036038101906101719190612410565b6104a5565b604051610183919061245f565b60405180910390f35b6101a660048036038101906101a191906124d2565b61056e565b6040516101b3919061251a565b60405180910390f35b6101c4610650565b6040516101d191906125ce565b60405180910390f35b6101f460048036038101906101ef91906125f0565b6106de565b60405161020191906125ce565b60405180910390f35b610224600480360381019061021f9190612653565b610783565b604051610231919061268f565b60405180910390f35b610254600480360381019061024f91906126aa565b6107a3565b6040516102629291906126f9565b60405180910390f35b6102856004803603810190610280919061291f565b6107ef565b005b6102a1600480360381019061029c91906129ee565b610890565b005b6102bd60048036038101906102b891906129ee565b6108b1565b005b6102d960048036038101906102d49190612a2e565b610934565b005b6102f560048036038101906102f09190612b1e565b61096f565b6040516103029190612c54565b60405180910390f35b61032560048036038101906103209190612d17565b610a88565b005b610341600480360381019061033c91906129ee565b610adf565b60405161034e919061251a565b60405180910390f35b610371600480360381019061036c9190612d73565b610b4a565b005b61037b610b72565b60405161038891906125ce565b60405180910390f35b6103ab60048036038101906103a69190612a2e565b610c00565b005b6103b5610c3b565b6040516103c2919061268f565b60405180910390f35b6103e560048036038101906103e09190612de8565b610c42565b005b61040160048036038101906103fc9190612e28565b610c58565b005b61041d600480360381019061041891906129ee565b610cae565b005b61043960048036038101906104349190612410565b610ccf565b005b610443610d29565b60405161045091906125ce565b60405180910390f35b610473600480360381019061046e9190612eab565b610dbb565b604051610480919061251a565b60405180910390f35b6104a3600480360381019061049e9190612eeb565b610e4f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050d90612ff4565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063957507fda8def73000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610649575061064882610ef0565b5b9050919050565b6004805461065d90613043565b80601f016020809104026020016040519081016040528092919081815260200182805461068990613043565b80156106d65780601f106106ab576101008083540402835291602001916106d6565b820191906000526020600020905b8154815290600101906020018083116106b957829003601f168201915b505050505081565b60606006600083815260200190815260200160002080546106fe90613043565b80601f016020809104026020016040519081016040528092919081815260200182805461072a90613043565b80156107775780601f1061074c57610100808354040283529160200191610777565b820191906000526020600020905b81548152906001019060200180831161075a57829003601f168201915b50505050509050919050565b600060036000838152602001908152602001600020600101549050919050565b600080600954612710846107b791906130d3565b6107c19190613104565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b6107f7610f6a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061083d575061083c85610837610f6a565b610dbb565b5b61087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610873906131d0565b60405180910390fd5b6108898585858585610f72565b5050505050565b61089982610783565b6108a281611294565b6108ac83836112a8565b505050565b6108b9610f6a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d90613262565b60405180910390fd5b6109308282611389565b5050565b6000801b61094181611294565b61096b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc983610cae565b5050565b606081518351146109b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ac906132f4565b60405180910390fd5b6000835167ffffffffffffffff8111156109d2576109d1612727565b5b604051908082528060200260200182016040528015610a005781602001602082028036833780820191505090505b50905060005b8451811015610a7d57610a4d858281518110610a2557610a24613314565b5b6020026020010151858381518110610a4057610a3f613314565b5b60200260200101516104a5565b828281518110610a6057610a5f613314565b5b60200260200101818152505080610a7690613343565b9050610a06565b508091505092915050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610ab281611294565b81600660008581526020019081526020016000209080519060200190610ad99291906122c5565b50505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b610b5781611294565b8160079080519060200190610b6d9291906122c5565b505050565b60058054610b7f90613043565b80601f0160208091040260200160405190810160405280929190818152602001828054610bab90613043565b8015610bf85780601f10610bcd57610100808354040283529160200191610bf8565b820191906000526020600020905b815481529060010190602001808311610bdb57829003601f168201915b505050505081565b6000801b610c0d81611294565b610c377ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc983610890565b5050565b6000801b81565b610c54610c4d610f6a565b838361146b565b5050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610c8281611294565b610c8c8584610a88565b610ca7828686604051806020016040528060008152506115d8565b5050505050565b610cb782610783565b610cc081611294565b610cca8383611389565b505050565b6000801b610cdc81611294565b82600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600981905550505050565b606060078054610d3890613043565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6490613043565b8015610db15780601f10610d8657610100808354040283529160200191610db1565b820191906000526020600020905b815481529060010190602001808311610d9457829003601f168201915b5050505050905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610e57610f6a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e9d5750610e9c85610e97610f6a565b610dbb565b5b610edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed3906133fe565b60405180910390fd5b610ee98585858585611789565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610f635750610f6282611a25565b5b9050919050565b600033905090565b8151835114610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad90613490565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101d90613522565b60405180910390fd5b6000611030610f6a565b9050611040818787878787611b07565b60005b84518110156111f157600085828151811061106157611060613314565b5b6020026020010151905060008583815181106110805761107f613314565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611121576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611118906135b4565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111d691906135d4565b92505081905550505050806111ea90613343565b9050611043565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161126892919061362a565b60405180910390a461127e818787878787611b0f565b61128c818787878787611b17565b505050505050565b6112a5816112a0610f6a565b611cfe565b50565b6112b28282610adf565b6113855760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061132a610f6a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6113938282610adf565b156114675760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061140c610f6a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d1906136d3565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115cb919061251a565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f90613765565b60405180910390fd5b6000611652610f6a565b9050600061165f85611d9b565b9050600061166c85611d9b565b905061167d83600089858589611b07565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116dc91906135d4565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161175a929190613785565b60405180910390a461177183600089858589611b0f565b61178083600089898989611e15565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090613522565b60405180910390fd5b6000611803610f6a565b9050600061181085611d9b565b9050600061181d85611d9b565b905061182d838989858589611b07565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb906135b4565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197991906135d4565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516119f6929190613785565b60405180910390a4611a0c848a8a86868a611b0f565b611a1a848a8a8a8a8a611e15565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611af057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b005750611aff82611ffc565b5b9050919050565b505050505050565b505050505050565b611b368473ffffffffffffffffffffffffffffffffffffffff16612066565b15611cf6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611b7c959493929190613803565b602060405180830381600087803b158015611b9657600080fd5b505af1925050508015611bc757506040513d601f19601f82011682018060405250810190611bc49190613880565b60015b611c6d57611bd36138ba565b806308c379a01415611c305750611be86138dc565b80611bf35750611c32565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2791906125ce565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c64906139e4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613a76565b60405180910390fd5b505b505050505050565b611d088282610adf565b611d9757611d2d8173ffffffffffffffffffffffffffffffffffffffff166014612089565b611d3b8360001c6020612089565b604051602001611d4c929190613b6a565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e91906125ce565b60405180910390fd5b5050565b60606000600167ffffffffffffffff811115611dba57611db9612727565b5b604051908082528060200260200182016040528015611de85781602001602082028036833780820191505090505b5090508281600081518110611e0057611dff613314565b5b60200260200101818152505080915050919050565b611e348473ffffffffffffffffffffffffffffffffffffffff16612066565b15611ff4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e7a959493929190613ba4565b602060405180830381600087803b158015611e9457600080fd5b505af1925050508015611ec557506040513d601f19601f82011682018060405250810190611ec29190613880565b60015b611f6b57611ed16138ba565b806308c379a01415611f2e5750611ee66138dc565b80611ef15750611f30565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2591906125ce565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f62906139e4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe990613a76565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000600283600261209c9190613104565b6120a691906135d4565b67ffffffffffffffff8111156120bf576120be612727565b5b6040519080825280601f01601f1916602001820160405280156120f15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061212957612128613314565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061218d5761218c613314565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121cd9190613104565b6121d791906135d4565b90505b6001811115612277577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061221957612218613314565b5b1a60f81b8282815181106122305761222f613314565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061227090613bfe565b90506121da565b50600084146122bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b290613c74565b60405180910390fd5b8091505092915050565b8280546122d190613043565b90600052602060002090601f0160209004810192826122f3576000855561233a565b82601f1061230c57805160ff191683800117855561233a565b8280016001018555821561233a579182015b8281111561233957825182559160200191906001019061231e565b5b509050612347919061234b565b5090565b5b8082111561236457600081600090555060010161234c565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006123a78261237c565b9050919050565b6123b78161239c565b81146123c257600080fd5b50565b6000813590506123d4816123ae565b92915050565b6000819050919050565b6123ed816123da565b81146123f857600080fd5b50565b60008135905061240a816123e4565b92915050565b6000806040838503121561242757612426612372565b5b6000612435858286016123c5565b9250506020612446858286016123fb565b9150509250929050565b612459816123da565b82525050565b60006020820190506124746000830184612450565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6124af8161247a565b81146124ba57600080fd5b50565b6000813590506124cc816124a6565b92915050565b6000602082840312156124e8576124e7612372565b5b60006124f6848285016124bd565b91505092915050565b60008115159050919050565b612514816124ff565b82525050565b600060208201905061252f600083018461250b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561256f578082015181840152602081019050612554565b8381111561257e576000848401525b50505050565b6000601f19601f8301169050919050565b60006125a082612535565b6125aa8185612540565b93506125ba818560208601612551565b6125c381612584565b840191505092915050565b600060208201905081810360008301526125e88184612595565b905092915050565b60006020828403121561260657612605612372565b5b6000612614848285016123fb565b91505092915050565b6000819050919050565b6126308161261d565b811461263b57600080fd5b50565b60008135905061264d81612627565b92915050565b60006020828403121561266957612668612372565b5b60006126778482850161263e565b91505092915050565b6126898161261d565b82525050565b60006020820190506126a46000830184612680565b92915050565b600080604083850312156126c1576126c0612372565b5b60006126cf858286016123fb565b92505060206126e0858286016123fb565b9150509250929050565b6126f38161239c565b82525050565b600060408201905061270e60008301856126ea565b61271b6020830184612450565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61275f82612584565b810181811067ffffffffffffffff8211171561277e5761277d612727565b5b80604052505050565b6000612791612368565b905061279d8282612756565b919050565b600067ffffffffffffffff8211156127bd576127bc612727565b5b602082029050602081019050919050565b600080fd5b60006127e66127e1846127a2565b612787565b90508083825260208201905060208402830185811115612809576128086127ce565b5b835b81811015612832578061281e88826123fb565b84526020840193505060208101905061280b565b5050509392505050565b600082601f83011261285157612850612722565b5b81356128618482602086016127d3565b91505092915050565b600080fd5b600067ffffffffffffffff82111561288a57612889612727565b5b61289382612584565b9050602081019050919050565b82818337600083830152505050565b60006128c26128bd8461286f565b612787565b9050828152602081018484840111156128de576128dd61286a565b5b6128e98482856128a0565b509392505050565b600082601f83011261290657612905612722565b5b81356129168482602086016128af565b91505092915050565b600080600080600060a0868803121561293b5761293a612372565b5b6000612949888289016123c5565b955050602061295a888289016123c5565b945050604086013567ffffffffffffffff81111561297b5761297a612377565b5b6129878882890161283c565b935050606086013567ffffffffffffffff8111156129a8576129a7612377565b5b6129b48882890161283c565b925050608086013567ffffffffffffffff8111156129d5576129d4612377565b5b6129e1888289016128f1565b9150509295509295909350565b60008060408385031215612a0557612a04612372565b5b6000612a138582860161263e565b9250506020612a24858286016123c5565b9150509250929050565b600060208284031215612a4457612a43612372565b5b6000612a52848285016123c5565b91505092915050565b600067ffffffffffffffff821115612a7657612a75612727565b5b602082029050602081019050919050565b6000612a9a612a9584612a5b565b612787565b90508083825260208201905060208402830185811115612abd57612abc6127ce565b5b835b81811015612ae65780612ad288826123c5565b845260208401935050602081019050612abf565b5050509392505050565b600082601f830112612b0557612b04612722565b5b8135612b15848260208601612a87565b91505092915050565b60008060408385031215612b3557612b34612372565b5b600083013567ffffffffffffffff811115612b5357612b52612377565b5b612b5f85828601612af0565b925050602083013567ffffffffffffffff811115612b8057612b7f612377565b5b612b8c8582860161283c565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612bcb816123da565b82525050565b6000612bdd8383612bc2565b60208301905092915050565b6000602082019050919050565b6000612c0182612b96565b612c0b8185612ba1565b9350612c1683612bb2565b8060005b83811015612c47578151612c2e8882612bd1565b9750612c3983612be9565b925050600181019050612c1a565b5085935050505092915050565b60006020820190508181036000830152612c6e8184612bf6565b905092915050565b600067ffffffffffffffff821115612c9157612c90612727565b5b612c9a82612584565b9050602081019050919050565b6000612cba612cb584612c76565b612787565b905082815260208101848484011115612cd657612cd561286a565b5b612ce18482856128a0565b509392505050565b600082601f830112612cfe57612cfd612722565b5b8135612d0e848260208601612ca7565b91505092915050565b60008060408385031215612d2e57612d2d612372565b5b6000612d3c858286016123fb565b925050602083013567ffffffffffffffff811115612d5d57612d5c612377565b5b612d6985828601612ce9565b9150509250929050565b600060208284031215612d8957612d88612372565b5b600082013567ffffffffffffffff811115612da757612da6612377565b5b612db384828501612ce9565b91505092915050565b612dc5816124ff565b8114612dd057600080fd5b50565b600081359050612de281612dbc565b92915050565b60008060408385031215612dff57612dfe612372565b5b6000612e0d858286016123c5565b9250506020612e1e85828601612dd3565b9150509250929050565b60008060008060808587031215612e4257612e41612372565b5b6000612e50878288016123fb565b9450506020612e61878288016123fb565b935050604085013567ffffffffffffffff811115612e8257612e81612377565b5b612e8e87828801612ce9565b9250506060612e9f878288016123c5565b91505092959194509250565b60008060408385031215612ec257612ec1612372565b5b6000612ed0858286016123c5565b9250506020612ee1858286016123c5565b9150509250929050565b600080600080600060a08688031215612f0757612f06612372565b5b6000612f15888289016123c5565b9550506020612f26888289016123c5565b9450506040612f37888289016123fb565b9350506060612f48888289016123fb565b925050608086013567ffffffffffffffff811115612f6957612f68612377565b5b612f75888289016128f1565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612fde602b83612540565b9150612fe982612f82565b604082019050919050565b6000602082019050818103600083015261300d81612fd1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305b57607f821691505b6020821081141561306f5761306e613014565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130de826123da565b91506130e9836123da565b9250826130f9576130f8613075565b5b828204905092915050565b600061310f826123da565b915061311a836123da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613153576131526130a4565b5b828202905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006131ba603283612540565b91506131c58261315e565b604082019050919050565b600060208201905081810360008301526131e9816131ad565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061324c602f83612540565b9150613257826131f0565b604082019050919050565b6000602082019050818103600083015261327b8161323f565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006132de602983612540565b91506132e982613282565b604082019050919050565b6000602082019050818103600083015261330d816132d1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061334e826123da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613381576133806130a4565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006133e8602983612540565b91506133f38261338c565b604082019050919050565b60006020820190508181036000830152613417816133db565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061347a602883612540565b91506134858261341e565b604082019050919050565b600060208201905081810360008301526134a98161346d565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061350c602583612540565b9150613517826134b0565b604082019050919050565b6000602082019050818103600083015261353b816134ff565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061359e602a83612540565b91506135a982613542565b604082019050919050565b600060208201905081810360008301526135cd81613591565b9050919050565b60006135df826123da565b91506135ea836123da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561361f5761361e6130a4565b5b828201905092915050565b600060408201905081810360008301526136448185612bf6565b905081810360208301526136588184612bf6565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006136bd602983612540565b91506136c882613661565b604082019050919050565b600060208201905081810360008301526136ec816136b0565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061374f602183612540565b915061375a826136f3565b604082019050919050565b6000602082019050818103600083015261377e81613742565b9050919050565b600060408201905061379a6000830185612450565b6137a76020830184612450565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006137d5826137ae565b6137df81856137b9565b93506137ef818560208601612551565b6137f881612584565b840191505092915050565b600060a08201905061381860008301886126ea565b61382560208301876126ea565b81810360408301526138378186612bf6565b9050818103606083015261384b8185612bf6565b9050818103608083015261385f81846137ca565b90509695505050505050565b60008151905061387a816124a6565b92915050565b60006020828403121561389657613895612372565b5b60006138a48482850161386b565b91505092915050565b60008160e01c9050919050565b600060033d11156138d95760046000803e6138d66000516138ad565b90505b90565b600060443d10156138ec5761396f565b6138f4612368565b60043d036004823e80513d602482011167ffffffffffffffff8211171561391c57505061396f565b808201805167ffffffffffffffff81111561393a575050505061396f565b80602083010160043d03850181111561395757505050505061396f565b61396682602001850186612756565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006139ce603483612540565b91506139d982613972565b604082019050919050565b600060208201905081810360008301526139fd816139c1565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613a60602883612540565b9150613a6b82613a04565b604082019050919050565b60006020820190508181036000830152613a8f81613a53565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000613ad7601783613a96565b9150613ae282613aa1565b601782019050919050565b6000613af882612535565b613b028185613a96565b9350613b12818560208601612551565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000613b54601183613a96565b9150613b5f82613b1e565b601182019050919050565b6000613b7582613aca565b9150613b818285613aed565b9150613b8c82613b47565b9150613b988284613aed565b91508190509392505050565b600060a082019050613bb960008301886126ea565b613bc660208301876126ea565b613bd36040830186612450565b613be06060830185612450565b8181036080830152613bf281846137ca565b90509695505050505050565b6000613c09826123da565b91506000821415613c1d57613c1c6130a4565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000613c5e602083612540565b9150613c6982613c28565b602082019050919050565b60006020820190508181036000830152613c8d81613c51565b905091905056fea26469706673582212207db670f53addd9adada404b0ddcc4091d38050fff7128e3829f966d99a51e44f64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000003b1bd4c99c059ed58155240fd01d6fc86a430d4d0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d586959684a4661547532686e35655a4233465a544665744d797573526b57696d7154336865397235553258750000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101575760003560e01c806391d14854116100c3578063c72216e11161007c578063c72216e1146103e7578063d547741f14610403578063e2e784d51461041f578063e8a3d4851461043b578063e985e9c514610459578063f242432a1461048957610157565b806391d1485414610327578063938e3d7b1461035757806395d89b4114610373578063a06d8fc714610391578063a217fddf146103ad578063a22cb465146103cb57610157565b80632eb2c2d6116101155780632eb2c2d61461026b5780632f2ff15d1461028757806336568abe146102a35780633935bac6146102bf5780634e1273f4146102db578063782f08ae1461030b57610157565b8062fdd58e1461015c57806301ffc9a71461018c57806306fdde03146101bc5780630e89341c146101da578063248a9ca31461020a5780632a55205a1461023a575b600080fd5b61017660048036038101906101719190612410565b6104a5565b604051610183919061245f565b60405180910390f35b6101a660048036038101906101a191906124d2565b61056e565b6040516101b3919061251a565b60405180910390f35b6101c4610650565b6040516101d191906125ce565b60405180910390f35b6101f460048036038101906101ef91906125f0565b6106de565b60405161020191906125ce565b60405180910390f35b610224600480360381019061021f9190612653565b610783565b604051610231919061268f565b60405180910390f35b610254600480360381019061024f91906126aa565b6107a3565b6040516102629291906126f9565b60405180910390f35b6102856004803603810190610280919061291f565b6107ef565b005b6102a1600480360381019061029c91906129ee565b610890565b005b6102bd60048036038101906102b891906129ee565b6108b1565b005b6102d960048036038101906102d49190612a2e565b610934565b005b6102f560048036038101906102f09190612b1e565b61096f565b6040516103029190612c54565b60405180910390f35b61032560048036038101906103209190612d17565b610a88565b005b610341600480360381019061033c91906129ee565b610adf565b60405161034e919061251a565b60405180910390f35b610371600480360381019061036c9190612d73565b610b4a565b005b61037b610b72565b60405161038891906125ce565b60405180910390f35b6103ab60048036038101906103a69190612a2e565b610c00565b005b6103b5610c3b565b6040516103c2919061268f565b60405180910390f35b6103e560048036038101906103e09190612de8565b610c42565b005b61040160048036038101906103fc9190612e28565b610c58565b005b61041d600480360381019061041891906129ee565b610cae565b005b61043960048036038101906104349190612410565b610ccf565b005b610443610d29565b60405161045091906125ce565b60405180910390f35b610473600480360381019061046e9190612eab565b610dbb565b604051610480919061251a565b60405180910390f35b6104a3600480360381019061049e9190612eeb565b610e4f565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161050d90612ff4565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061063957507fda8def73000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610649575061064882610ef0565b5b9050919050565b6004805461065d90613043565b80601f016020809104026020016040519081016040528092919081815260200182805461068990613043565b80156106d65780601f106106ab576101008083540402835291602001916106d6565b820191906000526020600020905b8154815290600101906020018083116106b957829003601f168201915b505050505081565b60606006600083815260200190815260200160002080546106fe90613043565b80601f016020809104026020016040519081016040528092919081815260200182805461072a90613043565b80156107775780601f1061074c57610100808354040283529160200191610777565b820191906000526020600020905b81548152906001019060200180831161075a57829003601f168201915b50505050509050919050565b600060036000838152602001908152602001600020600101549050919050565b600080600954612710846107b791906130d3565b6107c19190613104565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b6107f7610f6a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061083d575061083c85610837610f6a565b610dbb565b5b61087c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610873906131d0565b60405180910390fd5b6108898585858585610f72565b5050505050565b61089982610783565b6108a281611294565b6108ac83836112a8565b505050565b6108b9610f6a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091d90613262565b60405180910390fd5b6109308282611389565b5050565b6000801b61094181611294565b61096b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc983610cae565b5050565b606081518351146109b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ac906132f4565b60405180910390fd5b6000835167ffffffffffffffff8111156109d2576109d1612727565b5b604051908082528060200260200182016040528015610a005781602001602082028036833780820191505090505b50905060005b8451811015610a7d57610a4d858281518110610a2557610a24613314565b5b6020026020010151858381518110610a4057610a3f613314565b5b60200260200101516104a5565b828281518110610a6057610a5f613314565b5b60200260200101818152505080610a7690613343565b9050610a06565b508091505092915050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610ab281611294565b81600660008581526020019081526020016000209080519060200190610ad99291906122c5565b50505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b610b5781611294565b8160079080519060200190610b6d9291906122c5565b505050565b60058054610b7f90613043565b80601f0160208091040260200160405190810160405280929190818152602001828054610bab90613043565b8015610bf85780601f10610bcd57610100808354040283529160200191610bf8565b820191906000526020600020905b815481529060010190602001808311610bdb57829003601f168201915b505050505081565b6000801b610c0d81611294565b610c377ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc983610890565b5050565b6000801b81565b610c54610c4d610f6a565b838361146b565b5050565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9610c8281611294565b610c8c8584610a88565b610ca7828686604051806020016040528060008152506115d8565b5050505050565b610cb782610783565b610cc081611294565b610cca8383611389565b505050565b6000801b610cdc81611294565b82600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600981905550505050565b606060078054610d3890613043565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6490613043565b8015610db15780601f10610d8657610100808354040283529160200191610db1565b820191906000526020600020905b815481529060010190602001808311610d9457829003601f168201915b5050505050905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610e57610f6a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e9d5750610e9c85610e97610f6a565b610dbb565b5b610edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed3906133fe565b60405180910390fd5b610ee98585858585611789565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610f635750610f6282611a25565b5b9050919050565b600033905090565b8151835114610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad90613490565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101d90613522565b60405180910390fd5b6000611030610f6a565b9050611040818787878787611b07565b60005b84518110156111f157600085828151811061106157611060613314565b5b6020026020010151905060008583815181106110805761107f613314565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611121576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611118906135b4565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111d691906135d4565b92505081905550505050806111ea90613343565b9050611043565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161126892919061362a565b60405180910390a461127e818787878787611b0f565b61128c818787878787611b17565b505050505050565b6112a5816112a0610f6a565b611cfe565b50565b6112b28282610adf565b6113855760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061132a610f6a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6113938282610adf565b156114675760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061140c610f6a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d1906136d3565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115cb919061251a565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f90613765565b60405180910390fd5b6000611652610f6a565b9050600061165f85611d9b565b9050600061166c85611d9b565b905061167d83600089858589611b07565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116dc91906135d4565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161175a929190613785565b60405180910390a461177183600089858589611b0f565b61178083600089898989611e15565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090613522565b60405180910390fd5b6000611803610f6a565b9050600061181085611d9b565b9050600061181d85611d9b565b905061182d838989858589611b07565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb906135b4565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197991906135d4565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516119f6929190613785565b60405180910390a4611a0c848a8a86868a611b0f565b611a1a848a8a8a8a8a611e15565b505050505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611af057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b005750611aff82611ffc565b5b9050919050565b505050505050565b505050505050565b611b368473ffffffffffffffffffffffffffffffffffffffff16612066565b15611cf6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611b7c959493929190613803565b602060405180830381600087803b158015611b9657600080fd5b505af1925050508015611bc757506040513d601f19601f82011682018060405250810190611bc49190613880565b60015b611c6d57611bd36138ba565b806308c379a01415611c305750611be86138dc565b80611bf35750611c32565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2791906125ce565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c64906139e4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613a76565b60405180910390fd5b505b505050505050565b611d088282610adf565b611d9757611d2d8173ffffffffffffffffffffffffffffffffffffffff166014612089565b611d3b8360001c6020612089565b604051602001611d4c929190613b6a565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8e91906125ce565b60405180910390fd5b5050565b60606000600167ffffffffffffffff811115611dba57611db9612727565b5b604051908082528060200260200182016040528015611de85781602001602082028036833780820191505090505b5090508281600081518110611e0057611dff613314565b5b60200260200101818152505080915050919050565b611e348473ffffffffffffffffffffffffffffffffffffffff16612066565b15611ff4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e7a959493929190613ba4565b602060405180830381600087803b158015611e9457600080fd5b505af1925050508015611ec557506040513d601f19601f82011682018060405250810190611ec29190613880565b60015b611f6b57611ed16138ba565b806308c379a01415611f2e5750611ee66138dc565b80611ef15750611f30565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2591906125ce565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f62906139e4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe990613a76565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000600283600261209c9190613104565b6120a691906135d4565b67ffffffffffffffff8111156120bf576120be612727565b5b6040519080825280601f01601f1916602001820160405280156120f15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061212957612128613314565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061218d5761218c613314565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121cd9190613104565b6121d791906135d4565b90505b6001811115612277577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061221957612218613314565b5b1a60f81b8282815181106122305761222f613314565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061227090613bfe565b90506121da565b50600084146122bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b290613c74565b60405180910390fd5b8091505092915050565b8280546122d190613043565b90600052602060002090601f0160209004810192826122f3576000855561233a565b82601f1061230c57805160ff191683800117855561233a565b8280016001018555821561233a579182015b8281111561233957825182559160200191906001019061231e565b5b509050612347919061234b565b5090565b5b8082111561236457600081600090555060010161234c565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006123a78261237c565b9050919050565b6123b78161239c565b81146123c257600080fd5b50565b6000813590506123d4816123ae565b92915050565b6000819050919050565b6123ed816123da565b81146123f857600080fd5b50565b60008135905061240a816123e4565b92915050565b6000806040838503121561242757612426612372565b5b6000612435858286016123c5565b9250506020612446858286016123fb565b9150509250929050565b612459816123da565b82525050565b60006020820190506124746000830184612450565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6124af8161247a565b81146124ba57600080fd5b50565b6000813590506124cc816124a6565b92915050565b6000602082840312156124e8576124e7612372565b5b60006124f6848285016124bd565b91505092915050565b60008115159050919050565b612514816124ff565b82525050565b600060208201905061252f600083018461250b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561256f578082015181840152602081019050612554565b8381111561257e576000848401525b50505050565b6000601f19601f8301169050919050565b60006125a082612535565b6125aa8185612540565b93506125ba818560208601612551565b6125c381612584565b840191505092915050565b600060208201905081810360008301526125e88184612595565b905092915050565b60006020828403121561260657612605612372565b5b6000612614848285016123fb565b91505092915050565b6000819050919050565b6126308161261d565b811461263b57600080fd5b50565b60008135905061264d81612627565b92915050565b60006020828403121561266957612668612372565b5b60006126778482850161263e565b91505092915050565b6126898161261d565b82525050565b60006020820190506126a46000830184612680565b92915050565b600080604083850312156126c1576126c0612372565b5b60006126cf858286016123fb565b92505060206126e0858286016123fb565b9150509250929050565b6126f38161239c565b82525050565b600060408201905061270e60008301856126ea565b61271b6020830184612450565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61275f82612584565b810181811067ffffffffffffffff8211171561277e5761277d612727565b5b80604052505050565b6000612791612368565b905061279d8282612756565b919050565b600067ffffffffffffffff8211156127bd576127bc612727565b5b602082029050602081019050919050565b600080fd5b60006127e66127e1846127a2565b612787565b90508083825260208201905060208402830185811115612809576128086127ce565b5b835b81811015612832578061281e88826123fb565b84526020840193505060208101905061280b565b5050509392505050565b600082601f83011261285157612850612722565b5b81356128618482602086016127d3565b91505092915050565b600080fd5b600067ffffffffffffffff82111561288a57612889612727565b5b61289382612584565b9050602081019050919050565b82818337600083830152505050565b60006128c26128bd8461286f565b612787565b9050828152602081018484840111156128de576128dd61286a565b5b6128e98482856128a0565b509392505050565b600082601f83011261290657612905612722565b5b81356129168482602086016128af565b91505092915050565b600080600080600060a0868803121561293b5761293a612372565b5b6000612949888289016123c5565b955050602061295a888289016123c5565b945050604086013567ffffffffffffffff81111561297b5761297a612377565b5b6129878882890161283c565b935050606086013567ffffffffffffffff8111156129a8576129a7612377565b5b6129b48882890161283c565b925050608086013567ffffffffffffffff8111156129d5576129d4612377565b5b6129e1888289016128f1565b9150509295509295909350565b60008060408385031215612a0557612a04612372565b5b6000612a138582860161263e565b9250506020612a24858286016123c5565b9150509250929050565b600060208284031215612a4457612a43612372565b5b6000612a52848285016123c5565b91505092915050565b600067ffffffffffffffff821115612a7657612a75612727565b5b602082029050602081019050919050565b6000612a9a612a9584612a5b565b612787565b90508083825260208201905060208402830185811115612abd57612abc6127ce565b5b835b81811015612ae65780612ad288826123c5565b845260208401935050602081019050612abf565b5050509392505050565b600082601f830112612b0557612b04612722565b5b8135612b15848260208601612a87565b91505092915050565b60008060408385031215612b3557612b34612372565b5b600083013567ffffffffffffffff811115612b5357612b52612377565b5b612b5f85828601612af0565b925050602083013567ffffffffffffffff811115612b8057612b7f612377565b5b612b8c8582860161283c565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612bcb816123da565b82525050565b6000612bdd8383612bc2565b60208301905092915050565b6000602082019050919050565b6000612c0182612b96565b612c0b8185612ba1565b9350612c1683612bb2565b8060005b83811015612c47578151612c2e8882612bd1565b9750612c3983612be9565b925050600181019050612c1a565b5085935050505092915050565b60006020820190508181036000830152612c6e8184612bf6565b905092915050565b600067ffffffffffffffff821115612c9157612c90612727565b5b612c9a82612584565b9050602081019050919050565b6000612cba612cb584612c76565b612787565b905082815260208101848484011115612cd657612cd561286a565b5b612ce18482856128a0565b509392505050565b600082601f830112612cfe57612cfd612722565b5b8135612d0e848260208601612ca7565b91505092915050565b60008060408385031215612d2e57612d2d612372565b5b6000612d3c858286016123fb565b925050602083013567ffffffffffffffff811115612d5d57612d5c612377565b5b612d6985828601612ce9565b9150509250929050565b600060208284031215612d8957612d88612372565b5b600082013567ffffffffffffffff811115612da757612da6612377565b5b612db384828501612ce9565b91505092915050565b612dc5816124ff565b8114612dd057600080fd5b50565b600081359050612de281612dbc565b92915050565b60008060408385031215612dff57612dfe612372565b5b6000612e0d858286016123c5565b9250506020612e1e85828601612dd3565b9150509250929050565b60008060008060808587031215612e4257612e41612372565b5b6000612e50878288016123fb565b9450506020612e61878288016123fb565b935050604085013567ffffffffffffffff811115612e8257612e81612377565b5b612e8e87828801612ce9565b9250506060612e9f878288016123c5565b91505092959194509250565b60008060408385031215612ec257612ec1612372565b5b6000612ed0858286016123c5565b9250506020612ee1858286016123c5565b9150509250929050565b600080600080600060a08688031215612f0757612f06612372565b5b6000612f15888289016123c5565b9550506020612f26888289016123c5565b9450506040612f37888289016123fb565b9350506060612f48888289016123fb565b925050608086013567ffffffffffffffff811115612f6957612f68612377565b5b612f75888289016128f1565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612fde602b83612540565b9150612fe982612f82565b604082019050919050565b6000602082019050818103600083015261300d81612fd1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305b57607f821691505b6020821081141561306f5761306e613014565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130de826123da565b91506130e9836123da565b9250826130f9576130f8613075565b5b828204905092915050565b600061310f826123da565b915061311a836123da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613153576131526130a4565b5b828202905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006131ba603283612540565b91506131c58261315e565b604082019050919050565b600060208201905081810360008301526131e9816131ad565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600061324c602f83612540565b9150613257826131f0565b604082019050919050565b6000602082019050818103600083015261327b8161323f565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006132de602983612540565b91506132e982613282565b604082019050919050565b6000602082019050818103600083015261330d816132d1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061334e826123da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613381576133806130a4565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006133e8602983612540565b91506133f38261338c565b604082019050919050565b60006020820190508181036000830152613417816133db565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061347a602883612540565b91506134858261341e565b604082019050919050565b600060208201905081810360008301526134a98161346d565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061350c602583612540565b9150613517826134b0565b604082019050919050565b6000602082019050818103600083015261353b816134ff565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061359e602a83612540565b91506135a982613542565b604082019050919050565b600060208201905081810360008301526135cd81613591565b9050919050565b60006135df826123da565b91506135ea836123da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561361f5761361e6130a4565b5b828201905092915050565b600060408201905081810360008301526136448185612bf6565b905081810360208301526136588184612bf6565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006136bd602983612540565b91506136c882613661565b604082019050919050565b600060208201905081810360008301526136ec816136b0565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061374f602183612540565b915061375a826136f3565b604082019050919050565b6000602082019050818103600083015261377e81613742565b9050919050565b600060408201905061379a6000830185612450565b6137a76020830184612450565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006137d5826137ae565b6137df81856137b9565b93506137ef818560208601612551565b6137f881612584565b840191505092915050565b600060a08201905061381860008301886126ea565b61382560208301876126ea565b81810360408301526138378186612bf6565b9050818103606083015261384b8185612bf6565b9050818103608083015261385f81846137ca565b90509695505050505050565b60008151905061387a816124a6565b92915050565b60006020828403121561389657613895612372565b5b60006138a48482850161386b565b91505092915050565b60008160e01c9050919050565b600060033d11156138d95760046000803e6138d66000516138ad565b90505b90565b600060443d10156138ec5761396f565b6138f4612368565b60043d036004823e80513d602482011167ffffffffffffffff8211171561391c57505061396f565b808201805167ffffffffffffffff81111561393a575050505061396f565b80602083010160043d03850181111561395757505050505061396f565b61396682602001850186612756565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006139ce603483612540565b91506139d982613972565b604082019050919050565b600060208201905081810360008301526139fd816139c1565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613a60602883612540565b9150613a6b82613a04565b604082019050919050565b60006020820190508181036000830152613a8f81613a53565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000613ad7601783613a96565b9150613ae282613aa1565b601782019050919050565b6000613af882612535565b613b028185613a96565b9350613b12818560208601612551565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000613b54601183613a96565b9150613b5f82613b1e565b601182019050919050565b6000613b7582613aca565b9150613b818285613aed565b9150613b8c82613b47565b9150613b988284613aed565b91508190509392505050565b600060a082019050613bb960008301886126ea565b613bc660208301876126ea565b613bd36040830186612450565b613be06060830185612450565b8181036080830152613bf281846137ca565b90509695505050505050565b6000613c09826123da565b91506000821415613c1d57613c1c6130a4565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000613c5e602083612540565b9150613c6982613c28565b602082019050919050565b60006020820190508181036000830152613c8d81613c51565b905091905056fea26469706673582212207db670f53addd9adada404b0ddcc4091d38050fff7128e3829f966d99a51e44f64736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003b1bd4c99c059ed58155240fd01d6fc86a430d4d0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d586959684a4661547532686e35655a4233465a544665744d797573526b57696d7154336865397235553258750000000000000000000000

-----Decoded View---------------
Arg [0] : contractURI (string): ipfs://QmXiYhJFaTu2hn5eZB3FZTFetMyusRkWimqT3he9r5U2Xu
Arg [1] : royalties (address): 0x3B1Bd4C99c059ED58155240FD01D6fC86A430D4D

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000003b1bd4c99c059ed58155240fd01d6fc86a430d4d
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [3] : 697066733a2f2f516d586959684a4661547532686e35655a4233465a54466574
Arg [4] : 4d797573526b57696d7154336865397235553258750000000000000000000000


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.