ETH Price: $3,362.66 (+0.01%)

Token

NFTMarketingOrchestraWebinar (NMOW)
 

Overview

Max Total Supply

153 NMOW

Holders

153

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
ngongo.eth
0x7dea578b1b46bcca873251eb54a0543b46b749a6
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x12F7d0a1...22fb5483a
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
FungibleSBT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : FungibleSBT.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

import "./IFungibleSBT.sol";
import "./libs/TokenUriSupplier.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract FungibleSBT is
    IFungibleSBT,
    ERC1155,
    Ownable,
    AccessControl,
    TokenUriSupplier
{
    using Strings for uint256;

    // ==================================================
    // Constants
    // ==================================================
    bytes32 public constant ADMIN = "ADMIN";
    bytes32 public constant MINTER = "MINTER";

    // ==================================================
    // Variables
    // ==================================================
    uint256 public nextId = 1;

    // Contract name
    string public name;
    // Contract symbol
    string public symbol;

    string public contractURI;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseContractURI,
        address _owner,
        address _minter,
        address _ope
    ) ERC1155("") {
        name = _name;
        symbol = _symbol;

        contractURI = string(
            abi.encodePacked(
                _baseContractURI,
                Strings.toHexString(address(this)),
                "/collection.json"
            )
        );

        baseURI = string(
            abi.encodePacked(
                _baseContractURI,
                Strings.toHexString(address(this)),
                "/metadata/"
            )
        );

        _setRoleAdmin(ADMIN, DEFAULT_ADMIN_ROLE);
        _setRoleAdmin(MINTER, ADMIN);

        _grantRole(DEFAULT_ADMIN_ROLE, _owner);
        _grantRole(DEFAULT_ADMIN_ROLE, _ope);
        
        _grantRole(ADMIN, _owner);
        _grantRole(ADMIN, _ope);
        
        _grantRole(MINTER, _minter);
        
        _transferOwnership(_owner);
    }

    // ==================================================
    // For contract-level metadata
    // ==================================================
    function setContractURI(string memory value) external onlyRole(ADMIN) {
        contractURI = value;
    }

    // ==================================================
    // For adding id
    // ==================================================
    function add() external onlyRole(MINTER) {
        nextId++;
    }

    function exists(uint256 id) public view returns (bool) {
        return id < nextId;
    }

    // ==================================================
    // For mint
    // ==================================================
    // external function
    function airdrop(address[] calldata to, uint256 id)
        external
        onlyRole(ADMIN)
    {
        for (uint256 i = 0; i < to.length; i++) {
            _mint(to[i], id);
        }
    }

    function mint(address to, uint256 id) external onlyRole(MINTER) {
        _mint(to, id);
    }

    // internal function
    modifier existId(uint256 id) {
        require(exists(id), "Not exist id.");
        _;
    }

    modifier notHave(address to, uint256 id) {
        require(balanceOf(to, id) == 0, "You are already have the token.");
        _;
    }

    function _mint(address to, uint256 id) private existId(id) notHave(to, id) {
        _mint(to, id, 1, "");
    }

    // ==================================================
    // For burn
    // ==================================================
    modifier onlyTokenOwner(uint256 id) {
        require(balanceOf(msg.sender, id) > 0, "You don't have the token.");
        _;
    }

    function burn(uint256 id) external onlyTokenOwner(id) {
        _burn(msg.sender, id, 1);
    }

    // ==================================================
    // interface
    // ==================================================
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155, AccessControl)
        returns (bool)
    {
        return
            AccessControl.supportsInterface(interfaceId) ||
            ERC1155.supportsInterface(interfaceId);
    }

    // ==================================================================
    // For SBT
    // ==================================================================
    function setApprovalForAll(address, bool) public virtual override {
        revert("This token is SBT, so this can not approve.");
    }

    function _beforeTokenTransfer(
        address,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory,
        bytes memory
    ) internal virtual override {
        for (uint256 i = 0; i < ids.length; i++) {
            require(
                from == address(0) || to == address(0),
                "This token is SBT, so this can not transfer."
            );
        }
    }

    // ==================================================================
    // override TokenUriSupplier
    // ==================================================================
    function uri(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return TokenUriSupplier.tokenURI(tokenId);
    }

    function setBaseURI(string memory _value)
        external
        override
        onlyRole(ADMIN)
    {
        baseURI = _value;
    }

    function setBaseExtension(string memory _value)
        external
        override
        onlyRole(ADMIN)
    {
        baseExtension = _value;
    }

    function setExternalSupplier(address _value)
        external
        override
        onlyRole(ADMIN)
    {
        externalSupplier = ITokenUriSupplier(_value);
    }

    function owner()
        public
        view
        override(Ownable, IFungibleSBT)
        returns (address)
    {
        return Ownable.owner();
    }
}

File 2 of 17 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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(account),
                        " 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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    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`.
     *
     * May emit a {RoleRevoked} event.
     */
    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.
     *
     * May emit a {RoleGranted} event.
     *
     * [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.
     *
     * May emit a {RoleGranted} event.
     */
    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.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

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

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

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

        return array;
    }
}

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

File 9 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 10 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 13 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 15 of 17 : IFungibleSBT.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

interface IFungibleSBT {
    function mint(address to, uint256 id) external;

    function owner() external view returns (address);

    function add() external;

    function exists(uint256 id) external view returns (bool);

    function nextId() external view returns (uint256);
}

File 16 of 17 : ITokenUriSupplier.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

interface ITokenUriSupplier {
    function tokenURI(uint256 tokenId)
        external
        view
        returns (string memory);
}

File 17 of 17 : TokenUriSupplier.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.0 <0.9.0;

import "./ITokenUriSupplier.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

abstract contract TokenUriSupplier is ITokenUriSupplier {
    using Strings for uint256;

    // ==================================================================
    // Variables
    // ==================================================================
    ITokenUriSupplier public externalSupplier;

    string public baseURI = "";
    string public baseExtension = ".json";

    // ==================================================================
    // Functions
    // ==================================================================
    function tokenURI(uint256 tokenId) public virtual view returns (string memory) {
        return
            address(externalSupplier) != address(0)
                ? externalSupplier.tokenURI(tokenId)
                : _defaultTokenUri(tokenId);
    }

    function _defaultTokenUri(uint256 tokenId)
        internal
        view
        virtual
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(baseURI, tokenId.toString(), baseExtension)
            );
    }

    function setBaseURI(string memory _value) external virtual;

    function setBaseExtension(string memory _value) external virtual;

    function setExternalSupplier(address value) external virtual;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseContractURI","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_minter","type":"address"},{"internalType":"address","name":"_ope","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"ADMIN","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"externalSupplier","outputs":[{"internalType":"contract ITokenUriSupplier","name":"","type":"address"}],"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":"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","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":"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":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_value","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"value","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_value","type":"address"}],"name":"setExternalSupplier","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

