Goerli Testnet

Contract

0xA0355346B2DAe8681e5A3a4106fe01f88070038D
Source Code

Overview

ETH Balance

0 ETH

Multi Chain

Multichain Addresses

N/A
Transaction Hash
Method
Block
From
To
Value
0x60c0604085071482023-02-17 11:13:00220 days 8 hrs ago1676632380IN
 Create: CollectivePortraitRegistry
0 ETH0.1135265825.65446235

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

Contract Source Code Verified (Exact Match)

Contract Name:
CollectivePortraitRegistry

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-17
*/

// SPDX-License-Identifier: UNLICENSED

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

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

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

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

// File: @chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol

pragma solidity ^0.8.0;

interface AggregatorV3Interface {
    function decimals() external view returns (uint8);

    function description() external view returns (string memory);

    function version() external view returns (uint256);

    function getRoundData(
        uint80 _roundId
    )
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );

    function latestRoundData()
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        );
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

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

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

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

        address operator = _msgSender();

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

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

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

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

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

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

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

        return array;
    }
}

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

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return
            verifyCallResultFromTarget(
                target,
                success,
                returndata,
                errorMessage
            );
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return
            verifyCallResultFromTarget(
                target,
                success,
                returndata,
                errorMessage
            );
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(
        bytes memory returndata,
        string memory errorMessage
    ) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

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.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

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

// File: collective.sol

pragma solidity ^0.8.0;

