ETH Price: $3,054.54 (+1.75%)

Token

 

Overview

Max Total Supply

0

Holders

886

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
0x8289432acd5eb0214b1c2526a5edb480aa06a9ab
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
VoterCard

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 12 : VoterCard.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";

contract VoterCard is ERC1155, Ownable, ERC1155Burnable, ERC1155Supply {
    error NonTransferable();

    constructor(string memory _baseURI) ERC1155(_baseURI) {}

    function setURI(string memory uri) public onlyOwner {
        _setURI(uri);
    }

    function mint(address account, uint256 id) public onlyOwner {
        _mint(account, id, 1, "");
    }

    function mintBatch(address[] memory accounts, uint256 id) public onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            _mint(accounts[i], id, 1, "");
        }
    }

    function setApprovalForAll(address, bool) public pure override {
        revert NonTransferable();
    }

    function safeTransferFrom(address, address, uint256, uint256, bytes memory) public pure override {
        revert NonTransferable();
    }

    function safeBatchTransferFrom(address, address, uint256[] memory, uint256[] memory, bytes memory) public pure override {
        revert NonTransferable();
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

File 2 of 12 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

File 3 of 12 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 4 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 12 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 12 : 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 7 of 12 : 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 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 9 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 10 of 12 : 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 11 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NonTransferable","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200364b3803806200364b8339818101604052810190620000379190620002e7565b8062000049816200007160201b60201c565b506200006a6200005e6200008660201b60201c565b6200008e60201b60201c565b506200066a565b806002908162000082919062000583565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620001bd8262000172565b810181811067ffffffffffffffff82111715620001df57620001de62000183565b5b80604052505050565b6000620001f462000154565b9050620002028282620001b2565b919050565b600067ffffffffffffffff82111562000225576200022462000183565b5b620002308262000172565b9050602081019050919050565b60005b838110156200025d57808201518184015260208101905062000240565b60008484015250505050565b6000620002806200027a8462000207565b620001e8565b9050828152602081018484840111156200029f576200029e6200016d565b5b620002ac8482856200023d565b509392505050565b600082601f830112620002cc57620002cb62000168565b5b8151620002de84826020860162000269565b91505092915050565b6000602082840312156200030057620002ff6200015e565b5b600082015167ffffffffffffffff81111562000321576200032062000163565b5b6200032f84828501620002b4565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200038b57607f821691505b602082108103620003a157620003a062000343565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200040b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003cc565b620004178683620003cc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004646200045e62000458846200042f565b62000439565b6200042f565b9050919050565b6000819050919050565b620004808362000443565b620004986200048f826200046b565b848454620003d9565b825550505050565b600090565b620004af620004a0565b620004bc81848462000475565b505050565b5b81811015620004e457620004d8600082620004a5565b600181019050620004c2565b5050565b601f8211156200053357620004fd81620003a7565b6200050884620003bc565b8101602085101562000518578190505b620005306200052785620003bc565b830182620004c1565b50505b505050565b600082821c905092915050565b6000620005586000198460080262000538565b1980831691505092915050565b600062000573838362000545565b9150826002028217905092915050565b6200058e8262000338565b67ffffffffffffffff811115620005aa57620005a962000183565b5b620005b6825462000372565b620005c3828285620004e8565b600060209050601f831160018114620005fb5760008415620005e6578287015190505b620005f2858262000565565b86555062000662565b601f1984166200060b86620003a7565b60005b8281101562000635578489015182556001820191506020850194506020810190506200060e565b8683101562000655578489015162000651601f89168262000545565b8355505b6001600288020188555050505b505050505050565b612fd1806200067a6000396000f3fe608060405234801561001057600080fd5b50600436106101155760003560e01c8063715018a6116100a2578063bd85b03911610071578063bd85b039146102da578063e985e9c51461030a578063f242432a1461033a578063f2fde38b14610356578063f5298aca1461037257610115565b8063715018a61461027a5780638da5cb5b14610284578063a22cb465146102a2578063b6afc4dc146102be57610115565b80632eb2c2d6116100e95780632eb2c2d6146101c657806340c10f19146101e25780634e1273f4146101fe5780634f558e791461022e5780636b20c4541461025e57610115565b8062fdd58e1461011a57806301ffc9a71461014a57806302fe53051461017a5780630e89341c14610196575b600080fd5b610134600480360381019061012f9190611878565b61038e565b60405161014191906118c7565b60405180910390f35b610164600480360381019061015f919061193a565b610456565b6040516101719190611982565b60405180910390f35b610194600480360381019061018f9190611ae3565b610538565b005b6101b060048036038101906101ab9190611b2c565b61054c565b6040516101bd9190611bd8565b60405180910390f35b6101e060048036038101906101db9190611d63565b6105e0565b005b6101fc60048036038101906101f79190611878565b610612565b005b61021860048036038101906102139190611ef5565b61063a565b604051610225919061202b565b60405180910390f35b61024860048036038101906102439190611b2c565b610753565b6040516102559190611982565b60405180910390f35b6102786004803603810190610273919061204d565b610767565b005b610282610804565b005b61028c610818565b60405161029991906120e7565b60405180910390f35b6102bc60048036038101906102b7919061212e565b610842565b005b6102d860048036038101906102d3919061216e565b610874565b005b6102f460048036038101906102ef9190611b2c565b6108d6565b60405161030191906118c7565b60405180910390f35b610324600480360381019061031f91906121ca565b6108f3565b6040516103319190611982565b60405180910390f35b610354600480360381019061034f919061220a565b610987565b005b610370600480360381019061036b91906122a1565b6109b9565b005b61038c600480360381019061038791906122ce565b610a3c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f590612393565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610531575061053082610ad9565b5b9050919050565b610540610b43565b61054981610bc1565b50565b60606002805461055b906123e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610587906123e2565b80156105d45780601f106105a9576101008083540402835291602001916105d4565b820191906000526020600020905b8154815290600101906020018083116105b757829003601f168201915b50505050509050919050565b6040517f9cbe235700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61061a610b43565b6106368282600160405180602001604052806000815250610bd4565b5050565b60608151835114610680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790612485565b60405180910390fd5b6000835167ffffffffffffffff81111561069d5761069c6119b8565b5b6040519080825280602002602001820160405280156106cb5781602001602082028036833780820191505090505b50905060005b8451811015610748576107188582815181106106f0576106ef6124a5565b5b602002602001015185838151811061070b5761070a6124a5565b5b602002602001015161038e565b82828151811061072b5761072a6124a5565b5b6020026020010181815250508061074190612503565b90506106d1565b508091505092915050565b60008061075f836108d6565b119050919050565b61076f610d84565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806107b557506107b4836107af610d84565b6108f3565b5b6107f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107eb906125bd565b60405180910390fd5b6107ff838383610d8c565b505050565b61080c610b43565b610816600061105a565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040517f9cbe235700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61087c610b43565b60005b82518110156108d1576108be83828151811061089e5761089d6124a5565b5b602002602001015183600160405180602001604052806000815250610bd4565b80806108c990612503565b91505061087f565b505050565b600060046000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6040517f9cbe235700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109c1610b43565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a279061264f565b60405180910390fd5b610a398161105a565b50565b610a44610d84565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610a8a5750610a8983610a84610d84565b6108f3565b5b610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac0906125bd565b60405180910390fd5b610ad4838383611120565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b4b610d84565b73ffffffffffffffffffffffffffffffffffffffff16610b69610818565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb6906126bb565b60405180910390fd5b565b8060029081610bd09190612887565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a906129cb565b60405180910390fd5b6000610c4d610d84565b90506000610c5a85611366565b90506000610c6785611366565b9050610c78836000898585896113e0565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cd791906129eb565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051610d55929190612a1f565b60405180910390a4610d6c836000898585896113f6565b610d7b836000898989896113fe565b50505050505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df290612aba565b60405180910390fd5b8051825114610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690612b4c565b60405180910390fd5b6000610e49610d84565b9050610e69818560008686604051806020016040528060008152506113e0565b60005b8351811015610fb6576000848281518110610e8a57610e896124a5565b5b602002602001015190506000848381518110610ea957610ea86124a5565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190612bde565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080610fae90612503565b915050610e6c565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161102e929190612bfe565b60405180910390a4611054818560008686604051806020016040528060008152506113f6565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612aba565b60405180910390fd5b6000611199610d84565b905060006111a684611366565b905060006111b384611366565b90506111d3838760008585604051806020016040528060008152506113e0565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508481101561126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190612bde565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611337929190612a1f565b60405180910390a461135d848860008686604051806020016040528060008152506113f6565b50505050505050565b60606000600167ffffffffffffffff811115611385576113846119b8565b5b6040519080825280602002602001820160405280156113b35781602001602082028036833780820191505090505b50905082816000815181106113cb576113ca6124a5565b5b60200260200101818152505080915050919050565b6113ee8686868686866115d5565b505050505050565b505050505050565b61141d8473ffffffffffffffffffffffffffffffffffffffff166117a5565b156115cd578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611463959493929190612c8a565b6020604051808303816000875af192505050801561149f57506040513d601f19601f8201168201806040525081019061149c9190612cf9565b60015b611544576114ab612d33565b806308c379a00361150757506114bf612d55565b806114ca5750611509565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe9190611bd8565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90612e57565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290612ee9565b60405180910390fd5b505b505050505050565b6115e38686868686866117c8565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036116945760005b835181101561169257828181518110611636576116356124a5565b5b602002602001015160046000868481518110611655576116546124a5565b5b60200260200101518152602001908152602001600020600082825461167a91906129eb565b925050819055508061168b90612503565b905061161a565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361179d5760005b835181101561179b5760008482815181106116e9576116e86124a5565b5b602002602001015190506000848381518110611708576117076124a5565b5b602002602001015190506000600460008481526020019081526020016000205490508181101561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490612f7b565b60405180910390fd5b81810360046000858152602001908152602001600020819055505050508061179490612503565b90506116cb565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061180f826117e4565b9050919050565b61181f81611804565b811461182a57600080fd5b50565b60008135905061183c81611816565b92915050565b6000819050919050565b61185581611842565b811461186057600080fd5b50565b6000813590506118728161184c565b92915050565b6000806040838503121561188f5761188e6117da565b5b600061189d8582860161182d565b92505060206118ae85828601611863565b9150509250929050565b6118c181611842565b82525050565b60006020820190506118dc60008301846118b8565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611917816118e2565b811461192257600080fd5b50565b6000813590506119348161190e565b92915050565b6000602082840312156119505761194f6117da565b5b600061195e84828501611925565b91505092915050565b60008115159050919050565b61197c81611967565b82525050565b60006020820190506119976000830184611973565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6119f0826119a7565b810181811067ffffffffffffffff82111715611a0f57611a0e6119b8565b5b80604052505050565b6000611a226117d0565b9050611a2e82826119e7565b919050565b600067ffffffffffffffff821115611a4e57611a4d6119b8565b5b611a57826119a7565b9050602081019050919050565b82818337600083830152505050565b6000611a86611a8184611a33565b611a18565b905082815260208101848484011115611aa257611aa16119a2565b5b611aad848285611a64565b509392505050565b600082601f830112611aca57611ac961199d565b5b8135611ada848260208601611a73565b91505092915050565b600060208284031215611af957611af86117da565b5b600082013567ffffffffffffffff811115611b1757611b166117df565b5b611b2384828501611ab5565b91505092915050565b600060208284031215611b4257611b416117da565b5b6000611b5084828501611863565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611b93578082015181840152602081019050611b78565b60008484015250505050565b6000611baa82611b59565b611bb48185611b64565b9350611bc4818560208601611b75565b611bcd816119a7565b840191505092915050565b60006020820190508181036000830152611bf28184611b9f565b905092915050565b600067ffffffffffffffff821115611c1557611c146119b8565b5b602082029050602081019050919050565b600080fd5b6000611c3e611c3984611bfa565b611a18565b90508083825260208201905060208402830185811115611c6157611c60611c26565b5b835b81811015611c8a5780611c768882611863565b845260208401935050602081019050611c63565b5050509392505050565b600082601f830112611ca957611ca861199d565b5b8135611cb9848260208601611c2b565b91505092915050565b600067ffffffffffffffff821115611cdd57611cdc6119b8565b5b611ce6826119a7565b9050602081019050919050565b6000611d06611d0184611cc2565b611a18565b905082815260208101848484011115611d2257611d216119a2565b5b611d2d848285611a64565b509392505050565b600082601f830112611d4a57611d4961199d565b5b8135611d5a848260208601611cf3565b91505092915050565b600080600080600060a08688031215611d7f57611d7e6117da565b5b6000611d8d8882890161182d565b9550506020611d9e8882890161182d565b945050604086013567ffffffffffffffff811115611dbf57611dbe6117df565b5b611dcb88828901611c94565b935050606086013567ffffffffffffffff811115611dec57611deb6117df565b5b611df888828901611c94565b925050608086013567ffffffffffffffff811115611e1957611e186117df565b5b611e2588828901611d35565b9150509295509295909350565b600067ffffffffffffffff821115611e4d57611e4c6119b8565b5b602082029050602081019050919050565b6000611e71611e6c84611e32565b611a18565b90508083825260208201905060208402830185811115611e9457611e93611c26565b5b835b81811015611ebd5780611ea9888261182d565b845260208401935050602081019050611e96565b5050509392505050565b600082601f830112611edc57611edb61199d565b5b8135611eec848260208601611e5e565b91505092915050565b60008060408385031215611f0c57611f0b6117da565b5b600083013567ffffffffffffffff811115611f2a57611f296117df565b5b611f3685828601611ec7565b925050602083013567ffffffffffffffff811115611f5757611f566117df565b5b611f6385828601611c94565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611fa281611842565b82525050565b6000611fb48383611f99565b60208301905092915050565b6000602082019050919050565b6000611fd882611f6d565b611fe28185611f78565b9350611fed83611f89565b8060005b8381101561201e5781516120058882611fa8565b975061201083611fc0565b925050600181019050611ff1565b5085935050505092915050565b600060208201905081810360008301526120458184611fcd565b905092915050565b600080600060608486031215612066576120656117da565b5b60006120748682870161182d565b935050602084013567ffffffffffffffff811115612095576120946117df565b5b6120a186828701611c94565b925050604084013567ffffffffffffffff8111156120c2576120c16117df565b5b6120ce86828701611c94565b9150509250925092565b6120e181611804565b82525050565b60006020820190506120fc60008301846120d8565b92915050565b61210b81611967565b811461211657600080fd5b50565b60008135905061212881612102565b92915050565b60008060408385031215612145576121446117da565b5b60006121538582860161182d565b925050602061216485828601612119565b9150509250929050565b60008060408385031215612185576121846117da565b5b600083013567ffffffffffffffff8111156121a3576121a26117df565b5b6121af85828601611ec7565b92505060206121c085828601611863565b9150509250929050565b600080604083850312156121e1576121e06117da565b5b60006121ef8582860161182d565b92505060206122008582860161182d565b9150509250929050565b600080600080600060a08688031215612226576122256117da565b5b60006122348882890161182d565b95505060206122458882890161182d565b945050604061225688828901611863565b935050606061226788828901611863565b925050608086013567ffffffffffffffff811115612288576122876117df565b5b61229488828901611d35565b9150509295509295909350565b6000602082840312156122b7576122b66117da565b5b60006122c58482850161182d565b91505092915050565b6000806000606084860312156122e7576122e66117da565b5b60006122f58682870161182d565b935050602061230686828701611863565b925050604061231786828701611863565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061237d602a83611b64565b915061238882612321565b604082019050919050565b600060208201905081810360008301526123ac81612370565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123fa57607f821691505b60208210810361240d5761240c6123b3565b5b50919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061246f602983611b64565b915061247a82612413565b604082019050919050565b6000602082019050818103600083015261249e81612462565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061250e82611842565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036125405761253f6124d4565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b60006125a7602e83611b64565b91506125b28261254b565b604082019050919050565b600060208201905081810360008301526125d68161259a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612639602683611b64565b9150612644826125dd565b604082019050919050565b600060208201905081810360008301526126688161262c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126a5602083611b64565b91506126b08261266f565b602082019050919050565b600060208201905081810360008301526126d481612698565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261273d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612700565b6127478683612700565b95508019841693508086168417925050509392505050565b6000819050919050565b600061278461277f61277a84611842565b61275f565b611842565b9050919050565b6000819050919050565b61279e83612769565b6127b26127aa8261278b565b84845461270d565b825550505050565b600090565b6127c76127ba565b6127d2818484612795565b505050565b5b818110156127f6576127eb6000826127bf565b6001810190506127d8565b5050565b601f82111561283b5761280c816126db565b612815846126f0565b81016020851015612824578190505b612838612830856126f0565b8301826127d7565b50505b505050565b600082821c905092915050565b600061285e60001984600802612840565b1980831691505092915050565b6000612877838361284d565b9150826002028217905092915050565b61289082611b59565b67ffffffffffffffff8111156128a9576128a86119b8565b5b6128b382546123e2565b6128be8282856127fa565b600060209050601f8311600181146128f157600084156128df578287015190505b6128e9858261286b565b865550612951565b601f1984166128ff866126db565b60005b8281101561292757848901518255600182019150602085019450602081019050612902565b868310156129445784890151612940601f89168261284d565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006129b5602183611b64565b91506129c082612959565b604082019050919050565b600060208201905081810360008301526129e4816129a8565b9050919050565b60006129f682611842565b9150612a0183611842565b9250828201905080821115612a1957612a186124d4565b5b92915050565b6000604082019050612a3460008301856118b8565b612a4160208301846118b8565b9392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612aa4602383611b64565b9150612aaf82612a48565b604082019050919050565b60006020820190508181036000830152612ad381612a97565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000612b36602883611b64565b9150612b4182612ada565b604082019050919050565b60006020820190508181036000830152612b6581612b29565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000612bc8602483611b64565b9150612bd382612b6c565b604082019050919050565b60006020820190508181036000830152612bf781612bbb565b9050919050565b60006040820190508181036000830152612c188185611fcd565b90508181036020830152612c2c8184611fcd565b90509392505050565b600081519050919050565b600082825260208201905092915050565b6000612c5c82612c35565b612c668185612c40565b9350612c76818560208601611b75565b612c7f816119a7565b840191505092915050565b600060a082019050612c9f60008301886120d8565b612cac60208301876120d8565b612cb960408301866118b8565b612cc660608301856118b8565b8181036080830152612cd88184612c51565b90509695505050505050565b600081519050612cf38161190e565b92915050565b600060208284031215612d0f57612d0e6117da565b5b6000612d1d84828501612ce4565b91505092915050565b60008160e01c9050919050565b600060033d1115612d525760046000803e612d4f600051612d26565b90505b90565b600060443d10612de257612d676117d0565b60043d036004823e80513d602482011167ffffffffffffffff82111715612d8f575050612de2565b808201805167ffffffffffffffff811115612dad5750505050612de2565b80602083010160043d038501811115612dca575050505050612de2565b612dd9826020018501866119e7565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000612e41603483611b64565b9150612e4c82612de5565b604082019050919050565b60006020820190508181036000830152612e7081612e34565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000612ed3602883611b64565b9150612ede82612e77565b604082019050919050565b60006020820190508181036000830152612f0281612ec6565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000612f65602883611b64565b9150612f7082612f09565b604082019050919050565b60006020820190508181036000830152612f9481612f58565b905091905056fea2646970667358221220bc591968e5db254639b01e2d434d2d8e2416c4dce7386be8b6454c93478f6de964736f6c634300081200330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f656e736772616e74732e78797a2f6e66742f7b69647d2f6d657461646174612e6a736f6e0000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101155760003560e01c8063715018a6116100a2578063bd85b03911610071578063bd85b039146102da578063e985e9c51461030a578063f242432a1461033a578063f2fde38b14610356578063f5298aca1461037257610115565b8063715018a61461027a5780638da5cb5b14610284578063a22cb465146102a2578063b6afc4dc146102be57610115565b80632eb2c2d6116100e95780632eb2c2d6146101c657806340c10f19146101e25780634e1273f4146101fe5780634f558e791461022e5780636b20c4541461025e57610115565b8062fdd58e1461011a57806301ffc9a71461014a57806302fe53051461017a5780630e89341c14610196575b600080fd5b610134600480360381019061012f9190611878565b61038e565b60405161014191906118c7565b60405180910390f35b610164600480360381019061015f919061193a565b610456565b6040516101719190611982565b60405180910390f35b610194600480360381019061018f9190611ae3565b610538565b005b6101b060048036038101906101ab9190611b2c565b61054c565b6040516101bd9190611bd8565b60405180910390f35b6101e060048036038101906101db9190611d63565b6105e0565b005b6101fc60048036038101906101f79190611878565b610612565b005b61021860048036038101906102139190611ef5565b61063a565b604051610225919061202b565b60405180910390f35b61024860048036038101906102439190611b2c565b610753565b6040516102559190611982565b60405180910390f35b6102786004803603810190610273919061204d565b610767565b005b610282610804565b005b61028c610818565b60405161029991906120e7565b60405180910390f35b6102bc60048036038101906102b7919061212e565b610842565b005b6102d860048036038101906102d3919061216e565b610874565b005b6102f460048036038101906102ef9190611b2c565b6108d6565b60405161030191906118c7565b60405180910390f35b610324600480360381019061031f91906121ca565b6108f3565b6040516103319190611982565b60405180910390f35b610354600480360381019061034f919061220a565b610987565b005b610370600480360381019061036b91906122a1565b6109b9565b005b61038c600480360381019061038791906122ce565b610a3c565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f590612393565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610531575061053082610ad9565b5b9050919050565b610540610b43565b61054981610bc1565b50565b60606002805461055b906123e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610587906123e2565b80156105d45780601f106105a9576101008083540402835291602001916105d4565b820191906000526020600020905b8154815290600101906020018083116105b757829003601f168201915b50505050509050919050565b6040517f9cbe235700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61061a610b43565b6106368282600160405180602001604052806000815250610bd4565b5050565b60608151835114610680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067790612485565b60405180910390fd5b6000835167ffffffffffffffff81111561069d5761069c6119b8565b5b6040519080825280602002602001820160405280156106cb5781602001602082028036833780820191505090505b50905060005b8451811015610748576107188582815181106106f0576106ef6124a5565b5b602002602001015185838151811061070b5761070a6124a5565b5b602002602001015161038e565b82828151811061072b5761072a6124a5565b5b6020026020010181815250508061074190612503565b90506106d1565b508091505092915050565b60008061075f836108d6565b119050919050565b61076f610d84565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806107b557506107b4836107af610d84565b6108f3565b5b6107f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107eb906125bd565b60405180910390fd5b6107ff838383610d8c565b505050565b61080c610b43565b610816600061105a565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040517f9cbe235700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61087c610b43565b60005b82518110156108d1576108be83828151811061089e5761089d6124a5565b5b602002602001015183600160405180602001604052806000815250610bd4565b80806108c990612503565b91505061087f565b505050565b600060046000838152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6040517f9cbe235700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109c1610b43565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a279061264f565b60405180910390fd5b610a398161105a565b50565b610a44610d84565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610a8a5750610a8983610a84610d84565b6108f3565b5b610ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac0906125bd565b60405180910390fd5b610ad4838383611120565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610b4b610d84565b73ffffffffffffffffffffffffffffffffffffffff16610b69610818565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb6906126bb565b60405180910390fd5b565b8060029081610bd09190612887565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a906129cb565b60405180910390fd5b6000610c4d610d84565b90506000610c5a85611366565b90506000610c6785611366565b9050610c78836000898585896113e0565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cd791906129eb565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051610d55929190612a1f565b60405180910390a4610d6c836000898585896113f6565b610d7b836000898989896113fe565b50505050505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df290612aba565b60405180910390fd5b8051825114610e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3690612b4c565b60405180910390fd5b6000610e49610d84565b9050610e69818560008686604051806020016040528060008152506113e0565b60005b8351811015610fb6576000848281518110610e8a57610e896124a5565b5b602002602001015190506000848381518110610ea957610ea86124a5565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190612bde565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080610fae90612503565b915050610e6c565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161102e929190612bfe565b60405180910390a4611054818560008686604051806020016040528060008152506113f6565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361118f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118690612aba565b60405180910390fd5b6000611199610d84565b905060006111a684611366565b905060006111b384611366565b90506111d3838760008585604051806020016040528060008152506113e0565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508481101561126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190612bde565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611337929190612a1f565b60405180910390a461135d848860008686604051806020016040528060008152506113f6565b50505050505050565b60606000600167ffffffffffffffff811115611385576113846119b8565b5b6040519080825280602002602001820160405280156113b35781602001602082028036833780820191505090505b50905082816000815181106113cb576113ca6124a5565b5b60200260200101818152505080915050919050565b6113ee8686868686866115d5565b505050505050565b505050505050565b61141d8473ffffffffffffffffffffffffffffffffffffffff166117a5565b156115cd578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611463959493929190612c8a565b6020604051808303816000875af192505050801561149f57506040513d601f19601f8201168201806040525081019061149c9190612cf9565b60015b611544576114ab612d33565b806308c379a00361150757506114bf612d55565b806114ca5750611509565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe9190611bd8565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90612e57565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146115cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c290612ee9565b60405180910390fd5b505b505050505050565b6115e38686868686866117c8565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036116945760005b835181101561169257828181518110611636576116356124a5565b5b602002602001015160046000868481518110611655576116546124a5565b5b60200260200101518152602001908152602001600020600082825461167a91906129eb565b925050819055508061168b90612503565b905061161a565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361179d5760005b835181101561179b5760008482815181106116e9576116e86124a5565b5b602002602001015190506000848381518110611708576117076124a5565b5b602002602001015190506000600460008481526020019081526020016000205490508181101561176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490612f7b565b60405180910390fd5b81810360046000858152602001908152602001600020819055505050508061179490612503565b90506116cb565b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061180f826117e4565b9050919050565b61181f81611804565b811461182a57600080fd5b50565b60008135905061183c81611816565b92915050565b6000819050919050565b61185581611842565b811461186057600080fd5b50565b6000813590506118728161184c565b92915050565b6000806040838503121561188f5761188e6117da565b5b600061189d8582860161182d565b92505060206118ae85828601611863565b9150509250929050565b6118c181611842565b82525050565b60006020820190506118dc60008301846118b8565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611917816118e2565b811461192257600080fd5b50565b6000813590506119348161190e565b92915050565b6000602082840312156119505761194f6117da565b5b600061195e84828501611925565b91505092915050565b60008115159050919050565b61197c81611967565b82525050565b60006020820190506119976000830184611973565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6119f0826119a7565b810181811067ffffffffffffffff82111715611a0f57611a0e6119b8565b5b80604052505050565b6000611a226117d0565b9050611a2e82826119e7565b919050565b600067ffffffffffffffff821115611a4e57611a4d6119b8565b5b611a57826119a7565b9050602081019050919050565b82818337600083830152505050565b6000611a86611a8184611a33565b611a18565b905082815260208101848484011115611aa257611aa16119a2565b5b611aad848285611a64565b509392505050565b600082601f830112611aca57611ac961199d565b5b8135611ada848260208601611a73565b91505092915050565b600060208284031215611af957611af86117da565b5b600082013567ffffffffffffffff811115611b1757611b166117df565b5b611b2384828501611ab5565b91505092915050565b600060208284031215611b4257611b416117da565b5b6000611b5084828501611863565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611b93578082015181840152602081019050611b78565b60008484015250505050565b6000611baa82611b59565b611bb48185611b64565b9350611bc4818560208601611b75565b611bcd816119a7565b840191505092915050565b60006020820190508181036000830152611bf28184611b9f565b905092915050565b600067ffffffffffffffff821115611c1557611c146119b8565b5b602082029050602081019050919050565b600080fd5b6000611c3e611c3984611bfa565b611a18565b90508083825260208201905060208402830185811115611c6157611c60611c26565b5b835b81811015611c8a5780611c768882611863565b845260208401935050602081019050611c63565b5050509392505050565b600082601f830112611ca957611ca861199d565b5b8135611cb9848260208601611c2b565b91505092915050565b600067ffffffffffffffff821115611cdd57611cdc6119b8565b5b611ce6826119a7565b9050602081019050919050565b6000611d06611d0184611cc2565b611a18565b905082815260208101848484011115611d2257611d216119a2565b5b611d2d848285611a64565b509392505050565b600082601f830112611d4a57611d4961199d565b5b8135611d5a848260208601611cf3565b91505092915050565b600080600080600060a08688031215611d7f57611d7e6117da565b5b6000611d8d8882890161182d565b9550506020611d9e8882890161182d565b945050604086013567ffffffffffffffff811115611dbf57611dbe6117df565b5b611dcb88828901611c94565b935050606086013567ffffffffffffffff811115611dec57611deb6117df565b5b611df888828901611c94565b925050608086013567ffffffffffffffff811115611e1957611e186117df565b5b611e2588828901611d35565b9150509295509295909350565b600067ffffffffffffffff821115611e4d57611e4c6119b8565b5b602082029050602081019050919050565b6000611e71611e6c84611e32565b611a18565b90508083825260208201905060208402830185811115611e9457611e93611c26565b5b835b81811015611ebd5780611ea9888261182d565b845260208401935050602081019050611e96565b5050509392505050565b600082601f830112611edc57611edb61199d565b5b8135611eec848260208601611e5e565b91505092915050565b60008060408385031215611f0c57611f0b6117da565b5b600083013567ffffffffffffffff811115611f2a57611f296117df565b5b611f3685828601611ec7565b925050602083013567ffffffffffffffff811115611f5757611f566117df565b5b611f6385828601611c94565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b611fa281611842565b82525050565b6000611fb48383611f99565b60208301905092915050565b6000602082019050919050565b6000611fd882611f6d565b611fe28185611f78565b9350611fed83611f89565b8060005b8381101561201e5781516120058882611fa8565b975061201083611fc0565b925050600181019050611ff1565b5085935050505092915050565b600060208201905081810360008301526120458184611fcd565b905092915050565b600080600060608486031215612066576120656117da565b5b60006120748682870161182d565b935050602084013567ffffffffffffffff811115612095576120946117df565b5b6120a186828701611c94565b925050604084013567ffffffffffffffff8111156120c2576120c16117df565b5b6120ce86828701611c94565b9150509250925092565b6120e181611804565b82525050565b60006020820190506120fc60008301846120d8565b92915050565b61210b81611967565b811461211657600080fd5b50565b60008135905061212881612102565b92915050565b60008060408385031215612145576121446117da565b5b60006121538582860161182d565b925050602061216485828601612119565b9150509250929050565b60008060408385031215612185576121846117da565b5b600083013567ffffffffffffffff8111156121a3576121a26117df565b5b6121af85828601611ec7565b92505060206121c085828601611863565b9150509250929050565b600080604083850312156121e1576121e06117da565b5b60006121ef8582860161182d565b92505060206122008582860161182d565b9150509250929050565b600080600080600060a08688031215612226576122256117da565b5b60006122348882890161182d565b95505060206122458882890161182d565b945050604061225688828901611863565b935050606061226788828901611863565b925050608086013567ffffffffffffffff811115612288576122876117df565b5b61229488828901611d35565b9150509295509295909350565b6000602082840312156122b7576122b66117da565b5b60006122c58482850161182d565b91505092915050565b6000806000606084860312156122e7576122e66117da565b5b60006122f58682870161182d565b935050602061230686828701611863565b925050604061231786828701611863565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061237d602a83611b64565b915061238882612321565b604082019050919050565b600060208201905081810360008301526123ac81612370565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806123fa57607f821691505b60208210810361240d5761240c6123b3565b5b50919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061246f602983611b64565b915061247a82612413565b604082019050919050565b6000602082019050818103600083015261249e81612462565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061250e82611842565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036125405761253f6124d4565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206f7220617070726f766564000000000000000000000000000000000000602082015250565b60006125a7602e83611b64565b91506125b28261254b565b604082019050919050565b600060208201905081810360008301526125d68161259a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612639602683611b64565b9150612644826125dd565b604082019050919050565b600060208201905081810360008301526126688161262c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006126a5602083611b64565b91506126b08261266f565b602082019050919050565b600060208201905081810360008301526126d481612698565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261273d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612700565b6127478683612700565b95508019841693508086168417925050509392505050565b6000819050919050565b600061278461277f61277a84611842565b61275f565b611842565b9050919050565b6000819050919050565b61279e83612769565b6127b26127aa8261278b565b84845461270d565b825550505050565b600090565b6127c76127ba565b6127d2818484612795565b505050565b5b818110156127f6576127eb6000826127bf565b6001810190506127d8565b5050565b601f82111561283b5761280c816126db565b612815846126f0565b81016020851015612824578190505b612838612830856126f0565b8301826127d7565b50505b505050565b600082821c905092915050565b600061285e60001984600802612840565b1980831691505092915050565b6000612877838361284d565b9150826002028217905092915050565b61289082611b59565b67ffffffffffffffff8111156128a9576128a86119b8565b5b6128b382546123e2565b6128be8282856127fa565b600060209050601f8311600181146128f157600084156128df578287015190505b6128e9858261286b565b865550612951565b601f1984166128ff866126db565b60005b8281101561292757848901518255600182019150602085019450602081019050612902565b868310156129445784890151612940601f89168261284d565b8355505b6001600288020188555050505b505050505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006129b5602183611b64565b91506129c082612959565b604082019050919050565b600060208201905081810360008301526129e4816129a8565b9050919050565b60006129f682611842565b9150612a0183611842565b9250828201905080821115612a1957612a186124d4565b5b92915050565b6000604082019050612a3460008301856118b8565b612a4160208301846118b8565b9392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612aa4602383611b64565b9150612aaf82612a48565b604082019050919050565b60006020820190508181036000830152612ad381612a97565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000612b36602883611b64565b9150612b4182612ada565b604082019050919050565b60006020820190508181036000830152612b6581612b29565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000612bc8602483611b64565b9150612bd382612b6c565b604082019050919050565b60006020820190508181036000830152612bf781612bbb565b9050919050565b60006040820190508181036000830152612c188185611fcd565b90508181036020830152612c2c8184611fcd565b90509392505050565b600081519050919050565b600082825260208201905092915050565b6000612c5c82612c35565b612c668185612c40565b9350612c76818560208601611b75565b612c7f816119a7565b840191505092915050565b600060a082019050612c9f60008301886120d8565b612cac60208301876120d8565b612cb960408301866118b8565b612cc660608301856118b8565b8181036080830152612cd88184612c51565b90509695505050505050565b600081519050612cf38161190e565b92915050565b600060208284031215612d0f57612d0e6117da565b5b6000612d1d84828501612ce4565b91505092915050565b60008160e01c9050919050565b600060033d1115612d525760046000803e612d4f600051612d26565b90505b90565b600060443d10612de257612d676117d0565b60043d036004823e80513d602482011167ffffffffffffffff82111715612d8f575050612de2565b808201805167ffffffffffffffff811115612dad5750505050612de2565b80602083010160043d038501811115612dca575050505050612de2565b612dd9826020018501866119e7565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000612e41603483611b64565b9150612e4c82612de5565b604082019050919050565b60006020820190508181036000830152612e7081612e34565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000612ed3602883611b64565b9150612ede82612e77565b604082019050919050565b60006020820190508181036000830152612f0281612ec6565b9050919050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000612f65602883611b64565b9150612f7082612f09565b604082019050919050565b60006020820190508181036000830152612f9481612f58565b905091905056fea2646970667358221220bc591968e5db254639b01e2d434d2d8e2416c4dce7386be8b6454c93478f6de964736f6c63430008120033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002c68747470733a2f2f656e736772616e74732e78797a2f6e66742f7b69647d2f6d657461646174612e6a736f6e0000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://ensgrants.xyz/nft/{id}/metadata.json

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [2] : 68747470733a2f2f656e736772616e74732e78797a2f6e66742f7b69647d2f6d
Arg [3] : 657461646174612e6a736f6e0000000000000000000000000000000000000000


[ 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.