6080604081815234620007b55762003a488038038091620000218286620007ba565b8439820160c083820312620007b55782516001600160401b039190828111620007b557816200005291860162000803565b602080860151848111620007b557836200006e91880162000803565b928587015190858211620007b5576200008991880162000803565b9262000098606088016200085e565b94620000b560a0620000ad60808b016200085e565b99016200085e565b91875195848701878110848211176200079f5789526000809752620000dc60025462000873565b91601f928381116200077e575b5087600255620000f933620009d1565b6200010660065462000873565b8381116200075d575b5060006006556200012260075462000873565b8381116200073c575b50600a64173539b7b760d91b016007556001600881905587519097858211620007285781906200015d60095462000873565b868111620006f7575b50889086831160011462000691578b9262000685575b5050600019600383901b1c191690881b176009555b805190848211620005ce578190620001ab600a5462000873565b85811162000654575b508790858311600114620005ee578a92620005e2575b5050600019600383901b1c191690871b17600a555b620001ea3062000a1a565b6200024560308b518093855162000207818c85018d8a01620007de565b82016200021d825180938d8085019101620007de565b016f17b1b7b63632b1ba34b7b7173539b7b760811b8a820152036010810184520182620007ba565b805190848211620005ce5781906200025f600b5462000873565b8581116200059d575b50879085831160011462000537578a926200052b575b5050600019600383901b1c191690871b17600b555b620002f6602a620002a43062000a1a565b928b519381620002be86935180928c8087019101620007de565b8201620002d4825180938c8085019101620007de565b01692f6d657461646174612f60b01b8982015203600a810184520182620007ba565b805192831162000517576200030d60065462000873565b828111620004db575b508491831160011462000467579282899a969493620003e093620004129b97958a926200045b575b5050600019600383901b1c191690851b176006555b6420a226a4a760d91b808852600484528588208501805490899055869089907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90829085838380a48388806526a4a72a22a960d11b9b858d809752200154948d2001558a80a4620003c488620008c9565b620003cf81620008c9565b620003da8862000948565b62000948565b828552600481528785206001600160a01b039094168086529381528785205460ff161562000420575b878787620009d1565b51612ed1908162000b578239f35b8285526004815287852090848652528684209060ff1982541617905560008051602062003a28833981519152339380a4388080808062000409565b0151905038806200033e565b600687528487209190601f198416885b818110620004c5575093620003e0938896938c9d999383620004129e9a9810620004ab575b505050811b0160065562000353565b015160001960f88460031b161c191690553880806200049c565b8284015185559388019392870192870162000477565b6200050690600689528689208480870160051c8201928988106200050d575b0160051c0190620008b0565b3862000316565b92508192620004fa565b634e487b7160e01b87526041600452602487fd5b0151905038806200027e565b600b8b52888b208a94509190601f1984168c5b8b8282106200058657505084116200056c575b505050811b01600b5562000293565b015160001960f88460031b161c191690553880806200055d565b8385015186558d979095019493840193016200054a565b620005c790600b8c52898c208780860160051c8201928c87106200050d570160051c0190620008b0565b3862000268565b634e487b7160e01b89526041600452602489fd5b015190503880620001ca565b600a8b52888b208a94509190601f1984168c5b8b8282106200063d575050841162000623575b505050811b01600a55620001df565b015160001960f88460031b161c1916905538808062000614565b8385015186558d9790950194938401930162000601565b6200067e90600a8c52898c208780860160051c8201928c87106200050d570160051c0190620008b0565b38620001b4565b0151905038806200017c565b60098c52898c208b94509190601f1984168d5b8c828210620006e05750508411620006c6575b505050811b0160095562000191565b015160001960f88460031b161c19169055388080620006b7565b8385015186558e97909501949384019301620006a4565b620007219060098d528a8d208880860160051c8201928d87106200050d570160051c0190620008b0565b3862000166565b634e487b7160e01b8a52604160045260248afd5b600789528689206200075691850160051c810190620008b0565b386200012b565b600689528689206200077791850160051c810190620008b0565b386200010f565b600289528689206200079891850160051c810190620008b0565b38620000e9565b634e487b7160e01b600052604160045260246000fd5b600080fd5b601f909101601f19168101906001600160401b038211908210176200079f57604052565b60005b838110620007f25750506000910152565b8181015183820152602001620007e1565b81601f82011215620007b55780516001600160401b0381116200079f57604051926200083a601f8301601f191660200185620007ba565b81845260208284010111620007b5576200085b9160208085019101620007de565b90565b51906001600160a01b0382168203620007b557565b90600182811c92168015620008a5575b60208310146200088f57565b634e487b7160e01b600052602260045260246000fd5b91607f169162000883565b818110620008bc575050565b60008155600101620008b0565b6001600160a01b031660008181527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec602052604081205490919060ff161562000910575050565b81805260046020526040822081835260205260408220600160ff19825416179055339160008051602062003a288339815191528180a4565b6001600160a01b031660008181527fb24965f6fec6d515561eb5638d731469a6c4e923e59b9c1a72c12a009eb566d160205260408120549091906420a226a4a760d91b9060ff16156200099a57505050565b80835260046020526040832082845260205260408320600160ff1982541617905560008051602062003a28833981519152339380a4565b600380546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b604051906001600160a01b0316606082016001600160401b038111838210176200079f57604052602a8252602090818301604036823783511562000b405760309053825160019081101562000b4057607860218501536029905b80821162000aca57505062000a87575090565b6064906040519062461bcd60e51b825280600483015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f8116601081101562000b2b57855184101562000b2b576f181899199a1a9b1b9c1cb0b131b232b360811b901a85840185015360041c91801562000b1657600019019062000a74565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fd5b634e487b7160e01b600052603260045260246000fdfe6040608081526004908136101561001557600080fd5b600091823560e01c908162fdd58e14611cc457816301ffc9a714611c5557816306fdde0314611bab5781630e89341c14610868578163248a9ca314611b8157816325752d1814611b3c5781632a0acc6a14611b195781632eb2c2d6146117ba5781632f2ff15d1461171057816336568abe1461167e57816340c10f19146114e257816342966c68146112c75781634e1273f41461112a5781634f2be91f146111005781634f558e79146110dc57816355f804b314610fa157816361b8ce8c14610f825781636c0360eb14610eea578163715018a614610e8d57816380f801cb14610e645781638da5cb5b14610e3b57816391d1485414610df5578163938e3d7b14610c9657816395d89b4114610bec578163a217fddf14610bd1578163a22cb46514610b53578163c204642c14610934578163c66828621461089c578163c87b56dd14610868578163d547741f1461082a578163da3ef23f146106d9578163e8a3d485146105f0578163e985e9c5146105a2578163f242432a146102a4578163f2fde38b146101d4575063fe6d8124146101ae57600080fd5b346101d057816003193601126101d057516526a4a72a22a960d11b8152602090f35b5080fd5b9050346102a05760203660031901126102a0576101ef611cf4565b906101f861244a565b6001600160a01b0391821692831561024e575050600354826bffffffffffffffffffffffff60a01b821617600355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b9050346102a05760a03660031901126102a0576102bf611cf4565b6102c7611d0f565b9260449081359260649384359660849889356001600160401b0381116101d0576102f49036908a01611ef6565b986001600160a01b03948516943386148015610583575b610317909b969b612583565b83169384159461032786156125e6565b61033082612959565b9b8c9761033c85612959565b50859682159788159a5b518110156103c857888b6103c1575b156103695761036390612527565b8f610346565b5050895162461bcd60e51b81526020818f0152602c60248201527f5468697320746f6b656e206973205342542c20736f20746869732063616e206e818d01526b37ba103a3930b739b332b91760a11b818e01528f9150fd5b5089610355565b508f938798508c8f988f958e9995600080516020612e3c833981519152999586845285838d60209d8e91888352808920848a5283528c818a205461040e82821015612640565b8d8b528a8552828b20868c52855203818a20558b8952888352808920858a5283528c61043e828b209182546126ad565b90558c8151938d85528401523392a43b610456578280f35b8b988a978c51998a988997889663f23a6e6160e01b9e8f895233908901526024880152860152840152820160a0905260a4820161049291611e0a565b03925af1869181610554575b506105235750506001906104b0612723565b6308c379a0146104f0575b506104d35750505b8180808080808080808981808280f35b5162461bcd60e51b8152915081906104ec9082016127af565b0390fd5b6104f8612741565b8061050357506104bb565b6104ec8591855193849362461bcd60e51b85528401526024830190611e0a565b6001600160e01b03191603905061053b5750506104c3565b5162461bcd60e51b8152915081906104ec9082016126da565b610575919250843d861161057c575b61056d8183611dc6565b8101906126ba565b908761049e565b503d610563565b508583526001602090815287842033855290528683205460ff1661030b565b5050346101d057806003193601126101d05760ff816020936105c2611cf4565b6105ca611d0f565b6001600160a01b0391821683526001875283832091168252855220549151911615158152f35b5050346101d057816003193601126101d05780519082600b5461061281611d25565b808552916001918083169081156106b15750600114610654575b50505061063e82610650940383611dc6565b51918291602083526020830190611e0a565b0390f35b9450600b85527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db95b8286106106995750505061063e826020610650958201019461062c565b8054602087870181019190915290950194810161067c565b61065097508693506020925061063e94915060ff191682840152151560051b8201019461062c565b8334610827576106e836611f48565b916106f1611f83565b8251906001600160401b038211610814575061070e600754611d25565b601f81116107c3575b50602080601f831160011461075457508293829392610749575b50508160011b916000199060031b1c19161760075580f35b015190508380610731565b60078452601f19831694600080516020612e5c833981519152929185905b8782106107ab575050836001959610610792575b505050811b0160075580f35b015160001960f88460031b161c19169055838080610786565b80600185968294968601518155019501930190610772565b60078352600080516020612e5c833981519152601f830160051c8101916020841061080a575b601f0160051c01905b8181106107ff5750610717565b8381556001016107f2565b90915081906107e9565b634e487b7160e01b835260419052602482fd5b80fd5b9050346102a057816003193601126102a057610865916108606001833592610850611d0f565b94848852602052862001546122c7565b6123d4565b80f35b82843461082757602036600319011261082757506108896106509235612add565b9051918291602083526020830190611e0a565b5050346101d057816003193601126101d057805190826007546108be81611d25565b808552916001918083169081156106b157506001146108e95750505061063e82610650940383611dc6565b945060078552600080516020612e5c8339815191525b82861061091c5750505061063e826020610650958201019461062c565b805460208787018101919091529095019481016108ff565b839150346101d057826003193601126101d0576001600160401b03908035828111610b4b5736602382011215610b4b5780820135928311610b4b57602491600591368486851b83010111610b4f57928694813591610990611f83565b87945b82861061099e578880f35b8186829a939495969798999a1b890101359360018060a01b03851693848603610b4b57600854871015610b19576109d587876124a2565b610ad7578a51976109e589611d5f565b8489528515610a8c576109f788612959565b9a610a00612933565b50855b8d8d51821015610a1c5750610a1790612527565b610a03565b87610a7c97989e50610a77959c949a92508b9399919d969d848252600080516020612e3c8339815191526020918383528084208585528352808420610a61815461269f565b905560018151938885528401523392a433612804565b612527565b9490979697959195939293610993565b602160849260208e519362461bcd60e51b85528401528201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152fd5b87601f60649260208e519362461bcd60e51b85528401528201527f596f752061726520616c726561647920686176652074686520746f6b656e2e006044820152fd5b87600d60649260208e519362461bcd60e51b85528401528201526c2737ba1032bc34b9ba1034b21760991b6044820152fd5b8380fd5b8580fd5b90508234610827578260031936011261082757610b6e611cf4565b506024358015150361082757506020608492519162461bcd60e51b8352820152602b60248201527f5468697320746f6b656e206973205342542c20736f20746869732063616e206e60448201526a37ba1030b8383937bb329760a91b6064820152fd5b5050346101d057816003193601126101d05751908152602090f35b5050346101d057816003193601126101d05780519082600a54610c0e81611d25565b808552916001918083169081156106b15750600114610c395750505061063e82610650940383611dc6565b9450600a85527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a85b828610610c7e5750505061063e826020610650958201019461062c565b80546020878701810191909152909501948101610c61565b833461082757610ca536611f48565b91610cae611f83565b8251906001600160401b0382116108145750610ccb600b54611d25565b601f8111610d92575b50602080601f8311600114610d1157508293829392610d06575b50508160011b916000199060031b1c191617600b5580f35b015190508380610cee565b600b8452601f198316947f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9929185905b878210610d7a575050836001959610610d61575b505050811b01600b5580f35b015160001960f88460031b161c19169055838080610d55565b80600185968294968601518155019501930190610d41565b600b83527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9601f830160051c81019160208410610deb575b601f0160051c01905b818110610de05750610cd4565b838155600101610dd3565b9091508190610dca565b9050346102a057816003193601126102a0578160209360ff92610e16611d0f565b813583529086528282206001600160a01b039091168252855220549151911615158152f35b5050346101d057816003193601126101d05760035490516001600160a01b039091168152602090f35b5050346101d057816003193601126101d05760055490516001600160a01b039091168152602090f35b8334610827578060031936011261082757610ea661244a565b600380546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101d057816003193601126101d05780519082600654610f0c81611d25565b808552916001918083169081156106b15750600114610f375750505061063e82610650940383611dc6565b945060068552600080516020612e7c8339815191525b828610610f6a5750505061063e826020610650958201019461062c565b80546020878701810191909152909501948101610f4d565b5050346101d057816003193601126101d0576020906008549051908152f35b833461082757610fb036611f48565b91610fb9611f83565b8251906001600160401b0382116108145750610fd6600654611d25565b601f811161108b575b50602080601f831160011461101c57508293829392611011575b50508160011b916000199060031b1c19161760065580f35b015190508380610ff9565b60068452601f19831694600080516020612e7c833981519152929185905b87821061107357505083600195961061105a575b505050811b0160065580f35b015160001960f88460031b161c1916905583808061104e565b8060018596829496860151815501950193019061103a565b60068352600080516020612e7c833981519152601f830160051c810191602084106110d2575b601f0160051c01905b8181106110c75750610fdf565b8381556001016110ba565b90915081906110b1565b9050346102a05760203660031901126102a057602092506008549035109051908152f35b8334610827578060031936011261082757611119612194565b611124600854612527565b60085580f35b9050346102a057816003193601126102a05780356001600160401b038082116112c357366023830112156112c357818301359061116682611e2f565b9261117386519485611dc6565b82845260209260248486019160051b830101913683116112bf57602401905b82821061129c57505050602435908111610b4f576111b39036908501611e46565b92825184510361124957508151946111ca86611e2f565b956111d786519788611dc6565b8087526111e6601f1991611e2f565b0136838801375b825181101561123757611232906112226001600160a01b0361120f838761256f565b511661121b838861256f565b51906124a2565b61122c828961256f565b52612527565b6111ed565b84518281528061065081850189611f14565b60849185519162461bcd60e51b8352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152fd5b81356001600160a01b03811681036112bb578152908401908401611192565b8980fd5b8880fd5b8480fd5b919050346102a05760209081600319360112610b4b578235936112ea85336124a2565b156114a0573315908115916114515761130286612959565b9561130b612933565b5081845161131881611d5f565b52815b875181101561139e578284611396575b1561133e5761133990612527565b61131b565b845162461bcd60e51b8152808801879052602c60248201527f5468697320746f6b656e206973205342542c20736f20746869732063616e206e60448201526b37ba103a3930b739b332b91760a11b6064820152608490fd5b50600161132b565b509150929381845283855282842033855285528284205490600182106114025750906001849585938361086597528482528585203386528252600019018585205584519283528201523390600080516020612e3c833981519152843392a451611d5f565b835162461bcd60e51b81529081018690526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608490fd5b50505162461bcd60e51b815291820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260849150fd5b505162461bcd60e51b815291820152601960248201527f596f7520646f6e277420686176652074686520746f6b656e2e00000000000000604482015260649150fd5b9050346102a057816003193601126102a0576114fc611cf4565b60243590611508612194565b60085482101561164b5761151c82826124a2565b6116085783519261152c84611d5f565b8584526001600160a01b0382169081156115bb575061154a83612959565b94611553612933565b50865b87875182101561156f575061156a90612527565b611556565b919050610865965084825281602052808220838352602052808220611594815461269f565b9055600080516020612e3c833981519152815191868352600160208401523392a433612804565b608490602087519162461bcd60e51b8352820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152fd5b835162461bcd60e51b8152602081850152601f60248201527f596f752061726520616c726561647920686176652074686520746f6b656e2e006044820152606490fd5b835162461bcd60e51b8152602081850152600d60248201526c2737ba1032bc34b9ba1034b21760991b6044820152606490fd5b839150346101d057826003193601126101d057611699611d0f565b90336001600160a01b038316036116b5579061086591356123d4565b608490602085519162461bcd60e51b8352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152fd5b9050346102a057816003193601126102a05780359161172d611d0f565b9183855280602052611744600183872001546122c7565b83855260208181528286206001600160a01b039094168087529390528185205460ff1615611770578480f35b8385526020528084208285526020528320600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8480a4388080808480f35b839150346101d0576003199160a036840112610827576117d8611cf4565b936117e1611d0f565b906044918235966001600160401b0397888111610b4f576118059036908801611e46565b9660649586358a81116101d05761181f9036908a01611e46565b9360849a8b359081116102a0576118399036908b01611ef6565b946001600160a01b03948516943386148015611afa575b61185990612583565b8b51825103611aa957829b96949b1680159561187587156125e6565b84978115968715995b82518110156118a857888b6118a1575b156103695761189c90612527565b61187e565b508961188e565b50949d939c975097509799945097929b8c5b8d885182101561193f57908c6119338d61193a948e8e6118e68f6118df89809261256f565b519761256f565b5195808452866020928584528686208187528452868620549061190b83831015612640565b83875286855287872090875284520385852055835282815283832091835252209182546126ad565b9055612527565b6118ba565b9b90508c9a99969a9894959887868c7f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb6119818d835193808552840190611f14565b91808303602082015280611996339489611f14565b0390a43b6119a2578b80f35b8a988a51988997889763bc197c8160e01b9c8d8a5233908a01526024890152870160a0905260a487016119d491611f14565b908487830301908701526119e791611f14565b9184830301908401526119f991611e0a565b0381885a94602095f1859181611a89575b50611a735750506001611a1b612723565b6308c379a014611a3c575b6104d35750505b81808080808080808080808b80f35b611a44612741565b80611a4f5750611a26565b90506104ec91602094505193849362461bcd60e51b85528401526024830190611e0a565b6001600160e01b0319160361053b575050611a2d565b611aa291925060203d811161057c5761056d8183611dc6565b9086611a0a565b875162461bcd60e51b81526020818d0152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e67746820818b0152670dad2e6dac2e8c6d60c31b818c01528d90fd5b508584526001602090815288852033865290528784205460ff16611850565b5050346101d057816003193601126101d057516420a226a4a760d91b8152602090f35b833461082757602036600319011261082757611b56611cf4565b611b5e611f83565b60018060a01b03166bffffffffffffffffffffffff60a01b600554161760055580f35b9050346102a05760203660031901126102a057816020938260019335825285522001549051908152f35b5050346101d057816003193601126101d05780519082600954611bcd81611d25565b808552916001918083169081156106b15750600114611bf85750505061063e82610650940383611dc6565b9450600985527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af5b828610611c3d5750505061063e826020610650958201019461062c565b80546020878701810191909152909501948101611c20565b9050346102a05760203660031901126102a05735906001600160e01b03198216808303610b4b5760209350637965db0b60e01b14918215611cb3575b8215611ca1575b50519015158152f35b611cac919250612a99565b9038611c98565b9150611cbe82612a99565b91611c91565b5050346101d057806003193601126101d057602090611ced611ce4611cf4565b602435906124a2565b9051908152f35b600435906001600160a01b0382168203611d0a57565b600080fd5b602435906001600160a01b0382168203611d0a57565b90600182811c92168015611d55575b6020831014611d3f57565b634e487b7160e01b600052602260045260246000fd5b91607f1691611d34565b602081019081106001600160401b03821117611d7a57604052565b634e487b7160e01b600052604160045260246000fd5b604081019081106001600160401b03821117611d7a57604052565b608081019081106001600160401b03821117611d7a57604052565b90601f801991011681019081106001600160401b03821117611d7a57604052565b60005b838110611dfa5750506000910152565b8181015183820152602001611dea565b90602091611e2381518092818552858086019101611de7565b601f01601f1916010190565b6001600160401b038111611d7a5760051b60200190565b81601f82011215611d0a57803591611e5d83611e2f565b92611e6b6040519485611dc6565b808452602092838086019260051b820101928311611d0a578301905b828210611e95575050505090565b81358152908301908301611e87565b6001600160401b038111611d7a57601f01601f191660200190565b929192611ecb82611ea4565b91611ed96040519384611dc6565b829481845281830111611d0a578281602093846000960137010152565b9080601f83011215611d0a57816020611f1193359101611ebf565b90565b90815180825260208080930193019160005b828110611f34575050505090565b835185529381019392810192600101611f26565b6020600319820112611d0a57600435906001600160401b038211611d0a5780602383011215611d0a57816024611f1193600401359101611ebf565b3360009081527fb24965f6fec6d515561eb5638d731469a6c4e923e59b9c1a72c12a009eb566d1602090815260408083205491926004926420a226a4a760d91b919060ff1615611fd4575050505050565b611fdd3361298b565b91835190611fea82611dab565b60428252868201926060368537825115612181576030845382519060019182101561216e5790607860218501536041915b818311612103575050506120c25760486120999385936120a8936104ec975196879376020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8c8601526120708c8251928391603789019101611de7565b8401917001034b99036b4b9b9b4b733903937b6329607d1b603784015251809386840190611de7565b01036028810185520183611dc6565b5193849362461bcd60e51b85528401526024830190611e0a565b606485878087519262461bcd60e51b845283015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f8116601081101561215b576f181899199a1a9b1b9c1cb0b131b232b360811b901a612133858761297a565b53881c9280156121485760001901919061201b565b634e487b7160e01b825260118952602482fd5b634e487b7160e01b835260328a52602483fd5b634e487b7160e01b815260328852602490fd5b634e487b7160e01b815260328752602490fd5b3360009081527fb02976f97b750fe49b6cad28f7a0870b5575ed26149cd3f5aae16c0e1b1c9f7e602090815260408083205491926004926526a4a72a22a960d11b919060ff16156121e6575050505050565b6121ef3361298b565b918351906121fc82611dab565b60428252868201926060368537825115612181576030845382519060019182101561216e5790607860218501536041915b818311612282575050506120c25760486120999385936120a8936104ec975196879376020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8c8601526120708c8251928391603789019101611de7565b909192600f8116601081101561215b576f181899199a1a9b1b9c1cb0b131b232b360811b901a6122b2858761297a565b53881c9280156121485760001901919061222d565b6000818152600490602092828452604091828120338252855260ff8382205416156122f3575050505050565b6122fc3361298b565b9183519061230982611dab565b60428252868201926060368537825115612181576030845382519060019182101561216e5790607860218501536041915b81831161238f575050506120c25760486120999385936120a8936104ec975196879376020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8c8601526120708c8251928391603789019101611de7565b909192600f8116601081101561215b576f181899199a1a9b1b9c1cb0b131b232b360811b901a6123bf858761297a565b53881c9280156121485760001901919061233a565b906000918083526004602052604083209160018060a01b03169182845260205260ff60408420541661240557505050565b8083526004602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b6003546001600160a01b0316330361245e57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b03169081156124cf57600052600060205260406000209060005260205260406000205490565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b6064820152608490fd5b60001981146125365760010190565b634e487b7160e01b600052601160045260246000fd5b8051156125595760200190565b634e487b7160e01b600052603260045260246000fd5b80518210156125595760209160051b010190565b1561258a57565b60405162461bcd60e51b815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526d195c881bdc88185c1c1c9bdd995960921b6064820152608490fd5b156125ed57565b60405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b1561264757565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608490fd5b906001820180921161253657565b9190820180921161253657565b90816020910312611d0a57516001600160e01b031981168103611d0a5790565b60809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b60608201520190565b60009060033d1161273057565b905060046000803e60005160e01c90565b600060443d10611f1157604051600319913d83016004833e81516001600160401b03918282113d60248401111761279e578184019485519384116127a6573d8501016020848701011161279e5750611f1192910160200190611dc6565b949350505050565b50949350505050565b60809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60608201520190565b9192813b612813575b50505050565b60209161286391600060405195868095819463f23a6e6160e01b9a8b845260018060a01b03809516600485015285602485015260448401526001606484015260a0608484015260a4830190611e0a565b0393165af160009181612913575b506128eb5750506001612882612723565b6308c379a0146128b4575b61289b575b3880808061280d565b60405162461bcd60e51b8152806104ec600482016127af565b6128bc612741565b806128c7575061288d565b60405162461bcd60e51b8152602060048201529081906104ec906024830190611e0a565b6001600160e01b031916146128925760405162461bcd60e51b8152806104ec600482016126da565b61292c91925060203d811161057c5761056d8183611dc6565b9038612871565b60405161293f81611d90565b600181526020368183013760016129558261254c565b5290565b6040519061296682611d90565b60018252602036818401376129558261254c565b908151811015612559570160200190565b60405190606082018281106001600160401b03821117611d7a57604052602a82526020820160403682378251156125595760309053815160019081101561255957607860218401536029905b808211612a2b5750506129e75790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015612a84576f181899199a1a9b1b9c1cb0b131b232b360811b901a612a5a848661297a565b5360041c918015612a6f5760001901906129d7565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fd5b63ffffffff60e01b16636cdb3d1360e11b8114908115612acc575b8115612abe575090565b6301ffc9a760e01b14919050565b6303a24d0760e21b81149150612ab4565b6005546001600160a01b03169060008215612ba2575060009060246040518094819363c87b56dd60e01b835260048301525afa908115612b9657600091612b22575090565b903d8082843e612b328184611dc6565b8201916020818403126101d0578051906001600160401b0382116102a0570182601f820112156101d057805191612b6883611ea4565b93612b766040519586611dc6565b83855260208484010111610827575090611f119160208085019101611de7565b6040513d6000823e3d90fd5b90915081817a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008281811015612e2d575b50506d04ee2d6d415b85acef810000000080831015612e20575b50662386f26fc1000080831015612e13575b506305f5e10080831015612e06575b5061271080831015612df9575b506064821015612deb575b600a80921015612de3575b600180820194612c53612c3d87611ea4565b96612c4b6040519889611dc6565b808852611ea4565b93602091836021848a0196601f198099013689378a0101905b612db4575b5050506040519586938691600654612c8881611d25565b90858782169182600014612d95575050600114612d4d575b508291612cb09151938491611de7565b01908560075493612cc085611d25565b94818116908115612d2e5750600114612ce9575b5050505050611f119203908101835282611dc6565b60078252600080516020612e5c83398151915297505b848210612d1857505050019250611f1138808080612cd4565b8754848301529687019688955090820190612cff565b60ff1916855250505050811515909102019250611f1138808080612cd4565b600689529192509087600080516020612e7c8339815191525b828210612d7d575050850183019190612cb0612ca0565b80549782018601979097528996908501908601612d66565b60ff19168982015282151590920288019091019350612cb09050612ca0565b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a835304908482612c6c5750612c71565b600101612c2b565b906064600291049101612c20565b6004919204910138612c15565b6008919204910138612c08565b6010919204910138612bf9565b6020919204910138612be7565b915091500460403880612bcd56fec3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688f652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3fa26469706673582212208d7e75847e880fff242b4d3cd9b966cdeec25dfaf688a34f90b5ea7e7ab2e4c464736f6c634300081100332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000008002a7d587953b82244cb8adff9e5253e1ef42ee00000000000000000000000021343cdd00673a69dab4c01400f48a99223c3b910000000000000000000000008002a7d587953b82244cb8adff9e5253e1ef42ee00000000000000000000000000000000000000000000000000000000000000235468697264576562696e617257697468466163656c657373456e67696e656572446179000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045457454400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f666163656c6573732d7469636b65742f0000000000000000000000000000000000

