Token Partyhat

 

Overview ERC-1155

Total Supply:
0 Partyhat

Holders:
9 addresses

Transfers:
-

Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PHAT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-04
*/

// ALTERNATE   PALETTE   PHAT   CONVERSION   CONTRACT
// PARTYHAT      HTTPS://T.ME/PARTYHAT      HTTPS://HAT.LOL

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC1155/[email protected]



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/[email protected]



pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/token/ERC1155/extensions/[email protected]



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/utils/[email protected]



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    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

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


// File @openzeppelin/contracts/utils/[email protected]



pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]



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/[email protected]



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(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(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/utils/[email protected]



pragma solidity ^0.8.0;

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

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

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

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

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

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IRandomizer {

    // Sets the number of blocks that must pass between increment the commitId and seeding the random
    // Admin
    function setNumBlocksAfterIncrement(uint8 _numBlocksAfterIncrement) external;

    // Increments the commit id.
    // Admin
    function incrementCommitId() external;

    // Adding the random number needs to be done AFTER incrementing the commit id on a separate transaction. If
    // these are done together, there is a potential vulnerability to front load a commit when the bad actor
    // sees the value of the random number.
    function addRandomForCommit(uint256 _seed) external;

    // Returns a request ID for a random number. This is unique.
    function requestRandomNumber() external returns(uint256);

    // Returns the random number for the given request ID. Will revert
    // if the random is not ready.
    function revealRandomNumber(uint256 _requestId) external view returns(uint256);

    // Returns if the random number for the given request ID is ready or not. Call
    // before calling revealRandomNumber.
    function isRandomReady(uint256 _requestId) external view returns(bool);
}

pragma solidity ^0.8.0;


contract PHAT is ERC1155 {
    address public owner;
    string private _baseURIExtended;
    string public name;

    uint256 private constant CRACKER = 0;
    uint256 private constant WHITE = 1;
    uint256 private constant RED = 2;
    uint256 private constant YELLOW = 3;
    uint256 private constant GREEN = 4;
    uint256 private constant BLUE = 5;
    uint256 private constant PURPLE = 6;
    uint256 private constant PINK = 7;

    uint256 [] private IDS = [CRACKER, WHITE, RED, YELLOW, GREEN, BLUE, PURPLE, PINK];

    uint256 public mintedHats = 0;
    uint256 public burnedHats = 0;

    mapping(address => uint256) public userId;
    mapping(address => uint256) public userAmount;

    IERC20 public phatERC20;
    IRandomizer public randomizer;

    event BurnNFTsForCrackers(uint256[] hats, address burner, uint256 amount);
    event RevealHats(uint256[] hatsToMint, address minter, uint256 amount);
    event PopCrackers(address popper, uint256 amount);
    event MintCrackers(address minter, uint256 amount);

    modifier _ownerOnly() {
        require(msg.sender == owner);
        _;
    }

    constructor(address _randomizer, address _phat) ERC1155("") {
        owner = msg.sender;
        name = "Partyhat";

        randomizer = IRandomizer(_randomizer);
        phatERC20 = IERC20(_phat);

    }

    function setBaseURI(string memory baseURI_) external _ownerOnly {
        _baseURIExtended = baseURI_;
    }

    function transferOwnership(address newOwner) public _ownerOnly {
        owner = newOwner;
    }

    //Mint cracker and burn PHAT ERC20
    function mintCrackers(uint256 amount) public {
        uint256 balance = phatERC20.balanceOf(address(0xdead));

        for(uint256 i = 0; i < amount*2; i++){
            phatERC20.transferFrom(msg.sender, address(0xdead), 1);
        }

        require(balance + amount*2 == phatERC20.balanceOf(address(0xdead)), "Insufficient PHAT transfered");
        
        emit MintCrackers(msg.sender, amount);
        _mint(msg.sender, CRACKER, amount, '');
    }

    //Burn cracker and request random number
    function popCrackers(uint256 amount) public {
        require(balanceOf(msg.sender, CRACKER) >= amount, "Insufficient crackers to pop.");
        require(userId[msg.sender] == 0, "Must reveal hats first.");
        require(userAmount[msg.sender] == 0, "Must reveal hats first.");

        _burn(msg.sender, CRACKER, amount);
        userAmount[msg.sender] = amount;
        userId[msg.sender] = randomizer.requestRandomNumber();

        emit PopCrackers(msg.sender, amount);
    }

    //Reveal hats from cracker
    function revealHats() public {

        require(userAmount[msg.sender] > 0, "No hats to mint.");
        require(userId[msg.sender] != 0, "User has no crackers to open.");
        require(randomizer.isRandomReady(userId[msg.sender]), "Random number not ready, try again.");

        uint256 secretHat;

        uint256[] memory hatsToMint = new uint256[](IDS.length);

        uint256 rand = randomizer.revealRandomNumber(userId[msg.sender]);

        for (uint256 i = 0; i < userAmount[msg.sender]*2; i++) {
            secretHat = uint256(keccak256(abi.encode(rand, i))) % 1000; 
            if(secretHat < 10) {// 1% pink
                hatsToMint[PINK]++;
            }
            else if(secretHat < 500) {// 49% purple
                hatsToMint[PURPLE]++;
            }
            else if(secretHat < 620) {// 12% blue
                hatsToMint[BLUE]++;
            }
            else if(secretHat < 720) {// 10% green
                hatsToMint[GREEN]++;
            }
            else if(secretHat < 830) {// 11% yellow
                hatsToMint[YELLOW]++;
            }
            else if(secretHat < 910) {// 8% red
                hatsToMint[RED]++;
            }
            else if(secretHat < 1000) {// 9% white
                hatsToMint[WHITE]++;
            }
        }

        emit RevealHats(hatsToMint, msg.sender, userAmount[msg.sender]*2);

        mintedHats += userAmount[msg.sender]*2;

        userAmount[msg.sender] = 0;
        userId[msg.sender] = 0;

        _mintBatch(msg.sender, IDS, hatsToMint,'');
    }

    function hatsOf(address account) public view returns(uint256[8] memory){
        uint256[PINK+1] memory hats;
        for(uint256 i = 0; i < PINK+1; i++) {
            hats[i] = hats[i] + balanceOf(account, i);
        }
        return(hats);
    }

    function burnNFTsForCrackers(uint256[] memory hats) public {
        uint256 sum;        
        
        //Burn hats submitted by user. Skip 0 to skip burning crackers.
        for(uint256 id = 1; id <= PINK; id++){
            sum = sum + hats[id];
            _burn(msg.sender, id, hats[id]);
        }
        require(sum > 0, "Must burn a non-zero number of hats");
        require(sum % 3 == 0, "Must burn a multiple of 3 hats!");

        emit BurnNFTsForCrackers(hats, msg.sender, sum);

        burnedHats += sum;

        _mint(msg.sender, CRACKER, sum/3, '');

    }

    function uri(uint256 _id) public view override returns (string memory) {
        return
            string(
                abi.encodePacked(
                    _baseURIExtended,
                    Strings.toString(_id),
                    ".json"
                )
            );
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_randomizer","type":"address"},{"internalType":"address","name":"_phat","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"hats","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"burner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BurnNFTsForCrackers","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintCrackers","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"popper","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PopCrackers","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"hatsToMint","type":"uint256[]"},{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RevealHats","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"hats","type":"uint256[]"}],"name":"burnNFTsForCrackers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedHats","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hatsOf","outputs":[{"internalType":"uint256[8]","name":"","type":"uint256[8]"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"mintCrackers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedHats","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phatERC20","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"popCrackers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"randomizer","outputs":[{"internalType":"contract IRandomizer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealHats","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":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","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":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

61018060405260006080908152600160a052600260c052600360e05260046101005260056101205260066101408190526007610160526200004291600862000127565b50600060075560006008553480156200005a57600080fd5b5060405162002c9538038062002c958339810160408190526200007d9162000227565b60408051602081019091526000815262000097816200010e565b50600380546001600160a01b031916331790556040805180820190915260088082526714185c9d1e5a185d60c21b6020909201918252620000db9160059162000177565b50600c80546001600160a01b039384166001600160a01b031991821617909155600b80549290931691161790556200029c565b80516200012390600290602084019062000177565b5050565b82805482825590600052602060002090810192821562000165579160200282015b828111156200016557825182559160200191906001019062000148565b5062000173929150620001f3565b5090565b82805462000185906200025f565b90600052602060002090601f016020900481019282620001a9576000855562000165565b82601f10620001c457805160ff191683800117855562000165565b828001600101855582156200016557918201828111156200016557825182559160200191906001019062000148565b5b80821115620001735760008155600101620001f4565b80516001600160a01b03811681146200022257600080fd5b919050565b600080604083850312156200023b57600080fd5b62000246836200020a565b915062000256602084016200020a565b90509250929050565b600181811c908216806200027457607f821691505b602082108114156200029657634e487b7160e01b600052602260045260246000fd5b50919050565b6129e980620002ac6000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c806355f804b3116100c3578063d5d519141161007c578063d5d51914146102ce578063e1ad418e146102ee578063e985e9c51461030e578063f10fb5841461034a578063f242432a1461035d578063f2fde38b1461037057600080fd5b806355f804b3146102675780637f158ab81461027a578063803905c01461028d5780638143fba2146102955780638da5cb5b146102a8578063a22cb465146102bb57600080fd5b80632b46b68a116101155780632b46b68a146101cb5780632eb2c2d6146101e0578063376fe102146101f35780633d6c905a146102135780633d91c85b1461023e5780634e1273f41461024757600080fd5b8062fdd58e1461015157806301ffc9a71461017757806306fdde031461019a5780630e89341c146101af5780630ebfe7b3146101c2575b600080fd5b61016461015f366004612153565b610383565b6040519081526020015b60405180910390f35b61018a6101853660046122a0565b61041a565b604051901515815260200161016e565b6101a261046c565b60405161016e91906125ce565b6101a26101bd366004612323565b6104fa565b61016460075481565b6101de6101d936600461224e565b61052e565b005b6101de6101ee36600461200d565b6106ca565b610164610201366004611fbf565b60096020526000908152604090205481565b600b54610226906001600160a01b031681565b6040516001600160a01b03909116815260200161016e565b61016460085481565b61025a61025536600461217d565b610761565b60405161016e9190612568565b6101de6102753660046122da565b61088b565b6101de610288366004612323565b6108b5565b6101de610aa9565b6101de6102a3366004612323565b610f9a565b600354610226906001600160a01b031681565b6101de6102c936600461211c565b611203565b6102e16102dc366004611fbf565b6112da565b60405161016e9190612536565b6101646102fc366004611fbf565b600a6020526000908152604090205481565b61018a61031c366004611fda565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b600c54610226906001600160a01b031681565b6101de61036b3660046120b7565b61135b565b6101de61037e366004611fbf565b6113e2565b60006001600160a01b0383166103f45760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061044b57506001600160e01b031982166303a24d0760e21b145b8061046657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60058054610479906127f7565b80601f01602080910402602001604051908101604052809291908181526020018280546104a5906127f7565b80156104f25780601f106104c7576101008083540402835291602001916104f2565b820191906000526020600020905b8154815290600101906020018083116104d557829003601f168201915b505050505081565b606060046105078361141b565b6040516020016105189291906123d8565b6040516020818303038152906040529050919050565b600060015b600781116105985782818151811061054d5761054d6128ba565b6020026020010151826105609190612765565b91506105863382858481518110610579576105796128ba565b6020026020010151611521565b806105908161285f565b915050610533565b50600081116105f55760405162461bcd60e51b815260206004820152602360248201527f4d757374206275726e2061206e6f6e2d7a65726f206e756d626572206f66206860448201526261747360e81b60648201526084016103eb565b61060060038261287a565b1561064d5760405162461bcd60e51b815260206004820152601f60248201527f4d757374206275726e2061206d756c7469706c65206f6620332068617473210060448201526064016103eb565b7f7d0da068bb331d0d5eda948f4285e2fa917d550a2675ed1829c1945b4889adf98233836040516106809392919061257b565b60405180910390a1806008600082825461069a9190612765565b909155506106c690503360006106b160038561277d565b6040518060200160405280600081525061169b565b5050565b6001600160a01b0385163314806106e657506106e6853361031c565b61074d5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016103eb565b61075a858585858561176b565b5050505050565b606081518351146107c65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016103eb565b6000835167ffffffffffffffff8111156107e2576107e26128d0565b60405190808252806020026020018201604052801561080b578160200160208202803683370190505b50905060005b84518110156108835761085685828151811061082f5761082f6128ba565b6020026020010151858381518110610849576108496128ba565b6020026020010151610383565b828281518110610868576108686128ba565b602090810291909101015261087c8161285f565b9050610811565b509392505050565b6003546001600160a01b031633146108a257600080fd5b80516106c6906004906020840190611def565b806108c1336000610383565b101561090f5760405162461bcd60e51b815260206004820152601d60248201527f496e73756666696369656e7420637261636b65727320746f20706f702e00000060448201526064016103eb565b33600090815260096020526040902054156109665760405162461bcd60e51b815260206004820152601760248201527626bab9ba103932bb32b0b6103430ba39903334b939ba1760491b60448201526064016103eb565b336000908152600a6020526040902054156109bd5760405162461bcd60e51b815260206004820152601760248201527626bab9ba103932bb32b0b6103430ba39903334b939ba1760491b60448201526064016103eb565b6109c933600083611521565b336000908152600a60209081526040808320849055600c54815163433c53d960e11b815291516001600160a01b0390911693638678a7b293600480850194919392918390030190829087803b158015610a2157600080fd5b505af1158015610a35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a59919061233c565b336000818152600960209081526040918290209390935580519182529181018390527fda5f11462eff8972f6ac479b372fe418b2aa97b8bde70c190e1f6a1c6e69d65b910160405180910390a150565b336000908152600a6020526040902054610af85760405162461bcd60e51b815260206004820152601060248201526f2737903430ba39903a379036b4b73a1760811b60448201526064016103eb565b33600090815260096020526040902054610b545760405162461bcd60e51b815260206004820152601d60248201527f5573657220686173206e6f20637261636b65727320746f206f70656e2e00000060448201526064016103eb565b600c54336000908152600960205260409081902054905163f030210760e01b81526001600160a01b039092169163f030210791610b979160040190815260200190565b60206040518083038186803b158015610baf57600080fd5b505afa158015610bc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be79190612283565b610c3f5760405162461bcd60e51b815260206004820152602360248201527f52616e646f6d206e756d626572206e6f742072656164792c207472792061676160448201526234b71760e91b60648201526084016103eb565b600654600090819067ffffffffffffffff811115610c5f57610c5f6128d0565b604051908082528060200260200182016040528015610c88578160200160208202803683370190505b50600c5433600090815260096020526040808220549051634ad30a7560e01b81526004810191909152929350916001600160a01b0390911690634ad30a759060240160206040518083038186803b158015610ce257600080fd5b505afa158015610cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1a919061233c565b905060005b336000908152600a6020526040902054610d3a906002612791565b811015610e8a5760408051602080820185905281830184905282518083038401815260609092019092528051910120610d76906103e89061287a565b9350600a841015610db15782600781518110610d9457610d946128ba565b602002602001018051809190610da99061285f565b905250610e78565b6101f4841015610dce5782600681518110610d9457610d946128ba565b61026c841015610deb5782600581518110610d9457610d946128ba565b6102d0841015610e085782600481518110610d9457610d946128ba565b61033e841015610e255782600381518110610d9457610d946128ba565b61038e841015610e425782600281518110610d9457610d946128ba565b6103e8841015610e785782600181518110610e5f57610e5f6128ba565b602002602001018051809190610e749061285f565b9052505b80610e828161285f565b915050610d1f565b50336000818152600a60205260409020547f0332c05e90196393f9b80c6e7a6b222fa5edcc767f8f88fc664d77a91738ac1e918491610eca906002612791565b604051610ed99392919061257b565b60405180910390a1336000908152600a6020526040902054610efc906002612791565b60076000828254610f0d9190612765565b9091555050336000818152600a60209081526040808320839055600982528083209290925560068054835181840281018401909452808452610f95949392830182828015610f7a57602002820191906000526020600020905b815481526020019060010190808311610f66575b50505050508460405180602001604052806000815250611907565b505050565b600b546040516370a0823160e01b815261dead60048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610fe057600080fd5b505afa158015610ff4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611018919061233c565b905060005b611028836002612791565b8110156110ce57600b546040516323b872dd60e01b815233600482015261dead6024820152600160448201526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561108357600080fd5b505af1158015611097573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110bb9190612283565b50806110c68161285f565b91505061101d565b50600b546040516370a0823160e01b815261dead60048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561111457600080fd5b505afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061233c565b611157836002612791565b6111619083612765565b146111ae5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e742050484154207472616e7366657265640000000060448201526064016103eb565b60408051338152602081018490527fac63360672390dd9b8fdba3affc94ff7b4232990915a7dc056239916250837b0910160405180910390a16106c6336000846040518060200160405280600081525061169b565b336001600160a01b038316141561126e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016103eb565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112e2611e73565b6112ea611e73565b60005b6112f960076001612765565b8110156113545761130a8482610383565b82826008811061131c5761131c6128ba565b602002015161132b9190612765565b82826008811061133d5761133d6128ba565b60200201528061134c8161285f565b9150506112ed565b5092915050565b6001600160a01b0385163314806113775750611377853361031c565b6113d55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016103eb565b61075a8585858585611a52565b6003546001600160a01b031633146113f957600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b60608161143f5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561146957806114538161285f565b91506114629050600a8361277d565b9150611443565b60008167ffffffffffffffff811115611484576114846128d0565b6040519080825280601f01601f1916602001820160405280156114ae576020820181803683370190505b5090505b8415611519576114c36001836127b0565b91506114d0600a8661287a565b6114db906030612765565b60f81b8183815181106114f0576114f06128ba565b60200101906001600160f81b031916908160001a905350611512600a8661277d565b94506114b2565b949350505050565b6001600160a01b0383166115835760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016103eb565b336115b38185600061159487611b6f565b61159d87611b6f565b5050604080516020810190915260009052505050565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156116305760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016103eb565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b0384166116c15760405162461bcd60e51b81526004016103eb90612700565b336116db816000876116d288611b6f565b61075a88611b6f565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061170b908490612765565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461075a81600087878787611bba565b815183511461178c5760405162461bcd60e51b81526004016103eb906126b8565b6001600160a01b0384166117b25760405162461bcd60e51b81526004016103eb90612629565b3360005b84518110156118995760008582815181106117d3576117d36128ba565b6020026020010151905060008583815181106117f1576117f16128ba565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156118415760405162461bcd60e51b81526004016103eb9061266e565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061187e908490612765565b92505081905550505050806118929061285f565b90506117b6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118e99291906125a9565b60405180910390a46118ff818787878787611d25565b505050505050565b6001600160a01b03841661192d5760405162461bcd60e51b81526004016103eb90612700565b815183511461194e5760405162461bcd60e51b81526004016103eb906126b8565b3360005b84518110156119ea5783818151811061196d5761196d6128ba565b602002602001015160008087848151811061198a5761198a6128ba565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546119d29190612765565b909155508190506119e28161285f565b915050611952565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611a3b9291906125a9565b60405180910390a461075a81600087878787611d25565b6001600160a01b038416611a785760405162461bcd60e51b81526004016103eb90612629565b33611a888187876116d288611b6f565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611ac95760405162461bcd60e51b81526004016103eb9061266e565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611b06908490612765565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611b66828888888888611bba565b50505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611ba957611ba96128ba565b602090810291909101015292915050565b6001600160a01b0384163b156118ff5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611bfe90899089908890889088906004016124f1565b602060405180830381600087803b158015611c1857600080fd5b505af1925050508015611c48575060408051601f3d908101601f19168201909252611c45918101906122bd565b60015b611cf557611c546128e6565b806308c379a01415611c8e5750611c69612902565b80611c745750611c90565b8060405162461bcd60e51b81526004016103eb91906125ce565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016103eb565b6001600160e01b0319811663f23a6e6160e01b14611b665760405162461bcd60e51b81526004016103eb906125e1565b6001600160a01b0384163b156118ff5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611d699089908990889088908890600401612493565b602060405180830381600087803b158015611d8357600080fd5b505af1925050508015611db3575060408051601f3d908101601f19168201909252611db0918101906122bd565b60015b611dbf57611c546128e6565b6001600160e01b0319811663bc197c8160e01b14611b665760405162461bcd60e51b81526004016103eb906125e1565b828054611dfb906127f7565b90600052602060002090601f016020900481019282611e1d5760008555611e63565b82601f10611e3657805160ff1916838001178555611e63565b82800160010185558215611e63579182015b82811115611e63578251825591602001919060010190611e48565b50611e6f929150611e92565b5090565b6040518061010001604052806008906020820280368337509192915050565b5b80821115611e6f5760008155600101611e93565b600067ffffffffffffffff831115611ec157611ec16128d0565b604051611ed8601f8501601f191660200182612832565b809150838152848484011115611eed57600080fd5b83836020830137600060208583010152509392505050565b80356001600160a01b0381168114611f1c57600080fd5b919050565b600082601f830112611f3257600080fd5b81356020611f3f82612741565b604051611f4c8282612832565b8381528281019150858301600585901b87018401881015611f6c57600080fd5b60005b85811015611f8b57813584529284019290840190600101611f6f565b5090979650505050505050565b600082601f830112611fa957600080fd5b611fb883833560208501611ea7565b9392505050565b600060208284031215611fd157600080fd5b611fb882611f05565b60008060408385031215611fed57600080fd5b611ff683611f05565b915061200460208401611f05565b90509250929050565b600080600080600060a0868803121561202557600080fd5b61202e86611f05565b945061203c60208701611f05565b9350604086013567ffffffffffffffff8082111561205957600080fd5b61206589838a01611f21565b9450606088013591508082111561207b57600080fd5b61208789838a01611f21565b9350608088013591508082111561209d57600080fd5b506120aa88828901611f98565b9150509295509295909350565b600080600080600060a086880312156120cf57600080fd5b6120d886611f05565b94506120e660208701611f05565b93506040860135925060608601359150608086013567ffffffffffffffff81111561211057600080fd5b6120aa88828901611f98565b6000806040838503121561212f57600080fd5b61213883611f05565b915060208301356121488161298c565b809150509250929050565b6000806040838503121561216657600080fd5b61216f83611f05565b946020939093013593505050565b6000806040838503121561219057600080fd5b823567ffffffffffffffff808211156121a857600080fd5b818501915085601f8301126121bc57600080fd5b813560206121c982612741565b6040516121d68282612832565b8381528281019150858301600585901b870184018b10156121f657600080fd5b600096505b848710156122205761220c81611f05565b8352600196909601959183019183016121fb565b509650508601359250508082111561223757600080fd5b5061224485828601611f21565b9150509250929050565b60006020828403121561226057600080fd5b813567ffffffffffffffff81111561227757600080fd5b61151984828501611f21565b60006020828403121561229557600080fd5b8151611fb88161298c565b6000602082840312156122b257600080fd5b8135611fb88161299d565b6000602082840312156122cf57600080fd5b8151611fb88161299d565b6000602082840312156122ec57600080fd5b813567ffffffffffffffff81111561230357600080fd5b8201601f8101841361231457600080fd5b61151984823560208401611ea7565b60006020828403121561233557600080fd5b5035919050565b60006020828403121561234e57600080fd5b5051919050565b600081518084526020808501945080840160005b8381101561238557815187529582019590820190600101612369565b509495945050505050565b600081518084526123a88160208601602086016127c7565b601f01601f19169290920160200192915050565b600081516123ce8185602086016127c7565b9290920192915050565b600080845481600182811c9150808316806123f457607f831692505b602080841082141561241457634e487b7160e01b86526022600452602486fd5b818015612428576001811461243957612466565b60ff19861689528489019650612466565b60008b81526020902060005b8681101561245e5781548b820152908501908301612445565b505084890196505b50505050505061248a61247982866123bc565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0386811682528516602082015260a0604082018190526000906124bf90830186612355565b82810360608401526124d18186612355565b905082810360808401526124e58185612390565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061252b90830184612390565b979650505050505050565b6101008101818360005b600881101561255f578151835260209283019290910190600101612540565b50505092915050565b602081526000611fb86020830184612355565b60608152600061258e6060830186612355565b6001600160a01b039490941660208301525060400152919050565b6040815260006125bc6040830185612355565b828103602084015261248a8185612355565b602081526000611fb86020830184612390565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736040820152607360f81b606082015260800190565b600067ffffffffffffffff82111561275b5761275b6128d0565b5060051b60200190565b600082198211156127785761277861288e565b500190565b60008261278c5761278c6128a4565b500490565b60008160001904831182151516156127ab576127ab61288e565b500290565b6000828210156127c2576127c261288e565b500390565b60005b838110156127e25781810151838201526020016127ca565b838111156127f1576000848401525b50505050565b600181811c9082168061280b57607f821691505b6020821081141561282c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff81118282101715612858576128586128d0565b6040525050565b60006000198214156128735761287361288e565b5060010190565b600082612889576128896128a4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d11156128ff5760046000803e5060005160e01c5b90565b600060443d10156129105790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561294057505050505090565b82850191508151818111156129585750505050505090565b843d87010160208285010111156129725750505050505090565b61298160208286010187612832565b509095945050505050565b801515811461299a57600080fd5b50565b6001600160e01b03198116811461299a57600080fdfea2646970667358221220053ecfbcb66d31e79871c1a1bc0074be85f762c33373e1ff88b70034f6318e4864736f6c634300080700330000000000000000000000008e79c8607a28fe1ec3527991c89f1d9e36d1bad900000000000000000000000069b2cd28b205b47c8ba427e111dd486f9c461b57

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

0000000000000000000000008e79c8607a28fe1ec3527991c89f1d9e36d1bad900000000000000000000000069b2cd28b205b47c8ba427e111dd486f9c461b57

-----Decoded View---------------
Arg [0] : _randomizer (address): 0x8e79c8607a28fe1ec3527991c89f1d9e36d1bad9
Arg [1] : _phat (address): 0x69b2cd28b205b47c8ba427e111dd486f9c461b57

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008e79c8607a28fe1ec3527991c89f1d9e36d1bad9
Arg [1] : 00000000000000000000000069b2cd28b205b47c8ba427e111dd486f9c461b57


Deployed ByteCode Sourcemap

39279:5451:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22624:231;;;;;;:::i;:::-;;:::i;:::-;;;22918:25:1;;;22906:2;22891:18;22624:231:0;;;;;;;;21647:310;;;;;;:::i;:::-;;:::i;:::-;;;13806:14:1;;13799:22;13781:41;;13769:2;13754:18;21647:310:0;13641:187:1;39376:18:0;;;:::i;:::-;;;;;;;:::i;44429:298::-;;;;;;:::i;:::-;;:::i;39823:29::-;;;;;;43826:595;;;;;;:::i;:::-;;:::i;:::-;;24719:442;;;;;;:::i;:::-;;:::i;39897:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;39999:23;;;;;-1:-1:-1;;;;;39999:23:0;;;;;;-1:-1:-1;;;;;9864:32:1;;;9846:51;;9834:2;9819:18;39999:23:0;9700:203:1;39859:29:0;;;;;;23021:524;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;40649:110::-;;;;;;:::i;:::-;;:::i;41434:491::-;;;;;;:::i;:::-;;:::i;41965:1591::-;;;:::i;40913:467::-;;;;;;:::i;:::-;;:::i;39311:20::-;;;;;-1:-1:-1;;;;;39311:20:0;;;23618:311;;;;;;:::i;:::-;;:::i;43564:254::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39945:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;24001:168;;;;;;:::i;:::-;-1:-1:-1;;;;;24124:27:0;;;24100:4;24124:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;24001:168;40029:29;;;;;-1:-1:-1;;;;;40029:29:0;;;24241:401;;;;;;:::i;:::-;;:::i;40767:98::-;;;;;;:::i;:::-;;:::i;22624:231::-;22710:7;-1:-1:-1;;;;;22738:21:0;;22730:77;;;;-1:-1:-1;;;22730:77:0;;15538:2:1;22730:77:0;;;15520:21:1;15577:2;15557:18;;;15550:30;15616:34;15596:18;;;15589:62;-1:-1:-1;;;15667:18:1;;;15660:41;15718:19;;22730:77:0;;;;;;;;;-1:-1:-1;22825:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;22825:22:0;;;;;;;;;;;;22624:231::o;21647:310::-;21749:4;-1:-1:-1;;;;;;21786:41:0;;-1:-1:-1;;;21786:41:0;;:110;;-1:-1:-1;;;;;;;21844:52:0;;-1:-1:-1;;;21844:52:0;21786:110;:163;;;-1:-1:-1;;;;;;;;;;20571:40:0;;;21913:36;21766:183;21647:310;-1:-1:-1;;21647:310:0:o;39376:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44429:298::-;44485:13;44595:16;44634:21;44651:3;44634:16;:21::i;:::-;44556:148;;;;;;;;;:::i;:::-;;;;;;;;;;;;;44511:208;;44429:298;;;:::o;43826:595::-;43896:11;44026:1;44009:130;39723:1;44029:2;:10;44009:130;;44073:4;44078:2;44073:8;;;;;;;;:::i;:::-;;;;;;;44067:3;:14;;;;:::i;:::-;44061:20;;44096:31;44102:10;44114:2;44118:4;44123:2;44118:8;;;;;;;;:::i;:::-;;;;;;;44096:5;:31::i;:::-;44041:4;;;;:::i;:::-;;;;44009:130;;;;44163:1;44157:3;:7;44149:55;;;;-1:-1:-1;;;44149:55:0;;17110:2:1;44149:55:0;;;17092:21:1;17149:2;17129:18;;;17122:30;17188:34;17168:18;;;17161:62;-1:-1:-1;;;17239:18:1;;;17232:33;17282:19;;44149:55:0;16908:399:1;44149:55:0;44223:7;44229:1;44223:3;:7;:::i;:::-;:12;44215:56;;;;-1:-1:-1;;;44215:56:0;;20983:2:1;44215:56:0;;;20965:21:1;21022:2;21002:18;;;20995:30;21061:33;21041:18;;;21034:61;21112:18;;44215:56:0;20781:355:1;44215:56:0;44289:42;44309:4;44315:10;44327:3;44289:42;;;;;;;;:::i;:::-;;;;;;;;44358:3;44344:10;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;44374:37:0;;-1:-1:-1;44380:10:0;39438:1;44401:5;44405:1;44401:3;:5;:::i;:::-;44374:37;;;;;;;;;;;;:5;:37::i;:::-;43885:536;43826:595;:::o;24719:442::-;-1:-1:-1;;;;;24952:20:0;;19524:10;24952:20;;:60;;-1:-1:-1;24976:36:0;24993:4;19524:10;24001:168;:::i;24976:36::-;24930:160;;;;-1:-1:-1;;;24930:160:0;;18635:2:1;24930:160:0;;;18617:21:1;18674:2;18654:18;;;18647:30;18713:34;18693:18;;;18686:62;-1:-1:-1;;;18764:18:1;;;18757:48;18822:19;;24930:160:0;18433:414:1;24930:160:0;25101:52;25124:4;25130:2;25134:3;25139:7;25148:4;25101:22;:52::i;:::-;24719:442;;;;;:::o;23021:524::-;23177:16;23238:3;:10;23219:8;:15;:29;23211:83;;;;-1:-1:-1;;;23211:83:0;;21753:2:1;23211:83:0;;;21735:21:1;21792:2;21772:18;;;21765:30;21831:34;21811:18;;;21804:62;-1:-1:-1;;;21882:18:1;;;21875:39;21931:19;;23211:83:0;21551:405:1;23211:83:0;23307:30;23354:8;:15;23340:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23340:30:0;;23307:63;;23388:9;23383:122;23407:8;:15;23403:1;:19;23383:122;;;23463:30;23473:8;23482:1;23473:11;;;;;;;;:::i;:::-;;;;;;;23486:3;23490:1;23486:6;;;;;;;;:::i;:::-;;;;;;;23463:9;:30::i;:::-;23444:13;23458:1;23444:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;23424:3;;;:::i;:::-;;;23383:122;;;-1:-1:-1;23524:13:0;23021:524;-1:-1:-1;;;23021:524:0:o;40649:110::-;40394:5;;-1:-1:-1;;;;;40394:5:0;40380:10;:19;40372:28;;;;;;40724:27;;::::1;::::0;:16:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;41434:491::-:0;41531:6;41497:30;41507:10;39438:1;41497:9;:30::i;:::-;:40;;41489:82;;;;-1:-1:-1;;;41489:82:0;;20221:2:1;41489:82:0;;;20203:21:1;20260:2;20240:18;;;20233:30;20299:31;20279:18;;;20272:59;20348:18;;41489:82:0;20019:353:1;41489:82:0;41597:10;41590:18;;;;:6;:18;;;;;;:23;41582:59;;;;-1:-1:-1;;;41582:59:0;;19054:2:1;41582:59:0;;;19036:21:1;19093:2;19073:18;;;19066:30;-1:-1:-1;;;19112:18:1;;;19105:53;19175:18;;41582:59:0;18852:347:1;41582:59:0;41671:10;41660:22;;;;:10;:22;;;;;;:27;41652:63;;;;-1:-1:-1;;;41652:63:0;;19054:2:1;41652:63:0;;;19036:21:1;19093:2;19073:18;;;19066:30;-1:-1:-1;;;19112:18:1;;;19105:53;19175:18;;41652:63:0;18852:347:1;41652:63:0;41728:34;41734:10;39438:1;41755:6;41728:5;:34::i;:::-;41784:10;41773:22;;;;:10;:22;;;;;;;;:31;;;41836:10;;:32;;-1:-1:-1;;;41836:32:0;;;;-1:-1:-1;;;;;41836:10:0;;;;:30;;:32;;;;;41773:22;;41836:32;;;;;;;;;:10;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41822:10;41815:18;;;;:6;:18;;;;;;;;;:53;;;;41886:31;;11866:51:1;;;11933:18;;;11926:34;;;41886:31:0;;11839:18:1;41886:31:0;;;;;;;41434:491;:::o;41965:1591::-;42026:10;42040:1;42015:22;;;:10;:22;;;;;;42007:55;;;;-1:-1:-1;;;42007:55:0;;16765:2:1;42007:55:0;;;16747:21:1;16804:2;16784:18;;;16777:30;-1:-1:-1;;;16823:18:1;;;16816:46;16879:18;;42007:55:0;16563:340:1;42007:55:0;42088:10;42081:18;;;;:6;:18;;;;;;42073:65;;;;-1:-1:-1;;;42073:65:0;;17514:2:1;42073:65:0;;;17496:21:1;17553:2;17533:18;;;17526:30;17592:31;17572:18;;;17565:59;17641:18;;42073:65:0;17312:353:1;42073:65:0;42157:10;;42189;42157;42182:18;;;:6;:18;;;;;;;;42157:44;;-1:-1:-1;;;42157:44:0;;-1:-1:-1;;;;;42157:10:0;;;;:24;;:44;;;;22918:25:1;;;22906:2;22891:18;;22772:177;42157:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42149:92;;;;-1:-1:-1;;;42149:92:0;;20579:2:1;42149:92:0;;;20561:21:1;20618:2;20598:18;;;20591:30;20657:34;20637:18;;;20630:62;-1:-1:-1;;;20708:18:1;;;20701:33;20751:19;;42149:92:0;20377:399:1;42149:92:0;42328:3;:10;42254:17;;;;42314:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42314:25:0;-1:-1:-1;42367:10:0;;42404;42352:12;42397:18;;;:6;:18;;;;;;;42367:49;;-1:-1:-1;;;42367:49:0;;;;;22918:25:1;;;;42284:55:0;;-1:-1:-1;42352:12:0;-1:-1:-1;;;;;42367:10:0;;;;:29;;22891:18:1;;42367:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;42352:64;;42434:9;42429:864;42464:10;42453:22;;;;:10;:22;;;;;;:24;;42476:1;42453:24;:::i;:::-;42449:1;:28;42429:864;;;42529:19;;;;;;;23128:25:1;;;23169:18;;;23162:34;;;42529:19:0;;;;;;;;;23101:18:1;;;;42529:19:0;;;42519:30;;;;;42511:46;;42553:4;;42511:46;:::i;:::-;42499:58;;42588:2;42576:9;:14;42573:709;;;42621:10;39723:1;42621:16;;;;;;;;:::i;:::-;;;;;;:18;;;;;;;;:::i;:::-;;;-1:-1:-1;42573:709:0;;;42689:3;42677:9;:15;42674:608;;;42726:10;39683:1;42726:18;;;;;;;;:::i;42674:608::-;42796:3;42784:9;:15;42781:501;;;42831:10;39641:1;42831:16;;;;;;;;:::i;42781:501::-;42899:3;42887:9;:15;42884:398;;;42935:10;39601:1;42935:17;;;;;;;;:::i;42884:398::-;43004:3;42992:9;:15;42989:293;;;43041:10;39560:1;43041:18;;;;;;;;:::i;42989:293::-;43111:3;43099:9;:15;43096:186;;;43144:10;39518:1;43144:15;;;;;;;;:::i;43096:186::-;43211:4;43199:9;:16;43196:86;;;43247:10;39479:1;43247:17;;;;;;;;:::i;:::-;;;;;;:19;;;;;;;;:::i;:::-;;;-1:-1:-1;43196:86:0;42479:3;;;;:::i;:::-;;;;42429:864;;;-1:-1:-1;43333:10:0;43345:22;;;;:10;:22;;;;;;43310:60;;43321:10;;43345:24;;43368:1;43345:24;:::i;:::-;43310:60;;;;;;;;:::i;:::-;;;;;;;;43408:10;43397:22;;;;:10;:22;;;;;;:24;;43420:1;43397:24;:::i;:::-;43383:10;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;;43445:10:0;43459:1;43434:22;;;:10;:22;;;;;;;;:26;;;43471:6;:18;;;;;:22;;;;43529:3;43506:42;;;;;;;;;;;;;;;;;;;43445:10;43506:42;;;43529:3;43506:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43534:10;43506:42;;;;;;;;;;;;:10;:42::i;:::-;41994:1562;;;41965:1591::o;40913:467::-;40987:9;;:36;;-1:-1:-1;;;40987:36:0;;41015:6;40987:36;;;9846:51:1;40969:15:0;;-1:-1:-1;;;;;40987:9:0;;:19;;9819:18:1;;40987:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40969:54;;41040:9;41036:118;41059:8;:6;41066:1;41059:8;:::i;:::-;41055:1;:12;41036:118;;;41088:9;;:54;;-1:-1:-1;;;41088:54:0;;41111:10;41088:54;;;10987:34:1;41131:6:0;11037:18:1;;;11030:43;41088:9:0;11089:18:1;;;11082:34;-1:-1:-1;;;;;41088:9:0;;;;:22;;10922:18:1;;41088:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;41069:3:0;;;;:::i;:::-;;;;41036:118;;;-1:-1:-1;41196:9:0;;:36;;-1:-1:-1;;;41196:36:0;;41224:6;41196:36;;;9846:51:1;-1:-1:-1;;;;;41196:9:0;;;;:19;;9819:18:1;;41196:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41184:8;:6;41191:1;41184:8;:::i;:::-;41174:18;;:7;:18;:::i;:::-;:58;41166:99;;;;-1:-1:-1;;;41166:99:0;;17872:2:1;41166:99:0;;;17854:21:1;17911:2;17891:18;;;17884:30;17950;17930:18;;;17923:58;17998:18;;41166:99:0;17670:352:1;41166:99:0;41291:32;;;41304:10;11866:51:1;;11948:2;11933:18;;11926:34;;;41291:32:0;;11839:18:1;41291:32:0;;;;;;;41334:38;41340:10;39438:1;41361:6;41334:38;;;;;;;;;;;;:5;:38::i;23618:311::-;19524:10;-1:-1:-1;;;;;23721:24:0;;;;23713:78;;;;-1:-1:-1;;;23713:78:0;;21343:2:1;23713:78:0;;;21325:21:1;21382:2;21362:18;;;21355:30;21421:34;21401:18;;;21394:62;-1:-1:-1;;;21472:18:1;;;21465:39;21521:19;;23713:78:0;21141:405:1;23713:78:0;19524:10;23804:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23804:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23804:53:0;;;;;;;;;;23873:48;;13781:41:1;;;23804:42:0;;19524:10;23873:48;;13754:18:1;23873:48:0;;;;;;;23618:311;;:::o;43564:254::-;43617:17;;:::i;:::-;43646:27;;:::i;:::-;43688:9;43684:104;43707:6;39723:1;43712;43707:6;:::i;:::-;43703:1;:10;43684:104;;;43755:21;43765:7;43774:1;43755:9;:21::i;:::-;43745:4;43750:1;43745:7;;;;;;;:::i;:::-;;;;;:31;;;;:::i;:::-;43735:4;43740:1;43735:7;;;;;;;:::i;:::-;;;;:41;43715:3;;;;:::i;:::-;;;;43684:104;;;-1:-1:-1;43805:4:0;43564:254;-1:-1:-1;;43564:254:0:o;24241:401::-;-1:-1:-1;;;;;24449:20:0;;19524:10;24449:20;;:60;;-1:-1:-1;24473:36:0;24490:4;19524:10;24001:168;:::i;24473:36::-;24427:151;;;;-1:-1:-1;;;24427:151:0;;16355:2:1;24427:151:0;;;16337:21:1;16394:2;16374:18;;;16367:30;16433:34;16413:18;;;16406:62;-1:-1:-1;;;16484:18:1;;;16477:39;16533:19;;24427:151:0;16153:405:1;24427:151:0;24589:45;24607:4;24613:2;24617;24621:6;24629:4;24589:17;:45::i;40767:98::-;40394:5;;-1:-1:-1;;;;;40394:5:0;40380:10;:19;40372:28;;;;;;40841:5:::1;:16:::0;;-1:-1:-1;;;;;;40841:16:0::1;-1:-1:-1::0;;;;;40841:16:0;;;::::1;::::0;;;::::1;::::0;;40767:98::o;36245:723::-;36301:13;36522:10;36518:53;;-1:-1:-1;;36549:10:0;;;;;;;;;;;;-1:-1:-1;;;36549:10:0;;;;;36245:723::o;36518:53::-;36596:5;36581:12;36637:78;36644:9;;36637:78;;36670:8;;;;:::i;:::-;;-1:-1:-1;36693:10:0;;-1:-1:-1;36701:2:0;36693:10;;:::i;:::-;;;36637:78;;;36725:19;36757:6;36747:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36747:17:0;;36725:39;;36775:154;36782:10;;36775:154;;36809:11;36819:1;36809:11;;:::i;:::-;;-1:-1:-1;36878:10:0;36886:2;36878:5;:10;:::i;:::-;36865:24;;:2;:24;:::i;:::-;36852:39;;36835:6;36842;36835:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;36835:56:0;;;;;;;;-1:-1:-1;36906:11:0;36915:2;36906:11;;:::i;:::-;;;36775:154;;;36953:6;36245:723;-1:-1:-1;;;;36245:723:0:o;31159:675::-;-1:-1:-1;;;;;31289:21:0;;31281:69;;;;-1:-1:-1;;;31281:69:0;;19406:2:1;31281:69:0;;;19388:21:1;19445:2;19425:18;;;19418:30;19484:34;19464:18;;;19457:62;-1:-1:-1;;;19535:18:1;;;19528:33;19578:19;;31281:69:0;19204:399:1;31281:69:0;19524:10;31407:105;19524:10;31438:7;31363:16;31459:21;31477:2;31459:17;:21::i;:::-;31482:25;31500:6;31482:17;:25::i;:::-;-1:-1:-1;;31407:105:0;;;;;;;;;-1:-1:-1;31407:105:0;;-1:-1:-1;;;26803:1074:0;31407:105;31525:22;31550:13;;;;;;;;;;;-1:-1:-1;;;;;31550:22:0;;;;;;;;;;31591:24;;;;31583:73;;;;-1:-1:-1;;;31583:73:0;;15950:2:1;31583:73:0;;;15932:21:1;15989:2;15969:18;;;15962:30;16028:34;16008:18;;;16001:62;-1:-1:-1;;;16079:18:1;;;16072:34;16123:19;;31583:73:0;15748:400:1;31583:73:0;31692:9;:13;;;;;;;;;;;-1:-1:-1;;;;;31692:22:0;;;;;;;;;;;;31717:23;;;31692:48;;31769:57;;23128:25:1;;;23169:18;;;23162:34;;;31692:22:0;;31769:57;;;;;;23101:18:1;31769:57:0;;;;;;;31270:564;;31159:675;;;:::o;29210:599::-;-1:-1:-1;;;;;29368:21:0;;29360:67;;;;-1:-1:-1;;;29360:67:0;;;;;;;:::i;:::-;19524:10;29484:107;19524:10;29440:16;29527:7;29536:21;29554:2;29536:17;:21::i;:::-;29559:25;29577:6;29559:17;:25::i;29484:107::-;29604:9;:13;;;;;;;;;;;-1:-1:-1;;;;;29604:22:0;;;;;;;;;:32;;29630:6;;29604:9;:32;;29630:6;;29604:32;:::i;:::-;;;;-1:-1:-1;;29652:57:0;;;23128:25:1;;;23184:2;23169:18;;23162:34;;;-1:-1:-1;;;;;29652:57:0;;;;29685:1;;29652:57;;;;;;23101:18:1;29652:57:0;;;;;;;29722:79;29753:8;29771:1;29775:7;29784:2;29788:6;29796:4;29722:30;:79::i;26803:1074::-;27030:7;:14;27016:3;:10;:28;27008:81;;;;-1:-1:-1;;;27008:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;27108:16:0;;27100:66;;;;-1:-1:-1;;;27100:66:0;;;;;;;:::i;:::-;19524:10;27179:16;27296:421;27320:3;:10;27316:1;:14;27296:421;;;27352:10;27365:3;27369:1;27365:6;;;;;;;;:::i;:::-;;;;;;;27352:19;;27386:14;27403:7;27411:1;27403:10;;;;;;;;:::i;:::-;;;;;;;;;;;;27430:19;27452:13;;;;;;;;;;-1:-1:-1;;;;;27452:19:0;;;;;;;;;;;;27403:10;;-1:-1:-1;27494:21:0;;;;27486:76;;;;-1:-1:-1;;;27486:76:0;;;;;;;:::i;:::-;27606:9;:13;;;;;;;;;;;-1:-1:-1;;;;;27606:19:0;;;;;;;;;;27628:20;;;27606:42;;27678:17;;;;;;;:27;;27628:20;;27606:9;27678:27;;27628:20;;27678:27;:::i;:::-;;;;;;;;27337:380;;;27332:3;;;;:::i;:::-;;;27296:421;;;;27764:2;-1:-1:-1;;;;;27734:47:0;27758:4;-1:-1:-1;;;;;27734:47:0;27748:8;-1:-1:-1;;;;;27734:47:0;;27768:3;27773:7;27734:47;;;;;;;:::i;:::-;;;;;;;;27794:75;27830:8;27840:4;27846:2;27850:3;27855:7;27864:4;27794:35;:75::i;:::-;26997:880;26803:1074;;;;;:::o;30165:735::-;-1:-1:-1;;;;;30343:16:0;;30335:62;;;;-1:-1:-1;;;30335:62:0;;;;;;;:::i;:::-;30430:7;:14;30416:3;:10;:28;30408:81;;;;-1:-1:-1;;;30408:81:0;;;;;;;:::i;:::-;19524:10;30502:16;30625:103;30649:3;:10;30645:1;:14;30625:103;;;30706:7;30714:1;30706:10;;;;;;;;:::i;:::-;;;;;;;30681:9;:17;30691:3;30695:1;30691:6;;;;;;;;:::i;:::-;;;;;;;30681:17;;;;;;;;;;;:21;30699:2;-1:-1:-1;;;;;30681:21:0;-1:-1:-1;;;;;30681:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;30661:3:0;;-1:-1:-1;30661:3:0;;;:::i;:::-;;;;30625:103;;;;30781:2;-1:-1:-1;;;;;30745:53:0;30777:1;-1:-1:-1;;;;;30745:53:0;30759:8;-1:-1:-1;;;;;30745:53:0;;30785:3;30790:7;30745:53;;;;;;;:::i;:::-;;;;;;;;30811:81;30847:8;30865:1;30869:2;30873:3;30878:7;30887:4;30811:35;:81::i;25625:820::-;-1:-1:-1;;;;;25813:16:0;;25805:66;;;;-1:-1:-1;;;25805:66:0;;;;;;;:::i;:::-;19524:10;25928:96;19524:10;25959:4;25965:2;25969:21;25987:2;25969:17;:21::i;25928:96::-;26037:19;26059:13;;;;;;;;;;;-1:-1:-1;;;;;26059:19:0;;;;;;;;;;26097:21;;;;26089:76;;;;-1:-1:-1;;;26089:76:0;;;;;;;:::i;:::-;26201:9;:13;;;;;;;;;;;-1:-1:-1;;;;;26201:19:0;;;;;;;;;;26223:20;;;26201:42;;26265:17;;;;;;;:27;;26223:20;;26201:9;26265:27;;26223:20;;26265:27;:::i;:::-;;;;-1:-1:-1;;26310:46:0;;;23128:25:1;;;23184:2;23169:18;;23162:34;;;-1:-1:-1;;;;;26310:46:0;;;;;;;;;;;;;;23101:18:1;26310:46:0;;;;;;;26369:68;26400:8;26410:4;26416:2;26420;26424:6;26432:4;26369:30;:68::i;:::-;25794:651;;25625:820;;;;;:::o;35721:198::-;35841:16;;;35855:1;35841:16;;;;;;;;;35787;;35816:22;;35841:16;;;;;;;;;;;;-1:-1:-1;35841:16:0;35816:41;;35879:7;35868:5;35874:1;35868:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;35906:5;35721:198;-1:-1:-1;;35721:198:0:o;34140:748::-;-1:-1:-1;;;;;34355:13:0;;12021:20;12069:8;34351:530;;34391:72;;-1:-1:-1;;;34391:72:0;;-1:-1:-1;;;;;34391:38:0;;;;;:72;;34430:8;;34440:4;;34446:2;;34450:6;;34458:4;;34391:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34391:72:0;;;;;;;;-1:-1:-1;;34391:72:0;;;;;;;;;;;;:::i;:::-;;;34387:483;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;34743:6;34736:14;;-1:-1:-1;;;34736:14:0;;;;;;;;:::i;34387:483::-;;;34792:62;;-1:-1:-1;;;34792:62:0;;14708:2:1;34792:62:0;;;14690:21:1;14747:2;14727:18;;;14720:30;14786:34;14766:18;;;14759:62;-1:-1:-1;;;14837:18:1;;;14830:50;14897:19;;34792:62:0;14506:416:1;34387:483:0;-1:-1:-1;;;;;;34513:59:0;;-1:-1:-1;;;34513:59:0;34509:158;;34597:50;;-1:-1:-1;;;34597:50:0;;;;;;;:::i;34896:817::-;-1:-1:-1;;;;;35136:13:0;;12021:20;12069:8;35132:574;;35172:79;;-1:-1:-1;;;35172:79:0;;-1:-1:-1;;;;;35172:43:0;;;;;:79;;35216:8;;35226:4;;35232:3;;35237:7;;35246:4;;35172:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35172:79:0;;;;;;;;-1:-1:-1;;35172:79:0;;;;;;;;;;;;:::i;:::-;;;35168:527;;;;:::i;:::-;-1:-1:-1;;;;;;35333:64:0;;-1:-1:-1;;;35333:64:0;35329:163;;35422:50;;-1:-1:-1;;;35422:50:0;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;14:468:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;183:2;177:9;195:69;252:2;231:15;;-1:-1:-1;;227:29:1;258:4;223:40;177:9;195:69;:::i;:::-;282:6;273:15;;312:6;304;297:22;352:3;343:6;338:3;334:16;331:25;328:45;;;369:1;366;359:12;328:45;419:6;414:3;407:4;399:6;395:17;382:44;474:1;467:4;458:6;450;446:19;442:30;435:41;;14:468;;;;;:::o;487:173::-;555:20;;-1:-1:-1;;;;;604:31:1;;594:42;;584:70;;650:1;647;640:12;584:70;487:173;;;:::o;665:735::-;719:5;772:3;765:4;757:6;753:17;749:27;739:55;;790:1;787;780:12;739:55;826:6;813:20;852:4;875:43;915:2;875:43;:::i;:::-;947:2;941:9;959:31;987:2;979:6;959:31;:::i;:::-;1025:18;;;1059:15;;;;-1:-1:-1;1094:15:1;;;1144:1;1140:10;;;1128:23;;1124:32;;1121:41;-1:-1:-1;1118:61:1;;;1175:1;1172;1165:12;1118:61;1197:1;1207:163;1221:2;1218:1;1215:9;1207:163;;;1278:17;;1266:30;;1316:12;;;;1348;;;;1239:1;1232:9;1207:163;;;-1:-1:-1;1388:6:1;;665:735;-1:-1:-1;;;;;;;665:735:1:o;1405:220::-;1447:5;1500:3;1493:4;1485:6;1481:17;1477:27;1467:55;;1518:1;1515;1508:12;1467:55;1540:79;1615:3;1606:6;1593:20;1586:4;1578:6;1574:17;1540:79;:::i;:::-;1531:88;1405:220;-1:-1:-1;;;1405:220:1:o;1630:186::-;1689:6;1742:2;1730:9;1721:7;1717:23;1713:32;1710:52;;;1758:1;1755;1748:12;1710:52;1781:29;1800:9;1781:29;:::i;1821:260::-;1889:6;1897;1950:2;1938:9;1929:7;1925:23;1921:32;1918:52;;;1966:1;1963;1956:12;1918:52;1989:29;2008:9;1989:29;:::i;:::-;1979:39;;2037:38;2071:2;2060:9;2056:18;2037:38;:::i;:::-;2027:48;;1821:260;;;;;:::o;2086:943::-;2240:6;2248;2256;2264;2272;2325:3;2313:9;2304:7;2300:23;2296:33;2293:53;;;2342:1;2339;2332:12;2293:53;2365:29;2384:9;2365:29;:::i;:::-;2355:39;;2413:38;2447:2;2436:9;2432:18;2413:38;:::i;:::-;2403:48;;2502:2;2491:9;2487:18;2474:32;2525:18;2566:2;2558:6;2555:14;2552:34;;;2582:1;2579;2572:12;2552:34;2605:61;2658:7;2649:6;2638:9;2634:22;2605:61;:::i;:::-;2595:71;;2719:2;2708:9;2704:18;2691:32;2675:48;;2748:2;2738:8;2735:16;2732:36;;;2764:1;2761;2754:12;2732:36;2787:63;2842:7;2831:8;2820:9;2816:24;2787:63;:::i;:::-;2777:73;;2903:3;2892:9;2888:19;2875:33;2859:49;;2933:2;2923:8;2920:16;2917:36;;;2949:1;2946;2939:12;2917:36;;2972:51;3015:7;3004:8;2993:9;2989:24;2972:51;:::i;:::-;2962:61;;;2086:943;;;;;;;;:::o;3034:606::-;3138:6;3146;3154;3162;3170;3223:3;3211:9;3202:7;3198:23;3194:33;3191:53;;;3240:1;3237;3230:12;3191:53;3263:29;3282:9;3263:29;:::i;:::-;3253:39;;3311:38;3345:2;3334:9;3330:18;3311:38;:::i;:::-;3301:48;;3396:2;3385:9;3381:18;3368:32;3358:42;;3447:2;3436:9;3432:18;3419:32;3409:42;;3502:3;3491:9;3487:19;3474:33;3530:18;3522:6;3519:30;3516:50;;;3562:1;3559;3552:12;3516:50;3585:49;3626:7;3617:6;3606:9;3602:22;3585:49;:::i;3645:315::-;3710:6;3718;3771:2;3759:9;3750:7;3746:23;3742:32;3739:52;;;3787:1;3784;3777:12;3739:52;3810:29;3829:9;3810:29;:::i;:::-;3800:39;;3889:2;3878:9;3874:18;3861:32;3902:28;3924:5;3902:28;:::i;:::-;3949:5;3939:15;;;3645:315;;;;;:::o;3965:254::-;4033:6;4041;4094:2;4082:9;4073:7;4069:23;4065:32;4062:52;;;4110:1;4107;4100:12;4062:52;4133:29;4152:9;4133:29;:::i;:::-;4123:39;4209:2;4194:18;;;;4181:32;;-1:-1:-1;;;3965:254:1:o;4224:1219::-;4342:6;4350;4403:2;4391:9;4382:7;4378:23;4374:32;4371:52;;;4419:1;4416;4409:12;4371:52;4459:9;4446:23;4488:18;4529:2;4521:6;4518:14;4515:34;;;4545:1;4542;4535:12;4515:34;4583:6;4572:9;4568:22;4558:32;;4628:7;4621:4;4617:2;4613:13;4609:27;4599:55;;4650:1;4647;4640:12;4599:55;4686:2;4673:16;4708:4;4731:43;4771:2;4731:43;:::i;:::-;4803:2;4797:9;4815:31;4843:2;4835:6;4815:31;:::i;:::-;4881:18;;;4915:15;;;;-1:-1:-1;4950:11:1;;;4992:1;4988:10;;;4980:19;;4976:28;;4973:41;-1:-1:-1;4970:61:1;;;5027:1;5024;5017:12;4970:61;5049:1;5040:10;;5059:169;5073:2;5070:1;5067:9;5059:169;;;5130:23;5149:3;5130:23;:::i;:::-;5118:36;;5091:1;5084:9;;;;;5174:12;;;;5206;;5059:169;;;-1:-1:-1;5247:6:1;-1:-1:-1;;5291:18:1;;5278:32;;-1:-1:-1;;5322:16:1;;;5319:36;;;5351:1;5348;5341:12;5319:36;;5374:63;5429:7;5418:8;5407:9;5403:24;5374:63;:::i;:::-;5364:73;;;4224:1219;;;;;:::o;5448:348::-;5532:6;5585:2;5573:9;5564:7;5560:23;5556:32;5553:52;;;5601:1;5598;5591:12;5553:52;5641:9;5628:23;5674:18;5666:6;5663:30;5660:50;;;5706:1;5703;5696:12;5660:50;5729:61;5782:7;5773:6;5762:9;5758:22;5729:61;:::i;5801:245::-;5868:6;5921:2;5909:9;5900:7;5896:23;5892:32;5889:52;;;5937:1;5934;5927:12;5889:52;5969:9;5963:16;5988:28;6010:5;5988:28;:::i;6051:245::-;6109:6;6162:2;6150:9;6141:7;6137:23;6133:32;6130:52;;;6178:1;6175;6168:12;6130:52;6217:9;6204:23;6236:30;6260:5;6236:30;:::i;6301:249::-;6370:6;6423:2;6411:9;6402:7;6398:23;6394:32;6391:52;;;6439:1;6436;6429:12;6391:52;6471:9;6465:16;6490:30;6514:5;6490:30;:::i;6555:450::-;6624:6;6677:2;6665:9;6656:7;6652:23;6648:32;6645:52;;;6693:1;6690;6683:12;6645:52;6733:9;6720:23;6766:18;6758:6;6755:30;6752:50;;;6798:1;6795;6788:12;6752:50;6821:22;;6874:4;6866:13;;6862:27;-1:-1:-1;6852:55:1;;6903:1;6900;6893:12;6852:55;6926:73;6991:7;6986:2;6973:16;6968:2;6964;6960:11;6926:73;:::i;7010:180::-;7069:6;7122:2;7110:9;7101:7;7097:23;7093:32;7090:52;;;7138:1;7135;7128:12;7090:52;-1:-1:-1;7161:23:1;;7010:180;-1:-1:-1;7010:180:1:o;7195:184::-;7265:6;7318:2;7306:9;7297:7;7293:23;7289:32;7286:52;;;7334:1;7331;7324:12;7286:52;-1:-1:-1;7357:16:1;;7195:184;-1:-1:-1;7195:184:1:o;7384:435::-;7437:3;7475:5;7469:12;7502:6;7497:3;7490:19;7528:4;7557:2;7552:3;7548:12;7541:19;;7594:2;7587:5;7583:14;7615:1;7625:169;7639:6;7636:1;7633:13;7625:169;;;7700:13;;7688:26;;7734:12;;;;7769:15;;;;7661:1;7654:9;7625:169;;;-1:-1:-1;7810:3:1;;7384:435;-1:-1:-1;;;;;7384:435:1:o;7824:257::-;7865:3;7903:5;7897:12;7930:6;7925:3;7918:19;7946:63;8002:6;7995:4;7990:3;7986:14;7979:4;7972:5;7968:16;7946:63;:::i;:::-;8063:2;8042:15;-1:-1:-1;;8038:29:1;8029:39;;;;8070:4;8025:50;;7824:257;-1:-1:-1;;7824:257:1:o;8086:185::-;8128:3;8166:5;8160:12;8181:52;8226:6;8221:3;8214:4;8207:5;8203:16;8181:52;:::i;:::-;8249:16;;;;;8086:185;-1:-1:-1;;8086:185:1:o;8394:1301::-;8671:3;8700:1;8733:6;8727:13;8763:3;8785:1;8813:9;8809:2;8805:18;8795:28;;8873:2;8862:9;8858:18;8895;8885:61;;8939:4;8931:6;8927:17;8917:27;;8885:61;8965:2;9013;9005:6;9002:14;8982:18;8979:38;8976:165;;;-1:-1:-1;;;9040:33:1;;9096:4;9093:1;9086:15;9126:4;9047:3;9114:17;8976:165;9157:18;9184:104;;;;9302:1;9297:320;;;;9150:467;;9184:104;-1:-1:-1;;9217:24:1;;9205:37;;9262:16;;;;-1:-1:-1;9184:104:1;;9297:320;23468:1;23461:14;;;23505:4;23492:18;;9392:1;9406:165;9420:6;9417:1;9414:13;9406:165;;;9498:14;;9485:11;;;9478:35;9541:16;;;;9435:10;;9406:165;;;9410:3;;9600:6;9595:3;9591:16;9584:23;;9150:467;;;;;;;9633:56;9658:30;9684:3;9676:6;9658:30;:::i;:::-;-1:-1:-1;;;8336:20:1;;8381:1;8372:11;;8276:113;9633:56;9626:63;8394:1301;-1:-1:-1;;;;;8394:1301:1:o;9908:826::-;-1:-1:-1;;;;;10305:15:1;;;10287:34;;10357:15;;10352:2;10337:18;;10330:43;10267:3;10404:2;10389:18;;10382:31;;;10230:4;;10436:57;;10473:19;;10465:6;10436:57;:::i;:::-;10541:9;10533:6;10529:22;10524:2;10513:9;10509:18;10502:50;10575:44;10612:6;10604;10575:44;:::i;:::-;10561:58;;10668:9;10660:6;10656:22;10650:3;10639:9;10635:19;10628:51;10696:32;10721:6;10713;10696:32;:::i;:::-;10688:40;9908:826;-1:-1:-1;;;;;;;;9908:826:1:o;11127:560::-;-1:-1:-1;;;;;11424:15:1;;;11406:34;;11476:15;;11471:2;11456:18;;11449:43;11523:2;11508:18;;11501:34;;;11566:2;11551:18;;11544:34;;;11386:3;11609;11594:19;;11587:32;;;11349:4;;11636:45;;11661:19;;11653:6;11636:45;:::i;:::-;11628:53;11127:560;-1:-1:-1;;;;;;;11127:560:1:o;11971:495::-;12151:3;12136:19;;12140:9;12232:6;12109:4;12266:194;12280:4;12277:1;12274:11;12266:194;;;12339:13;;12327:26;;12376:4;12400:12;;;;12435:15;;;;12300:1;12293:9;12266:194;;;12270:3;;;11971:495;;;;:::o;12471:261::-;12650:2;12639:9;12632:21;12613:4;12670:56;12722:2;12711:9;12707:18;12699:6;12670:56;:::i;12737:429::-;12972:2;12961:9;12954:21;12935:4;12992:56;13044:2;13033:9;13029:18;13021:6;12992:56;:::i;:::-;-1:-1:-1;;;;;13084:32:1;;;;13079:2;13064:18;;13057:60;-1:-1:-1;13148:2:1;13133:18;13126:34;12984:64;12737:429;-1:-1:-1;12737:429:1:o;13171:465::-;13428:2;13417:9;13410:21;13391:4;13454:56;13506:2;13495:9;13491:18;13483:6;13454:56;:::i;:::-;13558:9;13550:6;13546:22;13541:2;13530:9;13526:18;13519:50;13586:44;13623:6;13615;13586:44;:::i;14282:219::-;14431:2;14420:9;14413:21;14394:4;14451:44;14491:2;14480:9;14476:18;14468:6;14451:44;:::i;14927:404::-;15129:2;15111:21;;;15168:2;15148:18;;;15141:30;15207:34;15202:2;15187:18;;15180:62;-1:-1:-1;;;15273:2:1;15258:18;;15251:38;15321:3;15306:19;;14927:404::o;18027:401::-;18229:2;18211:21;;;18268:2;18248:18;;;18241:30;18307:34;18302:2;18287:18;;18280:62;-1:-1:-1;;;18373:2:1;18358:18;;18351:35;18418:3;18403:19;;18027:401::o;19608:406::-;19810:2;19792:21;;;19849:2;19829:18;;;19822:30;19888:34;19883:2;19868:18;;19861:62;-1:-1:-1;;;19954:2:1;19939:18;;19932:40;20004:3;19989:19;;19608:406::o;21961:404::-;22163:2;22145:21;;;22202:2;22182:18;;;22175:30;22241:34;22236:2;22221:18;;22214:62;-1:-1:-1;;;22307:2:1;22292:18;;22285:38;22355:3;22340:19;;21961:404::o;22370:397::-;22572:2;22554:21;;;22611:2;22591:18;;;22584:30;22650:34;22645:2;22630:18;;22623:62;-1:-1:-1;;;22716:2:1;22701:18;;22694:31;22757:3;22742:19;;22370:397::o;23207:183::-;23267:4;23300:18;23292:6;23289:30;23286:56;;;23322:18;;:::i;:::-;-1:-1:-1;23367:1:1;23363:14;23379:4;23359:25;;23207:183::o;23521:128::-;23561:3;23592:1;23588:6;23585:1;23582:13;23579:39;;;23598:18;;:::i;:::-;-1:-1:-1;23634:9:1;;23521:128::o;23654:120::-;23694:1;23720;23710:35;;23725:18;;:::i;:::-;-1:-1:-1;23759:9:1;;23654:120::o;23779:168::-;23819:7;23885:1;23881;23877:6;23873:14;23870:1;23867:21;23862:1;23855:9;23848:17;23844:45;23841:71;;;23892:18;;:::i;:::-;-1:-1:-1;23932:9:1;;23779:168::o;23952:125::-;23992:4;24020:1;24017;24014:8;24011:34;;;24025:18;;:::i;:::-;-1:-1:-1;24062:9:1;;23952:125::o;24082:258::-;24154:1;24164:113;24178:6;24175:1;24172:13;24164:113;;;24254:11;;;24248:18;24235:11;;;24228:39;24200:2;24193:10;24164:113;;;24295:6;24292:1;24289:13;24286:48;;;24330:1;24321:6;24316:3;24312:16;24305:27;24286:48;;24082:258;;;:::o;24345:380::-;24424:1;24420:12;;;;24467;;;24488:61;;24542:4;24534:6;24530:17;24520:27;;24488:61;24595:2;24587:6;24584:14;24564:18;24561:38;24558:161;;;24641:10;24636:3;24632:20;24629:1;24622:31;24676:4;24673:1;24666:15;24704:4;24701:1;24694:15;24558:161;;24345:380;;;:::o;24730:249::-;24840:2;24821:13;;-1:-1:-1;;24817:27:1;24805:40;;24875:18;24860:34;;24896:22;;;24857:62;24854:88;;;24922:18;;:::i;:::-;24958:2;24951:22;-1:-1:-1;;24730:249:1:o;24984:135::-;25023:3;-1:-1:-1;;25044:17:1;;25041:43;;;25064:18;;:::i;:::-;-1:-1:-1;25111:1:1;25100:13;;24984:135::o;25124:112::-;25156:1;25182;25172:35;;25187:18;;:::i;:::-;-1:-1:-1;25221:9:1;;25124:112::o;25241:127::-;25302:10;25297:3;25293:20;25290:1;25283:31;25333:4;25330:1;25323:15;25357:4;25354:1;25347:15;25373:127;25434:10;25429:3;25425:20;25422:1;25415:31;25465:4;25462:1;25455:15;25489:4;25486:1;25479:15;25505:127;25566:10;25561:3;25557:20;25554:1;25547:31;25597:4;25594:1;25587:15;25621:4;25618:1;25611:15;25637:127;25698:10;25693:3;25689:20;25686:1;25679:31;25729:4;25726:1;25719:15;25753:4;25750:1;25743:15;25769:179;25804:3;25846:1;25828:16;25825:23;25822:120;;;25892:1;25889;25886;25871:23;-1:-1:-1;25929:1:1;25923:8;25918:3;25914:18;25822:120;25769:179;:::o;25953:671::-;25992:3;26034:4;26016:16;26013:26;26010:39;;;25953:671;:::o;26010:39::-;26076:2;26070:9;-1:-1:-1;;26141:16:1;26137:25;;26134:1;26070:9;26113:50;26192:4;26186:11;26216:16;26251:18;26322:2;26315:4;26307:6;26303:17;26300:25;26295:2;26287:6;26284:14;26281:45;26278:58;;;26329:5;;;;;25953:671;:::o;26278:58::-;26366:6;26360:4;26356:17;26345:28;;26402:3;26396:10;26429:2;26421:6;26418:14;26415:27;;;26435:5;;;;;;25953:671;:::o;26415:27::-;26519:2;26500:16;26494:4;26490:27;26486:36;26479:4;26470:6;26465:3;26461:16;26457:27;26454:69;26451:82;;;26526:5;;;;;;25953:671;:::o;26451:82::-;26542:57;26593:4;26584:6;26576;26572:19;26568:30;26562:4;26542:57;:::i;:::-;-1:-1:-1;26615:3:1;;25953:671;-1:-1:-1;;;;;25953:671:1:o;26629:118::-;26715:5;26708:13;26701:21;26694:5;26691:32;26681:60;;26737:1;26734;26727:12;26681:60;26629:118;:::o;26752:131::-;-1:-1:-1;;;;;;26826:32:1;;26816:43;;26806:71;;26873:1;26870;26863:12

Metadata Hash

ipfs://053ecfbcb66d31e79871c1a1bc0074be85f762c33373e1ff88b70034f6318e48
Loading