ETH Price: $4,000.69 (+2.88%)

Token

MetisDAC ()
 

Overview

Max Total Supply

335

Holders

276

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0xe209ebc612f7200ea460fb76cfdf12d9a501319d
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MetisDAC

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-04-28
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/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: @openzeppelin/contracts/utils/introspection/ERC165.sol


pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/IERC1155.sol


pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol


pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/ERC1155.sol


pragma solidity ^0.8.0;







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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

        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");
        _balances[id][from] = fromBalance - amount;
        _balances[id][to] += amount;

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

        _doSafeTransferAcceptanceCheck(operator, 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(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        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");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += amount;
        }

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).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(to).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: @openzeppelin/contracts/access/Ownable.sol


pragma solidity ^0.8.0;

/**
 * @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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/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 no longer needed starting with Solidity 0.8. 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. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * 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: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

// File: @openzeppelin/contracts/access/AccessControl.sol


pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @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 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 {_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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId
            || super.supportsInterface(interfaceId);
    }

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

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

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

        _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 {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: @openzeppelin/contracts/access/AccessControlEnumerable.sol


pragma solidity ^0.8.0;



/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol


pragma solidity ^0.8.0;



/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
        override
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol


pragma solidity ^0.8.0;


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

        _burn(account, id, value);
    }

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

        _burnBatch(account, ids, values);
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol


pragma solidity ^0.8.0;


/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

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

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

// File: @openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol


pragma solidity ^0.8.0;






/**
 * @dev {ERC1155} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract ERC1155PresetMinterPauser is Context, AccessControlEnumerable, ERC1155Burnable, ERC1155Pausable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE`, and `PAUSER_ROLE` to the account that
     * deploys the contract.
     */
    constructor(string memory uri) ERC1155(uri) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    /**
     * @dev Creates `amount` new tokens for `to`, of token type `id`.
     *
     * See {ERC1155-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 id, uint256 amount, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have minter role to mint");

        _mint(to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.
     */
    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have minter role to mint");

        _mintBatch(to, ids, amounts, data);
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC1155Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC1155Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC1155PresetMinterPauser: must have pauser role to unpause");
        _unpause();
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC1155) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

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

// File: contracts/simplified/MetisDAC.sol

pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;





