MATIC Price: $1.02 (-0.90%)
Gas: 210 GWei
 
Transaction Hash
Method
Block
From
To
Value
Set Approval For...549305322024-03-21 23:01:396 days ago1711062099IN
0x118cA890...C73e0876E
0 MATIC0.0016525235.33387441
Set Approval For...546198192024-03-13 19:19:3614 days ago1710357576IN
0x118cA890...C73e0876E
0 MATIC0.0038832383.17959516
Set Approval For...544272942024-03-08 21:30:5119 days ago1709933451IN
0x118cA890...C73e0876E
0 MATIC0.0120664258
Set Approval For...544135062024-03-08 13:11:4219 days ago1709903502IN
0x118cA890...C73e0876E
0 MATIC0.00600527128.40281224
Set Approval For...543291362024-03-06 10:03:1621 days ago1709719396IN
0x118cA890...C73e0876E
0 MATIC0.01302717278.54287028
Set Approval For...542306932024-03-03 21:00:5324 days ago1709499653IN
0x118cA890...C73e0876E
0 MATIC0.0021981447
Set Approval For...540641802024-02-28 16:10:1228 days ago1709136612IN
0x118cA890...C73e0876E
0 MATIC0.00678044144.97725968
Set Approval For...539560852024-02-25 22:21:0731 days ago1708899667IN
0x118cA890...C73e0876E
0 MATIC0.0140307300
Set Approval For...537977682024-02-21 20:44:2935 days ago1708548269IN
0x118cA890...C73e0876E
0 MATIC0.0032358869.18868657
Set Approval For...537123002024-02-19 15:58:2837 days ago1708358308IN
0x118cA890...C73e0876E
0 MATIC0.00546214117
Safe Transfer Fr...534440252024-02-12 19:43:3644 days ago1707767016IN
0x118cA890...C73e0876E
0 MATIC0.0025456947.50135201
Safe Transfer Fr...532412912024-02-07 18:07:1849 days ago1707329238IN
0x118cA890...C73e0876E
0 MATIC0.0019708636.80557883
Set Approval For...527457722024-01-25 20:28:0662 days ago1706214486IN
0x118cA890...C73e0876E
0 MATIC0.0015901434
Set Approval For...523519912024-01-15 12:38:3372 days ago1705322313IN
0x118cA890...C73e0876E
0 MATIC0.0008325631
Set Approval For...523519562024-01-15 12:37:0272 days ago1705322222IN
0x118cA890...C73e0876E
0 MATIC0.0007705631
Set Approval For...516732452023-12-28 21:39:2890 days ago1703799568IN
0x118cA890...C73e0876E
0 MATIC0.00727623155.57818753
Set Approval For...515929592023-12-26 21:19:2392 days ago1703625563IN
0x118cA890...C73e0876E
0 MATIC0.0041624489
Set Approval For...515334402023-12-25 9:31:2593 days ago1703496685IN
0x118cA890...C73e0876E
0 MATIC0.003460974
Set Approval For...515334202023-12-25 9:30:4193 days ago1703496641IN
0x118cA890...C73e0876E
0 MATIC0.0039285984
Set Approval For...515149962023-12-24 21:53:5794 days ago1703454837IN
0x118cA890...C73e0876E
0 MATIC0.0016405666
Set Approval For...515149122023-12-24 21:50:5894 days ago1703454658IN
0x118cA890...C73e0876E
0 MATIC0.0015908464
Set Approval For...515058892023-12-24 15:57:1594 days ago1703433435IN
0x118cA890...C73e0876E
0 MATIC0.0041268388.39745174
Set Approval For...515048702023-12-24 15:20:3694 days ago1703431236IN
0x118cA890...C73e0876E
0 MATIC0.00260998105
Safe Transfer Fr...514984212023-12-24 11:30:0694 days ago1703417406IN
0x118cA890...C73e0876E
0 MATIC0.01120408191.87712611
Set Approval For...514718102023-12-23 18:58:5295 days ago1703357932IN
0x118cA890...C73e0876E
0 MATIC0.0043478992.96541193
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LuchaPinatas

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 15 : LuchaPinatas.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./lib/Base64.sol";

contract LuchaPinatas is ERC1155, AccessControl, ERC1155Burnable, ERC1155Supply {
	using Strings for uint256;

	string public name = "Luchadores.io Pinatas";
	string public symbol = "PINATA";

	struct Asset {
    string name;
    string description;
    string theme;
    string imageData;
  }

	mapping(uint256 => Asset) public assets;

	bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
	bytes32 public constant ASSET_MANAGER_ROLE = keccak256("ASSET_MANAGER_ROLE");

	constructor() ERC1155("") {
		_setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
		_setupRole(ASSET_MANAGER_ROLE, msg.sender);
	}

	function mint(address account, uint256 id, uint256 amount, bytes memory data) external onlyRole(MINTER_ROLE) {
		_mint(account, id, amount, data);
	}

	function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) external onlyRole(MINTER_ROLE) {
		_mintBatch(to, ids, amounts, data);
	}

	function uri(uint256 id) public view override returns (string memory) {
		return string(abi.encodePacked(
			"data:application/json;base64,",
			Base64.encode(
				bytes(
					string(abi.encodePacked(
						"{",
							'"name":"', assets[id].name, '",',
							'"description":"', assets[id].description, '",',
							'"image_data":"',
								"<svg id='pinata-", id.toString(), "' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>",
									assets[id].imageData,
								'</svg>",',
							'"attributes": [',
								"{",
									'"trait_type":"Theme",', 
									'"value":"', assets[id].theme, '"',
								"}",
							"]",
						"}"
					))
				)
			)
		));
	}

	function updateAsset(uint256 id, Asset calldata asset) external onlyRole(ASSET_MANAGER_ROLE) {
		assets[id] = asset;
	}

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

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

File 2 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

        emit TransferSingle(operator, account, address(0), id, amount);
    }

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

        address operator = _msgSender();

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

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

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

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

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

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

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

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

        return array;
    }
}

File 3 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 15 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

File 5 of 15 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

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 weither 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) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 15 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
	bytes internal constant TABLE =
		"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

	/// @notice Encodes some bytes to the base64 representation
	function encode(bytes memory data) internal pure returns (string memory) {
		uint256 len = data.length;
		if (len == 0) return "";

		// multiply by 4/3 rounded up
		uint256 encodedLen = 4 * ((len + 2) / 3);

		// Add some extra buffer at the end
		bytes memory result = new bytes(encodedLen + 32);

		bytes memory table = TABLE;

		assembly {
			let tablePtr := add(table, 1)
			let resultPtr := add(result, 32)

			for {
					let i := 0
			} lt(i, len) {

			} {
				i := add(i, 3)
				let input := and(mload(add(data, i)), 0xffffff)

				let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
				out := shl(8, out)
				out := add(
					out,
					and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
				)
				out := shl(8, out)
				out := add(
					out,
					and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
				)
				out := shl(8, out)
				out := add(
					out,
					and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
				)
				out := shl(224, out)

				mstore(resultPtr, out)

				resultPtr := add(resultPtr, 4)
			}

			switch mod(len, 3)
			case 1 {
				mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
			}
			case 2 {
				mstore(sub(resultPtr, 1), shl(248, 0x3d))
			}

			mstore(result, encodedLen)
		}

		return string(result);
	}
}