contract CollectivePortraitRegistry is
    ERC1155,
    ERC1155Supply,
    Ownable,
    Pausable
{
    /*
    DISCLAIMER: THIS CONTRACT IS CONFIDENTIAL AND SHOULD NOT BE SHARED WITH ANYONE OUTSIDE OF YOUR TEAM.

    This is an early version of the Collective Portrait contract. It has not been audited, but it has been deployed. It is a work in progress.

    */

    /* ETH/USD Oracle price feed through Chainlink, used to calculate the price of a Collective Portrait. Goerli usage. */
    AggregatorV3Interface internal priceFeed;

    /**
     * Network: Goerli
     * Aggregator: ETH/USD
     * Address: 0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e
     */

    constructor() ERC1155("Collective Portrait") {
        priceFeed = AggregatorV3Interface(
            0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e
        );
    }

    /* 
    Function to update the priceFeed by the owner.
    */
    function setPriceFeed(address _priceFeed) public onlyOwner {
        priceFeed = AggregatorV3Interface(_priceFeed);
    }

    /**
     * Returns the price in Wei for a given amount of USD.
     */
    function usdToWei(uint256 _amount) internal view returns (uint256) {
        (, int256 price, , , ) = priceFeed.latestRoundData();
        uint256 adjust_price = uint256(price) * 1e10;
        uint256 usd = _amount * 1e18;
        uint256 rate = (usd * 1e18) / adjust_price;
        return rate;
    }

    /* ERC-1155 contract information for OpenSea */
    string public name = "Collective Portrait";

    /* Portrait Treasury address
     */
    address public treasury = 0x29096202b0c50D4ef060BCd00979b38d438aD2c4;

    /*
    Function to set the treasury address by the owner.
    */
    function setTreasury(address _treasury) public onlyOwner {
        treasury = _treasury;
    }

    /* Function to transfer ownership of the contract to a new address */
    function transferOwnership(address newOwner) public override onlyOwner {
        super.transferOwnership(newOwner);
    }

    /*
    This is a basic structure to keep track of the portraitHash (IPFS CID) and the minimumControlShares. It's the bare minimum to update and govern a Collective Portrait.
    */
    struct Record {
        uint256 portraitId;
        string portraitHash;
        uint256 minimumControlShares;
        uint256 validUntil;
    }

    /*
    Creating human readable names for Collective Portraits such that users can register unique names for their Portraits.
    This mapping stores the records for each name. The name is the key. The value is a struct containing the portraitHash and the minimumControlShares.
    */
    mapping(string => Record) records;

    /*
    This mapping stores the names for each token ID. The token ID is the key. The value is the name.
    The reason this mapping exists is because the ERC1155 standard does not allow for 'id' of type string, it has to be uint256.
    We use the 'id' for ERC1155 functions such as 'balanceOf' and 'balanceOfBatch'.
    */
    mapping(uint256 => string) nameByTokenId;

    // Iteratable data structure to store the holders of a token ID.
    mapping(uint256 => address[]) shareHoldersByTokenId;

    /*
    As 'id' is of type uint256, we have to create an identifier for each token. This is the counter for the token IDs.
    */
    uint256 portraitId;

    /*
    Function to return portraitCount. This is the total amount of Collective Portraits minted.
    */
    function getPortraitCount() public view returns (uint256) {
        return portraitId;
    }

    /* Pause and unpause the contract */
    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    // Get name by token ID
    function getNameByTokenId(
        uint256 _tokenId
    ) public view returns (string memory) {
        require(
            _tokenId == records[nameByTokenId[_tokenId]].portraitId,
            "This token ID is not mapped to a name"
        );
        return nameByTokenId[_tokenId];
    }

    // Get shareholders by token ID
    function getShareHoldersByTokenId(
        uint256 _tokenId
    ) public view returns (address[] memory) {
        require(
            _tokenId == records[nameByTokenId[_tokenId]].portraitId,
            "This token ID is not mapped to a name"
        );
        return shareHoldersByTokenId[_tokenId];
    }

    // Get token ID by name
    function getTokenIdByName(
        string memory _name
    ) public view returns (uint256) {
        return records[_name].portraitId;
    }

    uint256 internal gracePeriod = 90 days;

    function setGracePeriod(uint256 _gracePeriod) public onlyOwner {
        gracePeriod = _gracePeriod;
    }

    function getGracePeriod() public view returns (uint256) {
        return gracePeriod;
    }

    function mintPortrait(
        string memory _name,
        uint256 _shares,
        uint256 _minimumControlShares,
        uint256 _years
    ) public payable whenNotPaused {
        // Require shares to be at least 1
        require(_shares >= 1, "shares can not be less than 1");

        // Require minimumControlShares to be less or equal to the total shares
        require(
            _minimumControlShares <= _shares,
            "minimumControlShares can not be more than the total shares"
        );

        // Require minimumControlShares to be at least 1
        require(
            _minimumControlShares >= 1,
            "minimumControlShares can not be less than 1"
        );

        // Portrait is not within the grace period (this also checks if the name is available)
        require(
            records[_name].validUntil + gracePeriod < block.timestamp,
            "Name is not available"
        );

        // Name can not be longer than 64 characters.
        require(
            bytes(_name).length <= 64,
            "Name can not be longer than 64 characters"
        );

        // Name has to be at least 3 characters.
        require(
            bytes(_name).length >= 3,
            "Name has to be at least 3 characters"
        );

        // Name can only have a-z and 0-9
        require(isAlphaNumeric(_name), "Name can only contain a-z and 0-9");

        // Name can not be an Ethereum address
        require(!isAddress(_name), "Name can not be an Ethereum address");

        // Calculate price
        uint256 price = getPrice(_name, _years);

        // Implement paying for the minting of the Collective Portrait
        require(msg.value >= price, "Not enough ETH sent");

        // Transfer the ETH to the treasury
        payable(treasury).transfer(msg.value);

        // Increment the portraitId by 1, so that the next token ID is unique
        portraitId++;

        // Create a new Collective Portrait record
        records[_name] = Record(
            portraitId,
            "",
            _minimumControlShares,
            block.timestamp + (_years * 365 days)
        );

        // Update the name for the token ID
        nameByTokenId[portraitId] = _name;

        // Update the shareHoldersByTokenId mapping
        shareHoldersByTokenId[portraitId].push(msg.sender);

        // Mint a Collective Portrait with an empty portraitHash
        _mint(msg.sender, portraitId, _shares, "");
    }

    /*
    We override the _beforeTokenTransfer and _afterTokenTransfer function to verify, and keep track of the token balances.
    This means that at least one user has to have the minimumControlShares.
    The functions are used according to the ERC-1155 standard.
    */

    /*
    Override _beforeTokenTransfer to verify the token balances
    https://docs.openzeppelin.com/contracts/4.x/api/token/erc1155#ERC1155-_beforeTokenTransfer-address-address-address-uint256---uint256---bytes-
    */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155, ERC1155Supply) whenNotPaused {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];
            if (
                from != address(0) &&
                id == records[nameByTokenId[id]].portraitId &&
                (balanceOf(from, id) - amount <
                    records[nameByTokenId[id]].minimumControlShares ||
                    balanceOf(to, id) + amount <
                    records[nameByTokenId[id]].minimumControlShares)
            ) {
                bool otherUserHasMinimumControlShares = false;
                for (uint256 j = 0; j < shareHoldersByTokenId[id].length; j++) {
                    address tokenHolder = shareHoldersByTokenId[id][j];
                    if (tokenHolder != from) {
                        if (
                            balanceOf(tokenHolder, id) >=
                            records[nameByTokenId[id]].minimumControlShares
                        ) {
                            otherUserHasMinimumControlShares = true;
                            break;
                        }
                    }
                }
                require(
                    otherUserHasMinimumControlShares,
                    "Can not transfer below minimumControlShares"
                );
            }
        }
    }

    /*
    Override _afterTokenTransfer to update the token balances
    https://docs.openzeppelin.com/contracts/4.x/api/token/erc1155#ERC1155-_afterTokenTransfer-address-address-address-uint256---uint256---bytes-
    */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155) whenNotPaused {
        super._afterTokenTransfer(operator, from, to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            if (from != address(0)) {
                // Remove the address from the shareHoldersByTokenId mapping if the balance is 0
                if (balanceOf(from, id) == 0) {
                    for (
                        uint256 j = 0;
                        j < shareHoldersByTokenId[id].length;
                        j++
                    ) {
                        if (shareHoldersByTokenId[id][j] == from) {
                            delete shareHoldersByTokenId[id][j];
                            break;
                        }
                    }
                }
            }
            if (to != address(0)) {
                // Add the address to the shareHoldersByTokenId mapping if the address is not already in the mapping
                bool isAddressInMapping = false;
                for (uint256 j = 0; j < shareHoldersByTokenId[id].length; j++) {
                    if (shareHoldersByTokenId[id][j] == to) {
                        isAddressInMapping = true;
                        break;
                    }
                }

                if (!isAddressInMapping) {
                    shareHoldersByTokenId[id].push(to);
                }
            }
        }
    }

    /*
    Update the minimumControlShares. This function can only be called by those who have the minimumControlShares.
    */
    function setMinimumControlShares(
        uint256 _id,
        uint256 _minimumControlShares
    ) public whenNotPaused {
        // Require validUntil to be in the future, use block.timestamp
        require(
            records[getNameByTokenId(_id)].validUntil > block.timestamp,
            "This Portrait does not exist or has expired"
        );

        // Require the user to have the minimumControlShares
        require(
            records[getNameByTokenId(_id)].minimumControlShares <=
                balanceOf(msg.sender, _id),
            "You do not have enough shares to update the minimumControlShares"
        );

        // Require minimumControlShares to be less or equal to the total shares
        require(
            _minimumControlShares <= totalSupply(_id),
            "minimumControlShares can not be more than the total shares"
        );

        // Require minimumControlShares to be at least 1
        require(
            _minimumControlShares >= 1,
            "minimumControlShares can not be less than 1"
        );

        // Require the _minimumControlShares not to be more than the current shares of the user
        require(
            _minimumControlShares <= balanceOf(msg.sender, _id),
            "minimumControlShares can not be more than the current shares of the user"
        );

        // Require the new minimumControlShares to be different from the current minimumControlShares
        require(
            _minimumControlShares !=
                records[getNameByTokenId(_id)].minimumControlShares,
            "The minimumControlShares is the same as the current minimumControlShares"
        );

        records[getNameByTokenId(_id)]
            .minimumControlShares = _minimumControlShares;
    }

    /*
    Function to do a multiplier share split for a token ID, only if the user has the minimumControlShares
    The minimumControlShares will be updated to the multiplier times the current minimumControlShares
    multiplier must be greater than 1
    We can use TransferBatch to mint the multiplier times shares minus the current shares
    */
    function shareSplit(uint256 _id, uint256 _multiplier) public whenNotPaused {
        // Require the user to have the minimumControlShares
        require(
            records[getNameByTokenId(_id)].minimumControlShares <=
                balanceOf(msg.sender, _id),
            "You do not have enough shares to do a share split"
        );

        // Require the multiplier to be greater than 1
        require(_multiplier > 1, "The multiplier must be greater than 1");

        // Require the multiplier to be less than 100
        require(_multiplier < 100, "The multiplier must be less than 100");

        // Update the token balance for every address by going through the mapping of shareHoldersByTokenId
        for (uint256 i = 0; i < shareHoldersByTokenId[_id].length; i++) {
            uint256 addedShares = _multiplier *
                balanceOf(shareHoldersByTokenId[_id][i], _id) -
                balanceOf(shareHoldersByTokenId[_id][i], _id);

            // Mint the new shares
            _mint(shareHoldersByTokenId[_id][i], _id, addedShares, "");
        }

        // Update the minimumControlShares
        records[getNameByTokenId(_id)].minimumControlShares =
            _multiplier *
            records[getNameByTokenId(_id)].minimumControlShares;
    }

    /*
    Sets the portraitHash for a Collective Portrait if the user has the minimumControlShares.
    */
    function setPortraitHash(
        uint256 _id,
        string memory _portraitHash
    ) public whenNotPaused {
        // Require the user to be the owner of the token
        require(
            _id == records[nameByTokenId[_id]].portraitId,
            "Invalid token ID for this name"
        );

        // Require validUntil to be in the future, use block.timestamp
        require(
            records[nameByTokenId[_id]].validUntil > block.timestamp,
            "This Portrait does not exist or has expired"
        );

        // Require the user to have the minimumControlShares for the token ID
        require(
            records[nameByTokenId[_id]].minimumControlShares <=
                balanceOf(msg.sender, _id),
            "You do not have enough shares to set the portraitHash"
        );

        // Require the hash to be different from the current hash
        bytes32 _proposedHash = keccak256(abi.encodePacked(_portraitHash));
        bytes32 _currentHash = keccak256(
            abi.encodePacked(records[nameByTokenId[_id]].portraitHash)
        );
        require(
            _proposedHash != _currentHash,
            "The portraitHash is the same as the current portraitHash"
        );

        // Set the portraitHash
        records[nameByTokenId[_id]].portraitHash = _portraitHash;
    }

    uint256 internal blockHeightEpoch = 50;

    /* Function to get the blockHeightEpoch */
    function getBlockHeightEpoch() public view returns (uint256) {
        return blockHeightEpoch;
    }

    /*
    Function to set the blockHeightEpoch. This function can only be called by the owner of the contract.
    */
    function setBlockHeightEpoch(uint256 _blockHeightEpoch) public onlyOwner {
        blockHeightEpoch = _blockHeightEpoch;
    }

    /*
    A user can delegate the authority of updating the portraitHash for a Collective Portrait to another user, for a period of 30 minutes.
    We use the recover function to verify that the signature is from the owner of the Collective Portrait.
    */
    function setPortraitHashAsDelegate(
        string memory _name,
        uint256 _id,
        address _address,
        string memory _portraitHash,
        uint256 _blockHeight,
        bytes memory _signature
    ) public whenNotPaused {
        // Require validUntil to be in the future, use block.timestamp
        require(
            records[_name].validUntil > block.timestamp,
            "This Portrait does not exist or has expired"
        );

        // Prefix is added according to EIP-191.
        bytes memory _messagePrefix = "\x19Ethereum Signed Message:\n32";

        // Prefix to explain what the message is about.
        bytes32 _proofPrefix = keccak256(
            abi.encodePacked(
                "Updating Portrait for ",
                _name,
                " (",
                _id,
                ")",
                " with hash ",
                _portraitHash,
                " and block height ",
                _blockHeight
            )
        );

        // We concatenate the prefix and the hash.
        bytes32 _message = keccak256(
            abi.encodePacked(_messagePrefix, _proofPrefix)
        );

        // We use the recover function to verify the ownership of an Ethereum address.
        require(
            _address == recover(_message, _signature),
            "Signature does not match address"
        );

        // Require the user to be the owner of the token
        require(
            _id == records[nameByTokenId[_id]].portraitId,
            "Invalid token ID for this name"
        );

        // Require the user to have the minimumControlShares
        require(
            records[nameByTokenId[_id]].minimumControlShares <=
                balanceOf(_address, _id),
            "You do not have enough shares to set the portraitHash"
        );

        // Require the block height to be within the epoch.
        require(_blockHeight <= block.number, "Block height is in the future");
        require(
            _blockHeight >= block.number - blockHeightEpoch,
            "Block height is too far in the past"
        );

        // Require the proposed hash to be different from the current hash
        bytes32 _proposedHash = keccak256(abi.encodePacked(_portraitHash));
        bytes32 _currentHash = keccak256(
            abi.encodePacked(records[_name].portraitHash)
        );
        require(
            _proposedHash != _currentHash,
            "The portraitHash is the same as the current portraitHash"
        );
        // Set the portraitHash
        records[_name].portraitHash = _portraitHash;
    }

    /* If Portrait is active, returns the portraitHash */
    function getPortraitHash(
        string memory _name
    ) public view returns (string memory) {
        // Require validUntil to be in the future, use block.timestamp
        require(
            records[_name].validUntil > block.timestamp,
            "This Portrait does not exist or has expired"
        );

        return records[_name].portraitHash;
    }

    /* Returns the validUntil for a given name */
    function getValidUntil(string memory _name) public view returns (uint256) {
        return records[_name].validUntil;
    }

    /* Returns the minimumControlShares for a given name */
    function getMinimumControlShares(
        string memory _name
    ) public view returns (uint256) {
        // Require validUntil to be in the future, use block.timestamp
        require(
            records[_name].validUntil > block.timestamp,
            "This Portrait does not exist or has expired"
        );
        return records[_name].minimumControlShares;
    }

    string baseUri = "https://collective-portrait-metadata.herokuapp.com/";

    function uintToBytes(uint v) internal pure returns (bytes32 ret) {
        if (v == 0) {
            ret = "0";
        } else {
            while (v > 0) {
                ret = bytes32(uint(ret) / (2 ** 8));
                ret |= bytes32(((v % 10) + 48) * 2 ** (8 * 31));
                v /= 10;
            }
        }
        return ret;
    }

    /* Returns the URI for a given token ID */
    function uri(uint256 _id) public view override returns (string memory) {
        // Return baseuri + tokenID
        return string(abi.encodePacked(baseUri, uintToBytes(_id)));
    }

    /*
    Function to update baseUri as the owner of the contract.
    */
    function setBaseUri(string memory _baseUri) public onlyOwner {
        baseUri = _baseUri;
    }

    /* Helper function for alphaNumeric check */
    function isAlphaNumeric(string memory _name) internal pure returns (bool) {
        bytes memory nameBytes = bytes(_name);
        for (uint256 i = 0; i < nameBytes.length; i++) {
            if (
                !(nameBytes[i] >= 0x30 && nameBytes[i] <= 0x39) &&
                !(nameBytes[i] >= 0x61 && nameBytes[i] <= 0x7a)
            ) {
                return false;
            }
        }
        return true;
    }

    /* Helper function for address check */
    function isAddress(string memory _name) internal pure returns (bool) {
        if (bytes(_name).length != 42) return false;
        if (bytes(_name)[0] != 0x30) return false;
        if (bytes(_name)[1] != 0x78) return false;
        bytes memory s = bytes(_name);
        for (uint256 i = 0; i < 40; i++) {
            bytes1 c = s[i + 2];
            if (
                !(c >= 0x30 && c <= 0x39) &&
                !(c >= 0x41 && c <= 0x46) &&
                !(c >= 0x61 && c <= 0x66)
            ) {
                return false;
            }
        }
        return true;
    }

    /*
    Helper function: the recover function is used to obtain the address from a signature.
    */
    function recover(
        bytes32 _message,
        bytes memory _signature
    ) private pure returns (address) {
        bytes32 _r;
        bytes32 _s;
        uint8 _v;
        if (_signature.length != 65) {
            return (address(0));
        }
        assembly {
            _r := mload(add(_signature, 32))
            _s := mload(add(_signature, 64))
            _v := byte(0, mload(add(_signature, 96)))
        }
        if (_v < 27) {
            _v += 27;
        }
        if (_v != 27 && _v != 28) {
            return (address(0));
        } else {
            return ecrecover(_message, _v, _r, _s);
        }
    }

    // State variables for length of name and price
    uint256 threeCharPrice = 640;
    uint256 fourCharPrice = 160;
    uint256 fiveCharOrMorePrice = 5;

    function getPricesForLength()
        public
        view
        returns (uint256, uint256, uint256)
    {
        return (threeCharPrice, fourCharPrice, fiveCharOrMorePrice);
    }

    // Function to set the price of the state variables as the owner of the contract
    function setPrices(
        uint256 _threeCharPrice,
        uint256 _fourCharPrice,
        uint256 _fiveCharOrMorePrice
    ) public onlyOwner {
        threeCharPrice = _threeCharPrice;
        fourCharPrice = _fourCharPrice;
        fiveCharOrMorePrice = _fiveCharOrMorePrice;
    }

    /* Helper function to determine, for a given length of a string, what the price is in ETH
     */
    function getPriceByLength(
        uint256 _length,
        uint256 _years
    ) internal view returns (uint256) {
        require(_years > 0, "You must calculate for at least one year");
        require(
            _length > 2,
            "You must enter a name that is at least 3 characters long"
        );
        require(
            _length <= 64,
            "You must enter a name that is 64 characters or less"
        );
        if (_length == 3) {
            return usdToWei(threeCharPrice) * _years;
        }
        if (_length == 4) {
            return usdToWei(fourCharPrice) * _years;
        }
        // if (_length >= 5)
        return usdToWei(fiveCharOrMorePrice) * _years;
    }

    /* Function to renew a Collective Portrait
    Anyone can pay for a Collective Portrait's renewal. Even non-shareholders.
    */
    function renewPortrait(
        string memory _name,
        uint256 _years
    ) public payable whenNotPaused {
        // Require the user to pay the correct amount of ETH
        require(
            msg.value >= getPriceByLength(bytes(_name).length, _years),
            "Insufficient ETH sent"
        );

        // Should exist, check with minimumControlShares >= 1
        require(
            records[_name].minimumControlShares >= 1,
            "This Collective Portrait does not exist"
        );

        // Transfer the ETH to the treasury
        payable(treasury).transfer(msg.value);

        // Set the new validUntil, if validUntil is in the future, add to it, otherwise set it to now + _years
        if (records[_name].validUntil > block.timestamp) {
            records[_name].validUntil += _years * 365 days;
        } else {
            records[_name].validUntil = block.timestamp + _years * 365 days;
        }
    }

    uint256 auctionMultiplier = 1000000;
    uint256 auctionPercentage = 99000;
    uint256 auctionEpoch = 30 minutes;

    /* Function to set the auctionMultiplier, auctionPercentage and auctionEpoch as the owner of the contract */
    function setAuctionParameters(
        uint256 _auctionMultiplier,
        uint256 _auctionPercentage,
        uint256 _auctionEpoch
    ) public onlyOwner {
        auctionMultiplier = _auctionMultiplier;
        auctionPercentage = _auctionPercentage;
        auctionEpoch = _auctionEpoch;
    }

    /* Function get the parameters of the auction */
    function getAuctionParameters()
        public
        view
        returns (uint256, uint256, uint256)
    {
        return (auctionMultiplier, auctionPercentage, auctionEpoch);
    }

    function getPrice(
        string memory _name,
        uint256 _years
    ) public view returns (uint256) {
        // Calculate price
        uint256 normalPrice = getPriceByLength(bytes(_name).length, 1);

        // validUntil + gracePeriod is when the auction starts
        uint256 _auctionStart = records[_name].validUntil + gracePeriod;

        // Intersection is at 1374.632 steps, rounded to 1375. If this passed since the auction has started, return the yearly renewal fee.
        if (block.timestamp - _auctionStart >= (1375 * auctionEpoch)) {
            return normalPrice * _years;
        }

        // Get the time since the auction started
        uint256 _timeSinceAuctionStart = block.timestamp - _auctionStart;

        // 1000000*yearly renewal fee
        uint256 _startingPrice = normalPrice * auctionMultiplier;

        // Calculate the auction price by _startingPrice * 0.99^(timeSinceAuctionStart/30 minutes)
        uint256 _auctionPrice = (_startingPrice *
            uint256(auctionPercentage) **
                (_timeSinceAuctionStart / auctionEpoch)) / auctionMultiplier;

        uint256 price = _auctionPrice + (normalPrice * (_years - 1));

        return price;
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"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":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAuctionParameters","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBlockHeightEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGracePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"getMinimumControlShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getNameByTokenId","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPortraitCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"getPortraitHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_years","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricesForLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getShareHoldersByTokenId","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"getTokenIdByName","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"getValidUntil","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_shares","type":"uint256"},{"internalType":"uint256","name":"_minimumControlShares","type":"uint256"},{"internalType":"uint256","name":"_years","type":"uint256"}],"name":"mintPortrait","outputs":[],"stateMutability":"payable","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_years","type":"uint256"}],"name":"renewPortrait","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"uint256","name":"_auctionMultiplier","type":"uint256"},{"internalType":"uint256","name":"_auctionPercentage","type":"uint256"},{"internalType":"uint256","name":"_auctionEpoch","type":"uint256"}],"name":"setAuctionParameters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_blockHeightEpoch","type":"uint256"}],"name":"setBlockHeightEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gracePeriod","type":"uint256"}],"name":"setGracePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_minimumControlShares","type":"uint256"}],"name":"setMinimumControlShares","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_portraitHash","type":"string"}],"name":"setPortraitHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_address","type":"address"},{"internalType":"string","name":"_portraitHash","type":"string"},{"internalType":"uint256","name":"_blockHeight","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"setPortraitHashAsDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_priceFeed","type":"address"}],"name":"setPriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threeCharPrice","type":"uint256"},{"internalType":"uint256","name":"_fourCharPrice","type":"uint256"},{"internalType":"uint256","name":"_fiveCharOrMorePrice","type":"uint256"}],"name":"setPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_multiplier","type":"uint256"}],"name":"shareSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60c0604052601360809081527210dbdb1b1958dd1a5d9948141bdc9d1c985a5d606a1b60a05260069062000034908262000245565b50600780546001600160a01b0319167329096202b0c50d4ef060bcd00979b38d438ad2c41790556276a700600c556032600d556040805160608101909152603380825262004b836020830139600e906200008f908262000245565b50610280600f5560a06010556005601155620f4240601255620182b8601355610708601455348015620000c157600080fd5b5060408051808201909152601381527210dbdb1b1958dd1a5d9948141bdc9d1c985a5d606a1b6020820152620000f7816200013c565b5062000103336200014e565b6004805460ff60a01b19169055600580546001600160a01b03191673d4a33860578de61dbabdc8bfdb98fd742fa7028e17905562000311565b60026200014a828262000245565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001cb57607f821691505b602082108103620001ec57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024057600081815260208120601f850160051c810160208610156200021b5750805b601f850160051c820191505b818110156200023c5782815560010162000227565b5050505b505050565b81516001600160401b03811115620002615762000261620001a0565b6200027981620002728454620001b6565b84620001f2565b602080601f831160018114620002b15760008415620002985750858301515b600019600386901b1c1916600185901b1785556200023c565b600085815260208120601f198616915b82811015620002e257888601518255948401946001909101908401620002c1565b5085821015620003015787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61486280620003216000396000f3fe60806040526004361061025b5760003560e01c80637e1f5e2311610144578063b928b865116100b6578063e985e9c51161007a578063e985e9c514610723578063eb969a271461076c578063f0f442601461078c578063f242432a146107ac578063f2f65960146107cc578063f2fde38b146107ec57600080fd5b8063b928b86514610681578063bd85b03914610694578063d84d5b2a146106c1578063db7a298e146106ee578063dbd183881461070e57600080fd5b806396f6e3361161010857806396f6e336146105c1578063a0bcfc7f146105e1578063a22cb46514610601578063a88fe42d14610621578063ac457be014610641578063b84fc09d1461066157600080fd5b80637e1f5e23146105335780638456cb591461054e57806386e87e4a146105635780638da5cb5b146105835780638fbcf785146105a157600080fd5b80634f558e79116101dd57806362c6209d116101a157806362c6209d1461048257806364a9efb8146104b45780636d70553d146104d4578063715018a6146104e9578063724e78da146104fe57806375084bcf1461051e57600080fd5b80634f558e79146103bc5780635c975abb146103eb5780635ce9b6231461040a5780635d6cc1fc1461042a57806361d027b31461044a57600080fd5b80632eb2c2d6116102245780632eb2c2d6146103275780632ef3accc1461034757806336127274146103675780633f4ba83a1461037a5780634e1273f41461038f57600080fd5b8062fdd58e1461026057806301ffc9a71461029357806306fdde03146102c35780630e89341c146102e5578063287aaca414610305575b600080fd5b34801561026c57600080fd5b5061028061027b36600461376c565b61080c565b6040519081526020015b60405180910390f35b34801561029f57600080fd5b506102b36102ae3660046137ac565b6108a5565b604051901515815260200161028a565b3480156102cf57600080fd5b506102d86108f5565b60405161028a9190613819565b3480156102f157600080fd5b506102d861030036600461382c565b610983565b34801561031157600080fd5b50610325610320366004613845565b6109b7565b005b34801561033357600080fd5b506103256103423660046139b0565b610c96565b34801561035357600080fd5b50610280610362366004613a59565b610ce2565b610325610375366004613a59565b610ddc565b34801561038657600080fd5b50610325610fa4565b34801561039b57600080fd5b506103af6103aa366004613a9d565b610fb6565b60405161028a9190613ba2565b3480156103c857600080fd5b506102b36103d736600461382c565b600090815260036020526040902054151590565b3480156103f757600080fd5b50600454600160a01b900460ff166102b3565b34801561041657600080fd5b50610325610425366004613845565b6110df565b34801561043657600080fd5b50610325610445366004613bb5565b611373565b34801561045657600080fd5b5060075461046a906001600160a01b031681565b6040516001600160a01b03909116815260200161028a565b34801561048e57600080fd5b506012546013546014545b6040805193845260208401929092529082015260600161028a565b3480156104c057600080fd5b506102806104cf366004613be1565b611389565b3480156104e057600080fd5b50600d54610280565b3480156104f557600080fd5b506103256113b4565b34801561050a57600080fd5b50610325610519366004613c1d565b6113c6565b34801561052a57600080fd5b50600b54610280565b34801561053f57600080fd5b50600f54601054601154610499565b34801561055a57600080fd5b506103256113f0565b34801561056f57600080fd5b506102d861057e366004613be1565b611400565b34801561058f57600080fd5b506004546001600160a01b031661046a565b3480156105ad57600080fd5b506103256105bc366004613c38565b6114f3565b3480156105cd57600080fd5b506103256105dc36600461382c565b61189a565b3480156105ed57600080fd5b506103256105fc366004613be1565b6118a7565b34801561060d57600080fd5b5061032561061c366004613ce2565b6118bb565b34801561062d57600080fd5b5061032561063c366004613bb5565b6118c6565b34801561064d57600080fd5b5061028061065c366004613be1565b6118dc565b34801561066d57600080fd5b5061032561067c366004613d1e565b611947565b61032561068f366004613d5a565b611b55565b3480156106a057600080fd5b506102806106af36600461382c565b60009081526003602052604090205490565b3480156106cd57600080fd5b506106e16106dc36600461382c565b611f87565b60405161028a9190613dad565b3480156106fa57600080fd5b50610280610709366004613be1565b612042565b34801561071a57600080fd5b50600c54610280565b34801561072f57600080fd5b506102b361073e366004613dfa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561077857600080fd5b506102d861078736600461382c565b61206a565b34801561079857600080fd5b506103256107a7366004613c1d565b6120d5565b3480156107b857600080fd5b506103256107c7366004613e2d565b6120ff565b3480156107d857600080fd5b506103256107e736600461382c565b612144565b3480156107f857600080fd5b50610325610807366004613c1d565b612151565b60006001600160a01b03831661087c5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806108d657506001600160e01b031982166303a24d0760e21b145b8061089f57506301ffc9a760e01b6001600160e01b031983161461089f565b6006805461090290613e91565b80601f016020809104026020016040519081016040528092919081815260200182805461092e90613e91565b801561097b5780601f106109505761010080835404028352916020019161097b565b820191906000526020600020905b81548152906001019060200180831161095e57829003601f168201915b505050505081565b6060600e61099083612165565b6040516020016109a1929190613f3e565b6040516020818303038152906040529050919050565b6109bf6121ca565b6109c9338361080c565b60086109d48461206a565b6040516109e19190613f57565b9081526020016040518091039020600201541115610a5b5760405162461bcd60e51b815260206004820152603160248201527f596f7520646f206e6f74206861766520656e6f7567682073686172657320746f60448201527008191bc818481cda185c99481cdc1b1a5d607a1b6064820152608401610873565b60018111610ab95760405162461bcd60e51b815260206004820152602560248201527f546865206d756c7469706c696572206d7573742062652067726561746572207460448201526468616e203160d81b6064820152608401610873565b60648110610b155760405162461bcd60e51b8152602060048201526024808201527f546865206d756c7469706c696572206d757374206265206c657373207468616e6044820152630203130360e41b6064820152608401610873565b60005b6000838152600a6020526040902054811015610c31576000838152600a602052604081208054610b6e919084908110610b5357610b53613f73565b6000918252602090912001546001600160a01b03168561080c565b6000858152600a602052604090208054610bae919085908110610b9357610b93613f73565b6000918252602090912001546001600160a01b03168661080c565b610bb89085613f9f565b610bc29190613fb6565b6000858152600a602052604090208054919250610c1e9184908110610be957610be9613f73565b9060005260206000200160009054906101000a90046001600160a01b0316858360405180602001604052806000815250612217565b5080610c2981613fc9565b915050610b18565b506008610c3d8361206a565b604051610c4a9190613f57565b90815260200160405180910390206002015481610c679190613f9f565b6008610c728461206a565b604051610c7f9190613f57565b908152604051908190036020019020600201555050565b6001600160a01b038516331480610cb25750610cb2853361073e565b610cce5760405162461bcd60e51b815260040161087390613fe2565b610cdb8585858585612349565b5050505050565b600080610cf184516001612542565b90506000600c54600886604051610d089190613f57565b908152602001604051809103902060030154610d249190614030565b905060145461055f610d369190613f9f565b610d408242613fb6565b10610d5857610d4f8483613f9f565b9250505061089f565b6000610d648242613fb6565b9050600060125484610d769190613f9f565b9050600060125460145484610d8b9190614059565b601354610d989190614151565b610da29084613f9f565b610dac9190614059565b90506000610dbb600189613fb6565b610dc59087613f9f565b610dcf9083614030565b9998505050505050505050565b610de46121ca565b610def825182612542565b341015610e365760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b6044820152606401610873565b6001600883604051610e489190613f57565b9081526020016040518091039020600201541015610eb85760405162461bcd60e51b815260206004820152602760248201527f5468697320436f6c6c65637469766520506f72747261697420646f6573206e6f6044820152661d08195e1a5cdd60ca1b6064820152608401610873565b6007546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610ef1573d6000803e3d6000fd5b5042600883604051610f039190613f57565b9081526020016040518091039020600301541115610f6457610f29816301e13380613f9f565b600883604051610f399190613f57565b90815260200160405180910390206003016000828254610f599190614030565b90915550610fa09050565b610f72816301e13380613f9f565b610f7c9042614030565b600883604051610f8c9190613f57565b908152604051908190036020019020600301555b5050565b610fac6126dd565b610fb4612737565b565b6060815183511461101b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610873565b600083516001600160401b0381111561103657611036613867565b60405190808252806020026020018201604052801561105f578160200160208202803683370190505b50905060005b84518110156110d7576110aa85828151811061108357611083613f73565b602002602001015185838151811061109d5761109d613f73565b602002602001015161080c565b8282815181106110bc576110bc613f73565b60209081029190910101526110d081613fc9565b9050611065565b509392505050565b6110e76121ca565b4260086110f38461206a565b6040516111009190613f57565b9081526020016040518091039020600301541161112f5760405162461bcd60e51b81526004016108739061415d565b611139338361080c565b60086111448461206a565b6040516111519190613f57565b90815260200160405180910390206002015411156111d9576040805162461bcd60e51b81526020600482015260248101919091527f596f7520646f206e6f74206861766520656e6f7567682073686172657320746f60448201527f2075706461746520746865206d696e696d756d436f6e74726f6c5368617265736064820152608401610873565b6000828152600360205260409020548111156112075760405162461bcd60e51b8152600401610873906141a8565b60018110156112285760405162461bcd60e51b815260040161087390614205565b611232338361080c565b8111156112b85760405162461bcd60e51b815260206004820152604860248201527f6d696e696d756d436f6e74726f6c5368617265732063616e206e6f742062652060448201527f6d6f7265207468616e207468652063757272656e7420736861726573206f66206064820152673a3432903ab9b2b960c11b608482015260a401610873565b60086112c38361206a565b6040516112d09190613f57565b90815260200160405180910390206002015481036113675760405162461bcd60e51b815260206004820152604860248201527f546865206d696e696d756d436f6e74726f6c536861726573206973207468652060448201527f73616d65206173207468652063757272656e74206d696e696d756d436f6e74726064820152676f6c53686172657360c01b608482015260a401610873565b806008610c728461206a565b61137b6126dd565b601292909255601355601455565b600060088260405161139b9190613f57565b9081526020016040518091039020600301549050919050565b6113bc6126dd565b610fb4600061278c565b6113ce6126dd565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6113f86126dd565b610fb46127de565b6060426008836040516114139190613f57565b908152602001604051809103902060030154116114425760405162461bcd60e51b81526004016108739061415d565b6008826040516114529190613f57565b9081526020016040518091039020600101805461146e90613e91565b80601f016020809104026020016040519081016040528092919081815260200182805461149a90613e91565b80156114e75780601f106114bc576101008083540402835291602001916114e7565b820191906000526020600020905b8154815290600101906020018083116114ca57829003601f168201915b50505050509050919050565b6114fb6121ca565b4260088760405161150c9190613f57565b9081526020016040518091039020600301541161153b5760405162461bcd60e51b81526004016108739061415d565b60006040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250905060008787868660405160200161158e9493929190614250565b604051602081830303815290604052805190602001209050600082826040516020016115bb9291906142fc565b6040516020818303038152906040528051906020012090506115dd8185612821565b6001600160a01b0316876001600160a01b03161461163d5760405162461bcd60e51b815260206004820181905260248201527f5369676e617475726520646f6573206e6f74206d6174636820616464726573736044820152606401610873565b60008881526009602052604090819020905160089161165b9161431e565b9081526040519081900360200190205488146116b95760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420746f6b656e20494420666f722074686973206e616d6500006044820152606401610873565b6116c3878961080c565b6000898152600960205260409081902090516008916116e19161431e565b90815260200160405180910390206002015411156117115760405162461bcd60e51b81526004016108739061432a565b438511156117615760405162461bcd60e51b815260206004820152601d60248201527f426c6f636b2068656967687420697320696e20746865206675747572650000006044820152606401610873565b600d5461176e9043613fb6565b8510156117c95760405162461bcd60e51b815260206004820152602360248201527f426c6f636b2068656967687420697320746f6f2066617220696e207468652070604482015262185cdd60ea1b6064820152608401610873565b6000866040516020016117dc9190613f57565b604051602081830303815290604052805190602001209050600060088b6040516118069190613f57565b9081526020016040518091039020600101604051602001611827919061431e565b60405160208183030381529060405280519060200120905080820361185e5760405162461bcd60e51b81526004016108739061437f565b8760088c60405161186f9190613f57565b9081526020016040518091039020600101908161188c9190614427565b505050505050505050505050565b6118a26126dd565b600d55565b6118af6126dd565b600e610fa08282614427565b610fa03383836128f8565b6118ce6126dd565b600f92909255601055601155565b6000426008836040516118ef9190613f57565b9081526020016040518091039020600301541161191e5760405162461bcd60e51b81526004016108739061415d565b60088260405161192e9190613f57565b9081526020016040518091039020600201549050919050565b61194f6121ca565b60008281526009602052604090819020905160089161196d9161431e565b9081526040519081900360200190205482146119cb5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420746f6b656e20494420666f722074686973206e616d6500006044820152606401610873565b426008600960008581526020019081526020016000206040516119ee919061431e565b90815260200160405180910390206003015411611a1d5760405162461bcd60e51b81526004016108739061415d565b611a27338361080c565b600083815260096020526040908190209051600891611a459161431e565b9081526020016040518091039020600201541115611a755760405162461bcd60e51b81526004016108739061432a565b600081604051602001611a889190613f57565b60408051601f1981840301815282825280516020918201206000878152600990925291812091935091600891611abd9161431e565b9081526020016040518091039020600101604051602001611ade919061431e565b604051602081830303815290604052805190602001209050808203611b155760405162461bcd60e51b81526004016108739061437f565b82600860096000878152602001908152602001600020604051611b38919061431e565b90815260200160405180910390206001019081610cdb9190614427565b611b5d6121ca565b6001831015611bae5760405162461bcd60e51b815260206004820152601d60248201527f7368617265732063616e206e6f74206265206c657373207468616e20310000006044820152606401610873565b82821115611bce5760405162461bcd60e51b8152600401610873906141a8565b6001821015611bef5760405162461bcd60e51b815260040161087390614205565b42600c54600886604051611c039190613f57565b908152602001604051809103902060030154611c1f9190614030565b10611c645760405162461bcd60e51b81526020600482015260156024820152744e616d65206973206e6f7420617661696c61626c6560581b6044820152606401610873565b604084511115611cc85760405162461bcd60e51b815260206004820152602960248201527f4e616d652063616e206e6f74206265206c6f6e676572207468616e203634206360448201526868617261637465727360b81b6064820152608401610873565b600384511015611d265760405162461bcd60e51b8152602060048201526024808201527f4e616d652068617320746f206265206174206c656173742033206368617261636044820152637465727360e01b6064820152608401610873565b611d2f846129d8565b611d855760405162461bcd60e51b815260206004820152602160248201527f4e616d652063616e206f6e6c7920636f6e7461696e20612d7a20616e6420302d6044820152603960f81b6064820152608401610873565b611d8e84612acb565b15611de75760405162461bcd60e51b815260206004820152602360248201527f4e616d652063616e206e6f7420626520616e20457468657265756d206164647260448201526265737360e81b6064820152608401610873565b6000611df38583610ce2565b905080341015611e3b5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610873565b6007546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611e74573d6000803e3d6000fd5b50600b8054906000611e8583613fc9565b909155505060408051608081018252600b5481528151602081810184526000825282015290810184905260608101611ec1846301e13380613f9f565b611ecb9042614030565b815250600886604051611ede9190613f57565b9081526040516020918190038201902082518155908201516001820190611f059082614427565b506040828101516002830155606090920151600390910155600b546000908152600960205220611f358682614427565b50600b80546000908152600a6020908152604080832080546001810182559084528284200180546001600160a01b0319163390811790915593548151928301909152918152610cdb9291908790612217565b6060600860096000848152602001908152602001600020604051611fab919061431e565b908152604051908190036020019020548214611fd95760405162461bcd60e51b8152600401610873906144e6565b6000828152600a6020908152604091829020805483518184028101840190945280845290918301828280156114e757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116120195750505050509050919050565b60006008826040516120549190613f57565b9081526040519081900360200190205492915050565b606060086009600084815260200190815260200160002060405161208e919061431e565b9081526040519081900360200190205482146120bc5760405162461bcd60e51b8152600401610873906144e6565b6000828152600960205260409020805461146e90613e91565b6120dd6126dd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03851633148061211b575061211b853361073e565b6121375760405162461bcd60e51b815260040161087390613fe2565b610cdb8585858585612c34565b61214c6126dd565b600c55565b6121596126dd565b61216281612d7a565b50565b60008160000361217a5750600360fc1b919050565b81156121c55761218c61010082614059565b9050612199600a8361452b565b6121a4906030614030565b6121b290600160f81b613f9f565b176121be600a83614059565b915061217a565b919050565b600454600160a01b900460ff1615610fb45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610873565b6001600160a01b0384166122775760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610873565b33600061228385612df0565b9050600061229085612df0565b90506122a183600089858589612e3b565b6000868152602081815260408083206001600160a01b038b168452909152812080548792906122d1908490614030565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612331836000898585896130b7565b612340836000898989896132a2565b50505050505050565b81518351146123ab5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610873565b6001600160a01b0384166123d15760405162461bcd60e51b81526004016108739061453f565b336123e0818787878787612e3b565b60005b84518110156124c657600085828151811061240057612400613f73565b60200260200101519050600085838151811061241e5761241e613f73565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561246e5760405162461bcd60e51b815260040161087390614584565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906124ab908490614030565b92505081905550505050806124bf90613fc9565b90506123e3565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125169291906145ce565b60405180910390a461252c8187878787876130b7565b61253a8187878787876133fd565b505050505050565b60008082116125a45760405162461bcd60e51b815260206004820152602860248201527f596f75206d7573742063616c63756c61746520666f72206174206c656173742060448201526737b732903cb2b0b960c11b6064820152608401610873565b6002831161261a5760405162461bcd60e51b815260206004820152603860248201527f596f75206d75737420656e7465722061206e616d65207468617420697320617460448201527f206c6561737420332063686172616374657273206c6f6e6700000000000000006064820152608401610873565b60408311156126875760405162461bcd60e51b815260206004820152603360248201527f596f75206d75737420656e7465722061206e616d6520746861742069732036346044820152722063686172616374657273206f72206c65737360681b6064820152608401610873565b826003036126ac578161269b600f546134b8565b6126a59190613f9f565b905061089f565b826004036126c0578161269b6010546134b8565b816126cc6011546134b8565b6126d69190613f9f565b9392505050565b6004546001600160a01b03163314610fb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610873565b61273f61358c565b6004805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127e66121ca565b6004805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861276f3390565b600080600080845160411461283c576000935050505061089f565b50505060208201516040830151606084015160001a601b81101561286857612865601b826145fc565b90505b8060ff16601b1415801561288057508060ff16601c14155b15612891576000935050505061089f565b60408051600081526020810180835288905260ff831691810191909152606081018490526080810183905260019060a0016020604051602081039080840390855afa1580156128e4573d6000803e3d6000fd5b50505060206040510351935050505061089f565b816001600160a01b0316836001600160a01b03160361296b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610873565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600081815b8151811015612ac157603060f81b8282815181106129fd576129fd613f73565b01602001516001600160f81b03191610801590612a3e5750603960f81b828281518110612a2c57612a2c613f73565b01602001516001600160f81b03191611155b158015612aa05750606160f81b828281518110612a5d57612a5d613f73565b01602001516001600160f81b03191610801590612a9e5750607a60f81b828281518110612a8c57612a8c613f73565b01602001516001600160f81b03191611155b155b15612aaf575060009392505050565b80612ab981613fc9565b9150506129dd565b5060019392505050565b60008151602a14612ade57506000919050565b81600081518110612af157612af1613f73565b6020910101516001600160f81b031916600360fc1b14612b1357506000919050565b81600181518110612b2657612b26613f73565b6020910101516001600160f81b031916600f60fb1b14612b4857506000919050565b8160005b6028811015612ac157600082612b63836002614030565b81518110612b7357612b73613f73565b01602001516001600160f81b0319169050600360fc1b8110801590612ba65750603960f81b6001600160f81b0319821611155b158015612bdc5750604160f81b6001600160f81b0319821610801590612bda5750602360f91b6001600160f81b0319821611155b155b8015612c115750606160f81b6001600160f81b0319821610801590612c0f5750603360f91b6001600160f81b0319821611155b155b15612c2157506000949350505050565b5080612c2c81613fc9565b915050612b4c565b6001600160a01b038416612c5a5760405162461bcd60e51b81526004016108739061453f565b336000612c6685612df0565b90506000612c7385612df0565b9050612c83838989858589612e3b565b6000868152602081815260408083206001600160a01b038c16845290915290205485811015612cc45760405162461bcd60e51b815260040161087390614584565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290612d01908490614030565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612d61848a8a86868a6130b7565b612d6f848a8a8a8a8a6132a2565b505050505050505050565b612d826126dd565b6001600160a01b038116612de75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610873565b6121628161278c565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612e2a57612e2a613f73565b602090810291909101015292915050565b612e436121ca565b612e518686868686866135dc565b60005b8351811015612340576000848281518110612e7157612e71613f73565b602002602001015190506000848381518110612e8f57612e8f613f73565b6020026020010151905060006001600160a01b0316886001600160a01b031614158015612ee85750600082815260096020526040908190209051600891612ed59161431e565b9081526040519081900360200190205482145b8015612f825750600082815260096020526040908190209051600891612f0d9161431e565b90815260200160405180910390206002015481612f2a8a8561080c565b612f349190613fb6565b1080612f825750600082815260096020526040908190209051600891612f599161431e565b90815260200160405180910390206002015481612f76898561080c565b612f809190614030565b105b156130a2576000805b6000848152600a602052604090205481101561303e576000848152600a60205260408120805483908110612fc157612fc1613f73565b6000918252602090912001546001600160a01b0390811691508b16811461302b576000858152600960205260409081902090516008916130009161431e565b90815260200160405180910390206002015461301c828761080c565b1061302b57600192505061303e565b508061303681613fc9565b915050612f8b565b50806130a05760405162461bcd60e51b815260206004820152602b60248201527f43616e206e6f74207472616e736665722062656c6f77206d696e696d756d436f60448201526a6e74726f6c53686172657360a81b6064820152608401610873565b505b505080806130af90613fc9565b915050612e54565b6130bf6121ca565b60005b83518110156123405760008482815181106130df576130df613f73565b6020026020010151905060006001600160a01b0316876001600160a01b0316146131c55761310d878261080c565b6000036131c55760005b6000828152600a60205260409020548110156131c3576000828152600a6020526040902080546001600160a01b038a1691908390811061315957613159613f73565b6000918252602090912001546001600160a01b0316036131b1576000828152600a6020526040902080548290811061319357613193613f73565b600091825260209091200180546001600160a01b03191690556131c3565b806131bb81613fc9565b915050613117565b505b6001600160a01b0386161561328f576000805b6000838152600a602052604090205481101561324f576000838152600a6020526040902080546001600160a01b038a1691908390811061321a5761321a613f73565b6000918252602090912001546001600160a01b03160361323d576001915061324f565b8061324781613fc9565b9150506131d8565b508061328d576000828152600a602090815260408220805460018101825590835291200180546001600160a01b0319166001600160a01b0389161790555b505b508061329a81613fc9565b9150506130c2565b6001600160a01b0384163b1561253a5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906132e69089908990889088908890600401614615565b6020604051808303816000875af1925050508015613321575060408051601f3d908101601f1916820190925261331e9181019061465a565b60015b6133cd5761332d614677565b806308c379a0036133665750613341614693565b8061334c5750613368565b8060405162461bcd60e51b81526004016108739190613819565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610873565b6001600160e01b0319811663f23a6e6160e01b146123405760405162461bcd60e51b81526004016108739061471c565b6001600160a01b0384163b1561253a5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906134419089908990889088908890600401614764565b6020604051808303816000875af192505050801561347c575060408051601f3d908101601f191682019092526134799181019061465a565b60015b6134885761332d614677565b6001600160e01b0319811663bc197c8160e01b146123405760405162461bcd60e51b81526004016108739061471c565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561350e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353291906147dc565b5050509150506000816402540be40061354b9190613f9f565b9050600061356185670de0b6b3a7640000613f9f565b905060008261357883670de0b6b3a7640000613f9f565b6135829190614059565b9695505050505050565b600454600160a01b900460ff16610fb45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610873565b6001600160a01b0385166136635760005b83518110156136615782818151811061360857613608613f73565b60200260200101516003600086848151811061362657613626613f73565b60200260200101518152602001908152602001600020600082825461364b9190614030565b9091555061365a905081613fc9565b90506135ed565b505b6001600160a01b03841661253a5760005b835181101561234057600084828151811061369157613691613f73565b6020026020010151905060008483815181106136af576136af613f73565b60200260200101519050600060036000848152602001908152602001600020549050818110156137325760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610873565b6000928352600360205260409092209103905561374e81613fc9565b9050613674565b80356001600160a01b03811681146121c557600080fd5b6000806040838503121561377f57600080fd5b61378883613755565b946020939093013593505050565b6001600160e01b03198116811461216257600080fd5b6000602082840312156137be57600080fd5b81356126d681613796565b60005b838110156137e45781810151838201526020016137cc565b50506000910152565b600081518084526138058160208601602086016137c9565b601f01601f19169290920160200192915050565b6020815260006126d660208301846137ed565b60006020828403121561383e57600080fd5b5035919050565b6000806040838503121561385857600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156138a2576138a2613867565b6040525050565b60006001600160401b038211156138c2576138c2613867565b5060051b60200190565b600082601f8301126138dd57600080fd5b813560206138ea826138a9565b6040516138f7828261387d565b83815260059390931b850182019282810191508684111561391757600080fd5b8286015b84811015613932578035835291830191830161391b565b509695505050505050565b600082601f83011261394e57600080fd5b81356001600160401b0381111561396757613967613867565b60405161397e601f8301601f19166020018261387d565b81815284602083860101111561399357600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156139c857600080fd5b6139d186613755565b94506139df60208701613755565b935060408601356001600160401b03808211156139fb57600080fd5b613a0789838a016138cc565b94506060880135915080821115613a1d57600080fd5b613a2989838a016138cc565b93506080880135915080821115613a3f57600080fd5b50613a4c8882890161393d565b9150509295509295909350565b60008060408385031215613a6c57600080fd5b82356001600160401b03811115613a8257600080fd5b613a8e8582860161393d565b95602094909401359450505050565b60008060408385031215613ab057600080fd5b82356001600160401b0380821115613ac757600080fd5b818501915085601f830112613adb57600080fd5b81356020613ae8826138a9565b604051613af5828261387d565b83815260059390931b8501820192828101915089841115613b1557600080fd5b948201945b83861015613b3a57613b2b86613755565b82529482019490820190613b1a565b96505086013592505080821115613b5057600080fd5b50613b5d858286016138cc565b9150509250929050565b600081518084526020808501945080840160005b83811015613b9757815187529582019590820190600101613b7b565b509495945050505050565b6020815260006126d66020830184613b67565b600080600060608486031215613bca57600080fd5b505081359360208301359350604090920135919050565b600060208284031215613bf357600080fd5b81356001600160401b03811115613c0957600080fd5b613c158482850161393d565b949350505050565b600060208284031215613c2f57600080fd5b6126d682613755565b60008060008060008060c08789031215613c5157600080fd5b86356001600160401b0380821115613c6857600080fd5b613c748a838b0161393d565b975060208901359650613c8960408a01613755565b95506060890135915080821115613c9f57600080fd5b613cab8a838b0161393d565b94506080890135935060a0890135915080821115613cc857600080fd5b50613cd589828a0161393d565b9150509295509295509295565b60008060408385031215613cf557600080fd5b613cfe83613755565b915060208301358015158114613d1357600080fd5b809150509250929050565b60008060408385031215613d3157600080fd5b8235915060208301356001600160401b03811115613d4e57600080fd5b613b5d8582860161393d565b60008060008060808587031215613d7057600080fd5b84356001600160401b03811115613d8657600080fd5b613d928782880161393d565b97602087013597506040870135966060013595509350505050565b6020808252825182820181905260009190848201906040850190845b81811015613dee5783516001600160a01b031683529284019291840191600101613dc9565b50909695505050505050565b60008060408385031215613e0d57600080fd5b613e1683613755565b9150613e2460208401613755565b90509250929050565b600080600080600060a08688031215613e4557600080fd5b613e4e86613755565b9450613e5c60208701613755565b9350604086013592506060860135915060808601356001600160401b03811115613e8557600080fd5b613a4c8882890161393d565b600181811c90821680613ea557607f821691505b602082108103613ec557634e487b7160e01b600052602260045260246000fd5b50919050565b60008154613ed881613e91565b60018281168015613ef05760018114613f0557613f34565b60ff1984168752821515830287019450613f34565b8560005260208060002060005b85811015613f2b5781548a820152908401908201613f12565b50505082870194505b5050505092915050565b6000613f4a8285613ecb565b9283525050602001919050565b60008251613f698184602087016137c9565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761089f5761089f613f89565b8181038181111561089f5761089f613f89565b600060018201613fdb57613fdb613f89565b5060010190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b8082018082111561089f5761089f613f89565b634e487b7160e01b600052601260045260246000fd5b60008261406857614068614043565b500490565b600181815b808511156140a857816000190482111561408e5761408e613f89565b8085161561409b57918102915b93841c9390800290614072565b509250929050565b6000826140bf5750600161089f565b816140cc5750600061089f565b81600181146140e257600281146140ec57614108565b600191505061089f565b60ff8411156140fd576140fd613f89565b50506001821b61089f565b5060208310610133831016604e8410600b841016171561412b575081810a61089f565b614135838361406d565b806000190482111561414957614149613f89565b029392505050565b60006126d683836140b0565b6020808252602b908201527f5468697320506f72747261697420646f6573206e6f74206578697374206f722060408201526a1a185cc8195e1c1a5c995960aa1b606082015260800190565b6020808252603a908201527f6d696e696d756d436f6e74726f6c5368617265732063616e206e6f742062652060408201527f6d6f7265207468616e2074686520746f74616c20736861726573000000000000606082015260800190565b6020808252602b908201527f6d696e696d756d436f6e74726f6c5368617265732063616e206e6f742062652060408201526a6c657373207468616e203160a81b606082015260800190565b7502ab83230ba34b733902837b93a3930b4ba103337b9160551b815260008551614281816016850160208a016137c9565b808301905061040560f31b6016820152856018820152602960f81b60388201526a0103bb4ba34103430b9b4160ad1b603982015284516142c88160448401602089016137c9565b7101030b73210313637b1b5903432b4b3b43a160751b60449290910191820152605681019390935250506076019392505050565b6000835161430e8184602088016137c9565b9190910191825250602001919050565b60006126d68284613ecb565b60208082526035908201527f596f7520646f206e6f74206861766520656e6f7567682073686172657320746f604082015274040e6cae840e8d0ca40e0dee4e8e4c2d2e890c2e6d605b1b606082015260800190565b60208082526038908201527f54686520706f72747261697448617368206973207468652073616d652061732060408201527f7468652063757272656e7420706f727472616974486173680000000000000000606082015260800190565b601f82111561442257600081815260208120601f850160051c810160208610156144035750805b601f850160051c820191505b8181101561253a5782815560010161440f565b505050565b81516001600160401b0381111561444057614440613867565b6144548161444e8454613e91565b846143dc565b602080601f83116001811461448957600084156144715750858301515b600019600386901b1c1916600185901b17855561253a565b600085815260208120601f198616915b828110156144b857888601518255948401946001909101908401614499565b50858210156144d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f5468697320746f6b656e204944206973206e6f74206d617070656420746f2061604082015264206e616d6560d81b606082015260800190565b60008261453a5761453a614043565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006145e16040830185613b67565b82810360208401526145f38185613b67565b95945050505050565b60ff818116838216019081111561089f5761089f613f89565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061464f908301846137ed565b979650505050505050565b60006020828403121561466c57600080fd5b81516126d681613796565b600060033d11156146905760046000803e5060005160e01c5b90565b600060443d10156146a15790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156146d057505050505090565b82850191508151818111156146e85750505050505090565b843d87010160208285010111156147025750505050505090565b6147116020828601018761387d565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061479090830186613b67565b82810360608401526147a28186613b67565b905082810360808401526147b681856137ed565b98975050505050505050565b805169ffffffffffffffffffff811681146121c557600080fd5b600080600080600060a086880312156147f457600080fd5b6147fd866147c2565b9450602086015193506040860151925060608601519150614820608087016147c2565b9050929550929590935056fea2646970667358221220239a96925293f98fefda6a40c11e270b52ed412056ca15a1de1ca1f9d4e391a964736f6c6343000811003368747470733a2f2f636f6c6c6563746976652d706f7274726169742d6d657461646174612e6865726f6b756170702e636f6d2f

Deployed Bytecode

0x60806040526004361061025b5760003560e01c80637e1f5e2311610144578063b928b865116100b6578063e985e9c51161007a578063e985e9c514610723578063eb969a271461076c578063f0f442601461078c578063f242432a146107ac578063f2f65960146107cc578063f2fde38b146107ec57600080fd5b8063b928b86514610681578063bd85b03914610694578063d84d5b2a146106c1578063db7a298e146106ee578063dbd183881461070e57600080fd5b806396f6e3361161010857806396f6e336146105c1578063a0bcfc7f146105e1578063a22cb46514610601578063a88fe42d14610621578063ac457be014610641578063b84fc09d1461066157600080fd5b80637e1f5e23146105335780638456cb591461054e57806386e87e4a146105635780638da5cb5b146105835780638fbcf785146105a157600080fd5b80634f558e79116101dd57806362c6209d116101a157806362c6209d1461048257806364a9efb8146104b45780636d70553d146104d4578063715018a6146104e9578063724e78da146104fe57806375084bcf1461051e57600080fd5b80634f558e79146103bc5780635c975abb146103eb5780635ce9b6231461040a5780635d6cc1fc1461042a57806361d027b31461044a57600080fd5b80632eb2c2d6116102245780632eb2c2d6146103275780632ef3accc1461034757806336127274146103675780633f4ba83a1461037a5780634e1273f41461038f57600080fd5b8062fdd58e1461026057806301ffc9a71461029357806306fdde03146102c35780630e89341c146102e5578063287aaca414610305575b600080fd5b34801561026c57600080fd5b5061028061027b36600461376c565b61080c565b6040519081526020015b60405180910390f35b34801561029f57600080fd5b506102b36102ae3660046137ac565b6108a5565b604051901515815260200161028a565b3480156102cf57600080fd5b506102d86108f5565b60405161028a9190613819565b3480156102f157600080fd5b506102d861030036600461382c565b610983565b34801561031157600080fd5b50610325610320366004613845565b6109b7565b005b34801561033357600080fd5b506103256103423660046139b0565b610c96565b34801561035357600080fd5b50610280610362366004613a59565b610ce2565b610325610375366004613a59565b610ddc565b34801561038657600080fd5b50610325610fa4565b34801561039b57600080fd5b506103af6103aa366004613a9d565b610fb6565b60405161028a9190613ba2565b3480156103c857600080fd5b506102b36103d736600461382c565b600090815260036020526040902054151590565b3480156103f757600080fd5b50600454600160a01b900460ff166102b3565b34801561041657600080fd5b50610325610425366004613845565b6110df565b34801561043657600080fd5b50610325610445366004613bb5565b611373565b34801561045657600080fd5b5060075461046a906001600160a01b031681565b6040516001600160a01b03909116815260200161028a565b34801561048e57600080fd5b506012546013546014545b6040805193845260208401929092529082015260600161028a565b3480156104c057600080fd5b506102806104cf366004613be1565b611389565b3480156104e057600080fd5b50600d54610280565b3480156104f557600080fd5b506103256113b4565b34801561050a57600080fd5b50610325610519366004613c1d565b6113c6565b34801561052a57600080fd5b50600b54610280565b34801561053f57600080fd5b50600f54601054601154610499565b34801561055a57600080fd5b506103256113f0565b34801561056f57600080fd5b506102d861057e366004613be1565b611400565b34801561058f57600080fd5b506004546001600160a01b031661046a565b3480156105ad57600080fd5b506103256105bc366004613c38565b6114f3565b3480156105cd57600080fd5b506103256105dc36600461382c565b61189a565b3480156105ed57600080fd5b506103256105fc366004613be1565b6118a7565b34801561060d57600080fd5b5061032561061c366004613ce2565b6118bb565b34801561062d57600080fd5b5061032561063c366004613bb5565b6118c6565b34801561064d57600080fd5b5061028061065c366004613be1565b6118dc565b34801561066d57600080fd5b5061032561067c366004613d1e565b611947565b61032561068f366004613d5a565b611b55565b3480156106a057600080fd5b506102806106af36600461382c565b60009081526003602052604090205490565b3480156106cd57600080fd5b506106e16106dc36600461382c565b611f87565b60405161028a9190613dad565b3480156106fa57600080fd5b50610280610709366004613be1565b612042565b34801561071a57600080fd5b50600c54610280565b34801561072f57600080fd5b506102b361073e366004613dfa565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561077857600080fd5b506102d861078736600461382c565b61206a565b34801561079857600080fd5b506103256107a7366004613c1d565b6120d5565b3480156107b857600080fd5b506103256107c7366004613e2d565b6120ff565b3480156107d857600080fd5b506103256107e736600461382c565b612144565b3480156107f857600080fd5b50610325610807366004613c1d565b612151565b60006001600160a01b03831661087c5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b14806108d657506001600160e01b031982166303a24d0760e21b145b8061089f57506301ffc9a760e01b6001600160e01b031983161461089f565b6006805461090290613e91565b80601f016020809104026020016040519081016040528092919081815260200182805461092e90613e91565b801561097b5780601f106109505761010080835404028352916020019161097b565b820191906000526020600020905b81548152906001019060200180831161095e57829003601f168201915b505050505081565b6060600e61099083612165565b6040516020016109a1929190613f3e565b6040516020818303038152906040529050919050565b6109bf6121ca565b6109c9338361080c565b60086109d48461206a565b6040516109e19190613f57565b9081526020016040518091039020600201541115610a5b5760405162461bcd60e51b815260206004820152603160248201527f596f7520646f206e6f74206861766520656e6f7567682073686172657320746f60448201527008191bc818481cda185c99481cdc1b1a5d607a1b6064820152608401610873565b60018111610ab95760405162461bcd60e51b815260206004820152602560248201527f546865206d756c7469706c696572206d7573742062652067726561746572207460448201526468616e203160d81b6064820152608401610873565b60648110610b155760405162461bcd60e51b8152602060048201526024808201527f546865206d756c7469706c696572206d757374206265206c657373207468616e6044820152630203130360e41b6064820152608401610873565b60005b6000838152600a6020526040902054811015610c31576000838152600a602052604081208054610b6e919084908110610b5357610b53613f73565b6000918252602090912001546001600160a01b03168561080c565b6000858152600a602052604090208054610bae919085908110610b9357610b93613f73565b6000918252602090912001546001600160a01b03168661080c565b610bb89085613f9f565b610bc29190613fb6565b6000858152600a602052604090208054919250610c1e9184908110610be957610be9613f73565b9060005260206000200160009054906101000a90046001600160a01b0316858360405180602001604052806000815250612217565b5080610c2981613fc9565b915050610b18565b506008610c3d8361206a565b604051610c4a9190613f57565b90815260200160405180910390206002015481610c679190613f9f565b6008610c728461206a565b604051610c7f9190613f57565b908152604051908190036020019020600201555050565b6001600160a01b038516331480610cb25750610cb2853361073e565b610cce5760405162461bcd60e51b815260040161087390613fe2565b610cdb8585858585612349565b5050505050565b600080610cf184516001612542565b90506000600c54600886604051610d089190613f57565b908152602001604051809103902060030154610d249190614030565b905060145461055f610d369190613f9f565b610d408242613fb6565b10610d5857610d4f8483613f9f565b9250505061089f565b6000610d648242613fb6565b9050600060125484610d769190613f9f565b9050600060125460145484610d8b9190614059565b601354610d989190614151565b610da29084613f9f565b610dac9190614059565b90506000610dbb600189613fb6565b610dc59087613f9f565b610dcf9083614030565b9998505050505050505050565b610de46121ca565b610def825182612542565b341015610e365760405162461bcd60e51b8152602060048201526015602482015274125b9cdd59999a58da595b9d08115512081cd95b9d605a1b6044820152606401610873565b6001600883604051610e489190613f57565b9081526020016040518091039020600201541015610eb85760405162461bcd60e51b815260206004820152602760248201527f5468697320436f6c6c65637469766520506f72747261697420646f6573206e6f6044820152661d08195e1a5cdd60ca1b6064820152608401610873565b6007546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610ef1573d6000803e3d6000fd5b5042600883604051610f039190613f57565b9081526020016040518091039020600301541115610f6457610f29816301e13380613f9f565b600883604051610f399190613f57565b90815260200160405180910390206003016000828254610f599190614030565b90915550610fa09050565b610f72816301e13380613f9f565b610f7c9042614030565b600883604051610f8c9190613f57565b908152604051908190036020019020600301555b5050565b610fac6126dd565b610fb4612737565b565b6060815183511461101b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610873565b600083516001600160401b0381111561103657611036613867565b60405190808252806020026020018201604052801561105f578160200160208202803683370190505b50905060005b84518110156110d7576110aa85828151811061108357611083613f73565b602002602001015185838151811061109d5761109d613f73565b602002602001015161080c565b8282815181106110bc576110bc613f73565b60209081029190910101526110d081613fc9565b9050611065565b509392505050565b6110e76121ca565b4260086110f38461206a565b6040516111009190613f57565b9081526020016040518091039020600301541161112f5760405162461bcd60e51b81526004016108739061415d565b611139338361080c565b60086111448461206a565b6040516111519190613f57565b90815260200160405180910390206002015411156111d9576040805162461bcd60e51b81526020600482015260248101919091527f596f7520646f206e6f74206861766520656e6f7567682073686172657320746f60448201527f2075706461746520746865206d696e696d756d436f6e74726f6c5368617265736064820152608401610873565b6000828152600360205260409020548111156112075760405162461bcd60e51b8152600401610873906141a8565b60018110156112285760405162461bcd60e51b815260040161087390614205565b611232338361080c565b8111156112b85760405162461bcd60e51b815260206004820152604860248201527f6d696e696d756d436f6e74726f6c5368617265732063616e206e6f742062652060448201527f6d6f7265207468616e207468652063757272656e7420736861726573206f66206064820152673a3432903ab9b2b960c11b608482015260a401610873565b60086112c38361206a565b6040516112d09190613f57565b90815260200160405180910390206002015481036113675760405162461bcd60e51b815260206004820152604860248201527f546865206d696e696d756d436f6e74726f6c536861726573206973207468652060448201527f73616d65206173207468652063757272656e74206d696e696d756d436f6e74726064820152676f6c53686172657360c01b608482015260a401610873565b806008610c728461206a565b61137b6126dd565b601292909255601355601455565b600060088260405161139b9190613f57565b9081526020016040518091039020600301549050919050565b6113bc6126dd565b610fb4600061278c565b6113ce6126dd565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6113f86126dd565b610fb46127de565b6060426008836040516114139190613f57565b908152602001604051809103902060030154116114425760405162461bcd60e51b81526004016108739061415d565b6008826040516114529190613f57565b9081526020016040518091039020600101805461146e90613e91565b80601f016020809104026020016040519081016040528092919081815260200182805461149a90613e91565b80156114e75780601f106114bc576101008083540402835291602001916114e7565b820191906000526020600020905b8154815290600101906020018083116114ca57829003601f168201915b50505050509050919050565b6114fb6121ca565b4260088760405161150c9190613f57565b9081526020016040518091039020600301541161153b5760405162461bcd60e51b81526004016108739061415d565b60006040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250905060008787868660405160200161158e9493929190614250565b604051602081830303815290604052805190602001209050600082826040516020016115bb9291906142fc565b6040516020818303038152906040528051906020012090506115dd8185612821565b6001600160a01b0316876001600160a01b03161461163d5760405162461bcd60e51b815260206004820181905260248201527f5369676e617475726520646f6573206e6f74206d6174636820616464726573736044820152606401610873565b60008881526009602052604090819020905160089161165b9161431e565b9081526040519081900360200190205488146116b95760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420746f6b656e20494420666f722074686973206e616d6500006044820152606401610873565b6116c3878961080c565b6000898152600960205260409081902090516008916116e19161431e565b90815260200160405180910390206002015411156117115760405162461bcd60e51b81526004016108739061432a565b438511156117615760405162461bcd60e51b815260206004820152601d60248201527f426c6f636b2068656967687420697320696e20746865206675747572650000006044820152606401610873565b600d5461176e9043613fb6565b8510156117c95760405162461bcd60e51b815260206004820152602360248201527f426c6f636b2068656967687420697320746f6f2066617220696e207468652070604482015262185cdd60ea1b6064820152608401610873565b6000866040516020016117dc9190613f57565b604051602081830303815290604052805190602001209050600060088b6040516118069190613f57565b9081526020016040518091039020600101604051602001611827919061431e565b60405160208183030381529060405280519060200120905080820361185e5760405162461bcd60e51b81526004016108739061437f565b8760088c60405161186f9190613f57565b9081526020016040518091039020600101908161188c9190614427565b505050505050505050505050565b6118a26126dd565b600d55565b6118af6126dd565b600e610fa08282614427565b610fa03383836128f8565b6118ce6126dd565b600f92909255601055601155565b6000426008836040516118ef9190613f57565b9081526020016040518091039020600301541161191e5760405162461bcd60e51b81526004016108739061415d565b60088260405161192e9190613f57565b9081526020016040518091039020600201549050919050565b61194f6121ca565b60008281526009602052604090819020905160089161196d9161431e565b9081526040519081900360200190205482146119cb5760405162461bcd60e51b815260206004820152601e60248201527f496e76616c696420746f6b656e20494420666f722074686973206e616d6500006044820152606401610873565b426008600960008581526020019081526020016000206040516119ee919061431e565b90815260200160405180910390206003015411611a1d5760405162461bcd60e51b81526004016108739061415d565b611a27338361080c565b600083815260096020526040908190209051600891611a459161431e565b9081526020016040518091039020600201541115611a755760405162461bcd60e51b81526004016108739061432a565b600081604051602001611a889190613f57565b60408051601f1981840301815282825280516020918201206000878152600990925291812091935091600891611abd9161431e565b9081526020016040518091039020600101604051602001611ade919061431e565b604051602081830303815290604052805190602001209050808203611b155760405162461bcd60e51b81526004016108739061437f565b82600860096000878152602001908152602001600020604051611b38919061431e565b90815260200160405180910390206001019081610cdb9190614427565b611b5d6121ca565b6001831015611bae5760405162461bcd60e51b815260206004820152601d60248201527f7368617265732063616e206e6f74206265206c657373207468616e20310000006044820152606401610873565b82821115611bce5760405162461bcd60e51b8152600401610873906141a8565b6001821015611bef5760405162461bcd60e51b815260040161087390614205565b42600c54600886604051611c039190613f57565b908152602001604051809103902060030154611c1f9190614030565b10611c645760405162461bcd60e51b81526020600482015260156024820152744e616d65206973206e6f7420617661696c61626c6560581b6044820152606401610873565b604084511115611cc85760405162461bcd60e51b815260206004820152602960248201527f4e616d652063616e206e6f74206265206c6f6e676572207468616e203634206360448201526868617261637465727360b81b6064820152608401610873565b600384511015611d265760405162461bcd60e51b8152602060048201526024808201527f4e616d652068617320746f206265206174206c656173742033206368617261636044820152637465727360e01b6064820152608401610873565b611d2f846129d8565b611d855760405162461bcd60e51b815260206004820152602160248201527f4e616d652063616e206f6e6c7920636f6e7461696e20612d7a20616e6420302d6044820152603960f81b6064820152608401610873565b611d8e84612acb565b15611de75760405162461bcd60e51b815260206004820152602360248201527f4e616d652063616e206e6f7420626520616e20457468657265756d206164647260448201526265737360e81b6064820152608401610873565b6000611df38583610ce2565b905080341015611e3b5760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610873565b6007546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611e74573d6000803e3d6000fd5b50600b8054906000611e8583613fc9565b909155505060408051608081018252600b5481528151602081810184526000825282015290810184905260608101611ec1846301e13380613f9f565b611ecb9042614030565b815250600886604051611ede9190613f57565b9081526040516020918190038201902082518155908201516001820190611f059082614427565b506040828101516002830155606090920151600390910155600b546000908152600960205220611f358682614427565b50600b80546000908152600a6020908152604080832080546001810182559084528284200180546001600160a01b0319163390811790915593548151928301909152918152610cdb9291908790612217565b6060600860096000848152602001908152602001600020604051611fab919061431e565b908152604051908190036020019020548214611fd95760405162461bcd60e51b8152600401610873906144e6565b6000828152600a6020908152604091829020805483518184028101840190945280845290918301828280156114e757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116120195750505050509050919050565b60006008826040516120549190613f57565b9081526040519081900360200190205492915050565b606060086009600084815260200190815260200160002060405161208e919061431e565b9081526040519081900360200190205482146120bc5760405162461bcd60e51b8152600401610873906144e6565b6000828152600960205260409020805461146e90613e91565b6120dd6126dd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03851633148061211b575061211b853361073e565b6121375760405162461bcd60e51b815260040161087390613fe2565b610cdb8585858585612c34565b61214c6126dd565b600c55565b6121596126dd565b61216281612d7a565b50565b60008160000361217a5750600360fc1b919050565b81156121c55761218c61010082614059565b9050612199600a8361452b565b6121a4906030614030565b6121b290600160f81b613f9f565b176121be600a83614059565b915061217a565b919050565b600454600160a01b900460ff1615610fb45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610873565b6001600160a01b0384166122775760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610873565b33600061228385612df0565b9050600061229085612df0565b90506122a183600089858589612e3b565b6000868152602081815260408083206001600160a01b038b168452909152812080548792906122d1908490614030565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612331836000898585896130b7565b612340836000898989896132a2565b50505050505050565b81518351146123ab5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610873565b6001600160a01b0384166123d15760405162461bcd60e51b81526004016108739061453f565b336123e0818787878787612e3b565b60005b84518110156124c657600085828151811061240057612400613f73565b60200260200101519050600085838151811061241e5761241e613f73565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561246e5760405162461bcd60e51b815260040161087390614584565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906124ab908490614030565b92505081905550505050806124bf90613fc9565b90506123e3565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125169291906145ce565b60405180910390a461252c8187878787876130b7565b61253a8187878787876133fd565b505050505050565b60008082116125a45760405162461bcd60e51b815260206004820152602860248201527f596f75206d7573742063616c63756c61746520666f72206174206c656173742060448201526737b732903cb2b0b960c11b6064820152608401610873565b6002831161261a5760405162461bcd60e51b815260206004820152603860248201527f596f75206d75737420656e7465722061206e616d65207468617420697320617460448201527f206c6561737420332063686172616374657273206c6f6e6700000000000000006064820152608401610873565b60408311156126875760405162461bcd60e51b815260206004820152603360248201527f596f75206d75737420656e7465722061206e616d6520746861742069732036346044820152722063686172616374657273206f72206c65737360681b6064820152608401610873565b826003036126ac578161269b600f546134b8565b6126a59190613f9f565b905061089f565b826004036126c0578161269b6010546134b8565b816126cc6011546134b8565b6126d69190613f9f565b9392505050565b6004546001600160a01b03163314610fb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610873565b61273f61358c565b6004805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127e66121ca565b6004805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861276f3390565b600080600080845160411461283c576000935050505061089f565b50505060208201516040830151606084015160001a601b81101561286857612865601b826145fc565b90505b8060ff16601b1415801561288057508060ff16601c14155b15612891576000935050505061089f565b60408051600081526020810180835288905260ff831691810191909152606081018490526080810183905260019060a0016020604051602081039080840390855afa1580156128e4573d6000803e3d6000fd5b50505060206040510351935050505061089f565b816001600160a01b0316836001600160a01b03160361296b5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610873565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600081815b8151811015612ac157603060f81b8282815181106129fd576129fd613f73565b01602001516001600160f81b03191610801590612a3e5750603960f81b828281518110612a2c57612a2c613f73565b01602001516001600160f81b03191611155b158015612aa05750606160f81b828281518110612a5d57612a5d613f73565b01602001516001600160f81b03191610801590612a9e5750607a60f81b828281518110612a8c57612a8c613f73565b01602001516001600160f81b03191611155b155b15612aaf575060009392505050565b80612ab981613fc9565b9150506129dd565b5060019392505050565b60008151602a14612ade57506000919050565b81600081518110612af157612af1613f73565b6020910101516001600160f81b031916600360fc1b14612b1357506000919050565b81600181518110612b2657612b26613f73565b6020910101516001600160f81b031916600f60fb1b14612b4857506000919050565b8160005b6028811015612ac157600082612b63836002614030565b81518110612b7357612b73613f73565b01602001516001600160f81b0319169050600360fc1b8110801590612ba65750603960f81b6001600160f81b0319821611155b158015612bdc5750604160f81b6001600160f81b0319821610801590612bda5750602360f91b6001600160f81b0319821611155b155b8015612c115750606160f81b6001600160f81b0319821610801590612c0f5750603360f91b6001600160f81b0319821611155b155b15612c2157506000949350505050565b5080612c2c81613fc9565b915050612b4c565b6001600160a01b038416612c5a5760405162461bcd60e51b81526004016108739061453f565b336000612c6685612df0565b90506000612c7385612df0565b9050612c83838989858589612e3b565b6000868152602081815260408083206001600160a01b038c16845290915290205485811015612cc45760405162461bcd60e51b815260040161087390614584565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290612d01908490614030565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612d61848a8a86868a6130b7565b612d6f848a8a8a8a8a6132a2565b505050505050505050565b612d826126dd565b6001600160a01b038116612de75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610873565b6121628161278c565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612e2a57612e2a613f73565b602090810291909101015292915050565b612e436121ca565b612e518686868686866135dc565b60005b8351811015612340576000848281518110612e7157612e71613f73565b602002602001015190506000848381518110612e8f57612e8f613f73565b6020026020010151905060006001600160a01b0316886001600160a01b031614158015612ee85750600082815260096020526040908190209051600891612ed59161431e565b9081526040519081900360200190205482145b8015612f825750600082815260096020526040908190209051600891612f0d9161431e565b90815260200160405180910390206002015481612f2a8a8561080c565b612f349190613fb6565b1080612f825750600082815260096020526040908190209051600891612f599161431e565b90815260200160405180910390206002015481612f76898561080c565b612f809190614030565b105b156130a2576000805b6000848152600a602052604090205481101561303e576000848152600a60205260408120805483908110612fc157612fc1613f73565b6000918252602090912001546001600160a01b0390811691508b16811461302b576000858152600960205260409081902090516008916130009161431e565b90815260200160405180910390206002015461301c828761080c565b1061302b57600192505061303e565b508061303681613fc9565b915050612f8b565b50806130a05760405162461bcd60e51b815260206004820152602b60248201527f43616e206e6f74207472616e736665722062656c6f77206d696e696d756d436f60448201526a6e74726f6c53686172657360a81b6064820152608401610873565b505b505080806130af90613fc9565b915050612e54565b6130bf6121ca565b60005b83518110156123405760008482815181106130df576130df613f73565b6020026020010151905060006001600160a01b0316876001600160a01b0316146131c55761310d878261080c565b6000036131c55760005b6000828152600a60205260409020548110156131c3576000828152600a6020526040902080546001600160a01b038a1691908390811061315957613159613f73565b6000918252602090912001546001600160a01b0316036131b1576000828152600a6020526040902080548290811061319357613193613f73565b600091825260209091200180546001600160a01b03191690556131c3565b806131bb81613fc9565b915050613117565b505b6001600160a01b0386161561328f576000805b6000838152600a602052604090205481101561324f576000838152600a6020526040902080546001600160a01b038a1691908390811061321a5761321a613f73565b6000918252602090912001546001600160a01b03160361323d576001915061324f565b8061324781613fc9565b9150506131d8565b508061328d576000828152600a602090815260408220805460018101825590835291200180546001600160a01b0319166001600160a01b0389161790555b505b508061329a81613fc9565b9150506130c2565b6001600160a01b0384163b1561253a5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906132e69089908990889088908890600401614615565b6020604051808303816000875af1925050508015613321575060408051601f3d908101601f1916820190925261331e9181019061465a565b60015b6133cd5761332d614677565b806308c379a0036133665750613341614693565b8061334c5750613368565b8060405162461bcd60e51b81526004016108739190613819565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610873565b6001600160e01b0319811663f23a6e6160e01b146123405760405162461bcd60e51b81526004016108739061471c565b6001600160a01b0384163b1561253a5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906134419089908990889088908890600401614764565b6020604051808303816000875af192505050801561347c575060408051601f3d908101601f191682019092526134799181019061465a565b60015b6134885761332d614677565b6001600160e01b0319811663bc197c8160e01b146123405760405162461bcd60e51b81526004016108739061471c565b600080600560009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa15801561350e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353291906147dc565b5050509150506000816402540be40061354b9190613f9f565b9050600061356185670de0b6b3a7640000613f9f565b905060008261357883670de0b6b3a7640000613f9f565b6135829190614059565b9695505050505050565b600454600160a01b900460ff16610fb45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610873565b6001600160a01b0385166136635760005b83518110156136615782818151811061360857613608613f73565b60200260200101516003600086848151811061362657613626613f73565b60200260200101518152602001908152602001600020600082825461364b9190614030565b9091555061365a905081613fc9565b90506135ed565b505b6001600160a01b03841661253a5760005b835181101561234057600084828151811061369157613691613f73565b6020026020010151905060008483815181106136af576136af613f73565b60200260200101519050600060036000848152602001908152602001600020549050818110156137325760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f74604482015267616c537570706c7960c01b6064820152608401610873565b6000928352600360205260409092209103905561374e81613fc9565b9050613674565b80356001600160a01b03811681146121c557600080fd5b6000806040838503121561377f57600080fd5b61378883613755565b946020939093013593505050565b6001600160e01b03198116811461216257600080fd5b6000602082840312156137be57600080fd5b81356126d681613796565b60005b838110156137e45781810151838201526020016137cc565b50506000910152565b600081518084526138058160208601602086016137c9565b601f01601f19169290920160200192915050565b6020815260006126d660208301846137ed565b60006020828403121561383e57600080fd5b5035919050565b6000806040838503121561385857600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156138a2576138a2613867565b6040525050565b60006001600160401b038211156138c2576138c2613867565b5060051b60200190565b600082601f8301126138dd57600080fd5b813560206138ea826138a9565b6040516138f7828261387d565b83815260059390931b850182019282810191508684111561391757600080fd5b8286015b84811015613932578035835291830191830161391b565b509695505050505050565b600082601f83011261394e57600080fd5b81356001600160401b0381111561396757613967613867565b60405161397e601f8301601f19166020018261387d565b81815284602083860101111561399357600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156139c857600080fd5b6139d186613755565b94506139df60208701613755565b935060408601356001600160401b03808211156139fb57600080fd5b613a0789838a016138cc565b94506060880135915080821115613a1d57600080fd5b613a2989838a016138cc565b93506080880135915080821115613a3f57600080fd5b50613a4c8882890161393d565b9150509295509295909350565b60008060408385031215613a6c57600080fd5b82356001600160401b03811115613a8257600080fd5b613a8e8582860161393d565b95602094909401359450505050565b60008060408385031215613ab057600080fd5b82356001600160401b0380821115613ac757600080fd5b818501915085601f830112613adb57600080fd5b81356020613ae8826138a9565b604051613af5828261387d565b83815260059390931b8501820192828101915089841115613b1557600080fd5b948201945b83861015613b3a57613b2b86613755565b82529482019490820190613b1a565b96505086013592505080821115613b5057600080fd5b50613b5d858286016138cc565b9150509250929050565b600081518084526020808501945080840160005b83811015613b9757815187529582019590820190600101613b7b565b509495945050505050565b6020815260006126d66020830184613b67565b600080600060608486031215613bca57600080fd5b505081359360208301359350604090920135919050565b600060208284031215613bf357600080fd5b81356001600160401b03811115613c0957600080fd5b613c158482850161393d565b949350505050565b600060208284031215613c2f57600080fd5b6126d682613755565b60008060008060008060c08789031215613c5157600080fd5b86356001600160401b0380821115613c6857600080fd5b613c748a838b0161393d565b975060208901359650613c8960408a01613755565b95506060890135915080821115613c9f57600080fd5b613cab8a838b0161393d565b94506080890135935060a0890135915080821115613cc857600080fd5b50613cd589828a0161393d565b9150509295509295509295565b60008060408385031215613cf557600080fd5b613cfe83613755565b915060208301358015158114613d1357600080fd5b809150509250929050565b60008060408385031215613d3157600080fd5b8235915060208301356001600160401b03811115613d4e57600080fd5b613b5d8582860161393d565b60008060008060808587031215613d7057600080fd5b84356001600160401b03811115613d8657600080fd5b613d928782880161393d565b97602087013597506040870135966060013595509350505050565b6020808252825182820181905260009190848201906040850190845b81811015613dee5783516001600160a01b031683529284019291840191600101613dc9565b50909695505050505050565b60008060408385031215613e0d57600080fd5b613e1683613755565b9150613e2460208401613755565b90509250929050565b600080600080600060a08688031215613e4557600080fd5b613e4e86613755565b9450613e5c60208701613755565b9350604086013592506060860135915060808601356001600160401b03811115613e8557600080fd5b613a4c8882890161393d565b600181811c90821680613ea557607f821691505b602082108103613ec557634e487b7160e01b600052602260045260246000fd5b50919050565b60008154613ed881613e91565b60018281168015613ef05760018114613f0557613f34565b60ff1984168752821515830287019450613f34565b8560005260208060002060005b85811015613f2b5781548a820152908401908201613f12565b50505082870194505b5050505092915050565b6000613f4a8285613ecb565b9283525050602001919050565b60008251613f698184602087016137c9565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761089f5761089f613f89565b8181038181111561089f5761089f613f89565b600060018201613fdb57613fdb613f89565b5060010190565b6020808252602e908201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60408201526d195c881bdc88185c1c1c9bdd995960921b606082015260800190565b8082018082111561089f5761089f613f89565b634e487b7160e01b600052601260045260246000fd5b60008261406857614068614043565b500490565b600181815b808511156140a857816000190482111561408e5761408e613f89565b8085161561409b57918102915b93841c9390800290614072565b509250929050565b6000826140bf5750600161089f565b816140cc5750600061089f565b81600181146140e257600281146140ec57614108565b600191505061089f565b60ff8411156140fd576140fd613f89565b50506001821b61089f565b5060208310610133831016604e8410600b841016171561412b575081810a61089f565b614135838361406d565b806000190482111561414957614149613f89565b029392505050565b60006126d683836140b0565b6020808252602b908201527f5468697320506f72747261697420646f6573206e6f74206578697374206f722060408201526a1a185cc8195e1c1a5c995960aa1b606082015260800190565b6020808252603a908201527f6d696e696d756d436f6e74726f6c5368617265732063616e206e6f742062652060408201527f6d6f7265207468616e2074686520746f74616c20736861726573000000000000606082015260800190565b6020808252602b908201527f6d696e696d756d436f6e74726f6c5368617265732063616e206e6f742062652060408201526a6c657373207468616e203160a81b606082015260800190565b7502ab83230ba34b733902837b93a3930b4ba103337b9160551b815260008551614281816016850160208a016137c9565b808301905061040560f31b6016820152856018820152602960f81b60388201526a0103bb4ba34103430b9b4160ad1b603982015284516142c88160448401602089016137c9565b7101030b73210313637b1b5903432b4b3b43a160751b60449290910191820152605681019390935250506076019392505050565b6000835161430e8184602088016137c9565b9190910191825250602001919050565b60006126d68284613ecb565b60208082526035908201527f596f7520646f206e6f74206861766520656e6f7567682073686172657320746f604082015274040e6cae840e8d0ca40e0dee4e8e4c2d2e890c2e6d605b1b606082015260800190565b60208082526038908201527f54686520706f72747261697448617368206973207468652073616d652061732060408201527f7468652063757272656e7420706f727472616974486173680000000000000000606082015260800190565b601f82111561442257600081815260208120601f850160051c810160208610156144035750805b601f850160051c820191505b8181101561253a5782815560010161440f565b505050565b81516001600160401b0381111561444057614440613867565b6144548161444e8454613e91565b846143dc565b602080601f83116001811461448957600084156144715750858301515b600019600386901b1c1916600185901b17855561253a565b600085815260208120601f198616915b828110156144b857888601518255948401946001909101908401614499565b50858210156144d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526025908201527f5468697320746f6b656e204944206973206e6f74206d617070656420746f2061604082015264206e616d6560d81b606082015260800190565b60008261453a5761453a614043565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006145e16040830185613b67565b82810360208401526145f38185613b67565b95945050505050565b60ff818116838216019081111561089f5761089f613f89565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061464f908301846137ed565b979650505050505050565b60006020828403121561466c57600080fd5b81516126d681613796565b600060033d11156146905760046000803e5060005160e01c5b90565b600060443d10156146a15790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156146d057505050505090565b82850191508151818111156146e85750505050505090565b843d87010160208285010111156147025750505050505090565b6147116020828601018761387d565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b0386811682528516602082015260a06040820181905260009061479090830186613b67565b82810360608401526147a28186613b67565b905082810360808401526147b681856137ed565b98975050505050505050565b805169ffffffffffffffffffff811681146121c557600080fd5b600080600080600060a086880312156147f457600080fd5b6147fd866147c2565b9450602086015193506040860151925060608601519150614820608087016147c2565b9050929550929590935056fea2646970667358221220239a96925293f98fefda6a40c11e270b52ed412056ca15a1de1ca1f9d4e391a964736f6c63430008110033

Deployed Bytecode Sourcemap

47776:28689:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16271:292;;;;;;;;;;-1:-1:-1;16271:292:0;;;;;:::i;:::-;;:::i;:::-;;;597:25:1;;;585:2;570:18;16271:292:0;;;;;;;;15278:326;;;;;;;;;;-1:-1:-1;15278:326:0;;;;;:::i;:::-;;:::i;:::-;;;1184:14:1;;1177:22;1159:41;;1147:2;1132:18;15278:326:0;1019:187:1;49281:42:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;69429:185::-;;;;;;;;;;-1:-1:-1;69429:185:0;;;;;:::i;:::-;;:::i;61660:1309::-;;;;;;;;;;-1:-1:-1;61660:1309:0;;;;;:::i;:::-;;:::i;:::-;;18338:438;;;;;;;;;;-1:-1:-1;18338:438:0;;;;;:::i;:::-;;:::i;75225:1237::-;;;;;;;;;;-1:-1:-1;75225:1237:0;;;;;:::i;:::-;;:::i;73448:966::-;;;;;;:::i;:::-;;:::i;51513:65::-;;;;;;;;;;;;;:::i;16729:536::-;;;;;;;;;;-1:-1:-1;16729:536:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;33678:122::-;;;;;;;;;;-1:-1:-1;33678:122:0;;;;;:::i;:::-;33735:4;33556:16;;;:12;:16;;;;;;-1:-1:-1;;;33678:122:0;2602:86;;;;;;;;;;-1:-1:-1;2673:7:0;;-1:-1:-1;;;2673:7:0;;;;2602:86;;59494:1802;;;;;;;;;;-1:-1:-1;59494:1802:0;;;;;:::i;:::-;;:::i;74660:305::-;;;;;;;;;;-1:-1:-1;74660:305:0;;;;;:::i;:::-;;:::i;49375:68::-;;;;;;;;;;-1:-1:-1;49375:68:0;;;;-1:-1:-1;;;;;49375:68:0;;;;;;-1:-1:-1;;;;;8014:32:1;;;7996:51;;7984:2;7969:18;49375:68:0;7850:203:1;75027:190:0;;;;;;;;;;-1:-1:-1;75158:17:0;;75177;;75196:12;;75027:190;;;;8260:25:1;;;8316:2;8301:18;;8294:34;;;;8344:18;;;8337:34;8248:2;8233:18;75027:190:0;8058:319:1;68352:125:0;;;;;;;;;;-1:-1:-1;68352:125:0;;;;;:::i;:::-;;:::i;64551:103::-;;;;;;;;;;-1:-1:-1;64630:16:0;;64551:103;;5488;;;;;;;;;;;;;:::i;48704:123::-;;;;;;;;;;-1:-1:-1;48704:123:0;;;;;:::i;:::-;;:::i;51300:94::-;;;;;;;;;;-1:-1:-1;51376:10:0;;51300:94;;71890:188;;;;;;;;;;-1:-1:-1;72019:14:0;;72035:13;;72050:19;;71890:188;;51444:61;;;;;;;;;;;;;:::i;67921:372::-;;;;;;;;;;-1:-1:-1;67921:372:0;;;;;:::i;:::-;;:::i;4840:87::-;;;;;;;;;;-1:-1:-1;4913:6:0;;-1:-1:-1;;;;;4913:6:0;4840:87;;65183:2671;;;;;;;;;;-1:-1:-1;65183:2671:0;;;;;:::i;:::-;;:::i;64784:128::-;;;;;;;;;;-1:-1:-1;64784:128:0;;;;;:::i;:::-;;:::i;69700:98::-;;;;;;;;;;-1:-1:-1;69700:98:0;;;;;:::i;:::-;;:::i;17338:180::-;;;;;;;;;;-1:-1:-1;17338:180:0;;;;;:::i;:::-;;:::i;72172:294::-;;;;;;;;;;-1:-1:-1;72172:294:0;;;;;:::i;:::-;;:::i;68546:380::-;;;;;;;;;;-1:-1:-1;68546:380:0;;;;;:::i;:::-;;:::i;63088:1360::-;;;;;;;;;;-1:-1:-1;63088:1360:0;;;;;:::i;:::-;;:::i;52728:2534::-;;;;;;:::i;:::-;;:::i;33467:113::-;;;;;;;;;;-1:-1:-1;33467:113:0;;;;;:::i;:::-;33529:7;33556:16;;;:12;:16;;;;;;;33467:113;51958:317;;;;;;;;;;-1:-1:-1;51958:317:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52312:144::-;;;;;;;;;;-1:-1:-1;52312:144:0;;;;;:::i;:::-;;:::i;52627:93::-;;;;;;;;;;-1:-1:-1;52701:11:0;;52627:93;;17590:193;;;;;;;;;;-1:-1:-1;17590:193:0;;;;;:::i;:::-;-1:-1:-1;;;;;17738:27:0;;;17714:4;17738:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;17590:193;51615:298;;;;;;;;;;-1:-1:-1;51615:298:0;;;;;:::i;:::-;;:::i;49524:96::-;;;;;;;;;;-1:-1:-1;49524:96:0;;;;;:::i;:::-;;:::i;17855:406::-;;;;;;;;;;-1:-1:-1;17855:406:0;;;;;:::i;:::-;;:::i;52511:108::-;;;;;;;;;;-1:-1:-1;52511:108:0;;;;;:::i;:::-;;:::i;49703:123::-;;;;;;;;;;-1:-1:-1;49703:123:0;;;;;:::i;:::-;;:::i;16271:292::-;16382:7;-1:-1:-1;;;;;16424:21:0;;16402:113;;;;-1:-1:-1;;;16402:113:0;;12874:2:1;16402:113:0;;;12856:21:1;12913:2;12893:18;;;12886:30;12952:34;12932:18;;;12925:62;-1:-1:-1;;;13003:18:1;;;12996:40;13053:19;;16402:113:0;;;;;;;;;-1:-1:-1;16533:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;16533:22:0;;;;;;;;;;16271:292;;;;;:::o;15278:326::-;15396:4;-1:-1:-1;;;;;;15433:41:0;;-1:-1:-1;;;15433:41:0;;:110;;-1:-1:-1;;;;;;;15491:52:0;;-1:-1:-1;;;15491:52:0;15433:110;:163;;;-1:-1:-1;;;;;;;;;;9109:40:0;;;15560:36;8984:173;49281:42;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;69429:185::-;69485:13;69579:7;69588:16;69600:3;69588:11;:16::i;:::-;69562:43;;;;;;;;;:::i;:::-;;;;;;;;;;;;;69548:58;;69429:185;;;:::o;61660:1309::-;2207:19;:17;:19::i;:::-;61902:26:::1;61912:10;61924:3;61902:9;:26::i;:::-;61830:7;61838:21;61855:3;61838:16;:21::i;:::-;61830:30;;;;;;:::i;:::-;;;;;;;;;;;;;:51;;;:98;;61808:197;;;::::0;-1:-1:-1;;;61808:197:0;;15113:2:1;61808:197:0::1;::::0;::::1;15095:21:1::0;15152:2;15132:18;;;15125:30;15191:34;15171:18;;;15164:62;-1:-1:-1;;;15242:18:1;;;15235:47;15299:19;;61808:197:0::1;14911:413:1::0;61808:197:0::1;62096:1;62082:11;:15;62074:65;;;::::0;-1:-1:-1;;;62074:65:0;;15531:2:1;62074:65:0::1;::::0;::::1;15513:21:1::0;15570:2;15550:18;;;15543:30;15609:34;15589:18;;;15582:62;-1:-1:-1;;;15660:18:1;;;15653:35;15705:19;;62074:65:0::1;15329:401:1::0;62074:65:0::1;62229:3;62215:11;:17;62207:66;;;::::0;-1:-1:-1;;;62207:66:0;;15937:2:1;62207:66:0::1;::::0;::::1;15919:21:1::0;15976:2;15956:18;;;15949:30;16015:34;15995:18;;;15988:62;-1:-1:-1;;;16066:18:1;;;16059:34;16110:19;;62207:66:0::1;15735:400:1::0;62207:66:0::1;62400:9;62395:365;62419:26;::::0;;;:21:::1;:26;::::0;;;;:33;62415:37;::::1;62395:365;;;62474:19;62602:26:::0;;;:21:::1;:26;::::0;;;;:29;;62592:45:::1;::::0;62602:26;62629:1;;62602:29;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;62602:29:0::1;62633:3:::0;62592:9:::1;:45::i;:::-;62537:26;::::0;;;:21:::1;:26;::::0;;;;:29;;62527:45:::1;::::0;62537:26;62564:1;;62537:29;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;62537:29:0::1;62568:3:::0;62527:9:::1;:45::i;:::-;62496:76;::::0;:11;:76:::1;:::i;:::-;:141;;;;:::i;:::-;62696:26;::::0;;;:21:::1;:26;::::0;;;;:29;;62474:163;;-1:-1:-1;62690:58:0::1;::::0;62723:1;;62696:29;::::1;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;62696:29:0::1;62727:3;62732:11;62690:58;;;;;;;;;;;::::0;:5:::1;:58::i;:::-;-1:-1:-1::0;62454:3:0;::::1;::::0;::::1;:::i;:::-;;;;62395:365;;;;62910:7;62918:21;62935:3;62918:16;:21::i;:::-;62910:30;;;;;;:::i;:::-;;;;;;;;;;;;;:51;;;62883:11;:78;;;;:::i;:::-;62816:7;62824:21;62841:3;62824:16;:21::i;:::-;62816:30;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:51:::1;;:145:::0;-1:-1:-1;;61660:1309:0:o;18338:438::-;-1:-1:-1;;;;;18571:20:0;;799:10;18571:20;;:60;;-1:-1:-1;18595:36:0;18612:4;799:10;17590:193;:::i;18595:36::-;18549:156;;;;-1:-1:-1;;;18549:156:0;;;;;;;:::i;:::-;18716:52;18739:4;18745:2;18749:3;18754:7;18763:4;18716:22;:52::i;:::-;18338:438;;;;;:::o;75225:1237::-;75326:7;75374:19;75396:40;75419:5;75413:19;75434:1;75396:16;:40::i;:::-;75374:62;;75513:21;75565:11;;75537:7;75545:5;75537:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:39;;;;:::i;:::-;75513:63;;75777:12;;75770:4;:19;;;;:::i;:::-;75734:31;75752:13;75734:15;:31;:::i;:::-;:56;75730:116;;75814:20;75828:6;75814:11;:20;:::i;:::-;75807:27;;;;;;75730:116;75909:30;75942:31;75960:13;75942:15;:31;:::i;:::-;75909:64;;76025:22;76064:17;;76050:11;:31;;;;:::i;:::-;76025:56;;76194:21;76339:17;;76322:12;;76297:22;:37;;;;:::i;:::-;76257:17;;76249:86;;;;:::i;:::-;76219:116;;:14;:116;:::i;:::-;76218:138;;;;:::i;:::-;76194:162;-1:-1:-1;76369:13:0;76417:10;76426:1;76417:6;:10;:::i;:::-;76402:26;;:11;:26;:::i;:::-;76385:44;;:13;:44;:::i;:::-;76369:60;75225:1237;-1:-1:-1;;;;;;;;;75225:1237:0:o;73448:966::-;2207:19;:17;:19::i;:::-;73670:45:::1;73693:5;73687:19;73708:6;73670:16;:45::i;:::-;73657:9;:58;;73635:129;;;::::0;-1:-1:-1;;;73635:129:0;;19228:2:1;73635:129:0::1;::::0;::::1;19210:21:1::0;19267:2;19247:18;;;19240:30;-1:-1:-1;;;19286:18:1;;;19279:51;19347:18;;73635:129:0::1;19026:345:1::0;73635:129:0::1;73901:1;73862:7;73870:5;73862:14;;;;;;:::i;:::-;;;;;;;;;;;;;:35;;;:40;;73840:129;;;::::0;-1:-1:-1;;;73840:129:0;;19578:2:1;73840:129:0::1;::::0;::::1;19560:21:1::0;19617:2;19597:18;;;19590:30;19656:34;19636:18;;;19629:62;-1:-1:-1;;;19707:18:1;;;19700:37;19754:19;;73840:129:0::1;19376:403:1::0;73840:129:0::1;74035:8;::::0;74027:37:::1;::::0;-1:-1:-1;;;;;74035:8:0;;::::1;::::0;74054:9:::1;74027:37:::0;::::1;;;::::0;74035:8:::1;74027:37:::0;74035:8;74027:37;74054:9;74035:8;74027:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;74221:15;74193:7;74201:5;74193:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:43;74189:218;;;74282:17;:6:::0;74291:8:::1;74282:17;:::i;:::-;74253:7;74261:5;74253:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:46;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;74189:218:0::1;::::0;-1:-1:-1;74189:218:0::1;;74378:17;:6:::0;74387:8:::1;74378:17;:::i;:::-;74360:35;::::0;:15:::1;:35;:::i;:::-;74332:7;74340:5;74332:14;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:25:::1;;:63:::0;74189:218:::1;73448:966:::0;;:::o;51513:65::-;4726:13;:11;:13::i;:::-;51560:10:::1;:8;:10::i;:::-;51513:65::o:0;16729:536::-;16865:16;16935:3;:10;16916:8;:15;:29;16894:120;;;;-1:-1:-1;;;16894:120:0;;19986:2:1;16894:120:0;;;19968:21:1;20025:2;20005:18;;;19998:30;20064:34;20044:18;;;20037:62;-1:-1:-1;;;20115:18:1;;;20108:39;20164:19;;16894:120:0;19784:405:1;16894:120:0;17027:30;17074:8;:15;-1:-1:-1;;;;;17060:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17060:30:0;;17027:63;;17108:9;17103:122;17127:8;:15;17123:1;:19;17103:122;;;17183:30;17193:8;17202:1;17193:11;;;;;;;;:::i;:::-;;;;;;;17206:3;17210:1;17206:6;;;;;;;;:::i;:::-;;;;;;;17183:9;:30::i;:::-;17164:13;17178:1;17164:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;17144:3;;;:::i;:::-;;;17103:122;;;-1:-1:-1;17244:13:0;16729:536;-1:-1:-1;;;16729:536:0:o;59494:1802::-;2207:19;:17;:19::i;:::-;59766:15:::1;59722:7;59730:21;59747:3;59730:16;:21::i;:::-;59722:30;;;;;;:::i;:::-;;;;;;;;;;;;;:41;;;:59;59700:152;;;;-1:-1:-1::0;;;59700:152:0::1;;;;;;;:::i;:::-;60021:26;60031:10;60043:3;60021:9;:26::i;:::-;59949:7;59957:21;59974:3;59957:16;:21::i;:::-;59949:30;;;;;;:::i;:::-;;;;;;;;;;;;;:51;;;:98;;59927:212;;;::::0;;-1:-1:-1;;;59927:212:0;;20808:2:1;59927:212:0::1;::::0;::::1;20790:21:1::0;20827:18;;;20820:30;;;;20886:34;20866:18;;;20859:62;20957:34;20937:18;;;20930:62;21009:19;;59927:212:0::1;20606:428:1::0;59927:212:0::1;33529:7:::0;33556:16;;;:12;:16;;;;;;60255:21:::1;:41;;60233:149;;;;-1:-1:-1::0;;;60233:149:0::1;;;;;;;:::i;:::-;60500:1;60475:21;:26;;60453:119;;;;-1:-1:-1::0;;;60453:119:0::1;;;;;;;:::i;:::-;60729:26;60739:10;60751:3;60729:9;:26::i;:::-;60704:21;:51;;60682:173;;;::::0;-1:-1:-1;;;60682:173:0;;22080:2:1;60682:173:0::1;::::0;::::1;22062:21:1::0;22119:2;22099:18;;;22092:30;22158:34;22138:18;;;22131:62;22229:34;22209:18;;;22202:62;-1:-1:-1;;;22280:19:1;;;22273:39;22329:19;;60682:173:0::1;21878:476:1::0;60682:173:0::1;61035:7;61043:21;61060:3;61043:16;:21::i;:::-;61035:30;;;;;;:::i;:::-;;;;;;;;;;;;;:51;;;60993:21;:93:::0;60971:215:::1;;;::::0;-1:-1:-1;;;60971:215:0;;22561:2:1;60971:215:0::1;::::0;::::1;22543:21:1::0;22600:2;22580:18;;;22573:30;22639:34;22619:18;;;22612:62;22710:34;22690:18;;;22683:62;-1:-1:-1;;;22761:19:1;;;22754:39;22810:19;;60971:215:0::1;22359:476:1::0;60971:215:0::1;61267:21;61199:7;61207:21;61224:3;61207:16;:21::i;74660:305::-:0;4726:13;:11;:13::i;:::-;74831:17:::1;:38:::0;;;;74880:17:::1;:38:::0;74929:12:::1;:28:::0;74660:305::o;68352:125::-;68417:7;68444;68452:5;68444:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;68437:32;;68352:125;;;:::o;5488:103::-;4726:13;:11;:13::i;:::-;5553:30:::1;5580:1;5553:18;:30::i;48704:123::-:0;4726:13;:11;:13::i;:::-;48774:9:::1;:45:::0;;-1:-1:-1;;;;;;48774:45:0::1;-1:-1:-1::0;;;;;48774:45:0;;;::::1;::::0;;;::::1;::::0;;48704:123::o;51444:61::-;4726:13;:11;:13::i;:::-;51489:8:::1;:6;:8::i;67921:372::-:0;68004:13;68152:15;68124:7;68132:5;68124:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:43;68102:136;;;;-1:-1:-1;;;68102:136:0;;;;;;;:::i;:::-;68258:7;68266:5;68258:14;;;;;;:::i;:::-;;;;;;;;;;;;;:27;;68251:34;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67921:372;;;:::o;65183:2671::-;2207:19;:17;:19::i;:::-;65561:15:::1;65533:7;65541:5;65533:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:43;65511:136;;;;-1:-1:-1::0;;;65511:136:0::1;;;;;;;:::i;:::-;65710:27;:64;;;;;;;;;;;;;;;;::::0;::::1;;65844:20;65969:5;66016:3;66092:13;66163:12;65891:299;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65867:334;;;;;;65844:357;;66266:16;66326:14;66342:12;66309:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66285:81;;;;;;66266:100;;66501:29;66509:8;66519:10;66501:7;:29::i;:::-;-1:-1:-1::0;;;;;66489:41:0::1;:8;-1:-1:-1::0;;;;;66489:41:0::1;;66467:123;;;::::0;-1:-1:-1;;;66467:123:0;;24810:2:1;66467:123:0::1;::::0;::::1;24792:21:1::0;;;24829:18;;;24822:30;24888:34;24868:18;;;24861:62;24940:18;;66467:123:0::1;24608:356:1::0;66467:123:0::1;66698:18;::::0;;;:13:::1;:18;::::0;;;;;;66690:27;;:7:::1;::::0;:27:::1;::::0;::::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:38;66683:45;::::1;66661:125;;;::::0;-1:-1:-1;;;66661:125:0;;25373:2:1;66661:125:0::1;::::0;::::1;25355:21:1::0;25412:2;25392:18;;;25385:30;25451:32;25431:18;;;25424:60;25501:18;;66661:125:0::1;25171:354:1::0;66661:125:0::1;66952:24;66962:8;66972:3;66952:9;:24::i;:::-;66891:18;::::0;;;:13:::1;:18;::::0;;;;;;66883:27;;:7:::1;::::0;:27:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;:48;;;:93;;66861:196;;;;-1:-1:-1::0;;;66861:196:0::1;;;;;;;:::i;:::-;67155:12;67139;:28;;67131:70;;;::::0;-1:-1:-1;;;67131:70:0;;26154:2:1;67131:70:0::1;::::0;::::1;26136:21:1::0;26193:2;26173:18;;;26166:30;26232:31;26212:18;;;26205:59;26281:18;;67131:70:0::1;25952:353:1::0;67131:70:0::1;67265:16;::::0;67250:31:::1;::::0;:12:::1;:31;:::i;:::-;67234:12;:47;;67212:132;;;::::0;-1:-1:-1;;;67212:132:0;;26512:2:1;67212:132:0::1;::::0;::::1;26494:21:1::0;26551:2;26531:18;;;26524:30;26590:34;26570:18;;;26563:62;-1:-1:-1;;;26641:18:1;;;26634:33;26684:19;;67212:132:0::1;26310:399:1::0;67212:132:0::1;67433:21;67484:13;67467:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;67457:42;;;;;;67433:66;;67510:20;67574:7;67582:5;67574:14;;;;;;:::i;:::-;;;;;;;;;;;;;:27;;67557:45;;;;;;;;:::i;:::-;;;;;;;;;;;;;67533:80;;;;;;67510:103;;67663:12;67646:13;:29:::0;67624:135:::1;;;;-1:-1:-1::0;;;67624:135:0::1;;;;;;;:::i;:::-;67833:13;67803:7;67811:5;67803:14;;;;;;:::i;:::-;;;;;;;;;;;;;:27;;:43;;;;;;:::i;:::-;;65428:2426;;;;;65183:2671:::0;;;;;;:::o;64784:128::-;4726:13;:11;:13::i;:::-;64868:16:::1;:36:::0;64784:128::o;69700:98::-;4726:13;:11;:13::i;:::-;69772:7:::1;:18;69782:8:::0;69772:7;:18:::1;:::i;17338:180::-:0;17458:52;799:10;17491:8;17501;17458:18;:52::i;72172:294::-;4726:13;:11;:13::i;:::-;72332:14:::1;:32:::0;;;;72375:13:::1;:30:::0;72416:19:::1;:42:::0;72172:294::o;68546:380::-;68637:7;68779:15;68751:7;68759:5;68751:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:43;68729:136;;;;-1:-1:-1;;;68729:136:0;;;;;;;:::i;:::-;68883:7;68891:5;68883:14;;;;;;:::i;:::-;;;;;;;;;;;;;:35;;;68876:42;;68546:380;;;:::o;63088:1360::-;2207:19;:17;:19::i;:::-;63307:18:::1;::::0;;;:13:::1;:18;::::0;;;;;;63299:27;;:7:::1;::::0;:27:::1;::::0;::::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:38;63292:45;::::1;63270:125;;;::::0;-1:-1:-1;;;63270:125:0;;25373:2:1;63270:125:0::1;::::0;::::1;25355:21:1::0;25412:2;25392:18;;;25385:30;25451:32;25431:18;;;25424:60;25501:18;;63270:125:0::1;25171:354:1::0;63270:125:0::1;63543:15;63502:7;63510:13;:18;63524:3;63510:18;;;;;;;;;;;63502:27;;;;;;:::i;:::-;;;;;;;;;;;;;:38;;;:56;63480:149;;;;-1:-1:-1::0;;;63480:149:0::1;;;;;;;:::i;:::-;63812:26;63822:10;63834:3;63812:9;:26::i;:::-;63751:18;::::0;;;:13:::1;:18;::::0;;;;;;63743:27;;:7:::1;::::0;:27:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;:48;;;:95;;63721:198;;;;-1:-1:-1::0;;;63721:198:0::1;;;;;;;:::i;:::-;63999:21;64050:13;64033:31;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;64033:31:0;;::::1;::::0;;;;;;64023:42;;64033:31:::1;64023:42:::0;;::::1;::::0;64076:20:::1;64148:18:::0;;;:13:::1;:18:::0;;;;;;64023:42;;-1:-1:-1;64076:20:0;64140:7:::1;::::0;:27:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;:40;;64123:58;;;;;;;;:::i;:::-;;;;;;;;;;;;;64099:93;;;;;;64076:116;;64242:12;64225:13;:29:::0;64203:135:::1;;;;-1:-1:-1::0;;;64203:135:0::1;;;;;;;:::i;:::-;64427:13;64384:7;64392:13;:18;64406:3;64392:18;;;;;;;;;;;64384:27;;;;;;:::i;:::-;;;;;;;;;;;;;:40;;:56;;;;;;:::i;52728:2534::-:0;2207:19;:17;:19::i;:::-;52981:1:::1;52970:7;:12;;52962:54;;;::::0;-1:-1:-1;;;52962:54:0;;29419:2:1;52962:54:0::1;::::0;::::1;29401:21:1::0;29458:2;29438:18;;;29431:30;29497:31;29477:18;;;29470:59;29546:18;;52962:54:0::1;29217:353:1::0;52962:54:0::1;53157:7;53132:21;:32;;53110:140;;;;-1:-1:-1::0;;;53110:140:0::1;;;;;;;:::i;:::-;53368:1;53343:21;:26;;53321:119;;;;-1:-1:-1::0;;;53321:119:0::1;;;;;;;:::i;:::-;53613:15;53599:11;;53571:7;53579:5;53571:14;;;;;;:::i;:::-;;;;;;;;;;;;;:25;;;:39;;;;:::i;:::-;:57;53549:128;;;::::0;-1:-1:-1;;;53549:128:0;;29777:2:1;53549:128:0::1;::::0;::::1;29759:21:1::0;29816:2;29796:18;;;29789:30;-1:-1:-1;;;29835:18:1;;;29828:51;29896:18;;53549:128:0::1;29575:345:1::0;53549:128:0::1;53790:2;53773:5;53767:19;:25;;53745:116;;;::::0;-1:-1:-1;;;53745:116:0;;30127:2:1;53745:116:0::1;::::0;::::1;30109:21:1::0;30166:2;30146:18;;;30139:30;30205:34;30185:18;;;30178:62;-1:-1:-1;;;30256:18:1;;;30249:39;30305:19;;53745:116:0::1;29925:405:1::0;53745:116:0::1;53969:1;53952:5;53946:19;:24;;53924:110;;;::::0;-1:-1:-1;;;53924:110:0;;30537:2:1;53924:110:0::1;::::0;::::1;30519:21:1::0;30576:2;30556:18;;;30549:30;30615:34;30595:18;;;30588:62;-1:-1:-1;;;30666:18:1;;;30659:34;30710:19;;53924:110:0::1;30335:400:1::0;53924:110:0::1;54098:21;54113:5;54098:14;:21::i;:::-;54090:67;;;::::0;-1:-1:-1;;;54090:67:0;;30942:2:1;54090:67:0::1;::::0;::::1;30924:21:1::0;30981:2;30961:18;;;30954:30;31020:34;31000:18;;;30993:62;-1:-1:-1;;;31071:18:1;;;31064:31;31112:19;;54090:67:0::1;30740:397:1::0;54090:67:0::1;54227:16;54237:5;54227:9;:16::i;:::-;54226:17;54218:65;;;::::0;-1:-1:-1;;;54218:65:0;;31344:2:1;54218:65:0::1;::::0;::::1;31326:21:1::0;31383:2;31363:18;;;31356:30;31422:34;31402:18;;;31395:62;-1:-1:-1;;;31473:18:1;;;31466:33;31516:19;;54218:65:0::1;31142:399:1::0;54218:65:0::1;54324:13;54340:23;54349:5;54356:6;54340:8;:23::i;:::-;54324:39;;54469:5;54456:9;:18;;54448:50;;;::::0;-1:-1:-1;;;54448:50:0;;31748:2:1;54448:50:0::1;::::0;::::1;31730:21:1::0;31787:2;31767:18;;;31760:30;-1:-1:-1;;;31806:18:1;;;31799:49;31865:18;;54448:50:0::1;31546:343:1::0;54448:50:0::1;54564:8;::::0;54556:37:::1;::::0;-1:-1:-1;;;;;54564:8:0;;::::1;::::0;54583:9:::1;54556:37:::0;::::1;;;::::0;54564:8:::1;54556:37:::0;54564:8;54556:37;54583:9;54564:8;54556:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;54685:10:0::1;:12:::0;;;:10:::1;:12;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;54779:147:0::1;::::0;;::::1;::::0;::::1;::::0;;54800:10:::1;::::0;54779:147;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;54779:147:0;;;::::1;::::0;;;;;;;;;;54897:17:::1;:6:::0;54906:8:::1;54897:17;:::i;:::-;54878:37;::::0;:15:::1;:37;:::i;:::-;54779:147;;::::0;54762:7:::1;54770:5;54762:14;;;;;;:::i;:::-;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;:164;;;;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;:::i;:::-;-1:-1:-1::0;54762:164:0::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;54998:10:::1;::::0;-1:-1:-1;54984:25:0;;;:13:::1;:25;::::0;;:33:::1;55012:5:::0;54984:25;:33:::1;:::i;:::-;-1:-1:-1::0;55105:10:0::1;::::0;;55083:33:::1;::::0;;;:21:::1;:33;::::0;;;;;;;:50;;::::1;::::0;::::1;::::0;;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;55083:50:0::1;55122:10;55083:50:::0;;::::1;::::0;;;55230:10;;55212:42;;;;::::1;::::0;;;;;;::::1;::::0;55122:10;55230;55242:7;;55212:5:::1;:42::i;51958:317::-:0;52047:16;52110:7;52118:13;:23;52132:8;52118:23;;;;;;;;;;;52110:32;;;;;;:::i;:::-;;;;;;;;;;;;;;:43;52098:55;;52076:142;;;;-1:-1:-1;;;52076:142:0;;;;;;;:::i;:::-;52236:31;;;;:21;:31;;;;;;;;;52229:38;;;;;;;;;;;;;;;;;52236:31;;52229:38;;52236:31;52229:38;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52229:38:0;;;;;;;;;;;;;;;;;;;;;;51958:317;;;:::o;52312:144::-;52396:7;52423;52431:5;52423:14;;;;;;:::i;:::-;;;;;;;;;;;;;;:25;;52312:144;-1:-1:-1;;52312:144:0:o;51615:298::-;51696:13;51756:7;51764:13;:23;51778:8;51764:23;;;;;;;;;;;51756:32;;;;;;:::i;:::-;;;;;;;;;;;;;;:43;51744:55;;51722:142;;;;-1:-1:-1;;;51722:142:0;;;;;;;:::i;:::-;51882:23;;;;:13;:23;;;;;51875:30;;;;;:::i;49524:96::-;4726:13;:11;:13::i;:::-;49592:8:::1;:20:::0;;-1:-1:-1;;;;;;49592:20:0::1;-1:-1:-1::0;;;;;49592:20:0;;;::::1;::::0;;;::::1;::::0;;49524:96::o;17855:406::-;-1:-1:-1;;;;;18063:20:0;;799:10;18063:20;;:60;;-1:-1:-1;18087:36:0;18104:4;799:10;17590:193;:::i;18087:36::-;18041:156;;;;-1:-1:-1;;;18041:156:0;;;;;;;:::i;:::-;18208:45;18226:4;18232:2;18236;18240:6;18248:4;18208:17;:45::i;52511:108::-;4726:13;:11;:13::i;:::-;52585:11:::1;:26:::0;52511:108::o;49703:123::-;4726:13;:11;:13::i;:::-;49785:33:::1;49809:8;49785:23;:33::i;:::-;49703:123:::0;:::o;69013:360::-;69065:11;69093:1;69098;69093:6;69089:256;;-1:-1:-1;;;;69013:360:0;;;:::o;69089:256::-;69165:5;;69158:176;;69205:20;69218:6;69210:3;69205:20;:::i;:::-;69197:29;-1:-1:-1;69262:6:0;69266:2;69262:1;:6;:::i;:::-;69261:13;;69272:2;69261:13;:::i;:::-;69260:31;;-1:-1:-1;;;69260:31:0;:::i;:::-;69245:47;69311:7;69316:2;69311:7;;:::i;:::-;;;69158:176;;;69013:360;;;:::o;2761:108::-;2673:7;;-1:-1:-1;;;2673:7:0;;;;2831:9;2823:38;;;;-1:-1:-1;;;2823:38:0;;32619:2:1;2823:38:0;;;32601:21:1;32658:2;32638:18;;;32631:30;-1:-1:-1;;;32677:18:1;;;32670:46;32733:18;;2823:38:0;32417:340:1;23248:818:0;-1:-1:-1;;;;;23401:16:0;;23393:62;;;;-1:-1:-1;;;23393:62:0;;32964:2:1;23393:62:0;;;32946:21:1;33003:2;32983:18;;;32976:30;33042:34;33022:18;;;33015:62;-1:-1:-1;;;33093:18:1;;;33086:31;33134:19;;23393:62:0;32762:397:1;23393:62:0;799:10;23468:16;23533:21;23551:2;23533:17;:21::i;:::-;23510:44;;23565:24;23592:25;23610:6;23592:17;:25::i;:::-;23565:52;;23630:66;23651:8;23669:1;23673:2;23677:3;23682:7;23691:4;23630:20;:66::i;:::-;23709:9;:13;;;;;;;;;;;-1:-1:-1;;;;;23709:17:0;;;;;;;;;:27;;23730:6;;23709:9;:27;;23730:6;;23709:27;:::i;:::-;;;;-1:-1:-1;;23752:52:0;;;33338:25:1;;;33394:2;33379:18;;33372:34;;;-1:-1:-1;;;;;23752:52:0;;;;23785:1;;23752:52;;;;;;33311:18:1;23752:52:0;;;;;;;23817:65;23837:8;23855:1;23859:2;23863:3;23868:7;23877:4;23817:19;:65::i;:::-;23895:163;23940:8;23971:1;23988:2;24005;24022:6;24043:4;23895:30;:163::i;:::-;23382:684;;;23248:818;;;;:::o;20609:1321::-;20850:7;:14;20836:3;:10;:28;20814:118;;;;-1:-1:-1;;;20814:118:0;;33619:2:1;20814:118:0;;;33601:21:1;33658:2;33638:18;;;33631:30;33697:34;33677:18;;;33670:62;-1:-1:-1;;;33748:18:1;;;33741:38;33796:19;;20814:118:0;33417:404:1;20814:118:0;-1:-1:-1;;;;;20951:16:0;;20943:66;;;;-1:-1:-1;;;20943:66:0;;;;;;;:::i;:::-;799:10;21066:60;799:10;21097:4;21103:2;21107:3;21112:7;21121:4;21066:20;:60::i;:::-;21144:9;21139:470;21163:3;:10;21159:1;:14;21139:470;;;21195:10;21208:3;21212:1;21208:6;;;;;;;;:::i;:::-;;;;;;;21195:19;;21229:14;21246:7;21254:1;21246:10;;;;;;;;:::i;:::-;;;;;;;;;;;;21273:19;21295:13;;;;;;;;;;-1:-1:-1;;;;;21295:19:0;;;;;;;;;;;;21246:10;;-1:-1:-1;21355:21:0;;;;21329:125;;;;-1:-1:-1;;;21329:125:0;;;;;;;:::i;:::-;21498:9;:13;;;;;;;;;;;-1:-1:-1;;;;;21498:19:0;;;;;;;;;;21520:20;;;21498:42;;21570:17;;;;;;;:27;;21520:20;;21498:9;21570:27;;21520:20;;21570:27;:::i;:::-;;;;;;;;21180:429;;;21175:3;;;;:::i;:::-;;;21139:470;;;;21656:2;-1:-1:-1;;;;;21626:47:0;21650:4;-1:-1:-1;;;;;21626:47:0;21640:8;-1:-1:-1;;;;;21626:47:0;;21660:3;21665:7;21626:47;;;;;;;:::i;:::-;;;;;;;;21686:59;21706:8;21716:4;21722:2;21726:3;21731:7;21740:4;21686:19;:59::i;:::-;21758:164;21808:8;21831:4;21850:2;21867:3;21885:7;21907:4;21758:35;:164::i;:::-;20803:1127;20609:1321;;;;;:::o;72578:726::-;72685:7;72722:1;72713:6;:10;72705:63;;;;-1:-1:-1;;;72705:63:0;;35315:2:1;72705:63:0;;;35297:21:1;35354:2;35334:18;;;35327:30;35393:34;35373:18;;;35366:62;-1:-1:-1;;;35444:18:1;;;35437:38;35492:19;;72705:63:0;35113:404:1;72705:63:0;72811:1;72801:7;:11;72779:117;;;;-1:-1:-1;;;72779:117:0;;35724:2:1;72779:117:0;;;35706:21:1;35763:2;35743:18;;;35736:30;35802:34;35782:18;;;35775:62;35873:26;35853:18;;;35846:54;35917:19;;72779:117:0;35522:420:1;72779:117:0;72940:2;72929:7;:13;;72907:114;;;;-1:-1:-1;;;72907:114:0;;36149:2:1;72907:114:0;;;36131:21:1;36188:2;36168:18;;;36161:30;36227:34;36207:18;;;36200:62;-1:-1:-1;;;36278:18:1;;;36271:49;36337:19;;72907:114:0;35947:415:1;72907:114:0;73036:7;73047:1;73036:12;73032:85;;73099:6;73072:24;73081:14;;73072:8;:24::i;:::-;:33;;;;:::i;:::-;73065:40;;;;73032:85;73131:7;73142:1;73131:12;73127:84;;73193:6;73167:23;73176:13;;73167:8;:23::i;73127:84::-;73290:6;73258:29;73267:19;;73258:8;:29::i;:::-;:38;;;;:::i;:::-;73251:45;72578:726;-1:-1:-1;;;72578:726:0:o;5005:132::-;4913:6;;-1:-1:-1;;;;;4913:6:0;799:10;5069:23;5061:68;;;;-1:-1:-1;;;5061:68:0;;36569:2:1;5061:68:0;;;36551:21:1;;;36588:18;;;36581:30;36647:34;36627:18;;;36620:62;36699:18;;5061:68:0;36367:356:1;3457:120:0;2466:16;:14;:16::i;:::-;3516:7:::1;:15:::0;;-1:-1:-1;;;;3516:15:0::1;::::0;;3547:22:::1;799:10:::0;3556:12:::1;3547:22;::::0;-1:-1:-1;;;;;8014:32:1;;;7996:51;;7984:2;7969:18;3547:22:0::1;;;;;;;3457:120::o:0;6144:191::-;6237:6;;;-1:-1:-1;;;;;6254:17:0;;;-1:-1:-1;;;;;;6254:17:0;;;;;;;6287:40;;6237:6;;;6254:17;6237:6;;6287:40;;6218:16;;6287:40;6207:128;6144:191;:::o;3198:118::-;2207:19;:17;:19::i;:::-;3258:7:::1;:14:::0;;-1:-1:-1;;;;3258:14:0::1;-1:-1:-1::0;;;3258:14:0::1;::::0;;3288:20:::1;3295:12;799:10:::0;;719:98;71061:659;71168:7;71188:10;71209;71230:8;71253:10;:17;71274:2;71253:23;71249:75;;71309:1;71293:19;;;;;;;71249:75;-1:-1:-1;;;71386:2:0;71370:19;;71364:26;71432:2;71416:19;;71410:26;71486:2;71470:19;;71464:26;71461:1;71456:35;71521:2;71516:7;;71512:48;;;71540:8;71546:2;71540:8;;:::i;:::-;;;71512:48;71574:2;:8;;71580:2;71574:8;;:20;;;;;71586:2;:8;;71592:2;71586:8;;71574:20;71570:143;;;71627:1;71611:19;;;;;;;71570:143;71670:31;;;;;;;;;;;;37108:25:1;;;37181:4;37169:17;;37149:18;;;37142:45;;;;37203:18;;;37196:34;;;37246:18;;;37239:34;;;71670:31:0;;37080:19:1;;71670:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71663:38;;;;;;;27928:331;28083:8;-1:-1:-1;;;;;28074:17:0;:5;-1:-1:-1;;;;;28074:17:0;;28066:71;;;;-1:-1:-1;;;28066:71:0;;37486:2:1;28066:71:0;;;37468:21:1;37525:2;37505:18;;;37498:30;37564:34;37544:18;;;37537:62;-1:-1:-1;;;37615:18:1;;;37608:39;37664:19;;28066:71:0;37284:405:1;28066:71:0;-1:-1:-1;;;;;28148:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;28148:46:0;;;;;;;;;;28210:41;;1159::1;;;28210::0;;1132:18:1;28210:41:0;;;;;;;27928:331;;;:::o;69856:435::-;69924:4;69972:5;69924:4;69989:273;70013:9;:16;70009:1;:20;69989:273;;;70091:4;70075:20;;:9;70085:1;70075:12;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;70075:12:0;:20;;;;:44;;;70115:4;70099:20;;:9;70109:1;70099:12;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;70099:12:0;:20;;70075:44;70073:47;:115;;;;;70159:4;70143:20;;:9;70153:1;70143:12;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;70143:12:0;:20;;;;:44;;;70183:4;70167:20;;:9;70177:1;70167:12;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;70167:12:0;:20;;70143:44;70141:47;70073:115;70051:200;;;-1:-1:-1;70230:5:0;;69856:435;-1:-1:-1;;;69856:435:0:o;70051:200::-;70031:3;;;;:::i;:::-;;;;69989:273;;;-1:-1:-1;70279:4:0;;69856:435;-1:-1:-1;;;69856:435:0:o;70344:602::-;70407:4;70434:5;70428:19;70451:2;70428:25;70424:43;;-1:-1:-1;70462:5:0;;70344:602;-1:-1:-1;70344:602:0:o;70424:43::-;70488:5;70495:1;70482:15;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;;70482:15:0;-1:-1:-1;;;70482:23:0;70478:41;;-1:-1:-1;70514:5:0;;70344:602;-1:-1:-1;70344:602:0:o;70478:41::-;70540:5;70547:1;70534:15;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;;70534:15:0;-1:-1:-1;;;70534:23:0;70530:41;;-1:-1:-1;70566:5:0;;70344:602;-1:-1:-1;70344:602:0:o;70530:41::-;70605:5;70582:14;70622:295;70646:2;70642:1;:6;70622:295;;;70670:8;70681:1;70683:5;:1;70687;70683:5;:::i;:::-;70681:8;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;70681:8:0;;-1:-1:-1;;;;70728:9:0;;;;;:22;;-1:-1:-1;;;;;;;;;;70741:9:0;;;;70728:22;70726:25;:71;;;;-1:-1:-1;;;;;;;;;;70774:9:0;;;;;;:22;;-1:-1:-1;;;;;;;;;;70787:9:0;;;;70774:22;70772:25;70726:71;:117;;;;-1:-1:-1;;;;;;;;;;70820:9:0;;;;;;:22;;-1:-1:-1;;;;;;;;;;70833:9:0;;;;70820:22;70818:25;70726:117;70704:202;;;-1:-1:-1;70885:5:0;;70344:602;-1:-1:-1;;;;70344:602:0:o;70704:202::-;-1:-1:-1;70650:3:0;;;;:::i;:::-;;;;70622:295;;19240:1011;-1:-1:-1;;;;;19428:16:0;;19420:66;;;;-1:-1:-1;;;19420:66:0;;;;;;;:::i;:::-;799:10;19499:16;19564:21;19582:2;19564:17;:21::i;:::-;19541:44;;19596:24;19623:25;19641:6;19623:17;:25::i;:::-;19596:52;;19661:60;19682:8;19692:4;19698:2;19702:3;19707:7;19716:4;19661:20;:60::i;:::-;19734:19;19756:13;;;;;;;;;;;-1:-1:-1;;;;;19756:19:0;;;;;;;;;;19808:21;;;;19786:113;;;;-1:-1:-1;;;19786:113:0;;;;;;;:::i;:::-;19935:9;:13;;;;;;;;;;;-1:-1:-1;;;;;19935:19:0;;;;;;;;;;19957:20;;;19935:42;;19999:17;;;;;;;:27;;19957:20;;19935:9;19999:27;;19957:20;;19999:27;:::i;:::-;;;;-1:-1:-1;;20044:46:0;;;33338:25:1;;;33394:2;33379:18;;33372:34;;;-1:-1:-1;;;;;20044:46:0;;;;;;;;;;;;;;33311:18:1;20044:46:0;;;;;;;20103:59;20123:8;20133:4;20139:2;20143:3;20148:7;20157:4;20103:19;:59::i;:::-;20175:68;20206:8;20216:4;20222:2;20226;20230:6;20238:4;20175:30;:68::i;:::-;19409:842;;;;19240:1011;;;;;:::o;5746:238::-;4726:13;:11;:13::i;:::-;-1:-1:-1;;;;;5849:22:0;::::1;5827:110;;;::::0;-1:-1:-1;;;5827:110:0;;37896:2:1;5827:110:0::1;::::0;::::1;37878:21:1::0;37935:2;37915:18;;;37908:30;37974:34;37954:18;;;37947:62;-1:-1:-1;;;38025:18:1;;;38018:36;38071:19;;5827:110:0::1;37694:402:1::0;5827:110:0::1;5948:28;5967:8;5948:18;:28::i;32510:214::-:0;32646:16;;;32660:1;32646:16;;;;;;;;;32592;;32621:22;;32646:16;;;;;;;;;;;;-1:-1:-1;32646:16:0;32621:41;;32684:7;32673:5;32679:1;32673:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;32711:5;32510:214;-1:-1:-1;;32510:214:0:o;55780:1681::-;2207:19;:17;:19::i;:::-;56049:66:::1;56076:8;56086:4;56092:2;56096:3;56101:7;56110:4;56049:26;:66::i;:::-;56131:9;56126:1328;56150:3;:10;56146:1;:14;56126:1328;;;56182:10;56195:3;56199:1;56195:6;;;;;;;;:::i;:::-;;;;;;;56182:19;;56216:14;56233:7;56241:1;56233:10;;;;;;;;:::i;:::-;;;;;;;56216:27;;56296:1;-1:-1:-1::0;;;;;56280:18:0::1;:4;-1:-1:-1::0;;;;;56280:18:0::1;;;:82;;;;-1:-1:-1::0;56333:17:0::1;::::0;;;:13:::1;:17;::::0;;;;;;56325:26;;:7:::1;::::0;:26:::1;::::0;::::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:37;56319:43;::::1;56280:82;:326;;;;-1:-1:-1::0;56444:17:0::1;::::0;;;:13:::1;:17;::::0;;;;;;56436:26;;:7:::1;::::0;:26:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;:47;;;56406:6;56384:19;56394:4;56400:2;56384:9;:19::i;:::-;:28;;;;:::i;:::-;:99;:221;;;-1:-1:-1::0;56566:17:0::1;::::0;;;:13:::1;:17;::::0;;;;;;56558:26;;:7:::1;::::0;:26:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;:47;;;56528:6;56508:17;56518:2;56522;56508:9;:17::i;:::-;:26;;;;:::i;:::-;:97;56384:221;56258:1185;;;56641:37;56710:9:::0;56705:555:::1;56729:25;::::0;;;:21:::1;:25;::::0;;;;:32;56725:36;::::1;56705:555;;;56791:19;56813:25:::0;;;:21:::1;:25;::::0;;;;:28;;56839:1;;56813:28;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;56813:28:0;;::::1;::::0;-1:-1:-1;56868:19:0;::::1;::::0;::::1;56864:377;;57017:17;::::0;;;:13:::1;:17;::::0;;;;;;57009:26;;:7:::1;::::0;:26:::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;:47;;;56950:26;56960:11;56973:2;56950:9;:26::i;:::-;:106;56916:302;;57150:4;57115:39;;57185:5;;;56916:302;-1:-1:-1::0;56763:3:0;::::1;::::0;::::1;:::i;:::-;;;;56705:555;;;;57308:32;57278:149;;;::::0;-1:-1:-1;;;57278:149:0;;38303:2:1;57278:149:0::1;::::0;::::1;38285:21:1::0;38342:2;38322:18;;;38315:30;38381:34;38361:18;;;38354:62;-1:-1:-1;;;38432:18:1;;;38425:41;38483:19;;57278:149:0::1;38101:407:1::0;57278:149:0::1;56622:821;56258:1185;56167:1287;;56162:3;;;;;:::i;:::-;;;;56126:1328;;57694:1661:::0;2207:19;:17;:19::i;:::-;58028:9:::1;58023:1325;58047:3;:10;58043:1;:14;58023:1325;;;58079:10;58092:3;58096:1;58092:6;;;;;;;;:::i;:::-;;;;;;;58079:19;;58133:1;-1:-1:-1::0;;;;;58117:18:0::1;:4;-1:-1:-1::0;;;;;58117:18:0::1;;58113:611;;58258:19;58268:4;58274:2;58258:9;:19::i;:::-;58281:1;58258:24:::0;58254:455:::1;;58338:9;58307:383;58382:25;::::0;;;:21:::1;:25;::::0;;;;:32;58378:36;::::1;58307:383;;;58499:25;::::0;;;:21:::1;:25;::::0;;;;:28;;-1:-1:-1;;;;;58499:36:0;::::1;::::0;:25;58525:1;;58499:28;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;58499:28:0::1;:36:::0;58495:172:::1;;58575:25;::::0;;;:21:::1;:25;::::0;;;;:28;;58601:1;;58575:28;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;58568:35:::0;;-1:-1:-1;;;;;;58568:35:0::1;::::0;;58634:5:::1;;58495:172;58441:3:::0;::::1;::::0;::::1;:::i;:::-;;;;58307:383;;;;58254:455;-1:-1:-1::0;;;;;58742:16:0;::::1;::::0;58738:599:::1;;58897:23;58952:9:::0;58947:253:::1;58971:25;::::0;;;:21:::1;:25;::::0;;;;:32;58967:36;::::1;58947:253;;;59037:25;::::0;;;:21:::1;:25;::::0;;;;:28;;-1:-1:-1;;;;;59037:34:0;::::1;::::0;:25;59063:1;;59037:28;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;59037:28:0::1;:34:::0;59033:148:::1;;59121:4;59100:25;;59152:5;;59033:148;59005:3:::0;::::1;::::0;::::1;:::i;:::-;;;;58947:253;;;;59225:18;59220:102;;59268:25;::::0;;;:21:::1;:25;::::0;;;;;;:34;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;-1:-1:-1;;;;;;59268:34:0::1;-1:-1:-1::0;;;;;59268:34:0;::::1;;::::0;;59220:102:::1;58760:577;58738:599;-1:-1:-1::0;58059:3:0;::::1;::::0;::::1;:::i;:::-;;;;58023:1325;;30621:898:::0;-1:-1:-1;;;;;30836:13:0;;36400:19;:23;30832:680;;30889:196;;-1:-1:-1;;;30889:196:0;;-1:-1:-1;;;;;30889:38:0;;;;;:196;;30950:8;;30981:4;;31008:2;;31033:6;;31062:4;;30889:196;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30889:196:0;;;;;;;;-1:-1:-1;;30889:196:0;;;;;;;;;;;;:::i;:::-;;;30868:633;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;31374:6;31367:14;;-1:-1:-1;;;31367:14:0;;;;;;;;:::i;30868:633::-;;;31423:62;;-1:-1:-1;;;31423:62:0;;40395:2:1;31423:62:0;;;40377:21:1;40434:2;40414:18;;;40407:30;40473:34;40453:18;;;40446:62;-1:-1:-1;;;40524:18:1;;;40517:50;40584:19;;31423:62:0;40193:416:1;30868:633:0;-1:-1:-1;;;;;;31148:55:0;;-1:-1:-1;;;31148:55:0;31144:154;;31228:50;;-1:-1:-1;;;31228:50:0;;;;;;;:::i;31527:975::-;-1:-1:-1;;;;;31767:13:0;;36400:19;:23;31763:732;;31820:203;;-1:-1:-1;;;31820:203:0;;-1:-1:-1;;;;;31820:43:0;;;;;:203;;31886:8;;31917:4;;31944:3;;31970:7;;32000:4;;31820:203;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31820:203:0;;;;;;;;-1:-1:-1;;31820:203:0;;;;;;;;;;;;:::i;:::-;;;31799:685;;;;:::i;:::-;-1:-1:-1;;;;;;32108:60:0;;-1:-1:-1;;;32108:60:0;32082:199;;32211:50;;-1:-1:-1;;;32211:50:0;;;;;;;:::i;48913:307::-;48971:7;48994:12;49016:9;;;;;;;;;-1:-1:-1;;;;;49016:9:0;-1:-1:-1;;;;;49016:25:0;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48991:52;;;;;;49054:20;49085:5;49094:4;49077:21;;;;:::i;:::-;49054:44;-1:-1:-1;49109:11:0;49123:14;:7;49133:4;49123:14;:::i;:::-;49109:28;-1:-1:-1;49148:12:0;49178;49164:10;49109:28;49170:4;49164:10;:::i;:::-;49163:27;;;;:::i;:::-;49148:42;48913:307;-1:-1:-1;;;;;;48913:307:0:o;2946:108::-;2673:7;;-1:-1:-1;;;2673:7:0;;;;3005:41;;;;-1:-1:-1;;;3005:41:0;;42719:2:1;3005:41:0;;;42701:21:1;42758:2;42738:18;;;42731:30;-1:-1:-1;;;42777:18:1;;;42770:50;42837:18;;3005:41:0;42517:344:1;33875:992:0;-1:-1:-1;;;;;34197:18:0;;34193:160;;34237:9;34232:110;34256:3;:10;34252:1;:14;34232:110;;;34316:7;34324:1;34316:10;;;;;;;;:::i;:::-;;;;;;;34292:12;:20;34305:3;34309:1;34305:6;;;;;;;;:::i;:::-;;;;;;;34292:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;34268:3:0;;-1:-1:-1;34268:3:0;;:::i;:::-;;;34232:110;;;;34193:160;-1:-1:-1;;;;;34369:16:0;;34365:495;;34407:9;34402:447;34426:3;:10;34422:1;:14;34402:447;;;34462:10;34475:3;34479:1;34475:6;;;;;;;;:::i;:::-;;;;;;;34462:19;;34500:14;34517:7;34525:1;34517:10;;;;;;;;:::i;:::-;;;;;;;34500:27;;34546:14;34563:12;:16;34576:2;34563:16;;;;;;;;;;;;34546:33;;34638:6;34628;:16;;34598:130;;;;-1:-1:-1;;;34598:130:0;;43068:2:1;34598:130:0;;;43050:21:1;43107:2;43087:18;;;43080:30;43146:34;43126:18;;;43119:62;-1:-1:-1;;;43197:18:1;;;43190:38;43245:19;;34598:130:0;42866:404:1;34598:130:0;34780:16;;;;:12;:16;;;;;;34799:15;;34780:34;;34438:3;;;:::i;:::-;;;34402:447;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;192:254;260:6;268;321:2;309:9;300:7;296:23;292:32;289:52;;;337:1;334;327:12;289:52;360:29;379:9;360:29;:::i;:::-;350:39;436:2;421:18;;;;408:32;;-1:-1:-1;;;192:254:1:o;633:131::-;-1:-1:-1;;;;;;707:32:1;;697:43;;687:71;;754:1;751;744:12;769:245;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;935:9;922:23;954:30;978:5;954:30;:::i;1211:250::-;1296:1;1306:113;1320:6;1317:1;1314:13;1306:113;;;1396:11;;;1390:18;1377:11;;;1370:39;1342:2;1335:10;1306:113;;;-1:-1:-1;;1453:1:1;1435:16;;1428:27;1211:250::o;1466:271::-;1508:3;1546:5;1540:12;1573:6;1568:3;1561:19;1589:76;1658:6;1651:4;1646:3;1642:14;1635:4;1628:5;1624:16;1589:76;:::i;:::-;1719:2;1698:15;-1:-1:-1;;1694:29:1;1685:39;;;;1726:4;1681:50;;1466:271;-1:-1:-1;;1466:271:1:o;1742:220::-;1891:2;1880:9;1873:21;1854:4;1911:45;1952:2;1941:9;1937:18;1929:6;1911:45;:::i;1967:180::-;2026:6;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;-1:-1:-1;2118:23:1;;1967:180;-1:-1:-1;1967:180:1:o;2152:248::-;2220:6;2228;2281:2;2269:9;2260:7;2256:23;2252:32;2249:52;;;2297:1;2294;2287:12;2249:52;-1:-1:-1;;2320:23:1;;;2390:2;2375:18;;;2362:32;;-1:-1:-1;2152:248:1:o;2405:127::-;2466:10;2461:3;2457:20;2454:1;2447:31;2497:4;2494:1;2487:15;2521:4;2518:1;2511:15;2537:249;2647:2;2628:13;;-1:-1:-1;;2624:27:1;2612:40;;-1:-1:-1;;;;;2667:34:1;;2703:22;;;2664:62;2661:88;;;2729:18;;:::i;:::-;2765:2;2758:22;-1:-1:-1;;2537:249:1:o;2791:183::-;2851:4;-1:-1:-1;;;;;2876:6:1;2873:30;2870:56;;;2906:18;;:::i;:::-;-1:-1:-1;2951:1:1;2947:14;2963:4;2943:25;;2791:183::o;2979:724::-;3033:5;3086:3;3079:4;3071:6;3067:17;3063:27;3053:55;;3104:1;3101;3094:12;3053:55;3140:6;3127:20;3166:4;3189:43;3229:2;3189:43;:::i;:::-;3261:2;3255:9;3273:31;3301:2;3293:6;3273:31;:::i;:::-;3339:18;;;3431:1;3427:10;;;;3415:23;;3411:32;;;3373:15;;;;-1:-1:-1;3455:15:1;;;3452:35;;;3483:1;3480;3473:12;3452:35;3519:2;3511:6;3507:15;3531:142;3547:6;3542:3;3539:15;3531:142;;;3613:17;;3601:30;;3651:12;;;;3564;;3531:142;;;-1:-1:-1;3691:6:1;2979:724;-1:-1:-1;;;;;;2979:724:1:o;3708:555::-;3750:5;3803:3;3796:4;3788:6;3784:17;3780:27;3770:55;;3821:1;3818;3811:12;3770:55;3857:6;3844:20;-1:-1:-1;;;;;3879:2:1;3876:26;3873:52;;;3905:18;;:::i;:::-;3954:2;3948:9;3966:67;4021:2;4002:13;;-1:-1:-1;;3998:27:1;4027:4;3994:38;3948:9;3966:67;:::i;:::-;4057:2;4049:6;4042:18;4103:3;4096:4;4091:2;4083:6;4079:15;4075:26;4072:35;4069:55;;;4120:1;4117;4110:12;4069:55;4184:2;4177:4;4169:6;4165:17;4158:4;4150:6;4146:17;4133:54;4231:1;4207:15;;;4224:4;4203:26;4196:37;;;;4211:6;3708:555;-1:-1:-1;;;3708:555:1:o;4268:943::-;4422:6;4430;4438;4446;4454;4507:3;4495:9;4486:7;4482:23;4478:33;4475:53;;;4524:1;4521;4514:12;4475:53;4547:29;4566:9;4547:29;:::i;:::-;4537:39;;4595:38;4629:2;4618:9;4614:18;4595:38;:::i;:::-;4585:48;;4684:2;4673:9;4669:18;4656:32;-1:-1:-1;;;;;4748:2:1;4740:6;4737:14;4734:34;;;4764:1;4761;4754:12;4734:34;4787:61;4840:7;4831:6;4820:9;4816:22;4787:61;:::i;:::-;4777:71;;4901:2;4890:9;4886:18;4873:32;4857:48;;4930:2;4920:8;4917:16;4914:36;;;4946:1;4943;4936:12;4914:36;4969:63;5024:7;5013:8;5002:9;4998:24;4969:63;:::i;:::-;4959:73;;5085:3;5074:9;5070:19;5057:33;5041:49;;5115:2;5105:8;5102:16;5099:36;;;5131:1;5128;5121:12;5099:36;;5154:51;5197:7;5186:8;5175:9;5171:24;5154:51;:::i;:::-;5144:61;;;4268:943;;;;;;;;:::o;5216:389::-;5294:6;5302;5355:2;5343:9;5334:7;5330:23;5326:32;5323:52;;;5371:1;5368;5361:12;5323:52;5411:9;5398:23;-1:-1:-1;;;;;5436:6:1;5433:30;5430:50;;;5476:1;5473;5466:12;5430:50;5499:49;5540:7;5531:6;5520:9;5516:22;5499:49;:::i;:::-;5489:59;5595:2;5580:18;;;;5567:32;;-1:-1:-1;;;;5216:389:1:o;5610:1208::-;5728:6;5736;5789:2;5777:9;5768:7;5764:23;5760:32;5757:52;;;5805:1;5802;5795:12;5757:52;5845:9;5832:23;-1:-1:-1;;;;;5915:2:1;5907:6;5904:14;5901:34;;;5931:1;5928;5921:12;5901:34;5969:6;5958:9;5954:22;5944:32;;6014:7;6007:4;6003:2;5999:13;5995:27;5985:55;;6036:1;6033;6026:12;5985:55;6072:2;6059:16;6094:4;6117:43;6157:2;6117:43;:::i;:::-;6189:2;6183:9;6201:31;6229:2;6221:6;6201:31;:::i;:::-;6267:18;;;6355:1;6351:10;;;;6343:19;;6339:28;;;6301:15;;;;-1:-1:-1;6379:19:1;;;6376:39;;;6411:1;6408;6401:12;6376:39;6435:11;;;;6455:148;6471:6;6466:3;6463:15;6455:148;;;6537:23;6556:3;6537:23;:::i;:::-;6525:36;;6488:12;;;;6581;;;;6455:148;;;6622:6;-1:-1:-1;;6666:18:1;;6653:32;;-1:-1:-1;;6697:16:1;;;6694:36;;;6726:1;6723;6716:12;6694:36;;6749:63;6804:7;6793:8;6782:9;6778:24;6749:63;:::i;:::-;6739:73;;;5610:1208;;;;;:::o;6823:435::-;6876:3;6914:5;6908:12;6941:6;6936:3;6929:19;6967:4;6996:2;6991:3;6987:12;6980:19;;7033:2;7026:5;7022:14;7054:1;7064:169;7078:6;7075:1;7072:13;7064:169;;;7139:13;;7127:26;;7173:12;;;;7208:15;;;;7100:1;7093:9;7064:169;;;-1:-1:-1;7249:3:1;;6823:435;-1:-1:-1;;;;;6823:435:1:o;7263:261::-;7442:2;7431:9;7424:21;7405:4;7462:56;7514:2;7503:9;7499:18;7491:6;7462:56;:::i;7529:316::-;7606:6;7614;7622;7675:2;7663:9;7654:7;7650:23;7646:32;7643:52;;;7691:1;7688;7681:12;7643:52;-1:-1:-1;;7714:23:1;;;7784:2;7769:18;;7756:32;;-1:-1:-1;7835:2:1;7820:18;;;7807:32;;7529:316;-1:-1:-1;7529:316:1:o;8382:321::-;8451:6;8504:2;8492:9;8483:7;8479:23;8475:32;8472:52;;;8520:1;8517;8510:12;8472:52;8560:9;8547:23;-1:-1:-1;;;;;8585:6:1;8582:30;8579:50;;;8625:1;8622;8615:12;8579:50;8648:49;8689:7;8680:6;8669:9;8665:22;8648:49;:::i;:::-;8638:59;8382:321;-1:-1:-1;;;;8382:321:1:o;8708:186::-;8767:6;8820:2;8808:9;8799:7;8795:23;8791:32;8788:52;;;8836:1;8833;8826:12;8788:52;8859:29;8878:9;8859:29;:::i;8899:952::-;9032:6;9040;9048;9056;9064;9072;9125:3;9113:9;9104:7;9100:23;9096:33;9093:53;;;9142:1;9139;9132:12;9093:53;9182:9;9169:23;-1:-1:-1;;;;;9252:2:1;9244:6;9241:14;9238:34;;;9268:1;9265;9258:12;9238:34;9291:49;9332:7;9323:6;9312:9;9308:22;9291:49;:::i;:::-;9281:59;;9387:2;9376:9;9372:18;9359:32;9349:42;;9410:38;9444:2;9433:9;9429:18;9410:38;:::i;:::-;9400:48;;9501:2;9490:9;9486:18;9473:32;9457:48;;9530:2;9520:8;9517:16;9514:36;;;9546:1;9543;9536:12;9514:36;9569:51;9612:7;9601:8;9590:9;9586:24;9569:51;:::i;:::-;9559:61;;9667:3;9656:9;9652:19;9639:33;9629:43;;9725:3;9714:9;9710:19;9697:33;9681:49;;9755:2;9745:8;9742:16;9739:36;;;9771:1;9768;9761:12;9739:36;;9794:51;9837:7;9826:8;9815:9;9811:24;9794:51;:::i;:::-;9784:61;;;8899:952;;;;;;;;:::o;9856:347::-;9921:6;9929;9982:2;9970:9;9961:7;9957:23;9953:32;9950:52;;;9998:1;9995;9988:12;9950:52;10021:29;10040:9;10021:29;:::i;:::-;10011:39;;10100:2;10089:9;10085:18;10072:32;10147:5;10140:13;10133:21;10126:5;10123:32;10113:60;;10169:1;10166;10159:12;10113:60;10192:5;10182:15;;;9856:347;;;;;:::o;10208:389::-;10286:6;10294;10347:2;10335:9;10326:7;10322:23;10318:32;10315:52;;;10363:1;10360;10353:12;10315:52;10399:9;10386:23;10376:33;;10460:2;10449:9;10445:18;10432:32;-1:-1:-1;;;;;10479:6:1;10476:30;10473:50;;;10519:1;10516;10509:12;10473:50;10542:49;10583:7;10574:6;10563:9;10559:22;10542:49;:::i;10602:526::-;10698:6;10706;10714;10722;10775:3;10763:9;10754:7;10750:23;10746:33;10743:53;;;10792:1;10789;10782:12;10743:53;10832:9;10819:23;-1:-1:-1;;;;;10857:6:1;10854:30;10851:50;;;10897:1;10894;10887:12;10851:50;10920:49;10961:7;10952:6;10941:9;10937:22;10920:49;:::i;:::-;10910:59;11016:2;11001:18;;10988:32;;-1:-1:-1;11067:2:1;11052:18;;11039:32;;11118:2;11103:18;11090:32;;-1:-1:-1;10602:526:1;-1:-1:-1;;;;10602:526:1:o;11133:658::-;11304:2;11356:21;;;11426:13;;11329:18;;;11448:22;;;11275:4;;11304:2;11527:15;;;;11501:2;11486:18;;;11275:4;11570:195;11584:6;11581:1;11578:13;11570:195;;;11649:13;;-1:-1:-1;;;;;11645:39:1;11633:52;;11740:15;;;;11705:12;;;;11681:1;11599:9;11570:195;;;-1:-1:-1;11782:3:1;;11133:658;-1:-1:-1;;;;;;11133:658:1:o;11796:260::-;11864:6;11872;11925:2;11913:9;11904:7;11900:23;11896:32;11893:52;;;11941:1;11938;11931:12;11893:52;11964:29;11983:9;11964:29;:::i;:::-;11954:39;;12012:38;12046:2;12035:9;12031:18;12012:38;:::i;:::-;12002:48;;11796:260;;;;;:::o;12061:606::-;12165:6;12173;12181;12189;12197;12250:3;12238:9;12229:7;12225:23;12221:33;12218:53;;;12267:1;12264;12257:12;12218:53;12290:29;12309:9;12290:29;:::i;:::-;12280:39;;12338:38;12372:2;12361:9;12357:18;12338:38;:::i;:::-;12328:48;;12423:2;12412:9;12408:18;12395:32;12385:42;;12474:2;12463:9;12459:18;12446:32;12436:42;;12529:3;12518:9;12514:19;12501:33;-1:-1:-1;;;;;12549:6:1;12546:30;12543:50;;;12589:1;12586;12579:12;12543:50;12612:49;12653:7;12644:6;12633:9;12629:22;12612:49;:::i;13083:380::-;13162:1;13158:12;;;;13205;;;13226:61;;13280:4;13272:6;13268:17;13258:27;;13226:61;13333:2;13325:6;13322:14;13302:18;13299:38;13296:161;;13379:10;13374:3;13370:20;13367:1;13360:31;13414:4;13411:1;13404:15;13442:4;13439:1;13432:15;13296:161;;13083:380;;;:::o;13594:722::-;13644:3;13685:5;13679:12;13714:36;13740:9;13714:36;:::i;:::-;13769:1;13786:18;;;13813:133;;;;13960:1;13955:355;;;;13779:531;;13813:133;-1:-1:-1;;13846:24:1;;13834:37;;13919:14;;13912:22;13900:35;;13891:45;;;-1:-1:-1;13813:133:1;;13955:355;13986:5;13983:1;13976:16;14015:4;14060:2;14057:1;14047:16;14085:1;14099:165;14113:6;14110:1;14107:13;14099:165;;;14191:14;;14178:11;;;14171:35;14234:16;;;;14128:10;;14099:165;;;14103:3;;;14293:6;14288:3;14284:16;14277:23;;13779:531;;;;;13594:722;;;;:::o;14321:291::-;14477:3;14508:38;14542:3;14534:6;14508:38;:::i;:::-;14555:21;;;-1:-1:-1;;14603:2:1;14592:14;;14321:291;-1:-1:-1;14321:291:1:o;14617:289::-;14748:3;14786:6;14780:13;14802:66;14861:6;14856:3;14849:4;14841:6;14837:17;14802:66;:::i;:::-;14884:16;;;;;14617:289;-1:-1:-1;;14617:289:1:o;16140:127::-;16201:10;16196:3;16192:20;16189:1;16182:31;16232:4;16229:1;16222:15;16256:4;16253:1;16246:15;16272:127;16333:10;16328:3;16324:20;16321:1;16314:31;16364:4;16361:1;16354:15;16388:4;16385:1;16378:15;16404:168;16477:9;;;16508;;16525:15;;;16519:22;;16505:37;16495:71;;16546:18;;:::i;16577:128::-;16644:9;;;16665:11;;;16662:37;;;16679:18;;:::i;16710:135::-;16749:3;16770:17;;;16767:43;;16790:18;;:::i;:::-;-1:-1:-1;16837:1:1;16826:13;;16710:135::o;16850:410::-;17052:2;17034:21;;;17091:2;17071:18;;;17064:30;17130:34;17125:2;17110:18;;17103:62;-1:-1:-1;;;17196:2:1;17181:18;;17174:44;17250:3;17235:19;;16850:410::o;17265:125::-;17330:9;;;17351:10;;;17348:36;;;17364:18;;:::i;17395:127::-;17456:10;17451:3;17447:20;17444:1;17437:31;17487:4;17484:1;17477:15;17511:4;17508:1;17501:15;17527:120;17567:1;17593;17583:35;;17598:18;;:::i;:::-;-1:-1:-1;17632:9:1;;17527:120::o;17652:422::-;17741:1;17784:5;17741:1;17798:270;17819:7;17809:8;17806:21;17798:270;;;17878:4;17874:1;17870:6;17866:17;17860:4;17857:27;17854:53;;;17887:18;;:::i;:::-;17937:7;17927:8;17923:22;17920:55;;;17957:16;;;;17920:55;18036:22;;;;17996:15;;;;17798:270;;;17802:3;17652:422;;;;;:::o;18079:806::-;18128:5;18158:8;18148:80;;-1:-1:-1;18199:1:1;18213:5;;18148:80;18247:4;18237:76;;-1:-1:-1;18284:1:1;18298:5;;18237:76;18329:4;18347:1;18342:59;;;;18415:1;18410:130;;;;18322:218;;18342:59;18372:1;18363:10;;18386:5;;;18410:130;18447:3;18437:8;18434:17;18431:43;;;18454:18;;:::i;:::-;-1:-1:-1;;18510:1:1;18496:16;;18525:5;;18322:218;;18624:2;18614:8;18611:16;18605:3;18599:4;18596:13;18592:36;18586:2;18576:8;18573:16;18568:2;18562:4;18559:12;18555:35;18552:77;18549:159;;;-1:-1:-1;18661:19:1;;;18693:5;;18549:159;18740:34;18765:8;18759:4;18740:34;:::i;:::-;18810:6;18806:1;18802:6;18798:19;18789:7;18786:32;18783:58;;;18821:18;;:::i;:::-;18859:20;;18079:806;-1:-1:-1;;;18079:806:1:o;18890:131::-;18950:5;18979:36;19006:8;19000:4;18979:36;:::i;20194:407::-;20396:2;20378:21;;;20435:2;20415:18;;;20408:30;20474:34;20469:2;20454:18;;20447:62;-1:-1:-1;;;20540:2:1;20525:18;;20518:41;20591:3;20576:19;;20194:407::o;21039:422::-;21241:2;21223:21;;;21280:2;21260:18;;;21253:30;21319:34;21314:2;21299:18;;21292:62;21390:28;21385:2;21370:18;;21363:56;21451:3;21436:19;;21039:422::o;21466:407::-;21668:2;21650:21;;;21707:2;21687:18;;;21680:30;21746:34;21741:2;21726:18;;21719:62;-1:-1:-1;;;21812:2:1;21797:18;;21790:41;21863:3;21848:19;;21466:407::o;22840:1375::-;-1:-1:-1;;;23605:3:1;23598:37;23580:3;23664:6;23658:13;23680:75;23748:6;23743:2;23738:3;23734:12;23727:4;23719:6;23715:17;23680:75;:::i;:::-;23783:6;23778:3;23774:16;23764:26;;-1:-1:-1;;;23814:2:1;23810;23806:11;23799:25;23853:6;23848:2;23844;23840:11;23833:27;-1:-1:-1;;;23884:2:1;23880;23876:11;23869:24;-1:-1:-1;;;23917:2:1;23913;23909:11;23902:34;23967:6;23961:13;23983:76;24050:8;24045:2;24041;24037:11;24030:4;24022:6;24018:17;23983:76;:::i;:::-;-1:-1:-1;;;24119:2:1;24078:17;;;;24111:11;;;24104:41;24169:2;24161:11;;24154:27;;;;-1:-1:-1;;24205:3:1;24197:12;;22840:1375;-1:-1:-1;;;22840:1375:1:o;24220:383::-;24377:3;24415:6;24409:13;24431:66;24490:6;24485:3;24478:4;24470:6;24466:17;24431:66;:::i;:::-;24519:16;;;;24544:21;;;-1:-1:-1;24592:4:1;24581:16;;24220:383;-1:-1:-1;24220:383:1:o;24969:197::-;25097:3;25122:38;25156:3;25148:6;25122:38;:::i;25530:417::-;25732:2;25714:21;;;25771:2;25751:18;;;25744:30;25810:34;25805:2;25790:18;;25783:62;-1:-1:-1;;;25876:2:1;25861:18;;25854:51;25937:3;25922:19;;25530:417::o;26714:420::-;26916:2;26898:21;;;26955:2;26935:18;;;26928:30;26994:34;26989:2;26974:18;;26967:62;27065:26;27060:2;27045:18;;27038:54;27124:3;27109:19;;26714:420::o;27139:545::-;27241:2;27236:3;27233:11;27230:448;;;27277:1;27302:5;27298:2;27291:17;27347:4;27343:2;27333:19;27417:2;27405:10;27401:19;27398:1;27394:27;27388:4;27384:38;27453:4;27441:10;27438:20;27435:47;;;-1:-1:-1;27476:4:1;27435:47;27531:2;27526:3;27522:12;27519:1;27515:20;27509:4;27505:31;27495:41;;27586:82;27604:2;27597:5;27594:13;27586:82;;;27649:17;;;27630:1;27619:13;27586:82;;27230:448;27139:545;;;:::o;27860:1352::-;27986:3;27980:10;-1:-1:-1;;;;;28005:6:1;28002:30;27999:56;;;28035:18;;:::i;:::-;28064:97;28154:6;28114:38;28146:4;28140:11;28114:38;:::i;:::-;28108:4;28064:97;:::i;:::-;28216:4;;28280:2;28269:14;;28297:1;28292:663;;;;28999:1;29016:6;29013:89;;;-1:-1:-1;29068:19:1;;;29062:26;29013:89;-1:-1:-1;;27817:1:1;27813:11;;;27809:24;27805:29;27795:40;27841:1;27837:11;;;27792:57;29115:81;;28262:944;;28292:663;13541:1;13534:14;;;13578:4;13565:18;;-1:-1:-1;;28328:20:1;;;28446:236;28460:7;28457:1;28454:14;28446:236;;;28549:19;;;28543:26;28528:42;;28641:27;;;;28609:1;28597:14;;;;28476:19;;28446:236;;;28450:3;28710:6;28701:7;28698:19;28695:201;;;28771:19;;;28765:26;-1:-1:-1;;28854:1:1;28850:14;;;28866:3;28846:24;28842:37;28838:42;28823:58;28808:74;;28695:201;-1:-1:-1;;;;;28942:1:1;28926:14;;;28922:22;28909:36;;-1:-1:-1;27860:1352:1:o;31894:401::-;32096:2;32078:21;;;32135:2;32115:18;;;32108:30;32174:34;32169:2;32154:18;;32147:62;-1:-1:-1;;;32240:2:1;32225:18;;32218:35;32285:3;32270:19;;31894:401::o;32300:112::-;32332:1;32358;32348:35;;32363:18;;:::i;:::-;-1:-1:-1;32397:9:1;;32300:112::o;33826:401::-;34028:2;34010:21;;;34067:2;34047:18;;;34040:30;34106:34;34101:2;34086:18;;34079:62;-1:-1:-1;;;34172:2:1;34157:18;;34150:35;34217:3;34202:19;;33826:401::o;34232:406::-;34434:2;34416:21;;;34473:2;34453:18;;;34446:30;34512:34;34507:2;34492:18;;34485:62;-1:-1:-1;;;34578:2:1;34563:18;;34556:40;34628:3;34613:19;;34232:406::o;34643:465::-;34900:2;34889:9;34882:21;34863:4;34926:56;34978:2;34967:9;34963:18;34955:6;34926:56;:::i;:::-;35030:9;35022:6;35018:22;35013:2;35002:9;34998:18;34991:50;35058:44;35095:6;35087;35058:44;:::i;:::-;35050:52;34643:465;-1:-1:-1;;;;;34643:465:1:o;36728:148::-;36816:4;36795:12;;;36809;;;36791:31;;36834:13;;36831:39;;;36850:18;;:::i;38513:561::-;-1:-1:-1;;;;;38810:15:1;;;38792:34;;38862:15;;38857:2;38842:18;;38835:43;38909:2;38894:18;;38887:34;;;38952:2;38937:18;;38930:34;;;38772:3;38995;38980:19;;38973:32;;;38735:4;;39022:46;;39048:19;;39040:6;39022:46;:::i;:::-;39014:54;38513:561;-1:-1:-1;;;;;;;38513:561:1:o;39079:249::-;39148:6;39201:2;39189:9;39180:7;39176:23;39172:32;39169:52;;;39217:1;39214;39207:12;39169:52;39249:9;39243:16;39268:30;39292:5;39268:30;:::i;39333:179::-;39368:3;39410:1;39392:16;39389:23;39386:120;;;39456:1;39453;39450;39435:23;-1:-1:-1;39493:1:1;39487:8;39482:3;39478:18;39386:120;39333:179;:::o;39517:671::-;39556:3;39598:4;39580:16;39577:26;39574:39;;;39517:671;:::o;39574:39::-;39640:2;39634:9;-1:-1:-1;;39705:16:1;39701:25;;39698:1;39634:9;39677:50;39756:4;39750:11;39780:16;-1:-1:-1;;;;;39886:2:1;39879:4;39871:6;39867:17;39864:25;39859:2;39851:6;39848:14;39845:45;39842:58;;;39893:5;;;;;39517:671;:::o;39842:58::-;39930:6;39924:4;39920:17;39909:28;;39966:3;39960:10;39993:2;39985:6;39982:14;39979:27;;;39999:5;;;;;;39517:671;:::o;39979:27::-;40083:2;40064:16;40058:4;40054:27;40050:36;40043:4;40034:6;40029:3;40025:16;40021:27;40018:69;40015:82;;;40090:5;;;;;;39517:671;:::o;40015:82::-;40106:57;40157:4;40148:6;40140;40136:19;40132:30;40126:4;40106:57;:::i;:::-;-1:-1:-1;40179:3:1;;39517:671;-1:-1:-1;;;;;39517:671:1:o;40614:404::-;40816:2;40798:21;;;40855:2;40835:18;;;40828:30;40894:34;40889:2;40874:18;;40867:62;-1:-1:-1;;;40960:2:1;40945:18;;40938:38;41008:3;40993:19;;40614:404::o;41023:827::-;-1:-1:-1;;;;;41420:15:1;;;41402:34;;41472:15;;41467:2;41452:18;;41445:43;41382:3;41519:2;41504:18;;41497:31;;;41345:4;;41551:57;;41588:19;;41580:6;41551:57;:::i;:::-;41656:9;41648:6;41644:22;41639:2;41628:9;41624:18;41617:50;41690:44;41727:6;41719;41690:44;:::i;:::-;41676:58;;41783:9;41775:6;41771:22;41765:3;41754:9;41750:19;41743:51;41811:33;41837:6;41829;41811:33;:::i;:::-;41803:41;41023:827;-1:-1:-1;;;;;;;;41023:827:1:o;41855:179::-;41933:13;;41986:22;41975:34;;41965:45;;41955:73;;42024:1;42021;42014:12;42039:473;42142:6;42150;42158;42166;42174;42227:3;42215:9;42206:7;42202:23;42198:33;42195:53;;;42244:1;42241;42234:12;42195:53;42267:39;42296:9;42267:39;:::i;:::-;42257:49;;42346:2;42335:9;42331:18;42325:25;42315:35;;42390:2;42379:9;42375:18;42369:25;42359:35;;42434:2;42423:9;42419:18;42413:25;42403:35;;42457:49;42501:3;42490:9;42486:19;42457:49;:::i;:::-;42447:59;;42039:473;;;;;;;;:::o

Swarm Source

ipfs://239a96925293f98fefda6a40c11e270b52ed412056ca15a1de1ca1f9d4e391a9

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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