contract MetisDAC is ERC1155PresetMinterPauser, Ownable {
    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.UintSet;
    
    event Claim(address indexed reciever, uint256 id, uint256 code, uint256 claimed);

    constructor() ERC1155PresetMinterPauser("https://nft-static.metisdao.org/jsons/metis_dac/{id}.json") {}
    
    struct DACInfo {
        address originalOwner;
        // NFT id
        uint256 id;
        // Tribe code
        uint256 code;
        // Tribe power
        uint256 power;
    }
    
    // Detect if the user address has claimed
    mapping(address => bool) public isClaimedUser;
    mapping(uint256 => DACInfo) public originalDacInfoOfId;
    // The number of claimed user
    uint256 public claimed = 0;
    
    function claim(
        address to, 
        uint256 code,
        uint256 power
    ) external returns(bool) {
        require(hasRole(MINTER_ROLE, _msgSender()), "MetisDAC: must have minter role to claim");
        require(!isClaimedUser[to], "MetisDAC: can't claim twice");
        DACInfo memory dac = DACInfo(
            to,
            claimed + 257,
            code,
            power
        );
        originalDacInfoOfId[claimed + 257] = dac;
        claimed += 1;
        isClaimedUser[to] = true;
        emit Claim(to, dac.id, dac.code, claimed);
        mint(to, dac.id, 1, '');
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"reciever","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"code","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimed","type":"uint256"}],"name":"Claim","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"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"code","type":"uint256"},{"internalType":"uint256","name":"power","type":"uint256"}],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isClaimedUser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"originalDacInfoOfId","outputs":[{"internalType":"address","name":"originalOwner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"code","type":"uint256"},{"internalType":"uint256","name":"power","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

608060405260006008553480156200001657600080fd5b50604051806060016040528060398152602001620038bf60399139806200003d81620000fe565b506005805460ff191690556200005560003362000117565b620000817f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a63362000117565b620000ad7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362000117565b5060058054610100600160a81b0319163361010081029190911790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200035b565b80516200011390600490602084019062000278565b5050565b6200012e82826200015a60201b620017fc1760201c565b6000828152600160209081526040909120620001559183906200180a62000166821b17901c565b505050565b62000113828262000186565b60006200017d836001600160a01b03841662000226565b90505b92915050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000113576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001e23390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008181526001830160205260408120546200026f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000180565b50600062000180565b82805462000286906200031e565b90600052602060002090601f016020900481019282620002aa5760008555620002f5565b82601f10620002c557805160ff1916838001178555620002f5565b82800160010185558215620002f5579182015b82811115620002f5578251825591602001919060010190620002d8565b506200030392915062000307565b5090565b5b8082111562000303576000815560010162000308565b600181811c908216806200033357607f821691505b602082108114156200035557634e487b7160e01b600052602260045260246000fd5b50919050565b613554806200036b6000396000f3fe608060405234801561001057600080fd5b50600436106101ef5760003560e01c80638da5cb5b1161010f578063d5391393116100a2578063e985e9c511610071578063e985e9c5146104e2578063f242432a1461051e578063f2fde38b14610531578063f5298aca1461054457600080fd5b8063d539139314610478578063d547741f1461049f578063e63ab1e9146104b2578063e834a834146104d957600080fd5b8063a22cb465116100de578063a22cb465146103c6578063a9de80e8146103d9578063b6d31179146103fc578063ca15c8731461046557600080fd5b80638da5cb5b1461034a5780639010d07c1461037457806391d1485414610387578063a217fddf146103be57600080fd5b806336568abe116101875780636b20c454116101565780636b20c45414610314578063715018a614610327578063731133e91461032f5780638456cb591461034257600080fd5b806336568abe146102ce5780633f4ba83a146102e15780634e1273f4146102e95780635c975abb1461030957600080fd5b8063248a9ca3116101c3578063248a9ca3146102725780632bc43fd9146102955780632eb2c2d6146102a85780632f2ff15d146102bb57600080fd5b8062fdd58e146101f457806301ffc9a71461021a5780630e89341c1461023d5780631f7fdffa1461025d575b600080fd5b610207610202366004612f87565b610557565b6040519081526020015b60405180910390f35b61022d61022836600461315b565b610605565b6040519015158152602001610211565b61025061024b366004613100565b610610565b60405161021191906132fa565b61027061026b366004612eb8565b6106a4565b005b610207610280366004613100565b60009081526020819052604090206001015490565b61022d6102a3366004612fb0565b610752565b6102706102b6366004612d3e565b6109b6565b6102706102c9366004613118565b610d5a565b6102706102dc366004613118565b610d81565b610270610da3565b6102fc6102f7366004613035565b610e49565b60405161021191906132b9565b60055460ff1661022d565b610270610322366004612e47565b610fbf565b610270611058565b61027061033d366004612fe2565b61111f565b6102706111c7565b60055461010090046001600160a01b03165b6040516001600160a01b039091168152602001610211565b61035c61038236600461313a565b61126b565b61022d610395366004613118565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610207600081565b6102706103d4366004612f4d565b61128a565b61022d6103e7366004612cf2565b60066020526000908152604090205460ff1681565b61043b61040a366004613100565b60076020526000908152604090208054600182015460028301546003909301546001600160a01b0390921692909184565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610211565b610207610473366004613100565b611375565b6102077f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102706104ad366004613118565b61138c565b6102077f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61020760085481565b61022d6104f0366004612d0c565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b61027061052c366004612de4565b611396565b61027061053f366004612cf2565b611609565b610270610552366004612fb0565b611763565b60006001600160a01b0383166105da5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006105ff8261181f565b60606004805461061f90613360565b80601f016020809104026020016040519081016040528092919081815260200182805461064b90613360565b80156106985780601f1061066d57610100808354040283529160200191610698565b820191906000526020600020905b81548152906001019060200180831161067b57829003601f168201915b50505050509050919050565b6106ce7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610395565b6107405760405162461bcd60e51b815260206004820152603860248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f68617665206d696e74657220726f6c6520746f206d696e74000000000000000060648201526084016105d1565b61074c848484846118c1565b50505050565b600061077e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610395565b6107f05760405162461bcd60e51b815260206004820152602860248201527f4d657469734441433a206d7573742068617665206d696e74657220726f6c652060448201527f746f20636c61696d00000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b03841660009081526006602052604090205460ff16156108595760405162461bcd60e51b815260206004820152601b60248201527f4d657469734441433a2063616e277420636c61696d207477696365000000000060448201526064016105d1565b60006040518060800160405280866001600160a01b031681526020016008546101016108859190613331565b815260200185815260200184815250905080600760006008546101016108ab9190613331565b815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201556060820151816003015590505060016008600082825461091a9190613331565b90915550506001600160a01b038516600081815260066020908152604091829020805460ff191660011790558381015184830151600854845192835292820152918201527f45c072aa05b9853b5a993de7a28bc332ee01404a628cec1a23ce0f659f842ef19060600160405180910390a26109ab85826020015160016040518060200160405280600081525061111f565b506001949350505050565b8151835114610a2d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b038416610aa95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b038516331480610ac55750610ac585336104f0565b610b375760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105d1565b33610b46818787878787611aeb565b60005b8451811015610cec576000858281518110610b7457634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110610ba057634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038e168352909352919091205490915081811015610c475760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d1565b610c518282613349565b6002600085815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002081905550816002600085815260200190815260200160002060008b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610cd19190613331565b9250508190555050505080610ce5906133c8565b9050610b49565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610d3c9291906132cc565b60405180910390a4610d52818787878787611af9565b505050505050565b610d648282611d0d565b6000828152600160205260409020610d7c908261180a565b505050565b610d8b8282611d9c565b6000828152600160205260409020610d7c9082611e24565b610dcd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610395565b610e3f5760405162461bcd60e51b815260206004820152603b60248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f686176652070617573657220726f6c6520746f20756e7061757365000000000060648201526084016105d1565b610e47611e39565b565b60608151835114610ec25760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105d1565b6000835167ffffffffffffffff811115610eec57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f15578160200160208202803683370190505b50905060005b8451811015610fb757610f7c858281518110610f4757634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610f6f57634e487b7160e01b600052603260045260246000fd5b6020026020010151610557565b828281518110610f9c57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610fb0816133c8565b9050610f1b565b509392505050565b6001600160a01b038316331480610fdb5750610fdb83336104f0565b61104d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d1565b610d7c838383611ed5565b6005546001600160a01b036101009091041633146110b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d1565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b6111497f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610395565b6111bb5760405162461bcd60e51b815260206004820152603860248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f68617665206d696e74657220726f6c6520746f206d696e74000000000000000060648201526084016105d1565b61074c84848484612190565b6111f17f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610395565b6112635760405162461bcd60e51b815260206004820152603960248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f686176652070617573657220726f6c6520746f2070617573650000000000000060648201526084016105d1565b610e476122af565b60008281526001602052604081206112839083612337565b9392505050565b336001600160a01b03831614156113095760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105d1565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008181526001602052604081206105ff90612343565b610d8b828261234d565b6001600160a01b0384166114125760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b03851633148061142e575061142e85336104f0565b6114a05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d1565b336114bf8187876114b0886123da565b6114b9886123da565b87611aeb565b60008481526002602090815260408083206001600160a01b038a168452909152902054838110156115585760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d1565b6115628482613349565b60008681526002602090815260408083206001600160a01b038c811685529252808320939093558816815290812080548692906115a0908490613331565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611600828888888888612433565b50505050505050565b6005546001600160a01b036101009091041633146116695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d1565b6001600160a01b0381166116e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105d1565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b6001600160a01b03831633148061177f575061177f83336104f0565b6117f15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d1565b610d7c83838361259d565b6118068282612755565b5050565b6000611283836001600160a01b0384166127f3565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806118b257507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806105ff57506105ff82612842565b6001600160a01b03841661193d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b81518351146119b45760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d1565b336119c481600087878787611aeb565b60005b8451811015611a7c578381815181106119f057634e487b7160e01b600052603260045260246000fd5b602002602001015160026000878481518110611a1c57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254611a649190613331565b90915550819050611a74816133c8565b9150506119c7565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611acd9291906132cc565b60405180910390a4611ae481600087878787611af9565b5050505050565b610d52868686868686612898565b6001600160a01b0384163b15610d52576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190611b569089908990889088908890600401613218565b602060405180830381600087803b158015611b7057600080fd5b505af1925050508015611ba0575060408051601f3d908101601f19168201909252611b9d91810190613177565b60015b611c5657611bac61342d565b806308c379a01415611be65750611bc1613445565b80611bcc5750611be8565b8060405162461bcd60e51b81526004016105d191906132fa565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105d1565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146116005760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d1565b600082815260208190526040902060010154611d2a905b33610395565b6117fc5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201527f2061646d696e20746f206772616e74000000000000000000000000000000000060648201526084016105d1565b6001600160a01b0381163314611e1a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016105d1565b6118068282612911565b6000611283836001600160a01b038416612990565b60055460ff16611e8b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016105d1565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038316611f515760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b8051825114611fc85760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d1565b6000339050611feb81856000868660405180602001604052806000815250611aeb565b60005b835181101561213157600084828151811061201957634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061204557634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038c1683529093529190912054909150818110156120eb5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016105d1565b6120f58282613349565b60009384526002602090815260408086206001600160a01b038c1687529091529093209290925550819050612129816133c8565b915050611fee565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516121829291906132cc565b60405180910390a450505050565b6001600160a01b03841661220c5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b3361221d816000876114b0886123da565b60008481526002602090815260408083206001600160a01b03891684529091528120805485929061224f908490613331565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611ae481600087878787612433565b60055460ff16156123025760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105d1565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611eb83390565b60006112838383612aad565b60006105ff825490565b60008281526020819052604090206001015461236890611d24565b611e1a5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201527f2061646d696e20746f207265766f6b650000000000000000000000000000000060648201526084016105d1565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061242257634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b15610d52576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e61906124909089908990889088908890600401613276565b602060405180830381600087803b1580156124aa57600080fd5b505af19250505080156124da575060408051601f3d908101601f191682019092526124d791810190613177565b60015b6124e657611bac61342d565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146116005760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b0383166126195760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b336126488185600061262a876123da565b612633876123da565b60405180602001604052806000815250611aeb565b60008381526002602090815260408083206001600160a01b0388168452909152902054828110156126e05760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016105d1565b6126ea8382613349565b60008581526002602090815260408083206001600160a01b038a811680865291845282852095909555815189815292830188905292938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16611806576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556127af3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461283a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105ff565b5060006105ff565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f0000000000000000000000000000000000000000000000000000000014806105ff57506105ff82612b5c565b60055460ff1615610d525760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201527f7768696c6520706175736564000000000000000000000000000000000000000060648201526084016105d1565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615611806576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015612aa35760006129b4600183613349565b85549091506000906129c890600190613349565b905060008660000182815481106129ef57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110612a2057634e487b7160e01b600052603260045260246000fd5b600091825260209091200155612a37836001613331565b60008281526001890160205260409020558654879080612a6757634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105ff565b60009150506105ff565b81546000908210612b265760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b826000018281548110612b4957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806105ff57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105ff565b80356001600160a01b0381168114612c0a57600080fd5b919050565b600082601f830112612c1f578081fd5b81356020612c2c8261330d565b604051612c39828261339b565b8381528281019150858301600585901b87018401881015612c58578586fd5b855b85811015612c7657813584529284019290840190600101612c5a565b5090979650505050505050565b600082601f830112612c93578081fd5b813567ffffffffffffffff811115612cad57612cad613417565b604051612cc46020601f19601f850116018261339b565b818152846020838601011115612cd8578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612d03578081fd5b61128382612bf3565b60008060408385031215612d1e578081fd5b612d2783612bf3565b9150612d3560208401612bf3565b90509250929050565b600080600080600060a08688031215612d55578081fd5b612d5e86612bf3565b9450612d6c60208701612bf3565b9350604086013567ffffffffffffffff80821115612d88578283fd5b612d9489838a01612c0f565b94506060880135915080821115612da9578283fd5b612db589838a01612c0f565b93506080880135915080821115612dca578283fd5b50612dd788828901612c83565b9150509295509295909350565b600080600080600060a08688031215612dfb578081fd5b612e0486612bf3565b9450612e1260208701612bf3565b93506040860135925060608601359150608086013567ffffffffffffffff811115612e3b578182fd5b612dd788828901612c83565b600080600060608486031215612e5b578283fd5b612e6484612bf3565b9250602084013567ffffffffffffffff80821115612e80578384fd5b612e8c87838801612c0f565b93506040860135915080821115612ea1578283fd5b50612eae86828701612c0f565b9150509250925092565b60008060008060808587031215612ecd578384fd5b612ed685612bf3565b9350602085013567ffffffffffffffff80821115612ef2578485fd5b612efe88838901612c0f565b94506040870135915080821115612f13578384fd5b612f1f88838901612c0f565b93506060870135915080821115612f34578283fd5b50612f4187828801612c83565b91505092959194509250565b60008060408385031215612f5f578182fd5b612f6883612bf3565b915060208301358015158114612f7c578182fd5b809150509250929050565b60008060408385031215612f99578182fd5b612fa283612bf3565b946020939093013593505050565b600080600060608486031215612fc4578081fd5b612fcd84612bf3565b95602085013595506040909401359392505050565b60008060008060808587031215612ff7578182fd5b61300085612bf3565b93506020850135925060408501359150606085013567ffffffffffffffff811115613029578182fd5b612f4187828801612c83565b60008060408385031215613047578182fd5b823567ffffffffffffffff8082111561305e578384fd5b818501915085601f830112613071578384fd5b8135602061307e8261330d565b60405161308b828261339b565b8381528281019150858301600585901b870184018b10156130aa578889fd5b8896505b848710156130d3576130bf81612bf3565b8352600196909601959183019183016130ae565b50965050860135925050808211156130e9578283fd5b506130f685828601612c0f565b9150509250929050565b600060208284031215613111578081fd5b5035919050565b6000806040838503121561312a578182fd5b82359150612d3560208401612bf3565b6000806040838503121561314c578182fd5b50508035926020909101359150565b60006020828403121561316c578081fd5b8135611283816134ed565b600060208284031215613188578081fd5b8151611283816134ed565b6000815180845260208085019450808401835b838110156131c2578151875295820195908201906001016131a6565b509495945050505050565b60008151808452815b818110156131f2576020818501810151868301820152016131d6565b818111156132035782602083870101525b50601f01601f19169290920160200192915050565b60006001600160a01b03808816835280871660208401525060a0604083015261324460a0830186613193565b82810360608401526132568186613193565b9050828103608084015261326a81856131cd565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526132ae60a08301846131cd565b979650505050505050565b6020815260006112836020830184613193565b6040815260006132df6040830185613193565b82810360208401526132f18185613193565b95945050505050565b60208152600061128360208301846131cd565b600067ffffffffffffffff82111561332757613327613417565b5060051b60200190565b6000821982111561334457613344613401565b500190565b60008282101561335b5761335b613401565b500390565b600181811c9082168061337457607f821691505b6020821081141561339557634e487b7160e01b600052602260045260246000fd5b50919050565b601f19601f830116810181811067ffffffffffffffff821117156133c1576133c1613417565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133fa576133fa613401565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d111561344257600481823e5160e01c5b90565b600060443d10156134535790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156134a157505050505090565b82850191508151818111156134b95750505050505090565b843d87010160208285010111156134d35750505050505090565b6134e26020828601018761339b565b509095945050505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461351b57600080fd5b5056fea264697066735822122043fe74434cc886052e18293b2048178de98cf473b73a575f488e303a70cca83d64736f6c6343000804003368747470733a2f2f6e66742d7374617469632e6d6574697364616f2e6f72672f6a736f6e732f6d657469735f6461632f7b69647d2e6a736f6e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ef5760003560e01c80638da5cb5b1161010f578063d5391393116100a2578063e985e9c511610071578063e985e9c5146104e2578063f242432a1461051e578063f2fde38b14610531578063f5298aca1461054457600080fd5b8063d539139314610478578063d547741f1461049f578063e63ab1e9146104b2578063e834a834146104d957600080fd5b8063a22cb465116100de578063a22cb465146103c6578063a9de80e8146103d9578063b6d31179146103fc578063ca15c8731461046557600080fd5b80638da5cb5b1461034a5780639010d07c1461037457806391d1485414610387578063a217fddf146103be57600080fd5b806336568abe116101875780636b20c454116101565780636b20c45414610314578063715018a614610327578063731133e91461032f5780638456cb591461034257600080fd5b806336568abe146102ce5780633f4ba83a146102e15780634e1273f4146102e95780635c975abb1461030957600080fd5b8063248a9ca3116101c3578063248a9ca3146102725780632bc43fd9146102955780632eb2c2d6146102a85780632f2ff15d146102bb57600080fd5b8062fdd58e146101f457806301ffc9a71461021a5780630e89341c1461023d5780631f7fdffa1461025d575b600080fd5b610207610202366004612f87565b610557565b6040519081526020015b60405180910390f35b61022d61022836600461315b565b610605565b6040519015158152602001610211565b61025061024b366004613100565b610610565b60405161021191906132fa565b61027061026b366004612eb8565b6106a4565b005b610207610280366004613100565b60009081526020819052604090206001015490565b61022d6102a3366004612fb0565b610752565b6102706102b6366004612d3e565b6109b6565b6102706102c9366004613118565b610d5a565b6102706102dc366004613118565b610d81565b610270610da3565b6102fc6102f7366004613035565b610e49565b60405161021191906132b9565b60055460ff1661022d565b610270610322366004612e47565b610fbf565b610270611058565b61027061033d366004612fe2565b61111f565b6102706111c7565b60055461010090046001600160a01b03165b6040516001600160a01b039091168152602001610211565b61035c61038236600461313a565b61126b565b61022d610395366004613118565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610207600081565b6102706103d4366004612f4d565b61128a565b61022d6103e7366004612cf2565b60066020526000908152604090205460ff1681565b61043b61040a366004613100565b60076020526000908152604090208054600182015460028301546003909301546001600160a01b0390921692909184565b604080516001600160a01b0390951685526020850193909352918301526060820152608001610211565b610207610473366004613100565b611375565b6102077f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6102706104ad366004613118565b61138c565b6102077f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b61020760085481565b61022d6104f0366004612d0c565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b61027061052c366004612de4565b611396565b61027061053f366004612cf2565b611609565b610270610552366004612fb0565b611763565b60006001600160a01b0383166105da5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b60006105ff8261181f565b60606004805461061f90613360565b80601f016020809104026020016040519081016040528092919081815260200182805461064b90613360565b80156106985780601f1061066d57610100808354040283529160200191610698565b820191906000526020600020905b81548152906001019060200180831161067b57829003601f168201915b50505050509050919050565b6106ce7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610395565b6107405760405162461bcd60e51b815260206004820152603860248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f68617665206d696e74657220726f6c6520746f206d696e74000000000000000060648201526084016105d1565b61074c848484846118c1565b50505050565b600061077e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610395565b6107f05760405162461bcd60e51b815260206004820152602860248201527f4d657469734441433a206d7573742068617665206d696e74657220726f6c652060448201527f746f20636c61696d00000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b03841660009081526006602052604090205460ff16156108595760405162461bcd60e51b815260206004820152601b60248201527f4d657469734441433a2063616e277420636c61696d207477696365000000000060448201526064016105d1565b60006040518060800160405280866001600160a01b031681526020016008546101016108859190613331565b815260200185815260200184815250905080600760006008546101016108ab9190613331565b815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201556060820151816003015590505060016008600082825461091a9190613331565b90915550506001600160a01b038516600081815260066020908152604091829020805460ff191660011790558381015184830151600854845192835292820152918201527f45c072aa05b9853b5a993de7a28bc332ee01404a628cec1a23ce0f659f842ef19060600160405180910390a26109ab85826020015160016040518060200160405280600081525061111f565b506001949350505050565b8151835114610a2d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b038416610aa95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b038516331480610ac55750610ac585336104f0565b610b375760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016105d1565b33610b46818787878787611aeb565b60005b8451811015610cec576000858281518110610b7457634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110610ba057634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038e168352909352919091205490915081811015610c475760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d1565b610c518282613349565b6002600085815260200190815260200160002060008c6001600160a01b03166001600160a01b0316815260200190815260200160002081905550816002600085815260200190815260200160002060008b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610cd19190613331565b9250508190555050505080610ce5906133c8565b9050610b49565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610d3c9291906132cc565b60405180910390a4610d52818787878787611af9565b505050505050565b610d648282611d0d565b6000828152600160205260409020610d7c908261180a565b505050565b610d8b8282611d9c565b6000828152600160205260409020610d7c9082611e24565b610dcd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610395565b610e3f5760405162461bcd60e51b815260206004820152603b60248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f686176652070617573657220726f6c6520746f20756e7061757365000000000060648201526084016105d1565b610e47611e39565b565b60608151835114610ec25760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016105d1565b6000835167ffffffffffffffff811115610eec57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610f15578160200160208202803683370190505b50905060005b8451811015610fb757610f7c858281518110610f4757634e487b7160e01b600052603260045260246000fd5b6020026020010151858381518110610f6f57634e487b7160e01b600052603260045260246000fd5b6020026020010151610557565b828281518110610f9c57634e487b7160e01b600052603260045260246000fd5b6020908102919091010152610fb0816133c8565b9050610f1b565b509392505050565b6001600160a01b038316331480610fdb5750610fdb83336104f0565b61104d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d1565b610d7c838383611ed5565b6005546001600160a01b036101009091041633146110b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d1565b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b6111497f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610395565b6111bb5760405162461bcd60e51b815260206004820152603860248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f68617665206d696e74657220726f6c6520746f206d696e74000000000000000060648201526084016105d1565b61074c84848484612190565b6111f17f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33610395565b6112635760405162461bcd60e51b815260206004820152603960248201527f455243313135355072657365744d696e7465725061757365723a206d7573742060448201527f686176652070617573657220726f6c6520746f2070617573650000000000000060648201526084016105d1565b610e476122af565b60008281526001602052604081206112839083612337565b9392505050565b336001600160a01b03831614156113095760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016105d1565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008181526001602052604081206105ff90612343565b610d8b828261234d565b6001600160a01b0384166114125760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b03851633148061142e575061142e85336104f0565b6114a05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d1565b336114bf8187876114b0886123da565b6114b9886123da565b87611aeb565b60008481526002602090815260408083206001600160a01b038a168452909152902054838110156115585760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016105d1565b6115628482613349565b60008681526002602090815260408083206001600160a01b038c811685529252808320939093558816815290812080548692906115a0908490613331565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611600828888888888612433565b50505050505050565b6005546001600160a01b036101009091041633146116695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105d1565b6001600160a01b0381166116e55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016105d1565b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b6001600160a01b03831633148061177f575061177f83336104f0565b6117f15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016105d1565b610d7c83838361259d565b6118068282612755565b5050565b6000611283836001600160a01b0384166127f3565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806118b257507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806105ff57506105ff82612842565b6001600160a01b03841661193d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b81518351146119b45760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d1565b336119c481600087878787611aeb565b60005b8451811015611a7c578381815181106119f057634e487b7160e01b600052603260045260246000fd5b602002602001015160026000878481518110611a1c57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254611a649190613331565b90915550819050611a74816133c8565b9150506119c7565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611acd9291906132cc565b60405180910390a4611ae481600087878787611af9565b5050505050565b610d52868686868686612898565b6001600160a01b0384163b15610d52576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190611b569089908990889088908890600401613218565b602060405180830381600087803b158015611b7057600080fd5b505af1925050508015611ba0575060408051601f3d908101601f19168201909252611b9d91810190613177565b60015b611c5657611bac61342d565b806308c379a01415611be65750611bc1613445565b80611bcc5750611be8565b8060405162461bcd60e51b81526004016105d191906132fa565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016105d1565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146116005760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d1565b600082815260208190526040902060010154611d2a905b33610395565b6117fc5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201527f2061646d696e20746f206772616e74000000000000000000000000000000000060648201526084016105d1565b6001600160a01b0381163314611e1a5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016105d1565b6118068282612911565b6000611283836001600160a01b038416612990565b60055460ff16611e8b5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016105d1565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038316611f515760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b8051825114611fc85760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016105d1565b6000339050611feb81856000868660405180602001604052806000815250611aeb565b60005b835181101561213157600084828151811061201957634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061204557634e487b7160e01b600052603260045260246000fd5b60209081029190910181015160008481526002835260408082206001600160a01b038c1683529093529190912054909150818110156120eb5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016105d1565b6120f58282613349565b60009384526002602090815260408086206001600160a01b038c1687529091529093209290925550819050612129816133c8565b915050611fee565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516121829291906132cc565b60405180910390a450505050565b6001600160a01b03841661220c5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b3361221d816000876114b0886123da565b60008481526002602090815260408083206001600160a01b03891684529091528120805485929061224f908490613331565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611ae481600087878787612433565b60055460ff16156123025760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016105d1565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611eb83390565b60006112838383612aad565b60006105ff825490565b60008281526020819052604090206001015461236890611d24565b611e1a5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201527f2061646d696e20746f207265766f6b650000000000000000000000000000000060648201526084016105d1565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061242257634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b15610d52576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e61906124909089908990889088908890600401613276565b602060405180830381600087803b1580156124aa57600080fd5b505af19250505080156124da575060408051601f3d908101601f191682019092526124d791810190613177565b60015b6124e657611bac61342d565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146116005760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016105d1565b6001600160a01b0383166126195760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b336126488185600061262a876123da565b612633876123da565b60405180602001604052806000815250611aeb565b60008381526002602090815260408083206001600160a01b0388168452909152902054828110156126e05760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016105d1565b6126ea8382613349565b60008581526002602090815260408083206001600160a01b038a811680865291845282852095909555815189815292830188905292938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16611806576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556127af3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600081815260018301602052604081205461283a575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105ff565b5060006105ff565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f0000000000000000000000000000000000000000000000000000000014806105ff57506105ff82612b5c565b60055460ff1615610d525760405162461bcd60e51b815260206004820152602c60248201527f455243313135355061757361626c653a20746f6b656e207472616e736665722060448201527f7768696c6520706175736564000000000000000000000000000000000000000060648201526084016105d1565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615611806576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60008181526001830160205260408120548015612aa35760006129b4600183613349565b85549091506000906129c890600190613349565b905060008660000182815481106129ef57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110612a2057634e487b7160e01b600052603260045260246000fd5b600091825260209091200155612a37836001613331565b60008281526001890160205260409020558654879080612a6757634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105ff565b60009150506105ff565b81546000908210612b265760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016105d1565b826000018281548110612b4957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806105ff57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105ff565b80356001600160a01b0381168114612c0a57600080fd5b919050565b600082601f830112612c1f578081fd5b81356020612c2c8261330d565b604051612c39828261339b565b8381528281019150858301600585901b87018401881015612c58578586fd5b855b85811015612c7657813584529284019290840190600101612c5a565b5090979650505050505050565b600082601f830112612c93578081fd5b813567ffffffffffffffff811115612cad57612cad613417565b604051612cc46020601f19601f850116018261339b565b818152846020838601011115612cd8578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612d03578081fd5b61128382612bf3565b60008060408385031215612d1e578081fd5b612d2783612bf3565b9150612d3560208401612bf3565b90509250929050565b600080600080600060a08688031215612d55578081fd5b612d5e86612bf3565b9450612d6c60208701612bf3565b9350604086013567ffffffffffffffff80821115612d88578283fd5b612d9489838a01612c0f565b94506060880135915080821115612da9578283fd5b612db589838a01612c0f565b93506080880135915080821115612dca578283fd5b50612dd788828901612c83565b9150509295509295909350565b600080600080600060a08688031215612dfb578081fd5b612e0486612bf3565b9450612e1260208701612bf3565b93506040860135925060608601359150608086013567ffffffffffffffff811115612e3b578182fd5b612dd788828901612c83565b600080600060608486031215612e5b578283fd5b612e6484612bf3565b9250602084013567ffffffffffffffff80821115612e80578384fd5b612e8c87838801612c0f565b93506040860135915080821115612ea1578283fd5b50612eae86828701612c0f565b9150509250925092565b60008060008060808587031215612ecd578384fd5b612ed685612bf3565b9350602085013567ffffffffffffffff80821115612ef2578485fd5b612efe88838901612c0f565b94506040870135915080821115612f13578384fd5b612f1f88838901612c0f565b93506060870135915080821115612f34578283fd5b50612f4187828801612c83565b91505092959194509250565b60008060408385031215612f5f578182fd5b612f6883612bf3565b915060208301358015158114612f7c578182fd5b809150509250929050565b60008060408385031215612f99578182fd5b612fa283612bf3565b946020939093013593505050565b600080600060608486031215612fc4578081fd5b612fcd84612bf3565b95602085013595506040909401359392505050565b60008060008060808587031215612ff7578182fd5b61300085612bf3565b93506020850135925060408501359150606085013567ffffffffffffffff811115613029578182fd5b612f4187828801612c83565b60008060408385031215613047578182fd5b823567ffffffffffffffff8082111561305e578384fd5b818501915085601f830112613071578384fd5b8135602061307e8261330d565b60405161308b828261339b565b8381528281019150858301600585901b870184018b10156130aa578889fd5b8896505b848710156130d3576130bf81612bf3565b8352600196909601959183019183016130ae565b50965050860135925050808211156130e9578283fd5b506130f685828601612c0f565b9150509250929050565b600060208284031215613111578081fd5b5035919050565b6000806040838503121561312a578182fd5b82359150612d3560208401612bf3565b6000806040838503121561314c578182fd5b50508035926020909101359150565b60006020828403121561316c578081fd5b8135611283816134ed565b600060208284031215613188578081fd5b8151611283816134ed565b6000815180845260208085019450808401835b838110156131c2578151875295820195908201906001016131a6565b509495945050505050565b60008151808452815b818110156131f2576020818501810151868301820152016131d6565b818111156132035782602083870101525b50601f01601f19169290920160200192915050565b60006001600160a01b03808816835280871660208401525060a0604083015261324460a0830186613193565b82810360608401526132568186613193565b9050828103608084015261326a81856131cd565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a060808301526132ae60a08301846131cd565b979650505050505050565b6020815260006112836020830184613193565b6040815260006132df6040830185613193565b82810360208401526132f18185613193565b95945050505050565b60208152600061128360208301846131cd565b600067ffffffffffffffff82111561332757613327613417565b5060051b60200190565b6000821982111561334457613344613401565b500190565b60008282101561335b5761335b613401565b500390565b600181811c9082168061337457607f821691505b6020821081141561339557634e487b7160e01b600052602260045260246000fd5b50919050565b601f19601f830116810181811067ffffffffffffffff821117156133c1576133c1613417565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133fa576133fa613401565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d111561344257600481823e5160e01c5b90565b600060443d10156134535790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156134a157505050505090565b82850191508151818111156134b95750505050505090565b843d87010160208285010111156134d35750505050505090565b6134e26020828601018761339b565b509095945050505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461351b57600080fd5b5056fea264697066735822122043fe74434cc886052e18293b2048178de98cf473b73a575f488e303a70cca83d64736f6c63430008040033

Deployed Bytecode Sourcemap

69429:1436:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9359:231;;;;;;:::i;:::-;;:::i;:::-;;;13758:25:1;;;13746:2;13731:18;9359:231:0;;;;;;;;68758:187;;;;;;:::i;:::-;;:::i;:::-;;;13585:14:1;;13578:22;13560:41;;13548:2;13533:18;68758:187:0;13515:92:1;9103:105:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;67614:282::-;;;;;;:::i;:::-;;:::i;:::-;;44475:123;;;;;;:::i;:::-;44541:7;44568:12;;;;;;;;;;:22;;;;44475:123;70222:640;;;;;;:::i;:::-;;:::i;12062:1239::-;;;;;;:::i;:::-;;:::i;49978:165::-;;;;;;:::i;:::-;;:::i;50501:174::-;;;;;;:::i;:::-;;:::i;68506:180::-;;;:::i;9756:549::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52017:86::-;52088:7;;;;52017:86;;54912:319;;;;;;:::i;:::-;;:::i;22875:148::-;;;:::i;67257:250::-;;;;;;:::i;:::-;;:::i;68112:174::-;;;:::i;22224:87::-;22297:6;;;;;-1:-1:-1;;;;;22297:6:0;22224:87;;;-1:-1:-1;;;;;10730:55:1;;;10712:74;;10700:2;10685:18;22224:87:0;10667:125:1;49433:145:0;;;;;;:::i;:::-;;:::i;44147:139::-;;;;;;:::i;:::-;44225:4;44249:12;;;;;;;;;;;-1:-1:-1;;;;;44249:29:0;;;;;;;;;;;;;;;44147:139;42603:49;;42648:4;42603:49;;10378:311;;;;;;:::i;:::-;;:::i;70035:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;70087:54;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70087:54:0;;;;;;;;;;;;-1:-1:-1;;;;;12488:55:1;;;12470:74;;12575:2;12560:18;;12553:34;;;;12603:18;;;12596:34;12661:2;12646:18;;12639:34;12457:3;12442:19;70087:54:0;12424:255:1;49752:134:0;;;;;;:::i;:::-;;:::i;66547:62::-;;66585:24;66547:62;;50236:170;;;;;;:::i;:::-;;:::i;66616:62::-;;66654:24;66616:62;;70183:26;;;;;;10761:168;;;;;;:::i;:::-;-1:-1:-1;;;;;10884:27:0;;;10860:4;10884:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;10761:168;11001:984;;;;;;:::i;:::-;;:::i;23178:244::-;;;;;;:::i;:::-;;:::i;54617:287::-;;;;;;:::i;:::-;;:::i;9359:231::-;9445:7;-1:-1:-1;;;;;9473:21:0;;9465:77;;;;-1:-1:-1;;;9465:77:0;;16218:2:1;9465:77:0;;;16200:21:1;16257:2;16237:18;;;16230:30;16296:34;16276:18;;;16269:62;16367:13;16347:18;;;16340:41;16398:19;;9465:77:0;;;;;;;;;-1:-1:-1;9560:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;9560:22:0;;;;;;;;;;9359:231;;;;;:::o;68758:187::-;68877:4;68901:36;68925:11;68901:23;:36::i;9103:105::-;9163:13;9196:4;9189:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9103:105;;;:::o;67614:282::-;67746:34;66585:24;737:10;44147:139;:::i;67746:34::-;67738:103;;;;-1:-1:-1;;;67738:103:0;;21021:2:1;67738:103:0;;;21003:21:1;21060:2;21040:18;;;21033:30;21099:34;21079:18;;;21072:62;21170:26;21150:18;;;21143:54;21214:19;;67738:103:0;20993:246:1;67738:103:0;67854:34;67865:2;67869:3;67874:7;67883:4;67854:10;:34::i;:::-;67614:282;;;;:::o;70222:640::-;70330:4;70355:34;66585:24;737:10;44147:139;:::i;70355:34::-;70347:87;;;;-1:-1:-1;;;70347:87:0;;19852:2:1;70347:87:0;;;19834:21:1;19891:2;19871:18;;;19864:30;19930:34;19910:18;;;19903:62;20001:10;19981:18;;;19974:38;20029:19;;70347:87:0;19824:230:1;70347:87:0;-1:-1:-1;;;;;70454:17:0;;;;;;:13;:17;;;;;;;;70453:18;70445:58;;;;-1:-1:-1;;;70445:58:0;;20261:2:1;70445:58:0;;;20243:21:1;20300:2;20280:18;;;20273:30;20339:29;20319:18;;;20312:57;20386:18;;70445:58:0;20233:177:1;70445:58:0;70514:18;70535:102;;;;;;;;70557:2;-1:-1:-1;;;;;70535:102:0;;;;;70574:7;;70584:3;70574:13;;;;:::i;:::-;70535:102;;;;70602:4;70535:102;;;;70621:5;70535:102;;;70514:123;;70685:3;70648:19;:34;70668:7;;70678:3;70668:13;;;;:::i;:::-;70648:34;;;;;;;;;;;:40;;;;;;;;;;;;;-1:-1:-1;;;;;70648:40:0;;;;;-1:-1:-1;;;;;70648:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70710:1;70699:7;;:12;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;70722:17:0;;;;;;:13;:17;;;;;;;;;:24;;-1:-1:-1;;70722:24:0;70742:4;70722:24;;;70772:6;;;;70780:8;;;;70790:7;;70762:36;;25554:25:1;;;25595:18;;;25588:34;25638:18;;;25631:34;70762:36:0;;25542:2:1;25527:18;70762:36:0;;;;;;;70809:23;70814:2;70818:3;:6;;;70826:1;70809:23;;;;;;;;;;;;:4;:23::i;:::-;-1:-1:-1;70850:4:0;;70222:640;-1:-1:-1;;;;70222:640:0:o;12062:1239::-;12327:7;:14;12313:3;:10;:28;12305:81;;;;-1:-1:-1;;;12305:81:0;;23892:2:1;12305:81:0;;;23874:21:1;23931:2;23911:18;;;23904:30;23970:34;23950:18;;;23943:62;24041:10;24021:18;;;24014:38;24069:19;;12305:81:0;23864:230:1;12305:81:0;-1:-1:-1;;;;;12405:16:0;;12397:66;;;;-1:-1:-1;;;12397:66:0;;19027:2:1;12397:66:0;;;19009:21:1;19066:2;19046:18;;;19039:30;19105:34;19085:18;;;19078:62;19176:7;19156:18;;;19149:35;19201:19;;12397:66:0;18999:227:1;12397:66:0;-1:-1:-1;;;;;12496:20:0;;737:10;12496:20;;:60;;-1:-1:-1;12520:36:0;12537:4;737:10;10761:168;:::i;12520:36::-;12474:160;;;;-1:-1:-1;;;12474:160:0;;19433:2:1;12474:160:0;;;19415:21:1;19472:2;19452:18;;;19445:30;19511:34;19491:18;;;19484:62;19582:20;19562:18;;;19555:48;19620:19;;12474:160:0;19405:240:1;12474:160:0;737:10;12691:60;737:10;12722:4;12728:2;12732:3;12737:7;12746:4;12691:20;:60::i;:::-;12769:9;12764:377;12788:3;:10;12784:1;:14;12764:377;;;12820:10;12833:3;12837:1;12833:6;;;;;;-1:-1:-1;;;12833:6:0;;;;;;;;;;;;;;;12820:19;;12854:14;12871:7;12879:1;12871:10;;;;;;-1:-1:-1;;;12871:10:0;;;;;;;;;;;;;;;;;;;;12898:19;12920:13;;;:9;:13;;;;;;-1:-1:-1;;;;;12920:19:0;;;;;;;;;;;;12871:10;;-1:-1:-1;12962:21:0;;;;12954:76;;;;-1:-1:-1;;;12954:76:0;;21446:2:1;12954:76:0;;;21428:21:1;21485:2;21465:18;;;21458:30;21524:34;21504:18;;;21497:62;21595:12;21575:18;;;21568:40;21625:19;;12954:76:0;21418:232:1;12954:76:0;13067:20;13081:6;13067:11;:20;:::i;:::-;13045:9;:13;13055:2;13045:13;;;;;;;;;;;:19;13059:4;-1:-1:-1;;;;;13045:19:0;-1:-1:-1;;;;;13045:19:0;;;;;;;;;;;;:42;;;;13123:6;13102:9;:13;13112:2;13102:13;;;;;;;;;;;:17;13116:2;-1:-1:-1;;;;;13102:17:0;-1:-1:-1;;;;;13102:17:0;;;;;;;;;;;;;:27;;;;;;;:::i;:::-;;;;;;;;12764:377;;;12800:3;;;;:::i;:::-;;;12764:377;;;;13188:2;-1:-1:-1;;;;;13158:47:0;13182:4;-1:-1:-1;;;;;13158:47:0;13172:8;-1:-1:-1;;;;;13158:47:0;;13192:3;13197:7;13158:47;;;;;;;:::i;:::-;;;;;;;;13218:75;13254:8;13264:4;13270:2;13274:3;13279:7;13288:4;13218:35;:75::i;:::-;12062:1239;;;;;;:::o;49978:165::-;50063:30;50079:4;50085:7;50063:15;:30::i;:::-;50104:18;;;;:12;:18;;;;;:31;;50127:7;50104:22;:31::i;:::-;;49978:165;;:::o;50501:174::-;50589:33;50608:4;50614:7;50589:18;:33::i;:::-;50633:18;;;;:12;:18;;;;;:34;;50659:7;50633:25;:34::i;68506:180::-;68559:34;66654:24;737:10;44147:139;:::i;68559:34::-;68551:106;;;;-1:-1:-1;;;68551:106:0;;22218:2:1;68551:106:0;;;22200:21:1;22257:2;22237:18;;;22230:30;22296:34;22276:18;;;22269:62;22367:29;22347:18;;;22340:57;22414:19;;68551:106:0;22190:249:1;68551:106:0;68668:10;:8;:10::i;:::-;68506:180::o;9756:549::-;9937:16;9998:3;:10;9979:8;:15;:29;9971:83;;;;-1:-1:-1;;;9971:83:0;;23482:2:1;9971:83:0;;;23464:21:1;23521:2;23501:18;;;23494:30;23560:34;23540:18;;;23533:62;23631:11;23611:18;;;23604:39;23660:19;;9971:83:0;23454:231:1;9971:83:0;10067:30;10114:8;:15;10100:30;;;;;;-1:-1:-1;;;10100:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10100:30:0;;10067:63;;10148:9;10143:122;10167:8;:15;10163:1;:19;10143:122;;;10223:30;10233:8;10242:1;10233:11;;;;;;-1:-1:-1;;;10233:11:0;;;;;;;;;;;;;;;10246:3;10250:1;10246:6;;;;;;-1:-1:-1;;;10246:6:0;;;;;;;;;;;;;;;10223:9;:30::i;:::-;10204:13;10218:1;10204:16;;;;;;-1:-1:-1;;;10204:16:0;;;;;;;;;;;;;;;;;;:49;10184:3;;;:::i;:::-;;;10143:122;;;-1:-1:-1;10284:13:0;9756:549;-1:-1:-1;;;9756:549:0:o;54912:319::-;-1:-1:-1;;;;;55043:23:0;;737:10;55043:23;;:66;;-1:-1:-1;55070:39:0;55087:7;737:10;10761:168;:::i;55070:39::-;55021:157;;;;-1:-1:-1;;;55021:157:0;;17855:2:1;55021:157:0;;;17837:21:1;17894:2;17874:18;;;17867:30;17933:34;17913:18;;;17906:62;18004:11;17984:18;;;17977:39;18033:19;;55021:157:0;17827:231:1;55021:157:0;55191:32;55202:7;55211:3;55216:6;55191:10;:32::i;22875:148::-;22297:6;;-1:-1:-1;;;;;22297:6:0;;;;;737:10;22444:23;22436:68;;;;-1:-1:-1;;;22436:68:0;;21857:2:1;22436:68:0;;;21839:21:1;;;21876:18;;;21869:30;21935:34;21915:18;;;21908:62;21987:18;;22436:68:0;21829:182:1;22436:68:0;22966:6:::1;::::0;22945:40:::1;::::0;22982:1:::1;::::0;22966:6:::1;::::0;::::1;-1:-1:-1::0;;;;;22966:6:0::1;::::0;22945:40:::1;::::0;22982:1;;22945:40:::1;22996:6;:19:::0;;;::::1;::::0;;22875:148::o;67257:250::-;67364:34;66585:24;737:10;44147:139;:::i;67364:34::-;67356:103;;;;-1:-1:-1;;;67356:103:0;;21021:2:1;67356:103:0;;;21003:21:1;21060:2;21040:18;;;21033:30;21099:34;21079:18;;;21072:62;21170:26;21150:18;;;21143:54;21214:19;;67356:103:0;20993:246:1;67356:103:0;67472:27;67478:2;67482;67486:6;67494:4;67472:5;:27::i;68112:174::-;68163:34;66654:24;737:10;44147:139;:::i;68163:34::-;68155:104;;;;-1:-1:-1;;;68155:104:0;;22646:2:1;68155:104:0;;;22628:21:1;22685:2;22665:18;;;22658:30;22724:34;22704:18;;;22697:62;22795:27;22775:18;;;22768:55;22840:19;;68155:104:0;22618:247:1;68155:104:0;68270:8;:6;:8::i;49433:145::-;49515:7;49542:18;;;:12;:18;;;;;:28;;49564:5;49542:21;:28::i;:::-;49535:35;49433:145;-1:-1:-1;;;49433:145:0:o;10378:311::-;737:10;-1:-1:-1;;;;;10481:24:0;;;;10473:78;;;;-1:-1:-1;;;10473:78:0;;23072:2:1;10473:78:0;;;23054:21:1;23111:2;23091:18;;;23084:30;23150:34;23130:18;;;23123:62;23221:11;23201:18;;;23194:39;23250:19;;10473:78:0;23044:231:1;10473:78:0;737:10;10564:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;10564:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;10564:53:0;;;;;;;;;;10633:48;;13560:41:1;;;10564:42:0;;737:10;10633:48;;13533:18:1;10633:48:0;;;;;;;10378:311;;:::o;49752:134::-;49824:7;49851:18;;;:12;:18;;;;;:27;;:25;:27::i;50236:170::-;50322:31;50339:4;50345:7;50322:16;:31::i;11001:984::-;-1:-1:-1;;;;;11227:16:0;;11219:66;;;;-1:-1:-1;;;11219:66:0;;19027:2:1;11219:66:0;;;19009:21:1;19066:2;19046:18;;;19039:30;19105:34;19085:18;;;19078:62;19176:7;19156:18;;;19149:35;19201:19;;11219:66:0;18999:227:1;11219:66:0;-1:-1:-1;;;;;11318:20:0;;737:10;11318:20;;:60;;-1:-1:-1;11342:36:0;11359:4;737:10;10761:168;:::i;11342:36::-;11296:151;;;;-1:-1:-1;;;11296:151:0;;17855:2:1;11296:151:0;;;17837:21:1;17894:2;17874:18;;;17867:30;17933:34;17913:18;;;17906:62;18004:11;17984:18;;;17977:39;18033:19;;11296:151:0;17827:231:1;11296:151:0;737:10;11504:96;737:10;11535:4;11541:2;11545:21;11563:2;11545:17;:21::i;:::-;11568:25;11586:6;11568:17;:25::i;:::-;11595:4;11504:20;:96::i;:::-;11613:19;11635:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;11635:19:0;;;;;;;;;;11673:21;;;;11665:76;;;;-1:-1:-1;;;11665:76:0;;21446:2:1;11665:76:0;;;21428:21:1;21485:2;21465:18;;;21458:30;21524:34;21504:18;;;21497:62;21595:12;21575:18;;;21568:40;21625:19;;11665:76:0;21418:232:1;11665:76:0;11774:20;11788:6;11774:11;:20;:::i;:::-;11752:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;11752:19:0;;;;;;;;;;:42;;;;11805:17;;;;;;;:27;;11826:6;;11752:13;11805:27;;11826:6;;11805:27;:::i;:::-;;;;-1:-1:-1;;11850:46:0;;;25273:25:1;;;25329:2;25314:18;;25307:34;;;-1:-1:-1;;;;;11850:46:0;;;;;;;;;;;;;;25246:18:1;11850:46:0;;;;;;;11909:68;11940:8;11950:4;11956:2;11960;11964:6;11972:4;11909:30;:68::i;:::-;11001:984;;;;;;;:::o;23178:244::-;22297:6;;-1:-1:-1;;;;;22297:6:0;;;;;737:10;22444:23;22436:68;;;;-1:-1:-1;;;22436:68:0;;21857:2:1;22436:68:0;;;21839:21:1;;;21876:18;;;21869:30;21935:34;21915:18;;;21908:62;21987:18;;22436:68:0;21829:182:1;22436:68:0;-1:-1:-1;;;;;23267:22:0;::::1;23259:73;;;::::0;-1:-1:-1;;;23259:73:0;;16630:2:1;23259:73:0::1;::::0;::::1;16612:21:1::0;16669:2;16649:18;;;16642:30;16708:34;16688:18;;;16681:62;16779:8;16759:18;;;16752:36;16805:19;;23259:73:0::1;16602:228:1::0;23259:73:0::1;23369:6;::::0;23348:38:::1;::::0;-1:-1:-1;;;;;23348:38:0;;::::1;::::0;23369:6:::1;::::0;::::1;;::::0;23348:38:::1;::::0;;;::::1;23397:6;:17:::0;;-1:-1:-1;;;;;23397:17:0;;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;23178:244::o;54617:287::-;-1:-1:-1;;;;;54723:23:0;;737:10;54723:23;;:66;;-1:-1:-1;54750:39:0;54767:7;737:10;10761:168;:::i;54750:39::-;54701:157;;;;-1:-1:-1;;;54701:157:0;;17855:2:1;54701:157:0;;;17837:21:1;17894:2;17874:18;;;17867:30;17933:34;17913:18;;;17906:62;18004:11;17984:18;;;17977:39;18033:19;;54701:157:0;17827:231:1;54701:157:0;54871:25;54877:7;54886:2;54890:5;54871;:25::i;46880:112::-;46959:25;46970:4;46976:7;46959:10;:25::i;:::-;46880:112;;:::o;37165:152::-;37235:4;37259:50;37264:3;-1:-1:-1;;;;;37284:23:0;;37259:4;:50::i;8395:297::-;8497:4;8521:41;;;8536:26;8521:41;;:110;;-1:-1:-1;8579:52:0;;;8594:37;8579:52;8521:110;:163;;;;8648:36;8672:11;8648:23;:36::i;15546:689::-;-1:-1:-1;;;;;15681:16:0;;15673:62;;;;-1:-1:-1;;;15673:62:0;;24301:2:1;15673:62:0;;;24283:21:1;24340:2;24320:18;;;24313:30;24379:34;24359:18;;;24352:62;24450:3;24430:18;;;24423:31;24471:19;;15673:62:0;24273:223:1;15673:62:0;15768:7;:14;15754:3;:10;:28;15746:81;;;;-1:-1:-1;;;15746:81:0;;23892:2:1;15746:81:0;;;23874:21:1;23931:2;23911:18;;;23904:30;23970:34;23950:18;;;23943:62;24041:10;24021:18;;;24014:38;24069:19;;15746:81:0;23864:230:1;15746:81:0;737:10;15884:66;737:10;15840:16;15927:2;15931:3;15936:7;15945:4;15884:20;:66::i;:::-;15968:6;15963:100;15984:3;:10;15980:1;:14;15963:100;;;16041:7;16049:1;16041:10;;;;;;-1:-1:-1;;;16041:10:0;;;;;;;;;;;;;;;16016:9;:17;16026:3;16030:1;16026:6;;;;;;-1:-1:-1;;;16026:6:0;;;;;;;;;;;;;;;16016:17;;;;;;;;;;;:21;16034:2;-1:-1:-1;;;;;16016:21:0;-1:-1:-1;;;;;16016:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;15996:3:0;;-1:-1:-1;15996:3:0;;;:::i;:::-;;;;15963:100;;;;16116:2;-1:-1:-1;;;;;16080:53:0;16112:1;-1:-1:-1;;;;;16080:53:0;16094:8;-1:-1:-1;;;;;16080:53:0;;16120:3;16125:7;16080:53;;;;;;;:::i;:::-;;;;;;;;16146:81;16182:8;16200:1;16204:2;16208:3;16213:7;16222:4;16146:35;:81::i;:::-;15546:689;;;;;:::o;68953:353::-;69232:66;69259:8;69269:4;69275:2;69279:3;69284:7;69293:4;69232:26;:66::i;20118:799::-;-1:-1:-1;;;;;20372:13:0;;56369:20;56408:8;20368:542;;20408:79;;;;;-1:-1:-1;;;;;20408:43:0;;;;;:79;;20452:8;;20462:4;;20468:3;;20473:7;;20482:4;;20408:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20408:79:0;;;;;;;;-1:-1:-1;;20408:79:0;;;;;;;;;;;;:::i;:::-;;;20404:495;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;20772:6;20765:14;;-1:-1:-1;;;20765:14:0;;;;;;;;:::i;20404:495::-;;;20821:62;;-1:-1:-1;;;20821:62:0;;14220:2:1;20821:62:0;;;14202:21:1;14259:2;14239:18;;;14232:30;14298:34;14278:18;;;14271:62;14369:22;14349:18;;;14342:50;14409:19;;20821:62:0;14192:242:1;20404:495:0;20537:64;;;20549:52;20537:64;20533:163;;20626:50;;-1:-1:-1;;;20626:50:0;;15044:2:1;20626:50:0;;;15026:21:1;15083:2;15063:18;;;15056:30;15122:34;15102:18;;;15095:62;15193:10;15173:18;;;15166:38;15221:19;;20626:50:0;15016:230:1;44860:232:0;44541:7;44568:12;;;;;;;;;;:22;;;44953:41;;44961:18;737:10;44147:139;:::i;44953:41::-;44945:101;;;;-1:-1:-1;;;44945:101:0;;15453:2:1;44945:101:0;;;15435:21:1;15492:2;15472:18;;;15465:30;15531:34;15511:18;;;15504:62;15602:17;15582:18;;;15575:45;15637:19;;44945:101:0;15425:237:1;46079:218:0;-1:-1:-1;;;;;46175:23:0;;737:10;46175:23;46167:83;;;;-1:-1:-1;;;46167:83:0;;24703:2:1;46167:83:0;;;24685:21:1;24742:2;24722:18;;;24715:30;24781:34;24761:18;;;24754:62;24852:17;24832:18;;;24825:45;24887:19;;46167:83:0;24675:237:1;46167:83:0;46263:26;46275:4;46281:7;46263:11;:26::i;37493:158::-;37566:4;37590:53;37598:3;-1:-1:-1;;;;;37618:23:0;;37590:7;:53::i;53076:120::-;52088:7;;;;52612:41;;;;-1:-1:-1;;;52612:41:0;;15869:2:1;52612:41:0;;;15851:21:1;15908:2;15888:18;;;15881:30;15947:22;15927:18;;;15920:50;15987:18;;52612:41:0;15841:170:1;52612:41:0;53135:7:::1;:15:::0;;-1:-1:-1;;53135:15:0::1;::::0;;53166:22:::1;737:10:::0;53175:12:::1;53166:22;::::0;-1:-1:-1;;;;;10730:55:1;;;10712:74;;10700:2;10685:18;53166:22:0::1;;;;;;;53076:120::o:0;17302:837::-;-1:-1:-1;;;;;17423:21:0;;17415:69;;;;-1:-1:-1;;;17415:69:0;;20617:2:1;17415:69:0;;;20599:21:1;20656:2;20636:18;;;20629:30;20695:34;20675:18;;;20668:62;20766:5;20746:18;;;20739:33;20789:19;;17415:69:0;20589:225:1;17415:69:0;17517:7;:14;17503:3;:10;:28;17495:81;;;;-1:-1:-1;;;17495:81:0;;23892:2:1;17495:81:0;;;23874:21:1;23931:2;23911:18;;;23904:30;23970:34;23950:18;;;23943:62;24041:10;24021:18;;;24014:38;24069:19;;17495:81:0;23864:230:1;17495:81:0;17589:16;737:10;17589:31;;17633:69;17654:8;17664:7;17681:1;17685:3;17690:7;17633:69;;;;;;;;;;;;:20;:69::i;:::-;17720:6;17715:341;17736:3;:10;17732:1;:14;17715:341;;;17768:10;17781:3;17785:1;17781:6;;;;;;-1:-1:-1;;;17781:6:0;;;;;;;;;;;;;;;17768:19;;17802:14;17819:7;17827:1;17819:10;;;;;;-1:-1:-1;;;17819:10:0;;;;;;;;;;;;;;;;;;;;17846:22;17871:13;;;:9;:13;;;;;;-1:-1:-1;;;;;17871:22:0;;;;;;;;;;;;17819:10;;-1:-1:-1;17916:24:0;;;;17908:73;;;;-1:-1:-1;;;17908:73:0;;17037:2:1;17908:73:0;;;17019:21:1;17076:2;17056:18;;;17049:30;17115:34;17095:18;;;17088:62;17186:6;17166:18;;;17159:34;17210:19;;17908:73:0;17009:226:1;17908:73:0;18021:23;18038:6;18021:14;:23;:::i;:::-;17996:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;17996:22:0;;;;;;;;;;:48;;;;-1:-1:-1;17748:3:0;;-1:-1:-1;17748:3:0;;;:::i;:::-;;;;17715:341;;;;18114:1;-1:-1:-1;;;;;18073:58:0;18097:7;-1:-1:-1;;;;;18073:58:0;18087:8;-1:-1:-1;;;;;18073:58:0;;18118:3;18123:7;18073:58;;;;;;;:::i;:::-;;;;;;;;17302:837;;;;:::o;14634:556::-;-1:-1:-1;;;;;14749:21:0;;14741:67;;;;-1:-1:-1;;;14741:67:0;;24301:2:1;14741:67:0;;;24283:21:1;24340:2;24320:18;;;24313:30;24379:34;24359:18;;;24352:62;24450:3;24430:18;;;24423:31;24471:19;;14741:67:0;24273:223:1;14741:67:0;737:10;14865:107;737:10;14821:16;14908:7;14917:21;14935:2;14917:17;:21::i;14865:107::-;14985:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;14985:22:0;;;;;;;;;:32;;15011:6;;14985:13;:32;;15011:6;;14985:32;:::i;:::-;;;;-1:-1:-1;;15033:57:0;;;25273:25:1;;;25329:2;25314:18;;25307:34;;;-1:-1:-1;;;;;15033:57:0;;;;15066:1;;15033:57;;;;;;25246:18:1;15033:57:0;;;;;;;15103:79;15134:8;15152:1;15156:7;15165:2;15169:6;15177:4;15103:30;:79::i;52817:118::-;52088:7;;;;52342:9;52334:38;;;;-1:-1:-1;;;52334:38:0;;18682:2:1;52334:38:0;;;18664:21:1;18721:2;18701:18;;;18694:30;18760:18;18740;;;18733:46;18796:18;;52334:38:0;18654:166:1;52334:38:0;52877:7:::1;:14:::0;;-1:-1:-1;;52877:14:0::1;52887:4;52877:14;::::0;;52907:20:::1;52914:12;737:10:::0;;657:98;38451:158;38525:7;38576:22;38580:3;38592:5;38576:3;:22::i;37990:117::-;38053:7;38080:19;38088:3;34747:18;;34664:109;45337:235;44541:7;44568:12;;;;;;;;;;:22;;;45431:41;;45439:18;44475:123;45431:41;45423:102;;;;-1:-1:-1;;;45423:102:0;;18265:2:1;45423:102:0;;;18247:21:1;18304:2;18284:18;;;18277:30;18343:34;18323:18;;;18316:62;18414:18;18394;;;18387:46;18450:19;;45423:102:0;18237:238:1;20925:198:0;21045:16;;;21059:1;21045:16;;;;;;;;;20991;;21020:22;;21045:16;;;;;;;;;;;;-1:-1:-1;21045:16:0;21020:41;;21083:7;21072:5;21078:1;21072:8;;;;;;-1:-1:-1;;;21072:8:0;;;;;;;;;;;;;;;;;;:18;21110:5;20925:198;-1:-1:-1;;20925:198:0:o;19348:762::-;-1:-1:-1;;;;;19577:13:0;;56369:20;56408:8;19573:530;;19613:72;;;;;-1:-1:-1;;;;;19613:38:0;;;;;:72;;19652:8;;19662:4;;19668:2;;19672:6;;19680:4;;19613:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19613:72:0;;;;;;;;-1:-1:-1;;19613:72:0;;;;;;;;;;;;:::i;:::-;;;19609:483;;;;:::i;:::-;19735:59;;;19747:47;19735:59;19731:158;;19819:50;;-1:-1:-1;;;19819:50:0;;15044:2:1;19819:50:0;;;15026:21:1;15083:2;15063:18;;;15056:30;15122:34;15102:18;;;15095:62;15193:10;15173:18;;;15166:38;15221:19;;19819:50:0;15016:230:1;16494:605:0;-1:-1:-1;;;;;16590:21:0;;16582:69;;;;-1:-1:-1;;;16582:69:0;;20617:2:1;16582:69:0;;;20599:21:1;20656:2;20636:18;;;20629:30;20695:34;20675:18;;;20668:62;20766:5;20746:18;;;20739:33;20789:19;;16582:69:0;20589:225:1;16582:69:0;737:10;16708:105;737:10;16739:7;16664:16;16760:21;16778:2;16760:17;:21::i;:::-;16783:25;16801:6;16783:17;:25::i;:::-;16708:105;;;;;;;;;;;;:20;:105::i;:::-;16826:22;16851:13;;;:9;:13;;;;;;;;-1:-1:-1;;;;;16851:22:0;;;;;;;;;;16892:24;;;;16884:73;;;;-1:-1:-1;;;16884:73:0;;17037:2:1;16884:73:0;;;17019:21:1;17076:2;17056:18;;;17049:30;17115:34;17095:18;;;17088:62;17186:6;17166:18;;;17159:34;17210:19;;16884:73:0;17009:226:1;16884:73:0;16993:23;17010:6;16993:14;:23;:::i;:::-;16968:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;16968:22:0;;;;;;;;;;;;:48;;;;17034:57;;25273:25:1;;;25314:18;;;25307:34;;;16968:13:0;;17034:57;;;;;25246:18:1;17034:57:0;;;;;;;16494:605;;;;;:::o;47327:229::-;44225:4;44249:12;;;;;;;;;;;-1:-1:-1;;;;;44249:29:0;;;;;;;;;;;;47397:152;;47441:6;:12;;;;;;;;;;;-1:-1:-1;;;;;47441:29:0;;;;;;;;;:36;;-1:-1:-1;;47441:36:0;47473:4;47441:36;;;47524:12;737:10;;657:98;47524:12;-1:-1:-1;;;;;47497:40:0;47515:7;-1:-1:-1;;;;;47497:40:0;47509:4;47497:40;;;;;;;;;;47327:229;;:::o;32229:414::-;32292:4;34546:19;;;:12;;;:19;;;;;;32309:327;;-1:-1:-1;32352:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;32535:18;;32513:19;;;:12;;;:19;;;;;;:40;;;;32568:11;;32309:327;-1:-1:-1;32619:5:0;32612:12;;48607:227;48692:4;48716:57;;;48731:42;48716:57;;:110;;;48790:36;48814:11;48790:23;:36::i;53838:424::-;52088:7;;;;54196:9;54188:66;;;;-1:-1:-1;;;54188:66:0;;17442:2:1;54188:66:0;;;17424:21:1;17481:2;17461:18;;;17454:30;17520:34;17500:18;;;17493:62;17591:14;17571:18;;;17564:42;17623:19;;54188:66:0;17414:234:1;47564:230:0;44225:4;44249:12;;;;;;;;;;;-1:-1:-1;;;;;44249:29:0;;;;;;;;;;;;47635:152;;;47710:5;47678:12;;;;;;;;;;;-1:-1:-1;;;;;47678:29:0;;;;;;;;;;:37;;-1:-1:-1;;47678:37:0;;;47735:40;737:10;;47678:12;;47735:40;;47710:5;47735:40;47564:230;;:::o;32819:1544::-;32885:4;33024:19;;;:12;;;:19;;;;;;33060:15;;33056:1300;;33422:21;33446:14;33459:1;33446:10;:14;:::i;:::-;33495:18;;33422:38;;-1:-1:-1;33475:17:0;;33495:22;;33516:1;;33495:22;:::i;:::-;33475:42;;33762:17;33782:3;:11;;33794:9;33782:22;;;;;;-1:-1:-1;;;33782:22:0;;;;;;;;;;;;;;;;;33762:42;;33928:9;33899:3;:11;;33911:13;33899:26;;;;;;-1:-1:-1;;;33899:26:0;;;;;;;;;;;;;;;;;;:38;34031:17;:13;34047:1;34031:17;:::i;:::-;34005:23;;;;:12;;;:23;;;;;:43;34157:17;;34005:3;;34157:17;;;-1:-1:-1;;;34157:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;34252:3;:12;;:19;34265:5;34252:19;;;;;;;;;;;34245:26;;;34295:4;34288:11;;;;;;;;33056:1300;34339:5;34332:12;;;;;35117:204;35212:18;;35184:7;;35212:26;-1:-1:-1;35204:73:0;;;;-1:-1:-1;;;35204:73:0;;14641:2:1;35204:73:0;;;14623:21:1;14680:2;14660:18;;;14653:30;14719:34;14699:18;;;14692:62;14790:4;14770:18;;;14763:32;14812:19;;35204:73:0;14613:224:1;35204:73:0;35295:3;:11;;35307:5;35295:18;;;;;;-1:-1:-1;;;35295:18:0;;;;;;;;;;;;;;;;;35288:25;;35117:204;;;;:::o;43838:217::-;43923:4;43947:47;;;43962:32;43947:47;;:100;;-1:-1:-1;2772:25:0;2757:40;;;;44011:36;2648:157;14:196:1;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:755::-;269:5;322:3;315:4;307:6;303:17;299:27;289:2;;344:5;337;330:20;289:2;384:6;371:20;410:4;433:43;473:2;433:43;:::i;:::-;505:2;499:9;517:31;545:2;537:6;517:31;:::i;:::-;583:18;;;617:15;;;;-1:-1:-1;652:15:1;;;702:1;698:10;;;686:23;;682:32;;679:41;-1:-1:-1;676:2:1;;;737:5;730;723:20;676:2;763:5;777:163;791:2;788:1;785:9;777:163;;;848:17;;836:30;;886:12;;;;918;;;;809:1;802:9;777:163;;;-1:-1:-1;958:6:1;;279:691;-1:-1:-1;;;;;;;279:691:1:o;975:634::-;1017:5;1070:3;1063:4;1055:6;1051:17;1047:27;1037:2;;1092:5;1085;1078:20;1037:2;1132:6;1119:20;1158:18;1154:2;1151:26;1148:2;;;1180:18;;:::i;:::-;1229:2;1223:9;1241:126;1361:4;-1:-1:-1;;1285:4:1;1281:2;1277:13;1273:86;1269:97;1261:6;1241:126;:::i;:::-;1391:2;1383:6;1376:18;1437:3;1430:4;1425:2;1417:6;1413:15;1409:26;1406:35;1403:2;;;1458:5;1451;1444:20;1403:2;1526;1519:4;1511:6;1507:17;1500:4;1492:6;1488:17;1475:54;1549:15;;;1566:4;1545:26;1538:41;;;;1553:6;1027:582;-1:-1:-1;;1027:582:1:o;1614:196::-;1673:6;1726:2;1714:9;1705:7;1701:23;1697:32;1694:2;;;1747:6;1739;1732:22;1694:2;1775:29;1794:9;1775:29;:::i;1815:270::-;1883:6;1891;1944:2;1932:9;1923:7;1919:23;1915:32;1912:2;;;1965:6;1957;1950:22;1912:2;1993:29;2012:9;1993:29;:::i;:::-;1983:39;;2041:38;2075:2;2064:9;2060:18;2041:38;:::i;:::-;2031:48;;1902:183;;;;;:::o;2090:983::-;2244:6;2252;2260;2268;2276;2329:3;2317:9;2308:7;2304:23;2300:33;2297:2;;;2351:6;2343;2336:22;2297:2;2379:29;2398:9;2379:29;:::i;:::-;2369:39;;2427:38;2461:2;2450:9;2446:18;2427:38;:::i;:::-;2417:48;;2516:2;2505:9;2501:18;2488:32;2539:18;2580:2;2572:6;2569:14;2566:2;;;2601:6;2593;2586:22;2566:2;2629:61;2682:7;2673:6;2662:9;2658:22;2629:61;:::i;:::-;2619:71;;2743:2;2732:9;2728:18;2715:32;2699:48;;2772:2;2762:8;2759:16;2756:2;;;2793:6;2785;2778:22;2756:2;2821:63;2876:7;2865:8;2854:9;2850:24;2821:63;:::i;:::-;2811:73;;2937:3;2926:9;2922:19;2909:33;2893:49;;2967:2;2957:8;2954:16;2951:2;;;2988:6;2980;2973:22;2951:2;;3016:51;3059:7;3048:8;3037:9;3033:24;3016:51;:::i;:::-;3006:61;;;2287:786;;;;;;;;:::o;3078:626::-;3182:6;3190;3198;3206;3214;3267:3;3255:9;3246:7;3242:23;3238:33;3235:2;;;3289:6;3281;3274:22;3235:2;3317:29;3336:9;3317:29;:::i;:::-;3307:39;;3365:38;3399:2;3388:9;3384:18;3365:38;:::i;:::-;3355:48;;3450:2;3439:9;3435:18;3422:32;3412:42;;3501:2;3490:9;3486:18;3473:32;3463:42;;3556:3;3545:9;3541:19;3528:33;3584:18;3576:6;3573:30;3570:2;;;3621:6;3613;3606:22;3570:2;3649:49;3690:7;3681:6;3670:9;3666:22;3649:49;:::i;3709:699::-;3836:6;3844;3852;3905:2;3893:9;3884:7;3880:23;3876:32;3873:2;;;3926:6;3918;3911:22;3873:2;3954:29;3973:9;3954:29;:::i;:::-;3944:39;;4034:2;4023:9;4019:18;4006:32;4057:18;4098:2;4090:6;4087:14;4084:2;;;4119:6;4111;4104:22;4084:2;4147:61;4200:7;4191:6;4180:9;4176:22;4147:61;:::i;:::-;4137:71;;4261:2;4250:9;4246:18;4233:32;4217:48;;4290:2;4280:8;4277:16;4274:2;;;4311:6;4303;4296:22;4274:2;;4339:63;4394:7;4383:8;4372:9;4368:24;4339:63;:::i;:::-;4329:73;;;3863:545;;;;;:::o;4413:908::-;4558:6;4566;4574;4582;4635:3;4623:9;4614:7;4610:23;4606:33;4603:2;;;4657:6;4649;4642:22;4603:2;4685:29;4704:9;4685:29;:::i;:::-;4675:39;;4765:2;4754:9;4750:18;4737:32;4788:18;4829:2;4821:6;4818:14;4815:2;;;4850:6;4842;4835:22;4815:2;4878:61;4931:7;4922:6;4911:9;4907:22;4878:61;:::i;:::-;4868:71;;4992:2;4981:9;4977:18;4964:32;4948:48;;5021:2;5011:8;5008:16;5005:2;;;5042:6;5034;5027:22;5005:2;5070:63;5125:7;5114:8;5103:9;5099:24;5070:63;:::i;:::-;5060:73;;5186:2;5175:9;5171:18;5158:32;5142:48;;5215:2;5205:8;5202:16;5199:2;;;5236:6;5228;5221:22;5199:2;;5264:51;5307:7;5296:8;5285:9;5281:24;5264:51;:::i;:::-;5254:61;;;4593:728;;;;;;;:::o;5326:367::-;5391:6;5399;5452:2;5440:9;5431:7;5427:23;5423:32;5420:2;;;5473:6;5465;5458:22;5420:2;5501:29;5520:9;5501:29;:::i;:::-;5491:39;;5580:2;5569:9;5565:18;5552:32;5627:5;5620:13;5613:21;5606:5;5603:32;5593:2;;5654:6;5646;5639:22;5593:2;5682:5;5672:15;;;5410:283;;;;;:::o;5698:264::-;5766:6;5774;5827:2;5815:9;5806:7;5802:23;5798:32;5795:2;;;5848:6;5840;5833:22;5795:2;5876:29;5895:9;5876:29;:::i;:::-;5866:39;5952:2;5937:18;;;;5924:32;;-1:-1:-1;;;5785:177:1:o;5967:332::-;6044:6;6052;6060;6113:2;6101:9;6092:7;6088:23;6084:32;6081:2;;;6134:6;6126;6119:22;6081:2;6162:29;6181:9;6162:29;:::i;:::-;6152:39;6238:2;6223:18;;6210:32;;-1:-1:-1;6289:2:1;6274:18;;;6261:32;;6071:228;-1:-1:-1;;;6071:228:1:o;6304:551::-;6399:6;6407;6415;6423;6476:3;6464:9;6455:7;6451:23;6447:33;6444:2;;;6498:6;6490;6483:22;6444:2;6526:29;6545:9;6526:29;:::i;:::-;6516:39;;6602:2;6591:9;6587:18;6574:32;6564:42;;6653:2;6642:9;6638:18;6625:32;6615:42;;6708:2;6697:9;6693:18;6680:32;6735:18;6727:6;6724:30;6721:2;;;6772:6;6764;6757:22;6721:2;6800:49;6841:7;6832:6;6821:9;6817:22;6800:49;:::i;6860:1274::-;6978:6;6986;7039:2;7027:9;7018:7;7014:23;7010:32;7007:2;;;7060:6;7052;7045:22;7007:2;7105:9;7092:23;7134:18;7175:2;7167:6;7164:14;7161:2;;;7196:6;7188;7181:22;7161:2;7239:6;7228:9;7224:22;7214:32;;7284:7;7277:4;7273:2;7269:13;7265:27;7255:2;;7311:6;7303;7296:22;7255:2;7352;7339:16;7374:4;7397:43;7437:2;7397:43;:::i;:::-;7469:2;7463:9;7481:31;7509:2;7501:6;7481:31;:::i;:::-;7547:18;;;7581:15;;;;-1:-1:-1;7616:11:1;;;7658:1;7654:10;;;7646:19;;7642:28;;7639:41;-1:-1:-1;7636:2:1;;;7698:6;7690;7683:22;7636:2;7725:6;7716:15;;7740:169;7754:2;7751:1;7748:9;7740:169;;;7811:23;7830:3;7811:23;:::i;:::-;7799:36;;7772:1;7765:9;;;;;7855:12;;;;7887;;7740:169;;;-1:-1:-1;7928:6:1;-1:-1:-1;;7972:18:1;;7959:32;;-1:-1:-1;;8003:16:1;;;8000:2;;;8037:6;8029;8022:22;8000:2;;8065:63;8120:7;8109:8;8098:9;8094:24;8065:63;:::i;:::-;8055:73;;;6997:1137;;;;;:::o;8139:190::-;8198:6;8251:2;8239:9;8230:7;8226:23;8222:32;8219:2;;;8272:6;8264;8257:22;8219:2;-1:-1:-1;8300:23:1;;8209:120;-1:-1:-1;8209:120:1:o;8334:264::-;8402:6;8410;8463:2;8451:9;8442:7;8438:23;8434:32;8431:2;;;8484:6;8476;8469:22;8431:2;8525:9;8512:23;8502:33;;8554:38;8588:2;8577:9;8573:18;8554:38;:::i;8603:258::-;8671:6;8679;8732:2;8720:9;8711:7;8707:23;8703:32;8700:2;;;8753:6;8745;8738:22;8700:2;-1:-1:-1;;8781:23:1;;;8851:2;8836:18;;;8823:32;;-1:-1:-1;8690:171:1:o;8866:255::-;8924:6;8977:2;8965:9;8956:7;8952:23;8948:32;8945:2;;;8998:6;8990;8983:22;8945:2;9042:9;9029:23;9061:30;9085:5;9061:30;:::i;9126:259::-;9195:6;9248:2;9236:9;9227:7;9223:23;9219:32;9216:2;;;9269:6;9261;9254:22;9216:2;9306:9;9300:16;9325:30;9349:5;9325:30;:::i;9585:437::-;9638:3;9676:5;9670:12;9703:6;9698:3;9691:19;9729:4;9758:2;9753:3;9749:12;9742:19;;9795:2;9788:5;9784:14;9816:3;9828:169;9842:6;9839:1;9836:13;9828:169;;;9903:13;;9891:26;;9937:12;;;;9972:15;;;;9864:1;9857:9;9828:169;;;-1:-1:-1;10013:3:1;;9646:376;-1:-1:-1;;;;;9646:376:1:o;10027:534::-;10068:3;10106:5;10100:12;10133:6;10128:3;10121:19;10158:3;10170:162;10184:6;10181:1;10178:13;10170:162;;;10246:4;10302:13;;;10298:22;;10292:29;10274:11;;;10270:20;;10263:59;10199:12;10170:162;;;10350:6;10347:1;10344:13;10341:2;;;10416:3;10409:4;10400:6;10395:3;10391:16;10387:27;10380:40;10341:2;-1:-1:-1;10475:2:1;10463:15;-1:-1:-1;;10459:88:1;10450:98;;;;10550:4;10446:109;;10076:485;-1:-1:-1;;10076:485:1:o;10797:849::-;11119:4;-1:-1:-1;;;;;11229:2:1;11221:6;11217:15;11206:9;11199:34;11281:2;11273:6;11269:15;11264:2;11253:9;11249:18;11242:43;;11321:3;11316:2;11305:9;11301:18;11294:31;11348:57;11400:3;11389:9;11385:19;11377:6;11348:57;:::i;:::-;11453:9;11445:6;11441:22;11436:2;11425:9;11421:18;11414:50;11487:44;11524:6;11516;11487:44;:::i;:::-;11473:58;;11580:9;11572:6;11568:22;11562:3;11551:9;11547:19;11540:51;11608:32;11633:6;11625;11608:32;:::i;:::-;11600:40;11128:518;-1:-1:-1;;;;;;;;11128:518:1:o;11651:583::-;11873:4;-1:-1:-1;;;;;11983:2:1;11975:6;11971:15;11960:9;11953:34;12035:2;12027:6;12023:15;12018:2;12007:9;12003:18;11996:43;;12075:6;12070:2;12059:9;12055:18;12048:34;12118:6;12113:2;12102:9;12098:18;12091:34;12162:3;12156;12145:9;12141:19;12134:32;12183:45;12223:3;12212:9;12208:19;12200:6;12183:45;:::i;:::-;12175:53;11882:352;-1:-1:-1;;;;;;;11882:352:1:o;12684:261::-;12863:2;12852:9;12845:21;12826:4;12883:56;12935:2;12924:9;12920:18;12912:6;12883:56;:::i;12950:465::-;13207:2;13196:9;13189:21;13170:4;13233:56;13285:2;13274:9;13270:18;13262:6;13233:56;:::i;:::-;13337:9;13329:6;13325:22;13320:2;13309:9;13305:18;13298:50;13365:44;13402:6;13394;13365:44;:::i;:::-;13357:52;13179:236;-1:-1:-1;;;;;13179:236:1:o;13794:219::-;13943:2;13932:9;13925:21;13906:4;13963:44;14003:2;13992:9;13988:18;13980:6;13963:44;:::i;25676:183::-;25736:4;25769:18;25761:6;25758:30;25755:2;;;25791:18;;:::i;:::-;-1:-1:-1;25836:1:1;25832:14;25848:4;25828:25;;25745:114::o;25864:128::-;25904:3;25935:1;25931:6;25928:1;25925:13;25922:2;;;25941:18;;:::i;:::-;-1:-1:-1;25977:9:1;;25912:80::o;25997:125::-;26037:4;26065:1;26062;26059:8;26056:2;;;26070:18;;:::i;:::-;-1:-1:-1;26107:9:1;;26046:76::o;26127:437::-;26206:1;26202:12;;;;26249;;;26270:2;;26324:4;26316:6;26312:17;26302:27;;26270:2;26377;26369:6;26366:14;26346:18;26343:38;26340:2;;;-1:-1:-1;;;26411:1:1;26404:88;26515:4;26512:1;26505:15;26543:4;26540:1;26533:15;26340:2;;26182:382;;;:::o;26569:308::-;-1:-1:-1;;26670:2:1;26664:4;26660:13;26656:86;26648:6;26644:99;26809:6;26797:10;26794:22;26773:18;26761:10;26758:34;26755:62;26752:2;;;26820:18;;:::i;:::-;26856:2;26849:22;-1:-1:-1;;26616:261:1:o;26882:195::-;26921:3;26952:66;26945:5;26942:77;26939:2;;;27022:18;;:::i;:::-;-1:-1:-1;27069:1:1;27058:13;;26929:148::o;27082:184::-;-1:-1:-1;;;27131:1:1;27124:88;27231:4;27228:1;27221:15;27255:4;27252:1;27245:15;27271:184;-1:-1:-1;;;27320:1:1;27313:88;27420:4;27417:1;27410:15;27444:4;27441:1;27434:15;27460:185;27495:3;27537:1;27519:16;27516:23;27513:2;;;27587:1;27582:3;27577;27562:27;27618:10;27613:3;27609:20;27513:2;27503:142;:::o;27650:731::-;27689:3;27731:4;27713:16;27710:26;27707:2;;;27697:684;:::o;27707:2::-;27773;27767:9;27795:66;27916:2;27898:16;27894:25;27891:1;27885:4;27870:50;27949:4;27943:11;27973:16;28008:18;28079:2;28072:4;28064:6;28060:17;28057:25;28052:2;28044:6;28041:14;28038:45;28035:2;;;28086:5;;;;;27697:684;:::o;28035:2::-;28123:6;28117:4;28113:17;28102:28;;28159:3;28153:10;28186:2;28178:6;28175:14;28172:2;;;28192:5;;;;;;27697:684;:::o;28172:2::-;28276;28257:16;28251:4;28247:27;28243:36;28236:4;28227:6;28222:3;28218:16;28214:27;28211:69;28208:2;;;28283:5;;;;;;27697:684;:::o;28208:2::-;28299:57;28350:4;28341:6;28333;28329:19;28325:30;28319:4;28299:57;:::i;:::-;-1:-1:-1;28372:3:1;;27697:684;-1:-1:-1;;;;;27697:684:1:o;28386:177::-;28471:66;28464:5;28460:78;28453:5;28450:89;28440:2;;28553:1;28550;28543:12;28440:2;28430:133;:::o

Swarm Source

ipfs://43fe74434cc886052e18293b2048178de98cf473b73a575f488e303a70cca83d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.