ETH Price: $2,390.00 (+2.50%)

Contract

0xB67786f6191fc044A5B7A902AC26B573ae632a5e
 

Overview

ETH Balance

0.05 ETH

Eth Value

$119.50 (@ $2,390.00/ETH)

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...154817952022-09-06 3:52:49743 days ago1662436369IN
0xB67786f6...3ae632a5e
0 ETH0.000479410.28500578
Set Approval For...153546532022-08-16 21:08:16764 days ago1660684096IN
0xB67786f6...3ae632a5e
0 ETH0.0007985117.13117746
Owner Mint153546412022-08-16 21:05:49764 days ago1660683949IN
0xB67786f6...3ae632a5e
0 ETH0.0006379315.08521441
Owner Mint153546372022-08-16 21:05:10764 days ago1660683910IN
0xB67786f6...3ae632a5e
0 ETH0.000721917.07079556
Owner Mint153546352022-08-16 21:04:46764 days ago1660683886IN
0xB67786f6...3ae632a5e
0 ETH0.0007299617.26143076
Owner Mint153546322022-08-16 21:04:21764 days ago1660683861IN
0xB67786f6...3ae632a5e
0 ETH0.0008045619.02537662
Owner Mint153546302022-08-16 21:03:54764 days ago1660683834IN
0xB67786f6...3ae632a5e
0 ETH0.0007912918.71168919
Owner Mint153546282022-08-16 21:03:18764 days ago1660683798IN
0xB67786f6...3ae632a5e
0 ETH0.0013595917.77509994
Owner Mint153546232022-08-16 21:02:14764 days ago1660683734IN
0xB67786f6...3ae632a5e
0 ETH0.0011203614.64735979
Owner Mint153546162022-08-16 21:01:22764 days ago1660683682IN
0xB67786f6...3ae632a5e
0 ETH0.0015959320.86494983
Add New Token153546012022-08-16 20:57:51764 days ago1660683471IN
0xB67786f6...3ae632a5e
0 ETH0.0033900217.50475893
Add New Token153545962022-08-16 20:57:03764 days ago1660683423IN
0xB67786f6...3ae632a5e
0 ETH0.0033403117.24805775
Add New Token153545902022-08-16 20:56:00764 days ago1660683360IN
0xB67786f6...3ae632a5e
0 ETH0.0035911618.54450486
Toggle Token Sal...153545602022-08-16 20:48:52764 days ago1660682932IN
0xB67786f6...3ae632a5e
0 ETH0.000231849.45974745
Add New Token153545362022-08-16 20:44:16764 days ago1660682656IN
0xB67786f6...3ae632a5e
0 ETH0.0034818117.97984955
Set Approval For...148239132022-05-22 14:35:18850 days ago1653230118IN
0xB67786f6...3ae632a5e
0 ETH0.0010865823.26943574
Owner Mint145997632022-04-17 1:03:40886 days ago1650157420IN
0xB67786f6...3ae632a5e
0 ETH0.001570120.52726397
Add New Token145997572022-04-17 1:02:35886 days ago1650157355IN
0xB67786f6...3ae632a5e
0 ETH0.0040872123.52341465
Owner Mint145807172022-04-14 1:54:14889 days ago1649901254IN
0xB67786f6...3ae632a5e
0 ETH0.0030206539.49130597
Public Mint145806852022-04-14 1:45:36889 days ago1649900736IN
0xB67786f6...3ae632a5e
0.05 ETH0.0020818532.50199802
Add New Token145806772022-04-14 1:44:51889 days ago1649900691IN
0xB67786f6...3ae632a5e
0 ETH0.0076367943.95253602
Owner Mint145806712022-04-14 1:43:30889 days ago1649900610IN
0xB67786f6...3ae632a5e
0 ETH0.0039857452.10874123
Add New Token145806632022-04-14 1:42:19889 days ago1649900539IN
0xB67786f6...3ae632a5e
0 ETH0.0107923162.11799318
Owner Mint145806202022-04-14 1:27:58889 days ago1649899678IN
0xB67786f6...3ae632a5e
0 ETH0.0032721942.77991638
Add New Token145806142022-04-14 1:26:44889 days ago1649899604IN
0xB67786f6...3ae632a5e
0 ETH0.0078908445.41778218
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HoverchairCollection

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : HoverchairCollection.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

/*
 * HoverchairCollection contract for managing token drops
 *
 * by @prabhu
 */
contract HoverchairCollection is ERC1155, Ownable, ReentrancyGuard, AccessControl, PaymentSplitter {
    using Strings for string;
    using SafeMath for uint256;
    using Counters for Counters.Counter;
    event TokenAdded(uint256 tokenId, string name, string metadataUrl, uint256 maxSupply);
    struct HoverToken {
        bool active;
        uint256 maxSupply;
        uint256 mintedSupply;
        string internalName;
        string metadataUrl;
        address[] allowListArray;
        uint256 mintWeiPrice;
    }
    string public name;
    mapping(uint256 => HoverToken) public tokens;
    Counters.Counter private tokenCounter;
    address[] _payees=[0x59381487124657694f8E1101DD62FA55aa038721, 0x82B40dC9113f7B90eba2a30477694b0C8a7a1070, 0x33A442b5f80531e5B722d2c4adaCF52febbC3BeA];
    uint[] _shares=[70,20,10];
    constructor(
        string memory _name,
        address[] memory _admins
        ) ERC1155("https://www.hoverchairstudios.com/") PaymentSplitter(_payees, _shares)
        {
            _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
            for (uint i=0; i< _admins.length; i++) {
                _setupRole(DEFAULT_ADMIN_ROLE, _admins[i]);
            }
            name = _name;
    }
    function tokenCount() public view returns (uint) {
        return tokenCounter.current();
    }
    function addNewToken(bool _active, string memory _name, string memory _metadataUrl, uint256 _maxSupply, uint256 _mintWeiPrice) 
    public
    onlyOwnerOrAdmin
    {
        require(_maxSupply > 0, "Invalid maxSupply");

        HoverToken storage token = tokens[tokenCounter.current()];
        token.active = _active;
        token.internalName = _name;
        token.maxSupply = _maxSupply;
        token.metadataUrl = _metadataUrl;
        token.mintWeiPrice = _mintWeiPrice;
        emit TokenAdded(tokenCounter.current(), _name, _metadataUrl, _maxSupply);
        tokenCounter.increment();
    }
    function toggleTokenSaleStatus(uint256 tokenId) 
    public
    onlyOwnerOrAdmin
    {
        HoverToken storage token = tokens[tokenId];
        token.active = !token.active;
    }
    function uri(uint256 _tokenId) public view override returns (string memory output) {
        //require(exists(_tokenId), "Token doesn't exists");
        HoverToken storage token = tokens[_tokenId];
        output = token.metadataUrl;

    }
    modifier isTokenTransactionValid(uint256 tokenId, uint256 amount, bool shouldBeActive) {
        HoverToken storage token = tokens[tokenId];
        require( token.mintedSupply+amount <= token.maxSupply, "Tokens Sold out");
        if (shouldBeActive) {
            require(token.active,"This token is not active for sale");
        }
        _;
    }
    modifier onlyOwnerOrAdmin() {
        require(owner() == _msgSender() || hasRole(DEFAULT_ADMIN_ROLE,_msgSender()),"This action can be performed by Owner or Admin only");
        _;
    }
    function batchAirdrop(uint256 _tokenId, uint256 _tokenCount, address[] calldata _list)
        public
        isTokenTransactionValid(_tokenId, _tokenCount*_list.length, false)
        onlyOwnerOrAdmin
    {
        HoverToken storage token = tokens[_tokenId];
        for (uint256 i = 0; i < _list.length; i++) {
            token.mintedSupply = token.mintedSupply+_tokenCount;
            _mint(_list[i], _tokenId, _tokenCount, "");
        }
    }
    function ownerMint(
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public 
    virtual 
    isTokenTransactionValid(id, amount, false)
    onlyOwnerOrAdmin
    {
        HoverToken storage token = tokens[id];
        token.mintedSupply = token.mintedSupply+amount;
        _mint(msg.sender, id, amount, data);
    }
    function publicMint(
        uint256 tokenId,
        uint256 amount,
        bytes memory data
    ) public 
    payable 
    nonReentrant
    isNotContract
    isTokenTransactionValid(tokenId, amount, true)
    {
        HoverToken storage token = tokens[tokenId];
        uint256 totalPrice = amount * token.mintWeiPrice;
        require(msg.value >= totalPrice, " Insufficient funds");
        token.mintedSupply = token.mintedSupply+amount;
        _mint(msg.sender, tokenId, amount, data);
    }
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, AccessControl) returns (bool) {
        return super.supportsInterface(interfaceId);
    }
    modifier isNotContract() {
        require(msg.sender == tx.origin, "Proxies cannot mint");
        _;
    }
}