File 8 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

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.
        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. 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 10 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT

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 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ASSET_MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"assets","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"theme","type":"string"},{"internalType":"string","name":"imageData","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"theme","type":"string"},{"internalType":"string","name":"imageData","type":"string"}],"internalType":"struct LuchaPinatas.Asset","name":"asset","type":"tuple"}],"name":"updateAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526040518060400160405280601581526020017f4c75636861646f7265732e696f2050696e6174617300000000000000000000008152506005908051906020019062000051929190620002b4565b506040518060400160405280600681526020017f50494e4154410000000000000000000000000000000000000000000000000000815250600690805190602001906200009f929190620002b4565b50348015620000ad57600080fd5b5060405180602001604052806000815250620000cf816200011d60201b60201c565b50620000e56000801b336200013960201b60201c565b620001177fb1fadd3142ab2ad7f1337ea4d97112bcc8337fc11ce5b20cb04ad038adf99819336200013960201b60201c565b620003c9565b806002908051906020019062000135929190620002b4565b5050565b6200014b82826200014f60201b60201c565b5050565b6200016182826200024160201b60201c565b6200023d5760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620001e2620002ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620002c29062000364565b90600052602060002090601f016020900481019282620002e6576000855562000332565b82601f106200030157805160ff191683800117855562000332565b8280016001018555821562000332579182015b828111156200033157825182559160200191906001019062000314565b5b50905062000341919062000345565b5090565b5b808211156200036057600081600090555060010162000346565b5090565b600060028204905060018216806200037d57607f821691505b602082108114156200039457620003936200039a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61564b80620003d96000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c8063838bb687116100de578063bd85b03911610097578063d547741f11610071578063d547741f146104bb578063e985e9c5146104d7578063f242432a14610507578063f5298aca146105235761018d565b8063bd85b0391461043a578063cf35bdd01461046a578063d53913931461049d5761018d565b8063838bb6871461037857806391d148541461039457806395d89b41146103c4578063a217fddf146103e2578063a22cb46514610400578063a4b32de81461041c5761018d565b80632eb2c2d61161014b5780634e1273f4116101255780634e1273f4146102e05780634f558e79146103105780636b20c45414610340578063731133e91461035c5761018d565b80632eb2c2d61461028c5780632f2ff15d146102a857806336568abe146102c45761018d565b8062fdd58e1461019257806301ffc9a7146101c257806306fdde03146101f25780630e89341c146102105780631f7fdffa14610240578063248a9ca31461025c575b600080fd5b6101ac60048036038101906101a79190613895565b61053f565b6040516101b99190614c6e565b60405180910390f35b6101dc60048036038101906101d79190613a6c565b610608565b6040516101e991906149d5565b60405180910390f35b6101fa61061a565b6040516102079190614a0b565b60405180910390f35b61022a60048036038101906102259190613abe565b6106a8565b6040516102379190614a0b565b60405180910390f35b61025a600480360381019061025591906137ae565b61075c565b005b61027660048036038101906102719190613a07565b6107a1565b60405161028391906149f0565b60405180910390f35b6102a660048036038101906102a191906135e1565b6107c1565b005b6102c260048036038101906102bd9190613a30565b610862565b005b6102de60048036038101906102d99190613a30565b61088b565b005b6102fa60048036038101906102f5919061399b565b61090e565b604051610307919061497c565b60405180910390f35b61032a60048036038101906103259190613abe565b610abf565b60405161033791906149d5565b60405180910390f35b61035a6004803603810190610355919061372f565b610ad3565b005b61037660048036038101906103719190613920565b610b70565b005b610392600480360381019061038d9190613ae7565b610bb5565b005b6103ae60048036038101906103a99190613a30565b610c0f565b6040516103bb91906149d5565b60405180910390f35b6103cc610c7a565b6040516103d99190614a0b565b60405180910390f35b6103ea610d08565b6040516103f791906149f0565b60405180910390f35b61041a60048036038101906104159190613859565b610d0f565b005b610424610e90565b60405161043191906149f0565b60405180910390f35b610454600480360381019061044f9190613abe565b610eb4565b6040516104619190614c6e565b60405180910390f35b610484600480360381019061047f9190613abe565b610ed1565b6040516104949493929190614a2d565b60405180910390f35b6104a5611121565b6040516104b291906149f0565b60405180910390f35b6104d560048036038101906104d09190613a30565b611145565b005b6104f160048036038101906104ec91906135a5565b61116e565b6040516104fe91906149d5565b60405180910390f35b610521600480360381019061051c91906136a0565b611202565b005b61053d600480360381019061053891906138d1565b6112a3565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790614aee565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061061382611340565b9050919050565b600580546106279061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546106539061519e565b80156106a05780601f10610675576101008083540402835291602001916106a0565b820191906000526020600020905b81548152906001019060200180831161068357829003601f168201915b505050505081565b606061073660076000848152602001908152602001600020600001600760008581526020019081526020016000206001016106e2856113ba565b6007600087815260200190815260200160002060030160076000888152602001908152602001600020600201604051602001610722959493929190614758565b604051602081830303815290604052611567565b604051602001610746919061485e565b6040516020818303038152906040529050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661078e81610789611725565b61172d565b61079a858585856117ca565b5050505050565b600060036000838152602001908152602001600020600101549050919050565b6107c9611725565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061080f575061080e85610809611725565b61116e565b5b61084e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084590614b6e565b60405180910390fd5b61085b8585858585611a34565b5050505050565b61086b826107a1565b61087c81610877611725565b61172d565b6108868383611d94565b505050565b610893611725565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f790614c4e565b60405180910390fd5b61090a8282611e75565b5050565b60608151835114610954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094b90614bee565b60405180910390fd5b6000835167ffffffffffffffff811115610997577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109c55781602001602082028036833780820191505090505b50905060005b8451811015610ab457610a5e858281518110610a10577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161053f565b828281518110610a97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610aad906151ec565b90506109cb565b508091505092915050565b600080610acb83610eb4565b119050919050565b610adb611725565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610b215750610b2083610b1b611725565b61116e565b5b610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5790614b2e565b60405180910390fd5b610b6b838383611f57565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ba281610b9d611725565b61172d565b610bae85858585612254565b5050505050565b7fb1fadd3142ab2ad7f1337ea4d97112bcc8337fc11ce5b20cb04ad038adf99819610be781610be2611725565b61172d565b81600760008581526020019081526020016000208181610c0791906154b0565b905050505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60068054610c879061519e565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb39061519e565b8015610d005780601f10610cd557610100808354040283529160200191610d00565b820191906000526020600020905b815481529060010190602001808311610ce357829003601f168201915b505050505081565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610d2e611725565b73ffffffffffffffffffffffffffffffffffffffff161415610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90614bce565b60405180910390fd5b8060016000610d92611725565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610e3f611725565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e8491906149d5565b60405180910390a35050565b7fb1fadd3142ab2ad7f1337ea4d97112bcc8337fc11ce5b20cb04ad038adf9981981565b600060046000838152602001908152602001600020549050919050565b6007602052806000526040600020600091509050806000018054610ef49061519e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f209061519e565b8015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b505050505090806001018054610f829061519e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fae9061519e565b8015610ffb5780601f10610fd057610100808354040283529160200191610ffb565b820191906000526020600020905b815481529060010190602001808311610fde57829003601f168201915b5050505050908060020180546110109061519e565b80601f016020809104026020016040519081016040528092919081815260200182805461103c9061519e565b80156110895780601f1061105e57610100808354040283529160200191611089565b820191906000526020600020905b81548152906001019060200180831161106c57829003601f168201915b50505050509080600301805461109e9061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546110ca9061519e565b80156111175780601f106110ec57610100808354040283529160200191611117565b820191906000526020600020905b8154815290600101906020018083116110fa57829003601f168201915b5050505050905084565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61114e826107a1565b61115f8161115a611725565b61172d565b6111698383611e75565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61120a611725565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611250575061124f8561124a611725565b61116e565b5b61128f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128690614b2e565b60405180910390fd5b61129c85858585856123ea565b5050505050565b6112ab611725565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806112f157506112f0836112eb611725565b61116e565b5b611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614b2e565b60405180910390fd5b61133b83838361266c565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806113b357506113b282612889565b5b9050919050565b60606000821415611402576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611562565b600082905060005b6000821461143457808061141d906151ec565b915050600a8261142d9190614eb4565b915061140a565b60008167ffffffffffffffff811115611476577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114a85781602001600182028036833780820191505090505b5090505b6000851461155b576001826114c19190614f3f565b9150600a856114d09190615253565b60306114dc9190614e5e565b60f81b818381518110611518577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856115549190614eb4565b94506114ac565b8093505050505b919050565b606060008251905060008114156115905760405180602001604052806000815250915050611720565b600060036002836115a19190614e5e565b6115ab9190614eb4565b60046115b79190614ee5565b905060006020826115c89190614e5e565b67ffffffffffffffff811115611607577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116395781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016155d6604091399050600181016020830160005b868110156116dd5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611664565b5060038606600181146116f7576002811461170757611712565b613d3d60f01b6002830352611712565b603d60f81b60018303525b508484525050819450505050505b919050565b600033905090565b6117378282610c0f565b6117c65761175c8173ffffffffffffffffffffffffffffffffffffffff16601461296b565b61176a8360001c602061296b565b60405160200161177b929190614880565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bd9190614a0b565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614c2e565b60405180910390fd5b815183511461187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590614c0e565b60405180910390fd5b6000611888611725565b905061189981600087878787612c65565b60005b845181101561199e578381815181106118de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600080878481518110611922577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119849190614e5e565b925050819055508080611996906151ec565b91505061189c565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a1692919061499e565b60405180910390a4611a2d81600087878787612c7b565b5050505050565b8151835114611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90614c0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adf90614b4e565b60405180910390fd5b6000611af2611725565b9050611b02818787878787612c65565b60005b8451811015611cff576000858281518110611b49577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611b8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614bae565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce49190614e5e565b9250508190555050505080611cf8906151ec565b9050611b05565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d7692919061499e565b60405180910390a4611d8c818787878787612c7b565b505050505050565b611d9e8282610c0f565b611e715760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e16611725565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611e7f8282610c0f565b15611f535760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ef8611725565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614b8e565b60405180910390fd5b805182511461200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290614c0e565b60405180910390fd5b6000612015611725565b905061203581856000868660405180602001604052806000815250612c65565b60005b83518110156121ce57600084828151811061207c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106120c1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614b0e565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806121c6906151ec565b915050612038565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161224692919061499e565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bb90614c2e565b60405180910390fd5b60006122ce611725565b90506122ef816000876122e088612e4b565b6122e988612e4b565b87612c65565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461234e9190614e5e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516123cc929190614c89565b60405180910390a46123e381600087878787612f11565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561245a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245190614b4e565b60405180910390fd5b6000612464611725565b905061248481878761247588612e4b565b61247e88612e4b565b87612c65565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561251b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251290614bae565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125d09190614e5e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161264d929190614c89565b60405180910390a4612663828888888888612f11565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d390614b8e565b60405180910390fd5b60006126e6611725565b9050612716818560006126f887612e4b565b61270187612e4b565b60405180602001604052806000815250612c65565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156127ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a490614b0e565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161287a929190614c89565b60405180910390a45050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061295457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806129645750612963826130e1565b5b9050919050565b60606000600283600261297e9190614ee5565b6129889190614e5e565b67ffffffffffffffff8111156129c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129f95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a57577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612ae1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b219190614ee5565b612b2b9190614e5e565b90505b6001811115612c17577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b93577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612bd0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c1090615174565b9050612b2e565b5060008414612c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5290614aae565b60405180910390fd5b8091505092915050565b612c7386868686868661314b565b505050505050565b612c9a8473ffffffffffffffffffffffffffffffffffffffff1661335d565b15612e43578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ce09594939291906148ba565b602060405180830381600087803b158015612cfa57600080fd5b505af1925050508015612d2b57506040513d601f19601f82011682018060405250810190612d289190613a95565b60015b612dba57612d37615398565b80612d425750612d7f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d769190614a0b565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db190614a8e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3890614ace565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612e90577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612ebe5781602001602082028036833780820191505090505b5090508281600081518110612efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612f308473ffffffffffffffffffffffffffffffffffffffff1661335d565b156130d9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612f76959493929190614922565b602060405180830381600087803b158015612f9057600080fd5b505af1925050508015612fc157506040513d601f19601f82011682018060405250810190612fbe9190613a95565b60015b61305057612fcd615398565b80612fd85750613015565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300c9190614a0b565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304790614a8e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146130d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ce90614ace565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613159868686868686613370565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132575760005b8351811015613255578281815181106131d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160046000868481518110613218577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461323d9190614e5e565b925050819055508061324e906151ec565b9050613191565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133555760005b8351811015613353578281815181106132d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160046000868481518110613316577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461333b9190614f3f565b925050819055508061334c906151ec565b905061328f565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b600061338b61338684614d3a565b614d09565b905080838252602082019050828560208602820111156133aa57600080fd5b60005b858110156133da57816133c0888261348e565b8452602084019350602083019250506001810190506133ad565b5050509392505050565b60006133f76133f284614d66565b614d09565b9050808382526020820190508285602086028201111561341657600080fd5b60005b85811015613446578161342c8882613590565b845260208401935060208301925050600181019050613419565b5050509392505050565b600061346361345e84614d92565b614d09565b90508281526020810184848401111561347b57600080fd5b613486848285615132565b509392505050565b60008135905061349d8161555d565b92915050565b600082601f8301126134b457600080fd5b81356134c4848260208601613378565b91505092915050565b600082601f8301126134de57600080fd5b81356134ee8482602086016133e4565b91505092915050565b60008135905061350681615574565b92915050565b60008135905061351b8161558b565b92915050565b600081359050613530816155a2565b92915050565b600081519050613545816155a2565b92915050565b600082601f83011261355c57600080fd5b813561356c848260208601613450565b91505092915050565b60006080828403121561358757600080fd5b81905092915050565b60008135905061359f816155b9565b92915050565b600080604083850312156135b857600080fd5b60006135c68582860161348e565b92505060206135d78582860161348e565b9150509250929050565b600080600080600060a086880312156135f957600080fd5b60006136078882890161348e565b95505060206136188882890161348e565b945050604086013567ffffffffffffffff81111561363557600080fd5b613641888289016134cd565b935050606086013567ffffffffffffffff81111561365e57600080fd5b61366a888289016134cd565b925050608086013567ffffffffffffffff81111561368757600080fd5b6136938882890161354b565b9150509295509295909350565b600080600080600060a086880312156136b857600080fd5b60006136c68882890161348e565b95505060206136d78882890161348e565b94505060406136e888828901613590565b93505060606136f988828901613590565b925050608086013567ffffffffffffffff81111561371657600080fd5b6137228882890161354b565b9150509295509295909350565b60008060006060848603121561374457600080fd5b60006137528682870161348e565b935050602084013567ffffffffffffffff81111561376f57600080fd5b61377b868287016134cd565b925050604084013567ffffffffffffffff81111561379857600080fd5b6137a4868287016134cd565b9150509250925092565b600080600080608085870312156137c457600080fd5b60006137d28782880161348e565b945050602085013567ffffffffffffffff8111156137ef57600080fd5b6137fb878288016134cd565b935050604085013567ffffffffffffffff81111561381857600080fd5b613824878288016134cd565b925050606085013567ffffffffffffffff81111561384157600080fd5b61384d8782880161354b565b91505092959194509250565b6000806040838503121561386c57600080fd5b600061387a8582860161348e565b925050602061388b858286016134f7565b9150509250929050565b600080604083850312156138a857600080fd5b60006138b68582860161348e565b92505060206138c785828601613590565b9150509250929050565b6000806000606084860312156138e657600080fd5b60006138f48682870161348e565b935050602061390586828701613590565b925050604061391686828701613590565b9150509250925092565b6000806000806080858703121561393657600080fd5b60006139448782880161348e565b945050602061395587828801613590565b935050604061396687828801613590565b925050606085013567ffffffffffffffff81111561398357600080fd5b61398f8782880161354b565b91505092959194509250565b600080604083850312156139ae57600080fd5b600083013567ffffffffffffffff8111156139c857600080fd5b6139d4858286016134a3565b925050602083013567ffffffffffffffff8111156139f157600080fd5b6139fd858286016134cd565b9150509250929050565b600060208284031215613a1957600080fd5b6000613a278482850161350c565b91505092915050565b60008060408385031215613a4357600080fd5b6000613a518582860161350c565b9250506020613a628582860161348e565b9150509250929050565b600060208284031215613a7e57600080fd5b6000613a8c84828501613521565b91505092915050565b600060208284031215613aa757600080fd5b6000613ab584828501613536565b91505092915050565b600060208284031215613ad057600080fd5b6000613ade84828501613590565b91505092915050565b60008060408385031215613afa57600080fd5b6000613b0885828601613590565b925050602083013567ffffffffffffffff811115613b2557600080fd5b613b3185828601613575565b9150509250929050565b6000613b47838361473a565b60208301905092915050565b613b5c81614f73565b82525050565b6000613b6d82614de7565b613b778185614e20565b9350613b8283614dc2565b8060005b83811015613bb3578151613b9a8882613b3b565b9750613ba583614e13565b925050600181019050613b86565b5085935050505092915050565b613bc981614f85565b82525050565b613bd881614f91565b82525050565b6000613be982614df2565b613bf38185614e31565b9350613c03818560208601615141565b613c0c8161534a565b840191505092915050565b6000613c2282614e08565b613c2c8185614e42565b9350613c3c818560208601615141565b613c458161534a565b840191505092915050565b6000613c5b82614e08565b613c658185614e53565b9350613c75818560208601615141565b80840191505092915050565b60008154613c8e8161519e565b613c988186614e53565b94506001821660008114613cb35760018114613cc457613cf7565b60ff19831686528186019350613cf7565b613ccd85614dd2565b60005b83811015613cef57815481890152600182019150602081019050613cd0565b838801955050505b50505092915050565b6000613d0d603483614e42565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000613d73602083614e42565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000613db3602883614e42565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e19603983614e53565b91507f272076696577426f783d273020302032342032342720786d6c6e733d2768747460008301527f703a2f2f7777772e77332e6f72672f323030302f737667273e000000000000006020830152603982019050919050565b6000613e7f601583614e53565b91507f2274726169745f74797065223a225468656d65222c00000000000000000000006000830152601582019050919050565b6000613ebf602b83614e42565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613f25600f83614e53565b91507f226465736372697074696f6e223a2200000000000000000000000000000000006000830152600f82019050919050565b6000613f65600283614e53565b91507f222c0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613fa5602483614e42565b91507f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061400b602983614e42565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b6000614071600883614e53565b91507f226e616d65223a220000000000000000000000000000000000000000000000006000830152600882019050919050565b60006140b1600883614e53565b91507f3c2f7376673e222c0000000000000000000000000000000000000000000000006000830152600882019050919050565b60006140f1600183614e53565b91507f22000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614131602583614e42565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614197603283614e42565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b60006141fd600e83614e53565b91507f22696d6167655f64617461223a220000000000000000000000000000000000006000830152600e82019050919050565b600061423d602383614e42565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142a3602a83614e42565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b6000614309600183614e53565b91507f7d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614349600983614e53565b91507f2276616c7565223a2200000000000000000000000000000000000000000000006000830152600982019050919050565b6000614389600183614e53565b91507f7b000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b60006143c9600f83614e53565b91507f2261747472696275746573223a205b00000000000000000000000000000000006000830152600f82019050919050565b6000614409600183614e53565b91507f5d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614449601d83614e53565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b6000614489601783614e53565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b60006144c9602983614e42565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b600061452f602983614e42565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000614595602883614e42565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145fb602183614e42565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614661601083614e53565b91507f3c7376672069643d2770696e6174612d000000000000000000000000000000006000830152601082019050919050565b60006146a1601183614e53565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006146e1602f83614e42565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b61474381614fe7565b82525050565b61475281614fe7565b82525050565b60006147638261437c565b915061476e82614064565b915061477a8288613c81565b915061478582613f58565b915061479082613f18565b915061479c8287613c81565b91506147a782613f58565b91506147b2826141f0565b91506147bd82614654565b91506147c98286613c50565b91506147d482613e0c565b91506147e08285613c81565b91506147eb826140a4565b91506147f6826143bc565b91506148018261437c565b915061480c82613e72565b91506148178261433c565b91506148238284613c81565b915061482e826140e4565b9150614839826142fc565b9150614844826143fc565b915061484f826142fc565b91508190509695505050505050565b60006148698261443c565b91506148758284613c50565b915081905092915050565b600061488b8261447c565b91506148978285613c50565b91506148a282614694565b91506148ae8284613c50565b91508190509392505050565b600060a0820190506148cf6000830188613b53565b6148dc6020830187613b53565b81810360408301526148ee8186613b62565b905081810360608301526149028185613b62565b905081810360808301526149168184613bde565b90509695505050505050565b600060a0820190506149376000830188613b53565b6149446020830187613b53565b6149516040830186614749565b61495e6060830185614749565b81810360808301526149708184613bde565b90509695505050505050565b600060208201905081810360008301526149968184613b62565b905092915050565b600060408201905081810360008301526149b88185613b62565b905081810360208301526149cc8184613b62565b90509392505050565b60006020820190506149ea6000830184613bc0565b92915050565b6000602082019050614a056000830184613bcf565b92915050565b60006020820190508181036000830152614a258184613c17565b905092915050565b60006080820190508181036000830152614a478187613c17565b90508181036020830152614a5b8186613c17565b90508181036040830152614a6f8185613c17565b90508181036060830152614a838184613c17565b905095945050505050565b60006020820190508181036000830152614aa781613d00565b9050919050565b60006020820190508181036000830152614ac781613d66565b9050919050565b60006020820190508181036000830152614ae781613da6565b9050919050565b60006020820190508181036000830152614b0781613eb2565b9050919050565b60006020820190508181036000830152614b2781613f98565b9050919050565b60006020820190508181036000830152614b4781613ffe565b9050919050565b60006020820190508181036000830152614b6781614124565b9050919050565b60006020820190508181036000830152614b878161418a565b9050919050565b60006020820190508181036000830152614ba781614230565b9050919050565b60006020820190508181036000830152614bc781614296565b9050919050565b60006020820190508181036000830152614be7816144bc565b9050919050565b60006020820190508181036000830152614c0781614522565b9050919050565b60006020820190508181036000830152614c2781614588565b9050919050565b60006020820190508181036000830152614c47816145ee565b9050919050565b60006020820190508181036000830152614c67816146d4565b9050919050565b6000602082019050614c836000830184614749565b92915050565b6000604082019050614c9e6000830185614749565b614cab6020830184614749565b9392505050565b60008083356001602003843603038112614ccb57600080fd5b80840192508235915067ffffffffffffffff821115614ce957600080fd5b602083019250600182023603831315614d0157600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff82111715614d3057614d2f615311565b5b8060405250919050565b600067ffffffffffffffff821115614d5557614d54615311565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d8157614d80615311565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614dad57614dac615311565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082905092915050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e6982614fe7565b9150614e7483614fe7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ea957614ea8615284565b5b828201905092915050565b6000614ebf82614fe7565b9150614eca83614fe7565b925082614eda57614ed96152b3565b5b828204905092915050565b6000614ef082614fe7565b9150614efb83614fe7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3457614f33615284565b5b828202905092915050565b6000614f4a82614fe7565b9150614f5583614fe7565b925082821015614f6857614f67615284565b5b828203905092915050565b6000614f7e82614fc7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b5b8181101561501057615005600082615382565b600181019050614ff2565b5050565b600061501f82614fe7565b9050919050565b6150308383614dfd565b67ffffffffffffffff81111561504957615048615311565b5b615053825461519e565b600080601f8411601f841117156150705761506d85614dd2565b90505b601f8311156150a3576020601f8501048101602085101561508f578190505b6150a16020601f860104830182614ff1565b505b601f8411600181146150d057600085156150be578388013590505b6150c886826151d0565b875550615128565b601f1985168260005b828110156150fe57858a013582556001820191506020860195506020810190506150d9565b8783101561511b57858a0135615117601f8a1682615235565b8355505b6001600289020189555050505b5050505050505050565b82818337600083830152505050565b60005b8381101561515f578082015181840152602081019050615144565b8381111561516e576000848401525b50505050565b600061517f82614fe7565b9150600082141561519357615192615284565b5b600182039050919050565b600060028204905060018216806151b657607f821691505b602082108114156151ca576151c96152e2565b5b50919050565b60006151dc8383615235565b9150826002028217905092915050565b60006151f782614fe7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561522a57615229615284565b5b600182019050919050565b600061524660001984600802615375565b1980831691505092915050565b600061525e82614fe7565b915061526983614fe7565b925082615279576152786152b3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b6000601f19601f8301169050919050565b600082821b905092915050565b60008160e01c9050919050565b600082821c905092915050565b61539461538d6155d0565b8383615538565b5050565b600060443d10156153a85761544b565b60046000803e6153b9600051615368565b6308c379a081146153ca575061544b565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156153f65750505061544b565b808201805167ffffffffffffffff81111561541557505050505061544b565b8060208301013d85018111156154305750505050505061544b565b6154398261534a565b60208401016040528296505050505050505b90565b60006008830261547e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261535b565b615488868361535b565b95508019841693508086168417925050509392505050565b6154ab838383615026565b505050565b60008101600083016154c28185614cb2565b6154cd8183866154a0565b5050505060018101602083016154e38185614cb2565b6154ee8183866154a0565b5050505060028101604083016155048185614cb2565b61550f8183866154a0565b5050505060038101606083016155258185614cb2565b6155308183866154a0565b505050505050565b61554183615014565b61555561554d82615340565b84845461544e565b825550505050565b61556681614f73565b811461557157600080fd5b50565b61557d81614f85565b811461558857600080fd5b50565b61559481614f91565b811461559f57600080fd5b50565b6155ab81614f9b565b81146155b657600080fd5b50565b6155c281614fe7565b81146155cd57600080fd5b50565b60009056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b3443116e54fbfe122507d698af6ebc987c98f89258501a7a4894f3c94c8d2ed64736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018d5760003560e01c8063838bb687116100de578063bd85b03911610097578063d547741f11610071578063d547741f146104bb578063e985e9c5146104d7578063f242432a14610507578063f5298aca146105235761018d565b8063bd85b0391461043a578063cf35bdd01461046a578063d53913931461049d5761018d565b8063838bb6871461037857806391d148541461039457806395d89b41146103c4578063a217fddf146103e2578063a22cb46514610400578063a4b32de81461041c5761018d565b80632eb2c2d61161014b5780634e1273f4116101255780634e1273f4146102e05780634f558e79146103105780636b20c45414610340578063731133e91461035c5761018d565b80632eb2c2d61461028c5780632f2ff15d146102a857806336568abe146102c45761018d565b8062fdd58e1461019257806301ffc9a7146101c257806306fdde03146101f25780630e89341c146102105780631f7fdffa14610240578063248a9ca31461025c575b600080fd5b6101ac60048036038101906101a79190613895565b61053f565b6040516101b99190614c6e565b60405180910390f35b6101dc60048036038101906101d79190613a6c565b610608565b6040516101e991906149d5565b60405180910390f35b6101fa61061a565b6040516102079190614a0b565b60405180910390f35b61022a60048036038101906102259190613abe565b6106a8565b6040516102379190614a0b565b60405180910390f35b61025a600480360381019061025591906137ae565b61075c565b005b61027660048036038101906102719190613a07565b6107a1565b60405161028391906149f0565b60405180910390f35b6102a660048036038101906102a191906135e1565b6107c1565b005b6102c260048036038101906102bd9190613a30565b610862565b005b6102de60048036038101906102d99190613a30565b61088b565b005b6102fa60048036038101906102f5919061399b565b61090e565b604051610307919061497c565b60405180910390f35b61032a60048036038101906103259190613abe565b610abf565b60405161033791906149d5565b60405180910390f35b61035a6004803603810190610355919061372f565b610ad3565b005b61037660048036038101906103719190613920565b610b70565b005b610392600480360381019061038d9190613ae7565b610bb5565b005b6103ae60048036038101906103a99190613a30565b610c0f565b6040516103bb91906149d5565b60405180910390f35b6103cc610c7a565b6040516103d99190614a0b565b60405180910390f35b6103ea610d08565b6040516103f791906149f0565b60405180910390f35b61041a60048036038101906104159190613859565b610d0f565b005b610424610e90565b60405161043191906149f0565b60405180910390f35b610454600480360381019061044f9190613abe565b610eb4565b6040516104619190614c6e565b60405180910390f35b610484600480360381019061047f9190613abe565b610ed1565b6040516104949493929190614a2d565b60405180910390f35b6104a5611121565b6040516104b291906149f0565b60405180910390f35b6104d560048036038101906104d09190613a30565b611145565b005b6104f160048036038101906104ec91906135a5565b61116e565b6040516104fe91906149d5565b60405180910390f35b610521600480360381019061051c91906136a0565b611202565b005b61053d600480360381019061053891906138d1565b6112a3565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a790614aee565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061061382611340565b9050919050565b600580546106279061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546106539061519e565b80156106a05780601f10610675576101008083540402835291602001916106a0565b820191906000526020600020905b81548152906001019060200180831161068357829003601f168201915b505050505081565b606061073660076000848152602001908152602001600020600001600760008581526020019081526020016000206001016106e2856113ba565b6007600087815260200190815260200160002060030160076000888152602001908152602001600020600201604051602001610722959493929190614758565b604051602081830303815290604052611567565b604051602001610746919061485e565b6040516020818303038152906040529050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661078e81610789611725565b61172d565b61079a858585856117ca565b5050505050565b600060036000838152602001908152602001600020600101549050919050565b6107c9611725565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061080f575061080e85610809611725565b61116e565b5b61084e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084590614b6e565b60405180910390fd5b61085b8585858585611a34565b5050505050565b61086b826107a1565b61087c81610877611725565b61172d565b6108868383611d94565b505050565b610893611725565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f790614c4e565b60405180910390fd5b61090a8282611e75565b5050565b60608151835114610954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094b90614bee565b60405180910390fd5b6000835167ffffffffffffffff811115610997577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109c55781602001602082028036833780820191505090505b50905060005b8451811015610ab457610a5e858281518110610a10577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161053f565b828281518110610a97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610aad906151ec565b90506109cb565b508091505092915050565b600080610acb83610eb4565b119050919050565b610adb611725565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610b215750610b2083610b1b611725565b61116e565b5b610b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5790614b2e565b60405180910390fd5b610b6b838383611f57565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610ba281610b9d611725565b61172d565b610bae85858585612254565b5050505050565b7fb1fadd3142ab2ad7f1337ea4d97112bcc8337fc11ce5b20cb04ad038adf99819610be781610be2611725565b61172d565b81600760008581526020019081526020016000208181610c0791906154b0565b905050505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60068054610c879061519e565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb39061519e565b8015610d005780601f10610cd557610100808354040283529160200191610d00565b820191906000526020600020905b815481529060010190602001808311610ce357829003601f168201915b505050505081565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610d2e611725565b73ffffffffffffffffffffffffffffffffffffffff161415610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90614bce565b60405180910390fd5b8060016000610d92611725565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610e3f611725565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610e8491906149d5565b60405180910390a35050565b7fb1fadd3142ab2ad7f1337ea4d97112bcc8337fc11ce5b20cb04ad038adf9981981565b600060046000838152602001908152602001600020549050919050565b6007602052806000526040600020600091509050806000018054610ef49061519e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f209061519e565b8015610f6d5780601f10610f4257610100808354040283529160200191610f6d565b820191906000526020600020905b815481529060010190602001808311610f5057829003601f168201915b505050505090806001018054610f829061519e565b80601f0160208091040260200160405190810160405280929190818152602001828054610fae9061519e565b8015610ffb5780601f10610fd057610100808354040283529160200191610ffb565b820191906000526020600020905b815481529060010190602001808311610fde57829003601f168201915b5050505050908060020180546110109061519e565b80601f016020809104026020016040519081016040528092919081815260200182805461103c9061519e565b80156110895780601f1061105e57610100808354040283529160200191611089565b820191906000526020600020905b81548152906001019060200180831161106c57829003601f168201915b50505050509080600301805461109e9061519e565b80601f01602080910402602001604051908101604052809291908181526020018280546110ca9061519e565b80156111175780601f106110ec57610100808354040283529160200191611117565b820191906000526020600020905b8154815290600101906020018083116110fa57829003601f168201915b5050505050905084565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61114e826107a1565b61115f8161115a611725565b61172d565b6111698383611e75565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61120a611725565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611250575061124f8561124a611725565b61116e565b5b61128f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128690614b2e565b60405180910390fd5b61129c85858585856123ea565b5050505050565b6112ab611725565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806112f157506112f0836112eb611725565b61116e565b5b611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614b2e565b60405180910390fd5b61133b83838361266c565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806113b357506113b282612889565b5b9050919050565b60606000821415611402576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611562565b600082905060005b6000821461143457808061141d906151ec565b915050600a8261142d9190614eb4565b915061140a565b60008167ffffffffffffffff811115611476577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156114a85781602001600182028036833780820191505090505b5090505b6000851461155b576001826114c19190614f3f565b9150600a856114d09190615253565b60306114dc9190614e5e565b60f81b818381518110611518577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856115549190614eb4565b94506114ac565b8093505050505b919050565b606060008251905060008114156115905760405180602001604052806000815250915050611720565b600060036002836115a19190614e5e565b6115ab9190614eb4565b60046115b79190614ee5565b905060006020826115c89190614e5e565b67ffffffffffffffff811115611607577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116395781602001600182028036833780820191505090505b50905060006040518060600160405280604081526020016155d6604091399050600181016020830160005b868110156116dd5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050611664565b5060038606600181146116f7576002811461170757611712565b613d3d60f01b6002830352611712565b603d60f81b60018303525b508484525050819450505050505b919050565b600033905090565b6117378282610c0f565b6117c65761175c8173ffffffffffffffffffffffffffffffffffffffff16601461296b565b61176a8360001c602061296b565b60405160200161177b929190614880565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bd9190614a0b565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614c2e565b60405180910390fd5b815183511461187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590614c0e565b60405180910390fd5b6000611888611725565b905061189981600087878787612c65565b60005b845181101561199e578381815181106118de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600080878481518110611922577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119849190614e5e565b925050819055508080611996906151ec565b91505061189c565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a1692919061499e565b60405180910390a4611a2d81600087878787612c7b565b5050505050565b8151835114611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90614c0e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adf90614b4e565b60405180910390fd5b6000611af2611725565b9050611b02818787878787612c65565b60005b8451811015611cff576000858281518110611b49577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611b8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614bae565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce49190614e5e565b9250508190555050505080611cf8906151ec565b9050611b05565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d7692919061499e565b60405180910390a4611d8c818787878787612c7b565b505050505050565b611d9e8282610c0f565b611e715760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e16611725565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611e7f8282610c0f565b15611f535760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611ef8611725565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614b8e565b60405180910390fd5b805182511461200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290614c0e565b60405180910390fd5b6000612015611725565b905061203581856000868660405180602001604052806000815250612c65565b60005b83518110156121ce57600084828151811061207c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106120c1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614b0e565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505080806121c6906151ec565b915050612038565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161224692919061499e565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bb90614c2e565b60405180910390fd5b60006122ce611725565b90506122ef816000876122e088612e4b565b6122e988612e4b565b87612c65565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461234e9190614e5e565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516123cc929190614c89565b60405180910390a46123e381600087878787612f11565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561245a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245190614b4e565b60405180910390fd5b6000612464611725565b905061248481878761247588612e4b565b61247e88612e4b565b87612c65565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561251b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251290614bae565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125d09190614e5e565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161264d929190614c89565b60405180910390a4612663828888888888612f11565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d390614b8e565b60405180910390fd5b60006126e6611725565b9050612716818560006126f887612e4b565b61270187612e4b565b60405180602001604052806000815250612c65565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828110156127ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a490614b0e565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62878760405161287a929190614c89565b60405180910390a45050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061295457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806129645750612963826130e1565b5b9050919050565b60606000600283600261297e9190614ee5565b6129889190614e5e565b67ffffffffffffffff8111156129c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129f95781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612a57577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612ae1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612b219190614ee5565b612b2b9190614e5e565b90505b6001811115612c17577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612b93577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612bd0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612c1090615174565b9050612b2e565b5060008414612c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5290614aae565b60405180910390fd5b8091505092915050565b612c7386868686868661314b565b505050505050565b612c9a8473ffffffffffffffffffffffffffffffffffffffff1661335d565b15612e43578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612ce09594939291906148ba565b602060405180830381600087803b158015612cfa57600080fd5b505af1925050508015612d2b57506040513d601f19601f82011682018060405250810190612d289190613a95565b60015b612dba57612d37615398565b80612d425750612d7f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d769190614a0b565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db190614a8e565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3890614ace565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612e90577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612ebe5781602001602082028036833780820191505090505b5090508281600081518110612efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612f308473ffffffffffffffffffffffffffffffffffffffff1661335d565b156130d9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612f76959493929190614922565b602060405180830381600087803b158015612f9057600080fd5b505af1925050508015612fc157506040513d601f19601f82011682018060405250810190612fbe9190613a95565b60015b61305057612fcd615398565b80612fd85750613015565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300c9190614a0b565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304790614a8e565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146130d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ce90614ace565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613159868686868686613370565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156132575760005b8351811015613255578281815181106131d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160046000868481518110613218577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461323d9190614e5e565b925050819055508061324e906151ec565b9050613191565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156133555760005b8351811015613353578281815181106132d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160046000868481518110613316577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461333b9190614f3f565b925050819055508061334c906151ec565b905061328f565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b600061338b61338684614d3a565b614d09565b905080838252602082019050828560208602820111156133aa57600080fd5b60005b858110156133da57816133c0888261348e565b8452602084019350602083019250506001810190506133ad565b5050509392505050565b60006133f76133f284614d66565b614d09565b9050808382526020820190508285602086028201111561341657600080fd5b60005b85811015613446578161342c8882613590565b845260208401935060208301925050600181019050613419565b5050509392505050565b600061346361345e84614d92565b614d09565b90508281526020810184848401111561347b57600080fd5b613486848285615132565b509392505050565b60008135905061349d8161555d565b92915050565b600082601f8301126134b457600080fd5b81356134c4848260208601613378565b91505092915050565b600082601f8301126134de57600080fd5b81356134ee8482602086016133e4565b91505092915050565b60008135905061350681615574565b92915050565b60008135905061351b8161558b565b92915050565b600081359050613530816155a2565b92915050565b600081519050613545816155a2565b92915050565b600082601f83011261355c57600080fd5b813561356c848260208601613450565b91505092915050565b60006080828403121561358757600080fd5b81905092915050565b60008135905061359f816155b9565b92915050565b600080604083850312156135b857600080fd5b60006135c68582860161348e565b92505060206135d78582860161348e565b9150509250929050565b600080600080600060a086880312156135f957600080fd5b60006136078882890161348e565b95505060206136188882890161348e565b945050604086013567ffffffffffffffff81111561363557600080fd5b613641888289016134cd565b935050606086013567ffffffffffffffff81111561365e57600080fd5b61366a888289016134cd565b925050608086013567ffffffffffffffff81111561368757600080fd5b6136938882890161354b565b9150509295509295909350565b600080600080600060a086880312156136b857600080fd5b60006136c68882890161348e565b95505060206136d78882890161348e565b94505060406136e888828901613590565b93505060606136f988828901613590565b925050608086013567ffffffffffffffff81111561371657600080fd5b6137228882890161354b565b9150509295509295909350565b60008060006060848603121561374457600080fd5b60006137528682870161348e565b935050602084013567ffffffffffffffff81111561376f57600080fd5b61377b868287016134cd565b925050604084013567ffffffffffffffff81111561379857600080fd5b6137a4868287016134cd565b9150509250925092565b600080600080608085870312156137c457600080fd5b60006137d28782880161348e565b945050602085013567ffffffffffffffff8111156137ef57600080fd5b6137fb878288016134cd565b935050604085013567ffffffffffffffff81111561381857600080fd5b613824878288016134cd565b925050606085013567ffffffffffffffff81111561384157600080fd5b61384d8782880161354b565b91505092959194509250565b6000806040838503121561386c57600080fd5b600061387a8582860161348e565b925050602061388b858286016134f7565b9150509250929050565b600080604083850312156138a857600080fd5b60006138b68582860161348e565b92505060206138c785828601613590565b9150509250929050565b6000806000606084860312156138e657600080fd5b60006138f48682870161348e565b935050602061390586828701613590565b925050604061391686828701613590565b9150509250925092565b6000806000806080858703121561393657600080fd5b60006139448782880161348e565b945050602061395587828801613590565b935050604061396687828801613590565b925050606085013567ffffffffffffffff81111561398357600080fd5b61398f8782880161354b565b91505092959194509250565b600080604083850312156139ae57600080fd5b600083013567ffffffffffffffff8111156139c857600080fd5b6139d4858286016134a3565b925050602083013567ffffffffffffffff8111156139f157600080fd5b6139fd858286016134cd565b9150509250929050565b600060208284031215613a1957600080fd5b6000613a278482850161350c565b91505092915050565b60008060408385031215613a4357600080fd5b6000613a518582860161350c565b9250506020613a628582860161348e565b9150509250929050565b600060208284031215613a7e57600080fd5b6000613a8c84828501613521565b91505092915050565b600060208284031215613aa757600080fd5b6000613ab584828501613536565b91505092915050565b600060208284031215613ad057600080fd5b6000613ade84828501613590565b91505092915050565b60008060408385031215613afa57600080fd5b6000613b0885828601613590565b925050602083013567ffffffffffffffff811115613b2557600080fd5b613b3185828601613575565b9150509250929050565b6000613b47838361473a565b60208301905092915050565b613b5c81614f73565b82525050565b6000613b6d82614de7565b613b778185614e20565b9350613b8283614dc2565b8060005b83811015613bb3578151613b9a8882613b3b565b9750613ba583614e13565b925050600181019050613b86565b5085935050505092915050565b613bc981614f85565b82525050565b613bd881614f91565b82525050565b6000613be982614df2565b613bf38185614e31565b9350613c03818560208601615141565b613c0c8161534a565b840191505092915050565b6000613c2282614e08565b613c2c8185614e42565b9350613c3c818560208601615141565b613c458161534a565b840191505092915050565b6000613c5b82614e08565b613c658185614e53565b9350613c75818560208601615141565b80840191505092915050565b60008154613c8e8161519e565b613c988186614e53565b94506001821660008114613cb35760018114613cc457613cf7565b60ff19831686528186019350613cf7565b613ccd85614dd2565b60005b83811015613cef57815481890152600182019150602081019050613cd0565b838801955050505b50505092915050565b6000613d0d603483614e42565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000613d73602083614e42565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000613db3602883614e42565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e19603983614e53565b91507f272076696577426f783d273020302032342032342720786d6c6e733d2768747460008301527f703a2f2f7777772e77332e6f72672f323030302f737667273e000000000000006020830152603982019050919050565b6000613e7f601583614e53565b91507f2274726169745f74797065223a225468656d65222c00000000000000000000006000830152601582019050919050565b6000613ebf602b83614e42565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613f25600f83614e53565b91507f226465736372697074696f6e223a2200000000000000000000000000000000006000830152600f82019050919050565b6000613f65600283614e53565b91507f222c0000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b6000613fa5602483614e42565b91507f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008301527f616e6365000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061400b602983614e42565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b6000614071600883614e53565b91507f226e616d65223a220000000000000000000000000000000000000000000000006000830152600882019050919050565b60006140b1600883614e53565b91507f3c2f7376673e222c0000000000000000000000000000000000000000000000006000830152600882019050919050565b60006140f1600183614e53565b91507f22000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614131602583614e42565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614197603283614e42565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b60006141fd600e83614e53565b91507f22696d6167655f64617461223a220000000000000000000000000000000000006000830152600e82019050919050565b600061423d602383614e42565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142a3602a83614e42565b91507f455243313135353a20696e73756666696369656e742062616c616e636520666f60008301527f72207472616e73666572000000000000000000000000000000000000000000006020830152604082019050919050565b6000614309600183614e53565b91507f7d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614349600983614e53565b91507f2276616c7565223a2200000000000000000000000000000000000000000000006000830152600982019050919050565b6000614389600183614e53565b91507f7b000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b60006143c9600f83614e53565b91507f2261747472696275746573223a205b00000000000000000000000000000000006000830152600f82019050919050565b6000614409600183614e53565b91507f5d000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b6000614449601d83614e53565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b6000614489601783614e53565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b60006144c9602983614e42565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b600061452f602983614e42565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b6000614595602883614e42565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145fb602183614e42565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614661601083614e53565b91507f3c7376672069643d2770696e6174612d000000000000000000000000000000006000830152601082019050919050565b60006146a1601183614e53565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b60006146e1602f83614e42565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b61474381614fe7565b82525050565b61475281614fe7565b82525050565b60006147638261437c565b915061476e82614064565b915061477a8288613c81565b915061478582613f58565b915061479082613f18565b915061479c8287613c81565b91506147a782613f58565b91506147b2826141f0565b91506147bd82614654565b91506147c98286613c50565b91506147d482613e0c565b91506147e08285613c81565b91506147eb826140a4565b91506147f6826143bc565b91506148018261437c565b915061480c82613e72565b91506148178261433c565b91506148238284613c81565b915061482e826140e4565b9150614839826142fc565b9150614844826143fc565b915061484f826142fc565b91508190509695505050505050565b60006148698261443c565b91506148758284613c50565b915081905092915050565b600061488b8261447c565b91506148978285613c50565b91506148a282614694565b91506148ae8284613c50565b91508190509392505050565b600060a0820190506148cf6000830188613b53565b6148dc6020830187613b53565b81810360408301526148ee8186613b62565b905081810360608301526149028185613b62565b905081810360808301526149168184613bde565b90509695505050505050565b600060a0820190506149376000830188613b53565b6149446020830187613b53565b6149516040830186614749565b61495e6060830185614749565b81810360808301526149708184613bde565b90509695505050505050565b600060208201905081810360008301526149968184613b62565b905092915050565b600060408201905081810360008301526149b88185613b62565b905081810360208301526149cc8184613b62565b90509392505050565b60006020820190506149ea6000830184613bc0565b92915050565b6000602082019050614a056000830184613bcf565b92915050565b60006020820190508181036000830152614a258184613c17565b905092915050565b60006080820190508181036000830152614a478187613c17565b90508181036020830152614a5b8186613c17565b90508181036040830152614a6f8185613c17565b90508181036060830152614a838184613c17565b905095945050505050565b60006020820190508181036000830152614aa781613d00565b9050919050565b60006020820190508181036000830152614ac781613d66565b9050919050565b60006020820190508181036000830152614ae781613da6565b9050919050565b60006020820190508181036000830152614b0781613eb2565b9050919050565b60006020820190508181036000830152614b2781613f98565b9050919050565b60006020820190508181036000830152614b4781613ffe565b9050919050565b60006020820190508181036000830152614b6781614124565b9050919050565b60006020820190508181036000830152614b878161418a565b9050919050565b60006020820190508181036000830152614ba781614230565b9050919050565b60006020820190508181036000830152614bc781614296565b9050919050565b60006020820190508181036000830152614be7816144bc565b9050919050565b60006020820190508181036000830152614c0781614522565b9050919050565b60006020820190508181036000830152614c2781614588565b9050919050565b60006020820190508181036000830152614c47816145ee565b9050919050565b60006020820190508181036000830152614c67816146d4565b9050919050565b6000602082019050614c836000830184614749565b92915050565b6000604082019050614c9e6000830185614749565b614cab6020830184614749565b9392505050565b60008083356001602003843603038112614ccb57600080fd5b80840192508235915067ffffffffffffffff821115614ce957600080fd5b602083019250600182023603831315614d0157600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff82111715614d3057614d2f615311565b5b8060405250919050565b600067ffffffffffffffff821115614d5557614d54615311565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d8157614d80615311565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614dad57614dac615311565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082905092915050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e6982614fe7565b9150614e7483614fe7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ea957614ea8615284565b5b828201905092915050565b6000614ebf82614fe7565b9150614eca83614fe7565b925082614eda57614ed96152b3565b5b828204905092915050565b6000614ef082614fe7565b9150614efb83614fe7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f3457614f33615284565b5b828202905092915050565b6000614f4a82614fe7565b9150614f5583614fe7565b925082821015614f6857614f67615284565b5b828203905092915050565b6000614f7e82614fc7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b5b8181101561501057615005600082615382565b600181019050614ff2565b5050565b600061501f82614fe7565b9050919050565b6150308383614dfd565b67ffffffffffffffff81111561504957615048615311565b5b615053825461519e565b600080601f8411601f841117156150705761506d85614dd2565b90505b601f8311156150a3576020601f8501048101602085101561508f578190505b6150a16020601f860104830182614ff1565b505b601f8411600181146150d057600085156150be578388013590505b6150c886826151d0565b875550615128565b601f1985168260005b828110156150fe57858a013582556001820191506020860195506020810190506150d9565b8783101561511b57858a0135615117601f8a1682615235565b8355505b6001600289020189555050505b5050505050505050565b82818337600083830152505050565b60005b8381101561515f578082015181840152602081019050615144565b8381111561516e576000848401525b50505050565b600061517f82614fe7565b9150600082141561519357615192615284565b5b600182039050919050565b600060028204905060018216806151b657607f821691505b602082108114156151ca576151c96152e2565b5b50919050565b60006151dc8383615235565b9150826002028217905092915050565b60006151f782614fe7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561522a57615229615284565b5b600182019050919050565b600061524660001984600802615375565b1980831691505092915050565b600061525e82614fe7565b915061526983614fe7565b925082615279576152786152b3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000819050919050565b6000601f19601f8301169050919050565b600082821b905092915050565b60008160e01c9050919050565b600082821c905092915050565b61539461538d6155d0565b8383615538565b5050565b600060443d10156153a85761544b565b60046000803e6153b9600051615368565b6308c379a081146153ca575061544b565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156153f65750505061544b565b808201805167ffffffffffffffff81111561541557505050505061544b565b8060208301013d85018111156154305750505050505061544b565b6154398261534a565b60208401016040528296505050505050505b90565b60006008830261547e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261535b565b615488868361535b565b95508019841693508086168417925050509392505050565b6154ab838383615026565b505050565b60008101600083016154c28185614cb2565b6154cd8183866154a0565b5050505060018101602083016154e38185614cb2565b6154ee8183866154a0565b5050505060028101604083016155048185614cb2565b61550f8183866154a0565b5050505060038101606083016155258185614cb2565b6155308183866154a0565b505050505050565b61554183615014565b61555561554d82615340565b84845461544e565b825550505050565b61556681614f73565b811461557157600080fd5b50565b61557d81614f85565b811461558857600080fd5b50565b61559481614f91565b811461559f57600080fd5b50565b6155ab81614f9b565b81146155b657600080fd5b50565b6155c281614fe7565b81146155cd57600080fd5b50565b60009056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220b3443116e54fbfe122507d698af6ebc987c98f89258501a7a4894f3c94c8d2ed64736f6c63430008000033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.