Deployed Bytecode

0x6040608081526004908136101561001557600080fd5b600091823560e01c908162fdd58e14611cc457816301ffc9a714611c5557816306fdde0314611bab5781630e89341c14610868578163248a9ca314611b8157816325752d1814611b3c5781632a0acc6a14611b195781632eb2c2d6146117ba5781632f2ff15d1461171057816336568abe1461167e57816340c10f19146114e257816342966c68146112c75781634e1273f41461112a5781634f2be91f146111005781634f558e79146110dc57816355f804b314610fa157816361b8ce8c14610f825781636c0360eb14610eea578163715018a614610e8d57816380f801cb14610e645781638da5cb5b14610e3b57816391d1485414610df5578163938e3d7b14610c9657816395d89b4114610bec578163a217fddf14610bd1578163a22cb46514610b53578163c204642c14610934578163c66828621461089c578163c87b56dd14610868578163d547741f1461082a578163da3ef23f146106d9578163e8a3d485146105f0578163e985e9c5146105a2578163f242432a146102a4578163f2fde38b146101d4575063fe6d8124146101ae57600080fd5b346101d057816003193601126101d057516526a4a72a22a960d11b8152602090f35b5080fd5b9050346102a05760203660031901126102a0576101ef611cf4565b906101f861244a565b6001600160a01b0391821692831561024e575050600354826bffffffffffffffffffffffff60a01b821617600355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b9050346102a05760a03660031901126102a0576102bf611cf4565b6102c7611d0f565b9260449081359260649384359660849889356001600160401b0381116101d0576102f49036908a01611ef6565b986001600160a01b03948516943386148015610583575b610317909b969b612583565b83169384159461032786156125e6565b61033082612959565b9b8c9761033c85612959565b50859682159788159a5b518110156103c857888b6103c1575b156103695761036390612527565b8f610346565b5050895162461bcd60e51b81526020818f0152602c60248201527f5468697320746f6b656e206973205342542c20736f20746869732063616e206e818d01526b37ba103a3930b739b332b91760a11b818e01528f9150fd5b5089610355565b508f938798508c8f988f958e9995600080516020612e3c833981519152999586845285838d60209d8e91888352808920848a5283528c818a205461040e82821015612640565b8d8b528a8552828b20868c52855203818a20558b8952888352808920858a5283528c61043e828b209182546126ad565b90558c8151938d85528401523392a43b610456578280f35b8b988a978c51998a988997889663f23a6e6160e01b9e8f895233908901526024880152860152840152820160a0905260a4820161049291611e0a565b03925af1869181610554575b506105235750506001906104b0612723565b6308c379a0146104f0575b506104d35750505b8180808080808080808981808280f35b5162461bcd60e51b8152915081906104ec9082016127af565b0390fd5b6104f8612741565b8061050357506104bb565b6104ec8591855193849362461bcd60e51b85528401526024830190611e0a565b6001600160e01b03191603905061053b5750506104c3565b5162461bcd60e51b8152915081906104ec9082016126da565b610575919250843d861161057c575b61056d8183611dc6565b8101906126ba565b908761049e565b503d610563565b508583526001602090815287842033855290528683205460ff1661030b565b5050346101d057806003193601126101d05760ff816020936105c2611cf4565b6105ca611d0f565b6001600160a01b0391821683526001875283832091168252855220549151911615158152f35b5050346101d057816003193601126101d05780519082600b5461061281611d25565b808552916001918083169081156106b15750600114610654575b50505061063e82610650940383611dc6565b51918291602083526020830190611e0a565b0390f35b9450600b85527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db95b8286106106995750505061063e826020610650958201019461062c565b8054602087870181019190915290950194810161067c565b61065097508693506020925061063e94915060ff191682840152151560051b8201019461062c565b8334610827576106e836611f48565b916106f1611f83565b8251906001600160401b038211610814575061070e600754611d25565b601f81116107c3575b50602080601f831160011461075457508293829392610749575b50508160011b916000199060031b1c19161760075580f35b015190508380610731565b60078452601f19831694600080516020612e5c833981519152929185905b8782106107ab575050836001959610610792575b505050811b0160075580f35b015160001960f88460031b161c19169055838080610786565b80600185968294968601518155019501930190610772565b60078352600080516020612e5c833981519152601f830160051c8101916020841061080a575b601f0160051c01905b8181106107ff5750610717565b8381556001016107f2565b90915081906107e9565b634e487b7160e01b835260419052602482fd5b80fd5b9050346102a057816003193601126102a057610865916108606001833592610850611d0f565b94848852602052862001546122c7565b6123d4565b80f35b82843461082757602036600319011261082757506108896106509235612add565b9051918291602083526020830190611e0a565b5050346101d057816003193601126101d057805190826007546108be81611d25565b808552916001918083169081156106b157506001146108e95750505061063e82610650940383611dc6565b945060078552600080516020612e5c8339815191525b82861061091c5750505061063e826020610650958201019461062c565b805460208787018101919091529095019481016108ff565b839150346101d057826003193601126101d0576001600160401b03908035828111610b4b5736602382011215610b4b5780820135928311610b4b57602491600591368486851b83010111610b4f57928694813591610990611f83565b87945b82861061099e578880f35b8186829a939495969798999a1b890101359360018060a01b03851693848603610b4b57600854871015610b19576109d587876124a2565b610ad7578a51976109e589611d5f565b8489528515610a8c576109f788612959565b9a610a00612933565b50855b8d8d51821015610a1c5750610a1790612527565b610a03565b87610a7c97989e50610a77959c949a92508b9399919d969d848252600080516020612e3c8339815191526020918383528084208585528352808420610a61815461269f565b905560018151938885528401523392a433612804565b612527565b9490979697959195939293610993565b602160849260208e519362461bcd60e51b85528401528201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152fd5b87601f60649260208e519362461bcd60e51b85528401528201527f596f752061726520616c726561647920686176652074686520746f6b656e2e006044820152fd5b87600d60649260208e519362461bcd60e51b85528401528201526c2737ba1032bc34b9ba1034b21760991b6044820152fd5b8380fd5b8580fd5b90508234610827578260031936011261082757610b6e611cf4565b506024358015150361082757506020608492519162461bcd60e51b8352820152602b60248201527f5468697320746f6b656e206973205342542c20736f20746869732063616e206e60448201526a37ba1030b8383937bb329760a91b6064820152fd5b5050346101d057816003193601126101d05751908152602090f35b5050346101d057816003193601126101d05780519082600a54610c0e81611d25565b808552916001918083169081156106b15750600114610c395750505061063e82610650940383611dc6565b9450600a85527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a85b828610610c7e5750505061063e826020610650958201019461062c565b80546020878701810191909152909501948101610c61565b833461082757610ca536611f48565b91610cae611f83565b8251906001600160401b0382116108145750610ccb600b54611d25565b601f8111610d92575b50602080601f8311600114610d1157508293829392610d06575b50508160011b916000199060031b1c191617600b5580f35b015190508380610cee565b600b8452601f198316947f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9929185905b878210610d7a575050836001959610610d61575b505050811b01600b5580f35b015160001960f88460031b161c19169055838080610d55565b80600185968294968601518155019501930190610d41565b600b83527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9601f830160051c81019160208410610deb575b601f0160051c01905b818110610de05750610cd4565b838155600101610dd3565b9091508190610dca565b9050346102a057816003193601126102a0578160209360ff92610e16611d0f565b813583529086528282206001600160a01b039091168252855220549151911615158152f35b5050346101d057816003193601126101d05760035490516001600160a01b039091168152602090f35b5050346101d057816003193601126101d05760055490516001600160a01b039091168152602090f35b8334610827578060031936011261082757610ea661244a565b600380546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346101d057816003193601126101d05780519082600654610f0c81611d25565b808552916001918083169081156106b15750600114610f375750505061063e82610650940383611dc6565b945060068552600080516020612e7c8339815191525b828610610f6a5750505061063e826020610650958201019461062c565b80546020878701810191909152909501948101610f4d565b5050346101d057816003193601126101d0576020906008549051908152f35b833461082757610fb036611f48565b91610fb9611f83565b8251906001600160401b0382116108145750610fd6600654611d25565b601f811161108b575b50602080601f831160011461101c57508293829392611011575b50508160011b916000199060031b1c19161760065580f35b015190508380610ff9565b60068452601f19831694600080516020612e7c833981519152929185905b87821061107357505083600195961061105a575b505050811b0160065580f35b015160001960f88460031b161c1916905583808061104e565b8060018596829496860151815501950193019061103a565b60068352600080516020612e7c833981519152601f830160051c810191602084106110d2575b601f0160051c01905b8181106110c75750610fdf565b8381556001016110ba565b90915081906110b1565b9050346102a05760203660031901126102a057602092506008549035109051908152f35b8334610827578060031936011261082757611119612194565b611124600854612527565b60085580f35b9050346102a057816003193601126102a05780356001600160401b038082116112c357366023830112156112c357818301359061116682611e2f565b9261117386519485611dc6565b82845260209260248486019160051b830101913683116112bf57602401905b82821061129c57505050602435908111610b4f576111b39036908501611e46565b92825184510361124957508151946111ca86611e2f565b956111d786519788611dc6565b8087526111e6601f1991611e2f565b0136838801375b825181101561123757611232906112226001600160a01b0361120f838761256f565b511661121b838861256f565b51906124a2565b61122c828961256f565b52612527565b6111ed565b84518281528061065081850189611f14565b60849185519162461bcd60e51b8352820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152fd5b81356001600160a01b03811681036112bb578152908401908401611192565b8980fd5b8880fd5b8480fd5b919050346102a05760209081600319360112610b4b578235936112ea85336124a2565b156114a0573315908115916114515761130286612959565b9561130b612933565b5081845161131881611d5f565b52815b875181101561139e578284611396575b1561133e5761133990612527565b61131b565b845162461bcd60e51b8152808801879052602c60248201527f5468697320746f6b656e206973205342542c20736f20746869732063616e206e60448201526b37ba103a3930b739b332b91760a11b6064820152608490fd5b50600161132b565b509150929381845283855282842033855285528284205490600182106114025750906001849585938361086597528482528585203386528252600019018585205584519283528201523390600080516020612e3c833981519152843392a451611d5f565b835162461bcd60e51b81529081018690526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608490fd5b50505162461bcd60e51b815291820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b606482015260849150fd5b505162461bcd60e51b815291820152601960248201527f596f7520646f6e277420686176652074686520746f6b656e2e00000000000000604482015260649150fd5b9050346102a057816003193601126102a0576114fc611cf4565b60243590611508612194565b60085482101561164b5761151c82826124a2565b6116085783519261152c84611d5f565b8584526001600160a01b0382169081156115bb575061154a83612959565b94611553612933565b50865b87875182101561156f575061156a90612527565b611556565b919050610865965084825281602052808220838352602052808220611594815461269f565b9055600080516020612e3c833981519152815191868352600160208401523392a433612804565b608490602087519162461bcd60e51b8352820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152fd5b835162461bcd60e51b8152602081850152601f60248201527f596f752061726520616c726561647920686176652074686520746f6b656e2e006044820152606490fd5b835162461bcd60e51b8152602081850152600d60248201526c2737ba1032bc34b9ba1034b21760991b6044820152606490fd5b839150346101d057826003193601126101d057611699611d0f565b90336001600160a01b038316036116b5579061086591356123d4565b608490602085519162461bcd60e51b8352820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152fd5b9050346102a057816003193601126102a05780359161172d611d0f565b9183855280602052611744600183872001546122c7565b83855260208181528286206001600160a01b039094168087529390528185205460ff1615611770578480f35b8385526020528084208285526020528320600160ff1982541617905533917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8480a4388080808480f35b839150346101d0576003199160a036840112610827576117d8611cf4565b936117e1611d0f565b906044918235966001600160401b0397888111610b4f576118059036908801611e46565b9660649586358a81116101d05761181f9036908a01611e46565b9360849a8b359081116102a0576118399036908b01611ef6565b946001600160a01b03948516943386148015611afa575b61185990612583565b8b51825103611aa957829b96949b1680159561187587156125e6565b84978115968715995b82518110156118a857888b6118a1575b156103695761189c90612527565b61187e565b508961188e565b50949d939c975097509799945097929b8c5b8d885182101561193f57908c6119338d61193a948e8e6118e68f6118df89809261256f565b519761256f565b5195808452866020928584528686208187528452868620549061190b83831015612640565b83875286855287872090875284520385852055835282815283832091835252209182546126ad565b9055612527565b6118ba565b9b90508c9a99969a9894959887868c7f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb6119818d835193808552840190611f14565b91808303602082015280611996339489611f14565b0390a43b6119a2578b80f35b8a988a51988997889763bc197c8160e01b9c8d8a5233908a01526024890152870160a0905260a487016119d491611f14565b908487830301908701526119e791611f14565b9184830301908401526119f991611e0a565b0381885a94602095f1859181611a89575b50611a735750506001611a1b612723565b6308c379a014611a3c575b6104d35750505b81808080808080808080808b80f35b611a44612741565b80611a4f5750611a26565b90506104ec91602094505193849362461bcd60e51b85528401526024830190611e0a565b6001600160e01b0319160361053b575050611a2d565b611aa291925060203d811161057c5761056d8183611dc6565b9086611a0a565b875162461bcd60e51b81526020818d0152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e67746820818b0152670dad2e6dac2e8c6d60c31b818c01528d90fd5b508584526001602090815288852033865290528784205460ff16611850565b5050346101d057816003193601126101d057516420a226a4a760d91b8152602090f35b833461082757602036600319011261082757611b56611cf4565b611b5e611f83565b60018060a01b03166bffffffffffffffffffffffff60a01b600554161760055580f35b9050346102a05760203660031901126102a057816020938260019335825285522001549051908152f35b5050346101d057816003193601126101d05780519082600954611bcd81611d25565b808552916001918083169081156106b15750600114611bf85750505061063e82610650940383611dc6565b9450600985527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af5b828610611c3d5750505061063e826020610650958201019461062c565b80546020878701810191909152909501948101611c20565b9050346102a05760203660031901126102a05735906001600160e01b03198216808303610b4b5760209350637965db0b60e01b14918215611cb3575b8215611ca1575b50519015158152f35b611cac919250612a99565b9038611c98565b9150611cbe82612a99565b91611c91565b5050346101d057806003193601126101d057602090611ced611ce4611cf4565b602435906124a2565b9051908152f35b600435906001600160a01b0382168203611d0a57565b600080fd5b602435906001600160a01b0382168203611d0a57565b90600182811c92168015611d55575b6020831014611d3f57565b634e487b7160e01b600052602260045260246000fd5b91607f1691611d34565b602081019081106001600160401b03821117611d7a57604052565b634e487b7160e01b600052604160045260246000fd5b604081019081106001600160401b03821117611d7a57604052565b608081019081106001600160401b03821117611d7a57604052565b90601f801991011681019081106001600160401b03821117611d7a57604052565b60005b838110611dfa5750506000910152565b8181015183820152602001611dea565b90602091611e2381518092818552858086019101611de7565b601f01601f1916010190565b6001600160401b038111611d7a5760051b60200190565b81601f82011215611d0a57803591611e5d83611e2f565b92611e6b6040519485611dc6565b808452602092838086019260051b820101928311611d0a578301905b828210611e95575050505090565b81358152908301908301611e87565b6001600160401b038111611d7a57601f01601f191660200190565b929192611ecb82611ea4565b91611ed96040519384611dc6565b829481845281830111611d0a578281602093846000960137010152565b9080601f83011215611d0a57816020611f1193359101611ebf565b90565b90815180825260208080930193019160005b828110611f34575050505090565b835185529381019392810192600101611f26565b6020600319820112611d0a57600435906001600160401b038211611d0a5780602383011215611d0a57816024611f1193600401359101611ebf565b3360009081527fb24965f6fec6d515561eb5638d731469a6c4e923e59b9c1a72c12a009eb566d1602090815260408083205491926004926420a226a4a760d91b919060ff1615611fd4575050505050565b611fdd3361298b565b91835190611fea82611dab565b60428252868201926060368537825115612181576030845382519060019182101561216e5790607860218501536041915b818311612103575050506120c25760486120999385936120a8936104ec975196879376020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8c8601526120708c8251928391603789019101611de7565b8401917001034b99036b4b9b9b4b733903937b6329607d1b603784015251809386840190611de7565b01036028810185520183611dc6565b5193849362461bcd60e51b85528401526024830190611e0a565b606485878087519262461bcd60e51b845283015260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b909192600f8116601081101561215b576f181899199a1a9b1b9c1cb0b131b232b360811b901a612133858761297a565b53881c9280156121485760001901919061201b565b634e487b7160e01b825260118952602482fd5b634e487b7160e01b835260328a52602483fd5b634e487b7160e01b815260328852602490fd5b634e487b7160e01b815260328752602490fd5b3360009081527fb02976f97b750fe49b6cad28f7a0870b5575ed26149cd3f5aae16c0e1b1c9f7e602090815260408083205491926004926526a4a72a22a960d11b919060ff16156121e6575050505050565b6121ef3361298b565b918351906121fc82611dab565b60428252868201926060368537825115612181576030845382519060019182101561216e5790607860218501536041915b818311612282575050506120c25760486120999385936120a8936104ec975196879376020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8c8601526120708c8251928391603789019101611de7565b909192600f8116601081101561215b576f181899199a1a9b1b9c1cb0b131b232b360811b901a6122b2858761297a565b53881c9280156121485760001901919061222d565b6000818152600490602092828452604091828120338252855260ff8382205416156122f3575050505050565b6122fc3361298b565b9183519061230982611dab565b60428252868201926060368537825115612181576030845382519060019182101561216e5790607860218501536041915b81831161238f575050506120c25760486120999385936120a8936104ec975196879376020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b8c8601526120708c8251928391603789019101611de7565b909192600f8116601081101561215b576f181899199a1a9b1b9c1cb0b131b232b360811b901a6123bf858761297a565b53881c9280156121485760001901919061233a565b906000918083526004602052604083209160018060a01b03169182845260205260ff60408420541661240557505050565b8083526004602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4565b6003546001600160a01b0316330361245e57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b03169081156124cf57600052600060205260406000209060005260205260406000205490565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b6064820152608490fd5b60001981146125365760010190565b634e487b7160e01b600052601160045260246000fd5b8051156125595760200190565b634e487b7160e01b600052603260045260246000fd5b80518210156125595760209160051b010190565b1561258a57565b60405162461bcd60e51b815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526d195c881bdc88185c1c1c9bdd995960921b6064820152608490fd5b156125ed57565b60405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b1561264757565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608490fd5b906001820180921161253657565b9190820180921161253657565b90816020910312611d0a57516001600160e01b031981168103611d0a5790565b60809060208152602860208201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b60608201520190565b60009060033d1161273057565b905060046000803e60005160e01c90565b600060443d10611f1157604051600319913d83016004833e81516001600160401b03918282113d60248401111761279e578184019485519384116127a6573d8501016020848701011161279e5750611f1192910160200190611dc6565b949350505050565b50949350505050565b60809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60608201520190565b9192813b612813575b50505050565b60209161286391600060405195868095819463f23a6e6160e01b9a8b845260018060a01b03809516600485015285602485015260448401526001606484015260a0608484015260a4830190611e0a565b0393165af160009181612913575b506128eb5750506001612882612723565b6308c379a0146128b4575b61289b575b3880808061280d565b60405162461bcd60e51b8152806104ec600482016127af565b6128bc612741565b806128c7575061288d565b60405162461bcd60e51b8152602060048201529081906104ec906024830190611e0a565b6001600160e01b031916146128925760405162461bcd60e51b8152806104ec600482016126da565b61292c91925060203d811161057c5761056d8183611dc6565b9038612871565b60405161293f81611d90565b600181526020368183013760016129558261254c565b5290565b6040519061296682611d90565b60018252602036818401376129558261254c565b908151811015612559570160200190565b60405190606082018281106001600160401b03821117611d7a57604052602a82526020820160403682378251156125595760309053815160019081101561255957607860218401536029905b808211612a2b5750506129e75790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015612a84576f181899199a1a9b1b9c1cb0b131b232b360811b901a612a5a848661297a565b5360041c918015612a6f5760001901906129d7565b60246000634e487b7160e01b81526011600452fd5b60246000634e487b7160e01b81526032600452fd5b63ffffffff60e01b16636cdb3d1360e11b8114908115612acc575b8115612abe575090565b6301ffc9a760e01b14919050565b6303a24d0760e21b81149150612ab4565b6005546001600160a01b03169060008215612ba2575060009060246040518094819363c87b56dd60e01b835260048301525afa908115612b9657600091612b22575090565b903d8082843e612b328184611dc6565b8201916020818403126101d0578051906001600160401b0382116102a0570182601f820112156101d057805191612b6883611ea4565b93612b766040519586611dc6565b83855260208484010111610827575090611f119160208085019101611de7565b6040513d6000823e3d90fd5b90915081817a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008281811015612e2d575b50506d04ee2d6d415b85acef810000000080831015612e20575b50662386f26fc1000080831015612e13575b506305f5e10080831015612e06575b5061271080831015612df9575b506064821015612deb575b600a80921015612de3575b600180820194612c53612c3d87611ea4565b96612c4b6040519889611dc6565b808852611ea4565b93602091836021848a0196601f198099013689378a0101905b612db4575b5050506040519586938691600654612c8881611d25565b90858782169182600014612d95575050600114612d4d575b508291612cb09151938491611de7565b01908560075493612cc085611d25565b94818116908115612d2e5750600114612ce9575b5050505050611f119203908101835282611dc6565b60078252600080516020612e5c83398151915297505b848210612d1857505050019250611f1138808080612cd4565b8754848301529687019688955090820190612cff565b60ff1916855250505050811515909102019250611f1138808080612cd4565b600689529192509087600080516020612e7c8339815191525b828210612d7d575050850183019190612cb0612ca0565b80549782018601979097528996908501908601612d66565b60ff19168982015282151590920288019091019350612cb09050612ca0565b600019019082906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a835304908482612c6c5750612c71565b600101612c2b565b906064600291049101612c20565b6004919204910138612c15565b6008919204910138612c08565b6010919204910138612bf9565b6020919204910138612be7565b915091500460403880612bcd56fec3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62a66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688f652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3fa26469706673582212208d7e75847e880fff242b4d3cd9b966cdeec25dfaf688a34f90b5ea7e7ab2e4c464736f6c63430008110033

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.