File 2 of 19 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();

        _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 `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

    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 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 19 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 8 of 19 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _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 virtual 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 virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 9 of 19 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 10 of 19 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 13 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 18 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 19 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address[]","name":"_admins","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"string","name":"metadataUrl","type":"string"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"TokenAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_metadataUrl","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_mintWeiPrice","type":"uint256"}],"name":"addNewToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_tokenCount","type":"uint256"},{"internalType":"address[]","name":"_list","type":"address[]"}],"name":"batchAirdrop","outputs":[],"stateMutability":"nonpayable","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"toggleTokenSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"bool","name":"active","type":"bool"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"mintedSupply","type":"uint256"},{"internalType":"string","name":"internalName","type":"string"},{"internalType":"string","name":"metadataUrl","type":"string"},{"internalType":"uint256","name":"mintWeiPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"output","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260405180606001604052807359381487124657694f8e1101dd62fa55aa03872173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017382b40dc9113f7b90eba2a30477694b0c8a7a107073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017333a442b5f80531e5b722d2c4adacf52febbc3bea73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506010906003620000f1929190620008b2565b506040518060600160405280604660ff168152602001601460ff168152602001600a60ff1681525060119060036200012b92919062000941565b503480156200013957600080fd5b50604051620072243803806200722483398181016040528101906200015f919062000d25565b6010805480602002602001604051908101604052809291908181526020018280548015620001e357602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831162000198575b505050505060118054806020026020016040519081016040528092919081815260200182805480156200023657602002820191906000526020600020905b81548152602001906001019080831162000221575b5050505050604051806060016040528060228152602001620072026022913962000266816200041b60201b60201c565b50620002876200027b6200043760201b60201c565b6200043f60201b60201c565b60016004819055508051825114620002d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002cd9062000e31565b60405180910390fd5b60008251116200031d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003149062000ea3565b60405180910390fd5b60005b82518110156200038c576200037683828151811062000344576200034362000ec5565b5b602002602001015183838151811062000362576200036162000ec5565b5b60200260200101516200050560201b60201c565b8080620003839062000f2d565b91505062000320565b505050620003a46000801b336200073f60201b60201c565b60005b8151811015620003f957620003e36000801b838381518110620003cf57620003ce62000ec5565b5b60200260200101516200073f60201b60201c565b8080620003f09062000f2d565b915050620003a7565b5081600d90805190602001906200041292919062000998565b5050506200122e565b80600290805190602001906200043392919062000998565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000578576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200056f9062000ff1565b60405180910390fd5b60008111620005be576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005b59062001063565b60405180910390fd5b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000643576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200063a90620010fb565b60405180910390fd5b600a829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600654620006fa91906200111d565b6006819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620007339291906200119c565b60405180910390a15050565b6200075182826200075560201b60201c565b5050565b6200076782826200084760201b60201c565b620008435760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620007e86200043760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280548282559060005260206000209081019282156200092e579160200282015b828111156200092d5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620008d3565b5b5090506200093d919062000a29565b5090565b82805482825590600052602060002090810192821562000985579160200282015b8281111562000984578251829060ff1690559160200191906001019062000962565b5b50905062000994919062000a29565b5090565b828054620009a690620011f8565b90600052602060002090601f016020900481019282620009ca576000855562000a16565b82601f10620009e557805160ff191683800117855562000a16565b8280016001018555821562000a16579182015b8281111562000a15578251825591602001919060010190620009f8565b5b50905062000a25919062000a29565b5090565b5b8082111562000a4457600081600090555060010162000a2a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000ab18262000a66565b810181811067ffffffffffffffff8211171562000ad35762000ad262000a77565b5b80604052505050565b600062000ae862000a48565b905062000af6828262000aa6565b919050565b600067ffffffffffffffff82111562000b195762000b1862000a77565b5b62000b248262000a66565b9050602081019050919050565b60005b8381101562000b5157808201518184015260208101905062000b34565b8381111562000b61576000848401525b50505050565b600062000b7e62000b788462000afb565b62000adc565b90508281526020810184848401111562000b9d5762000b9c62000a61565b5b62000baa84828562000b31565b509392505050565b600082601f83011262000bca5762000bc962000a5c565b5b815162000bdc84826020860162000b67565b91505092915050565b600067ffffffffffffffff82111562000c035762000c0262000a77565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000c468262000c19565b9050919050565b62000c588162000c39565b811462000c6457600080fd5b50565b60008151905062000c788162000c4d565b92915050565b600062000c9562000c8f8462000be5565b62000adc565b9050808382526020820190506020840283018581111562000cbb5762000cba62000c14565b5b835b8181101562000ce8578062000cd3888262000c67565b84526020840193505060208101905062000cbd565b5050509392505050565b600082601f83011262000d0a5762000d0962000a5c565b5b815162000d1c84826020860162000c7e565b91505092915050565b6000806040838503121562000d3f5762000d3e62000a52565b5b600083015167ffffffffffffffff81111562000d605762000d5f62000a57565b5b62000d6e8582860162000bb2565b925050602083015167ffffffffffffffff81111562000d925762000d9162000a57565b5b62000da08582860162000cf2565b9150509250929050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062000e1960328362000daa565b915062000e268262000dbb565b604082019050919050565b6000602082019050818103600083015262000e4c8162000e0a565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000e8b601a8362000daa565b915062000e988262000e53565b602082019050919050565b6000602082019050818103600083015262000ebe8162000e7c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000f3a8262000f23565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000f705762000f6f62000ef4565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000fd9602c8362000daa565b915062000fe68262000f7b565b604082019050919050565b600060208201905081810360008301526200100c8162000fca565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b60006200104b601d8362000daa565b9150620010588262001013565b602082019050919050565b600060208201905081810360008301526200107e816200103c565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b6000620010e3602b8362000daa565b9150620010f08262001085565b604082019050919050565b600060208201905081810360008301526200111681620010d4565b9050919050565b60006200112a8262000f23565b9150620011378362000f23565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200116f576200116e62000ef4565b5b828201905092915050565b620011858162000c39565b82525050565b620011968162000f23565b82525050565b6000604082019050620011b360008301856200117a565b620011c260208301846200118b565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200121157607f821691505b60208210811415620012285762001227620011c9565b5b50919050565b615fc4806200123e6000396000f3fe6080604052600436106101fc5760003560e01c8063715018a61161010d578063a217fddf116100a0578063d79779b21161006f578063d79779b2146107b9578063e33b7de3146107f6578063e985e9c514610821578063f242432a1461085e578063f2fde38b1461088757610243565b8063a217fddf146106ff578063a22cb4651461072a578063ce7c2ac214610753578063d547741f1461079057610243565b806391d14854116100dc57806391d14854146106315780639852595c1461066e5780639f181b5e146106ab578063a0755f49146106d657610243565b8063715018a61461058957806378824262146105a05780638b83209b146105c95780638da5cb5b1461060657610243565b80632eb2c2d611610190578063406072a91161015f578063406072a91461047b57806348b75044146104b85780634e1273f4146104e15780634f64b2be1461051e578063511379991461056057610243565b80632eb2c2d6146103d55780632f2ff15d146103fe57806336568abe146104275780633a98ef391461045057610243565b80630e89341c116101cc5780630e89341c146103095780631916558714610346578063248a9ca31461036f57806328e07537146103ac57610243565b8062fdd58e1461024857806301ffc9a71461028557806306fdde03146102c25780630a8bd9e8146102ed57610243565b36610243577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061022a6108b0565b34604051610239929190613a82565b60405180910390a1005b600080fd5b34801561025457600080fd5b5061026f600480360381019061026a9190613b17565b6108b8565b60405161027c9190613b57565b60405180910390f35b34801561029157600080fd5b506102ac60048036038101906102a79190613bca565b610981565b6040516102b99190613c12565b60405180910390f35b3480156102ce57600080fd5b506102d7610993565b6040516102e49190613cc6565b60405180910390f35b61030760048036038101906103029190613e1d565b610a21565b005b34801561031557600080fd5b50610330600480360381019061032b9190613e8c565b610c4b565b60405161033d9190613cc6565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613ef7565b610cf9565b005b34801561037b57600080fd5b5061039660048036038101906103919190613f5a565b610ea4565b6040516103a39190613f96565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190614011565b610ec4565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190614148565b6110cf565b005b34801561040a57600080fd5b5061042560048036038101906104209190614217565b611170565b005b34801561043357600080fd5b5061044e60048036038101906104499190614217565b611199565b005b34801561045c57600080fd5b5061046561121c565b6040516104729190613b57565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190614295565b611226565b6040516104af9190613b57565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190614295565b6112ad565b005b3480156104ed57600080fd5b5061050860048036038101906105039190614398565b611575565b60405161051591906144ce565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190613e8c565b61168e565b604051610557969594939291906144f0565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613e8c565b6117e7565b005b34801561059557600080fd5b5061059e6118c7565b005b3480156105ac57600080fd5b506105c760048036038101906105c29190613e1d565b61194f565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190613e8c565b611af3565b6040516105fd919061455f565b60405180910390f35b34801561061257600080fd5b5061061b611b3b565b604051610628919061455f565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190614217565b611b65565b6040516106659190613c12565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061457a565b611bd0565b6040516106a29190613b57565b60405180910390f35b3480156106b757600080fd5b506106c0611c19565b6040516106cd9190613b57565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190614674565b611c2a565b005b34801561070b57600080fd5b50610714611ddc565b6040516107219190613f96565b60405180910390f35b34801561073657600080fd5b50610751600480360381019061074c9190614727565b611de3565b005b34801561075f57600080fd5b5061077a6004803603810190610775919061457a565b611df9565b6040516107879190613b57565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190614217565b611e42565b005b3480156107c557600080fd5b506107e060048036038101906107db9190614767565b611e6b565b6040516107ed9190613b57565b60405180910390f35b34801561080257600080fd5b5061080b611eb4565b6040516108189190613b57565b60405180910390f35b34801561082d57600080fd5b5061084860048036038101906108439190614794565b611ebe565b6040516108559190613c12565b60405180910390f35b34801561086a57600080fd5b50610885600480360381019061088091906147d4565b611f52565b005b34801561089357600080fd5b506108ae60048036038101906108a9919061457a565b611ff3565b005b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610929576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610920906148dd565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061098c826120eb565b9050919050565b600d80546109a09061492c565b80601f01602080910402602001604051908101604052809291908181526020018280546109cc9061492c565b8015610a195780601f106109ee57610100808354040283529160200191610a19565b820191906000526020600020905b8154815290600101906020018083116109fc57829003601f168201915b505050505081565b60026004541415610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e906149aa565b60405180910390fd5b60026004819055503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490614a16565b60405180910390fd5b828260016000600e600085815260200190815260200160002090508060010154838260020154610b0d9190614a65565b1115610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614b07565b60405180910390fd5b8115610ba6578060000160009054906101000a900460ff16610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90614b99565b60405180910390fd5b5b6000600e600089815260200190815260200160002090506000816006015488610bcf9190614bb9565b905080341015610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b90614c5f565b60405180910390fd5b878260020154610c249190614a65565b8260020181905550610c38338a8a8a612165565b5050505050506001600481905550505050565b60606000600e60008481526020019081526020016000209050806004018054610c739061492c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9f9061492c565b8015610cec5780601f10610cc157610100808354040283529160200191610cec565b820191906000526020600020905b815481529060010190602001808311610ccf57829003601f168201915b5050505050915050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7290614cf1565b60405180910390fd5b6000610d85611eb4565b47610d909190614a65565b90506000610da78383610da286611bd0565b6122fb565b90506000811415610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490614d83565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e3c9190614a65565b925050819055508060076000828254610e559190614a65565b92505081905550610e668382612369565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610e97929190614e02565b60405180910390a1505050565b600060056000838152602001908152602001600020600101549050919050565b838282905084610ed49190614bb9565b600080600e600085815260200190815260200160002090508060010154838260020154610f019190614a65565b1115610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990614b07565b60405180910390fd5b8115610f9a578060000160009054906101000a900460ff16610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090614b99565b60405180910390fd5b5b610fa26108b0565b73ffffffffffffffffffffffffffffffffffffffff16610fc0611b3b565b73ffffffffffffffffffffffffffffffffffffffff161480610ff25750610ff16000801b610fec6108b0565b611b65565b5b611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890614e9d565b60405180910390fd5b6000600e60008a8152602001908152602001600020905060005b878790508110156110c3578882600201546110669190614a65565b82600201819055506110b088888381811061108457611083614ebd565b5b9050602002016020810190611099919061457a565b8b8b60405180602001604052806000815250612165565b80806110bb90614eec565b91505061104b565b50505050505050505050565b6110d76108b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061111d575061111c856111176108b0565b611ebe565b5b61115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390614fa7565b60405180910390fd5b611169858585858561245d565b5050505050565b61117982610ea4565b61118a816111856108b0565b612771565b611194838361280e565b505050565b6111a16108b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461120e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120590615039565b60405180910390fd5b61121882826128ef565b5050565b6000600654905090565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132690614cf1565b60405180910390fd5b600061133a83611e6b565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611373919061455f565b60206040518083038186803b15801561138b57600080fd5b505afa15801561139f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c3919061506e565b6113cd9190614a65565b905060006113e583836113e08787611226565b6122fb565b9050600081141561142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290614d83565b60405180910390fd5b80600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114b79190614a65565b9250508190555080600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461150d9190614a65565b9250508190555061151f8484836129d1565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611567929190613a82565b60405180910390a250505050565b606081518351146115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b29061510d565b60405180910390fd5b6000835167ffffffffffffffff8111156115d8576115d7613cf2565b5b6040519080825280602002602001820160405280156116065781602001602082028036833780820191505090505b50905060005b84518110156116835761165385828151811061162b5761162a614ebd565b5b602002602001015185838151811061164657611645614ebd565b5b60200260200101516108b8565b82828151811061166657611665614ebd565b5b6020026020010181815250508061167c90614eec565b905061160c565b508091505092915050565b600e6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030180546116d09061492c565b80601f01602080910402602001604051908101604052809291908181526020018280546116fc9061492c565b80156117495780601f1061171e57610100808354040283529160200191611749565b820191906000526020600020905b81548152906001019060200180831161172c57829003601f168201915b50505050509080600401805461175e9061492c565b80601f016020809104026020016040519081016040528092919081815260200182805461178a9061492c565b80156117d75780601f106117ac576101008083540402835291602001916117d7565b820191906000526020600020905b8154815290600101906020018083116117ba57829003601f168201915b5050505050908060060154905086565b6117ef6108b0565b73ffffffffffffffffffffffffffffffffffffffff1661180d611b3b565b73ffffffffffffffffffffffffffffffffffffffff16148061183f575061183e6000801b6118396108b0565b611b65565b5b61187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590614e9d565b60405180910390fd5b6000600e600083815260200190815260200160002090508060000160009054906101000a900460ff16158160000160006101000a81548160ff0219169083151502179055505050565b6118cf6108b0565b73ffffffffffffffffffffffffffffffffffffffff166118ed611b3b565b73ffffffffffffffffffffffffffffffffffffffff1614611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90615179565b60405180910390fd5b61194d6000612a57565b565b8282600080600e60008581526020019081526020016000209050806001015483826002015461197e9190614a65565b11156119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614b07565b60405180910390fd5b8115611a17578060000160009054906101000a900460ff16611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90614b99565b60405180910390fd5b5b611a1f6108b0565b73ffffffffffffffffffffffffffffffffffffffff16611a3d611b3b565b73ffffffffffffffffffffffffffffffffffffffff161480611a6f5750611a6e6000801b611a696108b0565b611b65565b5b611aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa590614e9d565b60405180910390fd5b6000600e60008981526020019081526020016000209050868160020154611ad59190614a65565b8160020181905550611ae933898989612165565b5050505050505050565b6000600a8281548110611b0957611b08614ebd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611c25600f612b1d565b905090565b611c326108b0565b73ffffffffffffffffffffffffffffffffffffffff16611c50611b3b565b73ffffffffffffffffffffffffffffffffffffffff161480611c825750611c816000801b611c7c6108b0565b611b65565b5b611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb890614e9d565b60405180910390fd5b60008211611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906151e5565b60405180910390fd5b6000600e6000611d14600f612b1d565b81526020019081526020016000209050858160000160006101000a81548160ff02191690831515021790555084816003019080519060200190611d58929190613985565b5082816001018190555083816004019080519060200190611d7a929190613985565b508181600601819055507fcb6db622591413d81740ea202faf7e884f624276a3bc1c94d0f14e1908c2bc57611daf600f612b1d565b868686604051611dc29493929190615205565b60405180910390a1611dd4600f612b2b565b505050505050565b6000801b81565b611df5611dee6108b0565b8383612b41565b5050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611e4b82610ea4565b611e5c81611e576108b0565b612771565b611e6683836128ef565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600754905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5a6108b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611fa05750611f9f85611f9a6108b0565b611ebe565b5b611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd6906152ca565b60405180910390fd5b611fec8585858585612cae565b5050505050565b611ffb6108b0565b73ffffffffffffffffffffffffffffffffffffffff16612019611b3b565b73ffffffffffffffffffffffffffffffffffffffff161461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690615179565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d69061535c565b60405180910390fd5b6120e881612a57565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061215e575061215d82612f30565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc906153ee565b60405180910390fd5b60006121df6108b0565b9050612200816000876121f188613012565b6121fa88613012565b8761308c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225f9190614a65565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516122dd92919061540e565b60405180910390a46122f481600087878787613094565b5050505050565b600081600654600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561234c9190614bb9565b6123569190615466565b6123609190615497565b90509392505050565b804710156123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390615517565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123d290615568565b60006040518083038185875af1925050503d806000811461240f576040519150601f19603f3d011682016040523d82523d6000602084013e612414565b606091505b5050905080612458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244f906155ef565b60405180910390fd5b505050565b81518351146124a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249890615681565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250890615713565b60405180910390fd5b600061251b6108b0565b905061252b81878787878761308c565b60005b84518110156126dc57600085828151811061254c5761254b614ebd565b5b60200260200101519050600085838151811061256b5761256a614ebd565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561260c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612603906157a5565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c19190614a65565b92505081905550505050806126d590614eec565b905061252e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127539291906157c5565b60405180910390a461276981878787878761327b565b505050505050565b61277b8282611b65565b61280a576127a08173ffffffffffffffffffffffffffffffffffffffff166014613462565b6127ae8360001c6020613462565b6040516020016127bf9291906158d0565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128019190613cc6565b60405180910390fd5b5050565b6128188282611b65565b6128eb5760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506128906108b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6128f98282611b65565b156129cd5760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129726108b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612a528363a9059cbb60e01b84846040516024016129f0929190613a82565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061369e565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba79061597c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ca19190613c12565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1590615713565b60405180910390fd5b6000612d286108b0565b9050612d48818787612d3988613012565b612d4288613012565b8761308c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd6906157a5565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e949190614a65565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612f1192919061540e565b60405180910390a4612f27828888888888613094565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ffb57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061300b575061300a82613765565b5b9050919050565b60606000600167ffffffffffffffff81111561303157613030613cf2565b5b60405190808252806020026020018201604052801561305f5781602001602082028036833780820191505090505b509050828160008151811061307757613076614ebd565b5b60200260200101818152505080915050919050565b505050505050565b6130b38473ffffffffffffffffffffffffffffffffffffffff166137cf565b15613273578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016130f99594939291906159f1565b602060405180830381600087803b15801561311357600080fd5b505af192505050801561314457506040513d601f19601f820116820180604052508101906131419190615a60565b60015b6131ea57613150615a9a565b806308c379a014156131ad5750613165615abc565b8061317057506131af565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a49190613cc6565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e190615bc4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326890615c56565b60405180910390fd5b505b505050505050565b61329a8473ffffffffffffffffffffffffffffffffffffffff166137cf565b1561345a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016132e0959493929190615c76565b602060405180830381600087803b1580156132fa57600080fd5b505af192505050801561332b57506040513d601f19601f820116820180604052508101906133289190615a60565b60015b6133d157613337615a9a565b806308c379a01415613394575061334c615abc565b806133575750613396565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338b9190613cc6565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c890615bc4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344f90615c56565b60405180910390fd5b505b505050505050565b6060600060028360026134759190614bb9565b61347f9190614a65565b67ffffffffffffffff81111561349857613497613cf2565b5b6040519080825280601f01601f1916602001820160405280156134ca5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061350257613501614ebd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061356657613565614ebd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135a69190614bb9565b6135b09190614a65565b90505b6001811115613650577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106135f2576135f1614ebd565b5b1a60f81b82828151811061360957613608614ebd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061364990615cde565b90506135b3565b5060008414613694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368b90615d54565b60405180910390fd5b8091505092915050565b6000613700826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137f29092919063ffffffff16565b905060008151111561376057808060200190518101906137209190615d89565b61375f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375690615e28565b60405180910390fd5b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613801848460008561380a565b90509392505050565b60608247101561384f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384690615eba565b60405180910390fd5b613858856137cf565b613897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388e90615f26565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138c09190615f77565b60006040518083038185875af1925050503d80600081146138fd576040519150601f19603f3d011682016040523d82523d6000602084013e613902565b606091505b509150915061391282828661391e565b92505050949350505050565b6060831561392e5782905061397e565b6000835111156139415782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139759190613cc6565b60405180910390fd5b9392505050565b8280546139919061492c565b90600052602060002090601f0160209004810192826139b357600085556139fa565b82601f106139cc57805160ff19168380011785556139fa565b828001600101855582156139fa579182015b828111156139f95782518255916020019190600101906139de565b5b509050613a079190613a0b565b5090565b5b80821115613a24576000816000905550600101613a0c565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a5382613a28565b9050919050565b613a6381613a48565b82525050565b6000819050919050565b613a7c81613a69565b82525050565b6000604082019050613a976000830185613a5a565b613aa46020830184613a73565b9392505050565b6000604051905090565b600080fd5b600080fd5b613ac881613a48565b8114613ad357600080fd5b50565b600081359050613ae581613abf565b92915050565b613af481613a69565b8114613aff57600080fd5b50565b600081359050613b1181613aeb565b92915050565b60008060408385031215613b2e57613b2d613ab5565b5b6000613b3c85828601613ad6565b9250506020613b4d85828601613b02565b9150509250929050565b6000602082019050613b6c6000830184613a73565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ba781613b72565b8114613bb257600080fd5b50565b600081359050613bc481613b9e565b92915050565b600060208284031215613be057613bdf613ab5565b5b6000613bee84828501613bb5565b91505092915050565b60008115159050919050565b613c0c81613bf7565b82525050565b6000602082019050613c276000830184613c03565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c67578082015181840152602081019050613c4c565b83811115613c76576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c9882613c2d565b613ca28185613c38565b9350613cb2818560208601613c49565b613cbb81613c7c565b840191505092915050565b60006020820190508181036000830152613ce08184613c8d565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d2a82613c7c565b810181811067ffffffffffffffff82111715613d4957613d48613cf2565b5b80604052505050565b6000613d5c613aab565b9050613d688282613d21565b919050565b600067ffffffffffffffff821115613d8857613d87613cf2565b5b613d9182613c7c565b9050602081019050919050565b82818337600083830152505050565b6000613dc0613dbb84613d6d565b613d52565b905082815260208101848484011115613ddc57613ddb613ced565b5b613de7848285613d9e565b509392505050565b600082601f830112613e0457613e03613ce8565b5b8135613e14848260208601613dad565b91505092915050565b600080600060608486031215613e3657613e35613ab5565b5b6000613e4486828701613b02565b9350506020613e5586828701613b02565b925050604084013567ffffffffffffffff811115613e7657613e75613aba565b5b613e8286828701613def565b9150509250925092565b600060208284031215613ea257613ea1613ab5565b5b6000613eb084828501613b02565b91505092915050565b6000613ec482613a28565b9050919050565b613ed481613eb9565b8114613edf57600080fd5b50565b600081359050613ef181613ecb565b92915050565b600060208284031215613f0d57613f0c613ab5565b5b6000613f1b84828501613ee2565b91505092915050565b6000819050919050565b613f3781613f24565b8114613f4257600080fd5b50565b600081359050613f5481613f2e565b92915050565b600060208284031215613f7057613f6f613ab5565b5b6000613f7e84828501613f45565b91505092915050565b613f9081613f24565b82525050565b6000602082019050613fab6000830184613f87565b92915050565b600080fd5b600080fd5b60008083601f840112613fd157613fd0613ce8565b5b8235905067ffffffffffffffff811115613fee57613fed613fb1565b5b60208301915083602082028301111561400a57614009613fb6565b5b9250929050565b6000806000806060858703121561402b5761402a613ab5565b5b600061403987828801613b02565b945050602061404a87828801613b02565b935050604085013567ffffffffffffffff81111561406b5761406a613aba565b5b61407787828801613fbb565b925092505092959194509250565b600067ffffffffffffffff8211156140a05761409f613cf2565b5b602082029050602081019050919050565b60006140c46140bf84614085565b613d52565b905080838252602082019050602084028301858111156140e7576140e6613fb6565b5b835b8181101561411057806140fc8882613b02565b8452602084019350506020810190506140e9565b5050509392505050565b600082601f83011261412f5761412e613ce8565b5b813561413f8482602086016140b1565b91505092915050565b600080600080600060a0868803121561416457614163613ab5565b5b600061417288828901613ad6565b955050602061418388828901613ad6565b945050604086013567ffffffffffffffff8111156141a4576141a3613aba565b5b6141b08882890161411a565b935050606086013567ffffffffffffffff8111156141d1576141d0613aba565b5b6141dd8882890161411a565b925050608086013567ffffffffffffffff8111156141fe576141fd613aba565b5b61420a88828901613def565b9150509295509295909350565b6000806040838503121561422e5761422d613ab5565b5b600061423c85828601613f45565b925050602061424d85828601613ad6565b9150509250929050565b600061426282613a48565b9050919050565b61427281614257565b811461427d57600080fd5b50565b60008135905061428f81614269565b92915050565b600080604083850312156142ac576142ab613ab5565b5b60006142ba85828601614280565b92505060206142cb85828601613ad6565b9150509250929050565b600067ffffffffffffffff8211156142f0576142ef613cf2565b5b602082029050602081019050919050565b600061431461430f846142d5565b613d52565b9050808382526020820190506020840283018581111561433757614336613fb6565b5b835b81811015614360578061434c8882613ad6565b845260208401935050602081019050614339565b5050509392505050565b600082601f83011261437f5761437e613ce8565b5b813561438f848260208601614301565b91505092915050565b600080604083850312156143af576143ae613ab5565b5b600083013567ffffffffffffffff8111156143cd576143cc613aba565b5b6143d98582860161436a565b925050602083013567ffffffffffffffff8111156143fa576143f9613aba565b5b6144068582860161411a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61444581613a69565b82525050565b6000614457838361443c565b60208301905092915050565b6000602082019050919050565b600061447b82614410565b614485818561441b565b93506144908361442c565b8060005b838110156144c15781516144a8888261444b565b97506144b383614463565b925050600181019050614494565b5085935050505092915050565b600060208201905081810360008301526144e88184614470565b905092915050565b600060c0820190506145056000830189613c03565b6145126020830188613a73565b61451f6040830187613a73565b81810360608301526145318186613c8d565b905081810360808301526145458185613c8d565b905061455460a0830184613a73565b979650505050505050565b60006020820190506145746000830184613a5a565b92915050565b6000602082840312156145905761458f613ab5565b5b600061459e84828501613ad6565b91505092915050565b6145b081613bf7565b81146145bb57600080fd5b50565b6000813590506145cd816145a7565b92915050565b600067ffffffffffffffff8211156145ee576145ed613cf2565b5b6145f782613c7c565b9050602081019050919050565b6000614617614612846145d3565b613d52565b90508281526020810184848401111561463357614632613ced565b5b61463e848285613d9e565b509392505050565b600082601f83011261465b5761465a613ce8565b5b813561466b848260208601614604565b91505092915050565b600080600080600060a086880312156146905761468f613ab5565b5b600061469e888289016145be565b955050602086013567ffffffffffffffff8111156146bf576146be613aba565b5b6146cb88828901614646565b945050604086013567ffffffffffffffff8111156146ec576146eb613aba565b5b6146f888828901614646565b935050606061470988828901613b02565b925050608061471a88828901613b02565b9150509295509295909350565b6000806040838503121561473e5761473d613ab5565b5b600061474c85828601613ad6565b925050602061475d858286016145be565b9150509250929050565b60006020828403121561477d5761477c613ab5565b5b600061478b84828501614280565b91505092915050565b600080604083850312156147ab576147aa613ab5565b5b60006147b985828601613ad6565b92505060206147ca85828601613ad6565b9150509250929050565b600080600080600060a086880312156147f0576147ef613ab5565b5b60006147fe88828901613ad6565b955050602061480f88828901613ad6565b945050604061482088828901613b02565b935050606061483188828901613b02565b925050608086013567ffffffffffffffff81111561485257614851613aba565b5b61485e88828901613def565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006148c7602b83613c38565b91506148d28261486b565b604082019050919050565b600060208201905081810360008301526148f6816148ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061494457607f821691505b60208210811415614958576149576148fd565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614994601f83613c38565b915061499f8261495e565b602082019050919050565b600060208201905081810360008301526149c381614987565b9050919050565b7f50726f786965732063616e6e6f74206d696e7400000000000000000000000000600082015250565b6000614a00601383613c38565b9150614a0b826149ca565b602082019050919050565b60006020820190508181036000830152614a2f816149f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a7082613a69565b9150614a7b83613a69565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ab057614aaf614a36565b5b828201905092915050565b7f546f6b656e7320536f6c64206f75740000000000000000000000000000000000600082015250565b6000614af1600f83613c38565b9150614afc82614abb565b602082019050919050565b60006020820190508181036000830152614b2081614ae4565b9050919050565b7f5468697320746f6b656e206973206e6f742061637469766520666f722073616c60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b83602183613c38565b9150614b8e82614b27565b604082019050919050565b60006020820190508181036000830152614bb281614b76565b9050919050565b6000614bc482613a69565b9150614bcf83613a69565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c0857614c07614a36565b5b828202905092915050565b7f20496e73756666696369656e742066756e647300000000000000000000000000600082015250565b6000614c49601383613c38565b9150614c5482614c13565b602082019050919050565b60006020820190508181036000830152614c7881614c3c565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614cdb602683613c38565b9150614ce682614c7f565b604082019050919050565b60006020820190508181036000830152614d0a81614cce565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614d6d602b83613c38565b9150614d7882614d11565b604082019050919050565b60006020820190508181036000830152614d9c81614d60565b9050919050565b6000819050919050565b6000614dc8614dc3614dbe84613a28565b614da3565b613a28565b9050919050565b6000614dda82614dad565b9050919050565b6000614dec82614dcf565b9050919050565b614dfc81614de1565b82525050565b6000604082019050614e176000830185614df3565b614e246020830184613a73565b9392505050565b7f5468697320616374696f6e2063616e20626520706572666f726d65642062792060008201527f4f776e6572206f722041646d696e206f6e6c7900000000000000000000000000602082015250565b6000614e87603383613c38565b9150614e9282614e2b565b604082019050919050565b60006020820190508181036000830152614eb681614e7a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614ef782613a69565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f2a57614f29614a36565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614f91603283613c38565b9150614f9c82614f35565b604082019050919050565b60006020820190508181036000830152614fc081614f84565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000615023602f83613c38565b915061502e82614fc7565b604082019050919050565b6000602082019050818103600083015261505281615016565b9050919050565b60008151905061506881613aeb565b92915050565b60006020828403121561508457615083613ab5565b5b600061509284828501615059565b91505092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006150f7602983613c38565b91506151028261509b565b604082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615163602083613c38565b915061516e8261512d565b602082019050919050565b6000602082019050818103600083015261519281615156565b9050919050565b7f496e76616c6964206d6178537570706c79000000000000000000000000000000600082015250565b60006151cf601183613c38565b91506151da82615199565b602082019050919050565b600060208201905081810360008301526151fe816151c2565b9050919050565b600060808201905061521a6000830187613a73565b818103602083015261522c8186613c8d565b905081810360408301526152408185613c8d565b905061524f6060830184613a73565b95945050505050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006152b4602983613c38565b91506152bf82615258565b604082019050919050565b600060208201905081810360008301526152e3816152a7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615346602683613c38565b9150615351826152ea565b604082019050919050565b6000602082019050818103600083015261537581615339565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153d8602183613c38565b91506153e38261537c565b604082019050919050565b60006020820190508181036000830152615407816153cb565b9050919050565b60006040820190506154236000830185613a73565b6154306020830184613a73565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061547182613a69565b915061547c83613a69565b92508261548c5761548b615437565b5b828204905092915050565b60006154a282613a69565b91506154ad83613a69565b9250828210156154c0576154bf614a36565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615501601d83613c38565b915061550c826154cb565b602082019050919050565b60006020820190508181036000830152615530816154f4565b9050919050565b600081905092915050565b50565b6000615552600083615537565b915061555d82615542565b600082019050919050565b600061557382615545565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006155d9603a83613c38565b91506155e48261557d565b604082019050919050565b60006020820190508181036000830152615608816155cc565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061566b602883613c38565b91506156768261560f565b604082019050919050565b6000602082019050818103600083015261569a8161565e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006156fd602583613c38565b9150615708826156a1565b604082019050919050565b6000602082019050818103600083015261572c816156f0565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061578f602a83613c38565b915061579a82615733565b604082019050919050565b600060208201905081810360008301526157be81615782565b9050919050565b600060408201905081810360008301526157df8185614470565b905081810360208301526157f38184614470565b90509392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061583d6017836157fc565b915061584882615807565b601782019050919050565b600061585e82613c2d565b61586881856157fc565b9350615878818560208601613c49565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006158ba6011836157fc565b91506158c582615884565b601182019050919050565b60006158db82615830565b91506158e78285615853565b91506158f2826158ad565b91506158fe8284615853565b91508190509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615966602983613c38565b91506159718261590a565b604082019050919050565b6000602082019050818103600083015261599581615959565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159c38261599c565b6159cd81856159a7565b93506159dd818560208601613c49565b6159e681613c7c565b840191505092915050565b600060a082019050615a066000830188613a5a565b615a136020830187613a5a565b615a206040830186613a73565b615a2d6060830185613a73565b8181036080830152615a3f81846159b8565b90509695505050505050565b600081519050615a5a81613b9e565b92915050565b600060208284031215615a7657615a75613ab5565b5b6000615a8484828501615a4b565b91505092915050565b60008160e01c9050919050565b600060033d1115615ab95760046000803e615ab6600051615a8d565b90505b90565b600060443d1015615acc57615b4f565b615ad4613aab565b60043d036004823e80513d602482011167ffffffffffffffff82111715615afc575050615b4f565b808201805167ffffffffffffffff811115615b1a5750505050615b4f565b80602083010160043d038501811115615b37575050505050615b4f565b615b4682602001850186613d21565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615bae603483613c38565b9150615bb982615b52565b604082019050919050565b60006020820190508181036000830152615bdd81615ba1565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615c40602883613c38565b9150615c4b82615be4565b604082019050919050565b60006020820190508181036000830152615c6f81615c33565b9050919050565b600060a082019050615c8b6000830188613a5a565b615c986020830187613a5a565b8181036040830152615caa8186614470565b90508181036060830152615cbe8185614470565b90508181036080830152615cd281846159b8565b90509695505050505050565b6000615ce982613a69565b91506000821415615cfd57615cfc614a36565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615d3e602083613c38565b9150615d4982615d08565b602082019050919050565b60006020820190508181036000830152615d6d81615d31565b9050919050565b600081519050615d83816145a7565b92915050565b600060208284031215615d9f57615d9e613ab5565b5b6000615dad84828501615d74565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615e12602a83613c38565b9150615e1d82615db6565b604082019050919050565b60006020820190508181036000830152615e4181615e05565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615ea4602683613c38565b9150615eaf82615e48565b604082019050919050565b60006020820190508181036000830152615ed381615e97565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615f10601d83613c38565b9150615f1b82615eda565b602082019050919050565b60006020820190508181036000830152615f3f81615f03565b9050919050565b6000615f518261599c565b615f5b8185615537565b9350615f6b818560208601613c49565b80840191505092915050565b6000615f838284615f46565b91508190509291505056fea264697066735822122044d35247f47cacbe1aa19bed686916f637b8a28292316898db7e056a7f10dc1c64736f6c6343000809003368747470733a2f2f7777772e686f766572636861697273747564696f732e636f6d2f000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005484f564552000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000059381487124657694f8e1101dd62fa55aa03872100000000000000000000000082b40dc9113f7b90eba2a30477694b0c8a7a1070

Deployed Bytecode

0x6080604052600436106101fc5760003560e01c8063715018a61161010d578063a217fddf116100a0578063d79779b21161006f578063d79779b2146107b9578063e33b7de3146107f6578063e985e9c514610821578063f242432a1461085e578063f2fde38b1461088757610243565b8063a217fddf146106ff578063a22cb4651461072a578063ce7c2ac214610753578063d547741f1461079057610243565b806391d14854116100dc57806391d14854146106315780639852595c1461066e5780639f181b5e146106ab578063a0755f49146106d657610243565b8063715018a61461058957806378824262146105a05780638b83209b146105c95780638da5cb5b1461060657610243565b80632eb2c2d611610190578063406072a91161015f578063406072a91461047b57806348b75044146104b85780634e1273f4146104e15780634f64b2be1461051e578063511379991461056057610243565b80632eb2c2d6146103d55780632f2ff15d146103fe57806336568abe146104275780633a98ef391461045057610243565b80630e89341c116101cc5780630e89341c146103095780631916558714610346578063248a9ca31461036f57806328e07537146103ac57610243565b8062fdd58e1461024857806301ffc9a71461028557806306fdde03146102c25780630a8bd9e8146102ed57610243565b36610243577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061022a6108b0565b34604051610239929190613a82565b60405180910390a1005b600080fd5b34801561025457600080fd5b5061026f600480360381019061026a9190613b17565b6108b8565b60405161027c9190613b57565b60405180910390f35b34801561029157600080fd5b506102ac60048036038101906102a79190613bca565b610981565b6040516102b99190613c12565b60405180910390f35b3480156102ce57600080fd5b506102d7610993565b6040516102e49190613cc6565b60405180910390f35b61030760048036038101906103029190613e1d565b610a21565b005b34801561031557600080fd5b50610330600480360381019061032b9190613e8c565b610c4b565b60405161033d9190613cc6565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613ef7565b610cf9565b005b34801561037b57600080fd5b5061039660048036038101906103919190613f5a565b610ea4565b6040516103a39190613f96565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190614011565b610ec4565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190614148565b6110cf565b005b34801561040a57600080fd5b5061042560048036038101906104209190614217565b611170565b005b34801561043357600080fd5b5061044e60048036038101906104499190614217565b611199565b005b34801561045c57600080fd5b5061046561121c565b6040516104729190613b57565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190614295565b611226565b6040516104af9190613b57565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190614295565b6112ad565b005b3480156104ed57600080fd5b5061050860048036038101906105039190614398565b611575565b60405161051591906144ce565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190613e8c565b61168e565b604051610557969594939291906144f0565b60405180910390f35b34801561056c57600080fd5b5061058760048036038101906105829190613e8c565b6117e7565b005b34801561059557600080fd5b5061059e6118c7565b005b3480156105ac57600080fd5b506105c760048036038101906105c29190613e1d565b61194f565b005b3480156105d557600080fd5b506105f060048036038101906105eb9190613e8c565b611af3565b6040516105fd919061455f565b60405180910390f35b34801561061257600080fd5b5061061b611b3b565b604051610628919061455f565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190614217565b611b65565b6040516106659190613c12565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061457a565b611bd0565b6040516106a29190613b57565b60405180910390f35b3480156106b757600080fd5b506106c0611c19565b6040516106cd9190613b57565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190614674565b611c2a565b005b34801561070b57600080fd5b50610714611ddc565b6040516107219190613f96565b60405180910390f35b34801561073657600080fd5b50610751600480360381019061074c9190614727565b611de3565b005b34801561075f57600080fd5b5061077a6004803603810190610775919061457a565b611df9565b6040516107879190613b57565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190614217565b611e42565b005b3480156107c557600080fd5b506107e060048036038101906107db9190614767565b611e6b565b6040516107ed9190613b57565b60405180910390f35b34801561080257600080fd5b5061080b611eb4565b6040516108189190613b57565b60405180910390f35b34801561082d57600080fd5b5061084860048036038101906108439190614794565b611ebe565b6040516108559190613c12565b60405180910390f35b34801561086a57600080fd5b50610885600480360381019061088091906147d4565b611f52565b005b34801561089357600080fd5b506108ae60048036038101906108a9919061457a565b611ff3565b005b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610929576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610920906148dd565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061098c826120eb565b9050919050565b600d80546109a09061492c565b80601f01602080910402602001604051908101604052809291908181526020018280546109cc9061492c565b8015610a195780601f106109ee57610100808354040283529160200191610a19565b820191906000526020600020905b8154815290600101906020018083116109fc57829003601f168201915b505050505081565b60026004541415610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e906149aa565b60405180910390fd5b60026004819055503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad490614a16565b60405180910390fd5b828260016000600e600085815260200190815260200160002090508060010154838260020154610b0d9190614a65565b1115610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614b07565b60405180910390fd5b8115610ba6578060000160009054906101000a900460ff16610ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9c90614b99565b60405180910390fd5b5b6000600e600089815260200190815260200160002090506000816006015488610bcf9190614bb9565b905080341015610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b90614c5f565b60405180910390fd5b878260020154610c249190614a65565b8260020181905550610c38338a8a8a612165565b5050505050506001600481905550505050565b60606000600e60008481526020019081526020016000209050806004018054610c739061492c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9f9061492c565b8015610cec5780601f10610cc157610100808354040283529160200191610cec565b820191906000526020600020905b815481529060010190602001808311610ccf57829003601f168201915b5050505050915050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7290614cf1565b60405180910390fd5b6000610d85611eb4565b47610d909190614a65565b90506000610da78383610da286611bd0565b6122fb565b90506000811415610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490614d83565b60405180910390fd5b80600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e3c9190614a65565b925050819055508060076000828254610e559190614a65565b92505081905550610e668382612369565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610e97929190614e02565b60405180910390a1505050565b600060056000838152602001908152602001600020600101549050919050565b838282905084610ed49190614bb9565b600080600e600085815260200190815260200160002090508060010154838260020154610f019190614a65565b1115610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990614b07565b60405180910390fd5b8115610f9a578060000160009054906101000a900460ff16610f99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9090614b99565b60405180910390fd5b5b610fa26108b0565b73ffffffffffffffffffffffffffffffffffffffff16610fc0611b3b565b73ffffffffffffffffffffffffffffffffffffffff161480610ff25750610ff16000801b610fec6108b0565b611b65565b5b611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890614e9d565b60405180910390fd5b6000600e60008a8152602001908152602001600020905060005b878790508110156110c3578882600201546110669190614a65565b82600201819055506110b088888381811061108457611083614ebd565b5b9050602002016020810190611099919061457a565b8b8b60405180602001604052806000815250612165565b80806110bb90614eec565b91505061104b565b50505050505050505050565b6110d76108b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061111d575061111c856111176108b0565b611ebe565b5b61115c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115390614fa7565b60405180910390fd5b611169858585858561245d565b5050505050565b61117982610ea4565b61118a816111856108b0565b612771565b611194838361280e565b505050565b6111a16108b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461120e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120590615039565b60405180910390fd5b61121882826128ef565b5050565b6000600654905090565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132690614cf1565b60405180910390fd5b600061133a83611e6b565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611373919061455f565b60206040518083038186803b15801561138b57600080fd5b505afa15801561139f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c3919061506e565b6113cd9190614a65565b905060006113e583836113e08787611226565b6122fb565b9050600081141561142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290614d83565b60405180910390fd5b80600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114b79190614a65565b9250508190555080600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461150d9190614a65565b9250508190555061151f8484836129d1565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8483604051611567929190613a82565b60405180910390a250505050565b606081518351146115bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b29061510d565b60405180910390fd5b6000835167ffffffffffffffff8111156115d8576115d7613cf2565b5b6040519080825280602002602001820160405280156116065781602001602082028036833780820191505090505b50905060005b84518110156116835761165385828151811061162b5761162a614ebd565b5b602002602001015185838151811061164657611645614ebd565b5b60200260200101516108b8565b82828151811061166657611665614ebd565b5b6020026020010181815250508061167c90614eec565b905061160c565b508091505092915050565b600e6020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030180546116d09061492c565b80601f01602080910402602001604051908101604052809291908181526020018280546116fc9061492c565b80156117495780601f1061171e57610100808354040283529160200191611749565b820191906000526020600020905b81548152906001019060200180831161172c57829003601f168201915b50505050509080600401805461175e9061492c565b80601f016020809104026020016040519081016040528092919081815260200182805461178a9061492c565b80156117d75780601f106117ac576101008083540402835291602001916117d7565b820191906000526020600020905b8154815290600101906020018083116117ba57829003601f168201915b5050505050908060060154905086565b6117ef6108b0565b73ffffffffffffffffffffffffffffffffffffffff1661180d611b3b565b73ffffffffffffffffffffffffffffffffffffffff16148061183f575061183e6000801b6118396108b0565b611b65565b5b61187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590614e9d565b60405180910390fd5b6000600e600083815260200190815260200160002090508060000160009054906101000a900460ff16158160000160006101000a81548160ff0219169083151502179055505050565b6118cf6108b0565b73ffffffffffffffffffffffffffffffffffffffff166118ed611b3b565b73ffffffffffffffffffffffffffffffffffffffff1614611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90615179565b60405180910390fd5b61194d6000612a57565b565b8282600080600e60008581526020019081526020016000209050806001015483826002015461197e9190614a65565b11156119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614b07565b60405180910390fd5b8115611a17578060000160009054906101000a900460ff16611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90614b99565b60405180910390fd5b5b611a1f6108b0565b73ffffffffffffffffffffffffffffffffffffffff16611a3d611b3b565b73ffffffffffffffffffffffffffffffffffffffff161480611a6f5750611a6e6000801b611a696108b0565b611b65565b5b611aae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa590614e9d565b60405180910390fd5b6000600e60008981526020019081526020016000209050868160020154611ad59190614a65565b8160020181905550611ae933898989612165565b5050505050505050565b6000600a8281548110611b0957611b08614ebd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000611c25600f612b1d565b905090565b611c326108b0565b73ffffffffffffffffffffffffffffffffffffffff16611c50611b3b565b73ffffffffffffffffffffffffffffffffffffffff161480611c825750611c816000801b611c7c6108b0565b611b65565b5b611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb890614e9d565b60405180910390fd5b60008211611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906151e5565b60405180910390fd5b6000600e6000611d14600f612b1d565b81526020019081526020016000209050858160000160006101000a81548160ff02191690831515021790555084816003019080519060200190611d58929190613985565b5082816001018190555083816004019080519060200190611d7a929190613985565b508181600601819055507fcb6db622591413d81740ea202faf7e884f624276a3bc1c94d0f14e1908c2bc57611daf600f612b1d565b868686604051611dc29493929190615205565b60405180910390a1611dd4600f612b2b565b505050505050565b6000801b81565b611df5611dee6108b0565b8383612b41565b5050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611e4b82610ea4565b611e5c81611e576108b0565b612771565b611e6683836128ef565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600754905090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5a6108b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611fa05750611f9f85611f9a6108b0565b611ebe565b5b611fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd6906152ca565b60405180910390fd5b611fec8585858585612cae565b5050505050565b611ffb6108b0565b73ffffffffffffffffffffffffffffffffffffffff16612019611b3b565b73ffffffffffffffffffffffffffffffffffffffff161461206f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206690615179565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d69061535c565b60405180910390fd5b6120e881612a57565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061215e575061215d82612f30565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156121d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cc906153ee565b60405180910390fd5b60006121df6108b0565b9050612200816000876121f188613012565b6121fa88613012565b8761308c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225f9190614a65565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516122dd92919061540e565b60405180910390a46122f481600087878787613094565b5050505050565b600081600654600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561234c9190614bb9565b6123569190615466565b6123609190615497565b90509392505050565b804710156123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390615517565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123d290615568565b60006040518083038185875af1925050503d806000811461240f576040519150601f19603f3d011682016040523d82523d6000602084013e612414565b606091505b5050905080612458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244f906155ef565b60405180910390fd5b505050565b81518351146124a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249890615681565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612511576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250890615713565b60405180910390fd5b600061251b6108b0565b905061252b81878787878761308c565b60005b84518110156126dc57600085828151811061254c5761254b614ebd565b5b60200260200101519050600085838151811061256b5761256a614ebd565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561260c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612603906157a5565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c19190614a65565b92505081905550505050806126d590614eec565b905061252e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127539291906157c5565b60405180910390a461276981878787878761327b565b505050505050565b61277b8282611b65565b61280a576127a08173ffffffffffffffffffffffffffffffffffffffff166014613462565b6127ae8360001c6020613462565b6040516020016127bf9291906158d0565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128019190613cc6565b60405180910390fd5b5050565b6128188282611b65565b6128eb5760016005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506128906108b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6128f98282611b65565b156129cd5760006005600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129726108b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612a528363a9059cbb60e01b84846040516024016129f0929190613a82565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061369e565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba79061597c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ca19190613c12565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1590615713565b60405180910390fd5b6000612d286108b0565b9050612d48818787612d3988613012565b612d4288613012565b8761308c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd6906157a5565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e949190614a65565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612f1192919061540e565b60405180910390a4612f27828888888888613094565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ffb57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061300b575061300a82613765565b5b9050919050565b60606000600167ffffffffffffffff81111561303157613030613cf2565b5b60405190808252806020026020018201604052801561305f5781602001602082028036833780820191505090505b509050828160008151811061307757613076614ebd565b5b60200260200101818152505080915050919050565b505050505050565b6130b38473ffffffffffffffffffffffffffffffffffffffff166137cf565b15613273578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016130f99594939291906159f1565b602060405180830381600087803b15801561311357600080fd5b505af192505050801561314457506040513d601f19601f820116820180604052508101906131419190615a60565b60015b6131ea57613150615a9a565b806308c379a014156131ad5750613165615abc565b8061317057506131af565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a49190613cc6565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e190615bc4565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326890615c56565b60405180910390fd5b505b505050505050565b61329a8473ffffffffffffffffffffffffffffffffffffffff166137cf565b1561345a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016132e0959493929190615c76565b602060405180830381600087803b1580156132fa57600080fd5b505af192505050801561332b57506040513d601f19601f820116820180604052508101906133289190615a60565b60015b6133d157613337615a9a565b806308c379a01415613394575061334c615abc565b806133575750613396565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338b9190613cc6565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c890615bc4565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344f90615c56565b60405180910390fd5b505b505050505050565b6060600060028360026134759190614bb9565b61347f9190614a65565b67ffffffffffffffff81111561349857613497613cf2565b5b6040519080825280601f01601f1916602001820160405280156134ca5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061350257613501614ebd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061356657613565614ebd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135a69190614bb9565b6135b09190614a65565b90505b6001811115613650577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106135f2576135f1614ebd565b5b1a60f81b82828151811061360957613608614ebd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061364990615cde565b90506135b3565b5060008414613694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368b90615d54565b60405180910390fd5b8091505092915050565b6000613700826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137f29092919063ffffffff16565b905060008151111561376057808060200190518101906137209190615d89565b61375f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375690615e28565b60405180910390fd5b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613801848460008561380a565b90509392505050565b60608247101561384f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384690615eba565b60405180910390fd5b613858856137cf565b613897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161388e90615f26565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138c09190615f77565b60006040518083038185875af1925050503d80600081146138fd576040519150601f19603f3d011682016040523d82523d6000602084013e613902565b606091505b509150915061391282828661391e565b92505050949350505050565b6060831561392e5782905061397e565b6000835111156139415782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139759190613cc6565b60405180910390fd5b9392505050565b8280546139919061492c565b90600052602060002090601f0160209004810192826139b357600085556139fa565b82601f106139cc57805160ff19168380011785556139fa565b828001600101855582156139fa579182015b828111156139f95782518255916020019190600101906139de565b5b509050613a079190613a0b565b5090565b5b80821115613a24576000816000905550600101613a0c565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a5382613a28565b9050919050565b613a6381613a48565b82525050565b6000819050919050565b613a7c81613a69565b82525050565b6000604082019050613a976000830185613a5a565b613aa46020830184613a73565b9392505050565b6000604051905090565b600080fd5b600080fd5b613ac881613a48565b8114613ad357600080fd5b50565b600081359050613ae581613abf565b92915050565b613af481613a69565b8114613aff57600080fd5b50565b600081359050613b1181613aeb565b92915050565b60008060408385031215613b2e57613b2d613ab5565b5b6000613b3c85828601613ad6565b9250506020613b4d85828601613b02565b9150509250929050565b6000602082019050613b6c6000830184613a73565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ba781613b72565b8114613bb257600080fd5b50565b600081359050613bc481613b9e565b92915050565b600060208284031215613be057613bdf613ab5565b5b6000613bee84828501613bb5565b91505092915050565b60008115159050919050565b613c0c81613bf7565b82525050565b6000602082019050613c276000830184613c03565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c67578082015181840152602081019050613c4c565b83811115613c76576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c9882613c2d565b613ca28185613c38565b9350613cb2818560208601613c49565b613cbb81613c7c565b840191505092915050565b60006020820190508181036000830152613ce08184613c8d565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d2a82613c7c565b810181811067ffffffffffffffff82111715613d4957613d48613cf2565b5b80604052505050565b6000613d5c613aab565b9050613d688282613d21565b919050565b600067ffffffffffffffff821115613d8857613d87613cf2565b5b613d9182613c7c565b9050602081019050919050565b82818337600083830152505050565b6000613dc0613dbb84613d6d565b613d52565b905082815260208101848484011115613ddc57613ddb613ced565b5b613de7848285613d9e565b509392505050565b600082601f830112613e0457613e03613ce8565b5b8135613e14848260208601613dad565b91505092915050565b600080600060608486031215613e3657613e35613ab5565b5b6000613e4486828701613b02565b9350506020613e5586828701613b02565b925050604084013567ffffffffffffffff811115613e7657613e75613aba565b5b613e8286828701613def565b9150509250925092565b600060208284031215613ea257613ea1613ab5565b5b6000613eb084828501613b02565b91505092915050565b6000613ec482613a28565b9050919050565b613ed481613eb9565b8114613edf57600080fd5b50565b600081359050613ef181613ecb565b92915050565b600060208284031215613f0d57613f0c613ab5565b5b6000613f1b84828501613ee2565b91505092915050565b6000819050919050565b613f3781613f24565b8114613f4257600080fd5b50565b600081359050613f5481613f2e565b92915050565b600060208284031215613f7057613f6f613ab5565b5b6000613f7e84828501613f45565b91505092915050565b613f9081613f24565b82525050565b6000602082019050613fab6000830184613f87565b92915050565b600080fd5b600080fd5b60008083601f840112613fd157613fd0613ce8565b5b8235905067ffffffffffffffff811115613fee57613fed613fb1565b5b60208301915083602082028301111561400a57614009613fb6565b5b9250929050565b6000806000806060858703121561402b5761402a613ab5565b5b600061403987828801613b02565b945050602061404a87828801613b02565b935050604085013567ffffffffffffffff81111561406b5761406a613aba565b5b61407787828801613fbb565b925092505092959194509250565b600067ffffffffffffffff8211156140a05761409f613cf2565b5b602082029050602081019050919050565b60006140c46140bf84614085565b613d52565b905080838252602082019050602084028301858111156140e7576140e6613fb6565b5b835b8181101561411057806140fc8882613b02565b8452602084019350506020810190506140e9565b5050509392505050565b600082601f83011261412f5761412e613ce8565b5b813561413f8482602086016140b1565b91505092915050565b600080600080600060a0868803121561416457614163613ab5565b5b600061417288828901613ad6565b955050602061418388828901613ad6565b945050604086013567ffffffffffffffff8111156141a4576141a3613aba565b5b6141b08882890161411a565b935050606086013567ffffffffffffffff8111156141d1576141d0613aba565b5b6141dd8882890161411a565b925050608086013567ffffffffffffffff8111156141fe576141fd613aba565b5b61420a88828901613def565b9150509295509295909350565b6000806040838503121561422e5761422d613ab5565b5b600061423c85828601613f45565b925050602061424d85828601613ad6565b9150509250929050565b600061426282613a48565b9050919050565b61427281614257565b811461427d57600080fd5b50565b60008135905061428f81614269565b92915050565b600080604083850312156142ac576142ab613ab5565b5b60006142ba85828601614280565b92505060206142cb85828601613ad6565b9150509250929050565b600067ffffffffffffffff8211156142f0576142ef613cf2565b5b602082029050602081019050919050565b600061431461430f846142d5565b613d52565b9050808382526020820190506020840283018581111561433757614336613fb6565b5b835b81811015614360578061434c8882613ad6565b845260208401935050602081019050614339565b5050509392505050565b600082601f83011261437f5761437e613ce8565b5b813561438f848260208601614301565b91505092915050565b600080604083850312156143af576143ae613ab5565b5b600083013567ffffffffffffffff8111156143cd576143cc613aba565b5b6143d98582860161436a565b925050602083013567ffffffffffffffff8111156143fa576143f9613aba565b5b6144068582860161411a565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61444581613a69565b82525050565b6000614457838361443c565b60208301905092915050565b6000602082019050919050565b600061447b82614410565b614485818561441b565b93506144908361442c565b8060005b838110156144c15781516144a8888261444b565b97506144b383614463565b925050600181019050614494565b5085935050505092915050565b600060208201905081810360008301526144e88184614470565b905092915050565b600060c0820190506145056000830189613c03565b6145126020830188613a73565b61451f6040830187613a73565b81810360608301526145318186613c8d565b905081810360808301526145458185613c8d565b905061455460a0830184613a73565b979650505050505050565b60006020820190506145746000830184613a5a565b92915050565b6000602082840312156145905761458f613ab5565b5b600061459e84828501613ad6565b91505092915050565b6145b081613bf7565b81146145bb57600080fd5b50565b6000813590506145cd816145a7565b92915050565b600067ffffffffffffffff8211156145ee576145ed613cf2565b5b6145f782613c7c565b9050602081019050919050565b6000614617614612846145d3565b613d52565b90508281526020810184848401111561463357614632613ced565b5b61463e848285613d9e565b509392505050565b600082601f83011261465b5761465a613ce8565b5b813561466b848260208601614604565b91505092915050565b600080600080600060a086880312156146905761468f613ab5565b5b600061469e888289016145be565b955050602086013567ffffffffffffffff8111156146bf576146be613aba565b5b6146cb88828901614646565b945050604086013567ffffffffffffffff8111156146ec576146eb613aba565b5b6146f888828901614646565b935050606061470988828901613b02565b925050608061471a88828901613b02565b9150509295509295909350565b6000806040838503121561473e5761473d613ab5565b5b600061474c85828601613ad6565b925050602061475d858286016145be565b9150509250929050565b60006020828403121561477d5761477c613ab5565b5b600061478b84828501614280565b91505092915050565b600080604083850312156147ab576147aa613ab5565b5b60006147b985828601613ad6565b92505060206147ca85828601613ad6565b9150509250929050565b600080600080600060a086880312156147f0576147ef613ab5565b5b60006147fe88828901613ad6565b955050602061480f88828901613ad6565b945050604061482088828901613b02565b935050606061483188828901613b02565b925050608086013567ffffffffffffffff81111561485257614851613aba565b5b61485e88828901613def565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006148c7602b83613c38565b91506148d28261486b565b604082019050919050565b600060208201905081810360008301526148f6816148ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061494457607f821691505b60208210811415614958576149576148fd565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614994601f83613c38565b915061499f8261495e565b602082019050919050565b600060208201905081810360008301526149c381614987565b9050919050565b7f50726f786965732063616e6e6f74206d696e7400000000000000000000000000600082015250565b6000614a00601383613c38565b9150614a0b826149ca565b602082019050919050565b60006020820190508181036000830152614a2f816149f3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a7082613a69565b9150614a7b83613a69565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ab057614aaf614a36565b5b828201905092915050565b7f546f6b656e7320536f6c64206f75740000000000000000000000000000000000600082015250565b6000614af1600f83613c38565b9150614afc82614abb565b602082019050919050565b60006020820190508181036000830152614b2081614ae4565b9050919050565b7f5468697320746f6b656e206973206e6f742061637469766520666f722073616c60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b83602183613c38565b9150614b8e82614b27565b604082019050919050565b60006020820190508181036000830152614bb281614b76565b9050919050565b6000614bc482613a69565b9150614bcf83613a69565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c0857614c07614a36565b5b828202905092915050565b7f20496e73756666696369656e742066756e647300000000000000000000000000600082015250565b6000614c49601383613c38565b9150614c5482614c13565b602082019050919050565b60006020820190508181036000830152614c7881614c3c565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614cdb602683613c38565b9150614ce682614c7f565b604082019050919050565b60006020820190508181036000830152614d0a81614cce565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614d6d602b83613c38565b9150614d7882614d11565b604082019050919050565b60006020820190508181036000830152614d9c81614d60565b9050919050565b6000819050919050565b6000614dc8614dc3614dbe84613a28565b614da3565b613a28565b9050919050565b6000614dda82614dad565b9050919050565b6000614dec82614dcf565b9050919050565b614dfc81614de1565b82525050565b6000604082019050614e176000830185614df3565b614e246020830184613a73565b9392505050565b7f5468697320616374696f6e2063616e20626520706572666f726d65642062792060008201527f4f776e6572206f722041646d696e206f6e6c7900000000000000000000000000602082015250565b6000614e87603383613c38565b9150614e9282614e2b565b604082019050919050565b60006020820190508181036000830152614eb681614e7a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614ef782613a69565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f2a57614f29614a36565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614f91603283613c38565b9150614f9c82614f35565b604082019050919050565b60006020820190508181036000830152614fc081614f84565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000615023602f83613c38565b915061502e82614fc7565b604082019050919050565b6000602082019050818103600083015261505281615016565b9050919050565b60008151905061506881613aeb565b92915050565b60006020828403121561508457615083613ab5565b5b600061509284828501615059565b91505092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006150f7602983613c38565b91506151028261509b565b604082019050919050565b60006020820190508181036000830152615126816150ea565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615163602083613c38565b915061516e8261512d565b602082019050919050565b6000602082019050818103600083015261519281615156565b9050919050565b7f496e76616c6964206d6178537570706c79000000000000000000000000000000600082015250565b60006151cf601183613c38565b91506151da82615199565b602082019050919050565b600060208201905081810360008301526151fe816151c2565b9050919050565b600060808201905061521a6000830187613a73565b818103602083015261522c8186613c8d565b905081810360408301526152408185613c8d565b905061524f6060830184613a73565b95945050505050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006152b4602983613c38565b91506152bf82615258565b604082019050919050565b600060208201905081810360008301526152e3816152a7565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615346602683613c38565b9150615351826152ea565b604082019050919050565b6000602082019050818103600083015261537581615339565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006153d8602183613c38565b91506153e38261537c565b604082019050919050565b60006020820190508181036000830152615407816153cb565b9050919050565b60006040820190506154236000830185613a73565b6154306020830184613a73565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061547182613a69565b915061547c83613a69565b92508261548c5761548b615437565b5b828204905092915050565b60006154a282613a69565b91506154ad83613a69565b9250828210156154c0576154bf614a36565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615501601d83613c38565b915061550c826154cb565b602082019050919050565b60006020820190508181036000830152615530816154f4565b9050919050565b600081905092915050565b50565b6000615552600083615537565b915061555d82615542565b600082019050919050565b600061557382615545565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006155d9603a83613c38565b91506155e48261557d565b604082019050919050565b60006020820190508181036000830152615608816155cc565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061566b602883613c38565b91506156768261560f565b604082019050919050565b6000602082019050818103600083015261569a8161565e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006156fd602583613c38565b9150615708826156a1565b604082019050919050565b6000602082019050818103600083015261572c816156f0565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061578f602a83613c38565b915061579a82615733565b604082019050919050565b600060208201905081810360008301526157be81615782565b9050919050565b600060408201905081810360008301526157df8185614470565b905081810360208301526157f38184614470565b90509392505050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061583d6017836157fc565b915061584882615807565b601782019050919050565b600061585e82613c2d565b61586881856157fc565b9350615878818560208601613c49565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006158ba6011836157fc565b91506158c582615884565b601182019050919050565b60006158db82615830565b91506158e78285615853565b91506158f2826158ad565b91506158fe8284615853565b91508190509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615966602983613c38565b91506159718261590a565b604082019050919050565b6000602082019050818103600083015261599581615959565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159c38261599c565b6159cd81856159a7565b93506159dd818560208601613c49565b6159e681613c7c565b840191505092915050565b600060a082019050615a066000830188613a5a565b615a136020830187613a5a565b615a206040830186613a73565b615a2d6060830185613a73565b8181036080830152615a3f81846159b8565b90509695505050505050565b600081519050615a5a81613b9e565b92915050565b600060208284031215615a7657615a75613ab5565b5b6000615a8484828501615a4b565b91505092915050565b60008160e01c9050919050565b600060033d1115615ab95760046000803e615ab6600051615a8d565b90505b90565b600060443d1015615acc57615b4f565b615ad4613aab565b60043d036004823e80513d602482011167ffffffffffffffff82111715615afc575050615b4f565b808201805167ffffffffffffffff811115615b1a5750505050615b4f565b80602083010160043d038501811115615b37575050505050615b4f565b615b4682602001850186613d21565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615bae603483613c38565b9150615bb982615b52565b604082019050919050565b60006020820190508181036000830152615bdd81615ba1565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615c40602883613c38565b9150615c4b82615be4565b604082019050919050565b60006020820190508181036000830152615c6f81615c33565b9050919050565b600060a082019050615c8b6000830188613a5a565b615c986020830187613a5a565b8181036040830152615caa8186614470565b90508181036060830152615cbe8185614470565b90508181036080830152615cd281846159b8565b90509695505050505050565b6000615ce982613a69565b91506000821415615cfd57615cfc614a36565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615d3e602083613c38565b9150615d4982615d08565b602082019050919050565b60006020820190508181036000830152615d6d81615d31565b9050919050565b600081519050615d83816145a7565b92915050565b600060208284031215615d9f57615d9e613ab5565b5b6000615dad84828501615d74565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615e12602a83613c38565b9150615e1d82615db6565b604082019050919050565b60006020820190508181036000830152615e4181615e05565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615ea4602683613c38565b9150615eaf82615e48565b604082019050919050565b60006020820190508181036000830152615ed381615e97565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615f10601d83613c38565b9150615f1b82615eda565b602082019050919050565b60006020820190508181036000830152615f3f81615f03565b9050919050565b6000615f518261599c565b615f5b8185615537565b9350615f6b818560208601613c49565b80840191505092915050565b6000615f838284615f46565b91508190509291505056fea264697066735822122044d35247f47cacbe1aa19bed686916f637b8a28292316898db7e056a7f10dc1c64736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005484f564552000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000059381487124657694f8e1101dd62fa55aa03872100000000000000000000000082b40dc9113f7b90eba2a30477694b0c8a7a1070

-----Decoded View---------------
Arg [0] : _name (string): HOVER
Arg [1] : _admins (address[]): 0x59381487124657694f8E1101DD62FA55aa038721,0x82B40dC9113f7B90eba2a30477694b0C8a7a1070

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 484f564552000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 00000000000000000000000059381487124657694f8e1101dd62fa55aa038721
Arg [6] : 00000000000000000000000082b40dc9113f7b90eba2a30477694b0c8a7a1070


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

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.