diff --git a/tools/obscuroscan_v3/frontend/pages/404.tsx b/tools/obscuroscan_v3/frontend/pages/404.tsx
new file mode 100644
index 0000000000..2b7a07c742
--- /dev/null
+++ b/tools/obscuroscan_v3/frontend/pages/404.tsx
@@ -0,0 +1,38 @@
+import { ErrorType } from "@/src/types/interfaces";
+import Error from "./_error";
+
+export function Custom404Error({
+ customPageTitle,
+ showRedirectText,
+ redirectText,
+ isFullWidth,
+ message,
+ showMessage = true,
+ redirectLink,
+ children,
+}: ErrorType) {
+ return (
+
{message}
+ )} +A table of Batches.
++ {Total} Batches found. +
Loading...
)} diff --git a/tools/obscuroscan_v3/frontend/pages/blocks/index.tsx b/tools/obscuroscan_v3/frontend/pages/blocks/index.tsx index 24c10c7901..4570a4f32f 100644 --- a/tools/obscuroscan_v3/frontend/pages/blocks/index.tsx +++ b/tools/obscuroscan_v3/frontend/pages/blocks/index.tsx @@ -11,7 +11,16 @@ export const metadata: Metadata = { }; export default function Blocks() { - const { blocks } = useBlocksService(); + const { blocks, setNoPolling, refetchBlocks } = useBlocksService(); + const { BlocksData, Total } = blocks?.result || { + BlocksData: [], + Total: 0, + }; + + React.useEffect(() => { + setNoPolling(true); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); return (A table of Blocks.
++ {Total} Blocks found. +
Loading...
)} diff --git a/tools/obscuroscan_v3/frontend/pages/docs/[id].tsx b/tools/obscuroscan_v3/frontend/pages/docs/[id].tsx new file mode 100644 index 0000000000..022609528d --- /dev/null +++ b/tools/obscuroscan_v3/frontend/pages/docs/[id].tsx @@ -0,0 +1,105 @@ +import Layout from "@/src/components/layouts/default-layout"; +import Spinner from "@/src/components/ui/spinner"; +import { useToast } from "@/src/components/ui/use-toast"; +import { siteMetadata } from "@/src/lib/siteMetadata"; +import { useRouter } from "next/router"; +import React from "react"; +import Custom404Error from "../404"; + +type Document = { + title: string; + subHeading: string; + content: { + heading: string; + content: string[]; + }[]; +}; + +const Document = () => { + const { toast } = useToast(); + const { query } = useRouter(); + const { id } = query; + + const [document, setDocument] = React.useState+ {document.subHeading} +
+A table of transactions.
++ {Total} Transactions found. +
Loading...
diff --git a/tools/obscuroscan_v3/frontend/public/docs/privacy.json b/tools/obscuroscan_v3/frontend/public/docs/privacy.json new file mode 100644 index 0000000000..03dfcf9203 --- /dev/null +++ b/tools/obscuroscan_v3/frontend/public/docs/privacy.json @@ -0,0 +1,105 @@ +{ + "title": "Privacy Policy", + "subHeading": "Last Updated: November 28, 2023", + "content": [ + { + "heading": "1. LEGAL INFORMATION", + "content": [ + "This Privacy Policy informs how Obscuro Limited (hereinafter also – ”Controller”, “Owner”,” we”, “us” or “our”) processes information and personal data on the website https://www.obscu.ro/ as well as any other media form, media channel, mobile website or mobile application related, linked, or otherwise connected thereto (hereinafter – Platform).", + "We strive to protect all personal information that we receive or generate. This Privacy Policy (“Privacy Policy” or “Policy”) explains our data protection practices for our visitors. This Privacy Policy also explains the nature of the personal information we collect, the means by which we collect it, the purposes for which we collect it, and how we use, process, protect, and share it.", + "Please read this entire Privacy Policy before submitting information to this Platform. By accessing or using this Platform for any purpose and by submitting any of your personal information to us, you are consenting to the terms and conditions of this Policy and to our Terms of Service posted on this Platform. If you disagree with any part of this Privacy Policy or the Terms of Service, please do not use this Platform or any of our other services and do not share any personal information with us.", + "Data Controller: Obscuro Limited, company incorporated and registered in England and Wales under company number 13873741 with a registered office at Ground Floor, Cromwell House, 15 Andover Road, Winchester, SO23 7BT, UK.", + "Contact information: e-mail address: terms@obscu.ro" + ] + }, + { + "heading": "2. DEFINITIONS AND LEGAL REFERENCES", + "content": [ + "Personal Data (or Data) - Any information that directly, indirectly, or in connection with other information — including a personal identification number — allows for the identification or identifiability of a natural person.", + "Usage Data - Information collected automatically through this Platform (or third-party services employed in this Platform), which can include: the IP addresses or domain names of the computers utilised by the Users who use this Platform, the URI addresses (Uniform Resource Identifier), the time of the request, the method utilized to submit the request to the server, the size of the file received in response, the numerical code indicating the status of the server's answer (successful outcome, error, etc.), the country of origin, the features of the browser and the operating system utilized by the User, the various time details per visit (e.g., the time spent on each page within the Platform) and the details about the path followed within the Platform with special reference to the sequence of pages visited, and other parameters about the device operating system and/or the User's IT environment.", + "User - The individual using this Platform who, unless otherwise specified, coincides with the Data Subject.", + "Data Subject - The natural person to whom the Personal Data refers.", + "Data Processor (or Data Supervisor) - The natural or legal person, public authority, agency or other body which processes Personal Data on behalf of the Controller, as described in this privacy policy.", + "Data Controller (or Owner) - The natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of Personal Data, including the security measures concerning the operation and use of this Platform. The Data Controller, unless otherwise specified, is the Owner of this Platform.", + "This Platform - The means by which the Personal Data of the User is collected and processed.", + "Service - The service provided by this Platform as described in the relative terms and on this Platform." + ] + }, + { + "heading": "3. COLLECTING OF DATA", + "content": [ + "This section explains generally the sources from which, and the means by which, we collect and process personal information.", + "Activity | Categories of Personal data |
---|---|
Visiting the Platform |
|
Contacting Obscuro Limited support teams |
|
Allowing the visitors and Users to exercise their data protection rights |
|
Complying with legal requests or manage litigation |
|
Provide our Services on Platform |
|
Sending you marketing communications or newsletter |
|
Purpose | Legal Basis |
---|---|
If you communicate with us (for example, if you email or call us), we will use your information for dealing with your queries, training and customer service purposes. | Contractual necessity: where you provide information that is necessary for us to fulfil our contract with you and provide our Services. Our legitimate interests are to handle your queries and provide you with the requested information, ensure high customer service quality and to train staff in responding to such requests. |
To send you marketing communications about our Services (and the products or services of third parties that we make available through our Services), or to send you our newsletter when you sign up to receive this and to monitor whether you open our emails and/or click on URLs in our emails. | We rely on your consent, where this is required by law. Otherwise, we rely on our legitimate interest to keep you informed of products and services on our platforms, when we are allowed by law to do so. |
To carry out market research and create marketing profiles about our users and understand their preferences in relation to our Services (including the products and services available through these). | Our legitimate interest to carry out marketing activities. |
To display our advertisements to you on other platforms, such as social media platforms or to display on our website and app advertisements which we think you might like. | Your consent, where we obtain this information by using cookies or where otherwise required by law. Otherwise, we rely on our and third parties’ legitimate interests to carry out marketing activities and inform you of products and services we think you might like. |
To compile statistics and analysis about the use of our Services and use such statistics to enable us to provide a better service, features, and functionality to you and other users. Your consent, where we obtain this information by using cookies. | Our legitimate interests (where consent is not required by law) so as to ensure the smooth and effective functioning of our Services, to make sound business decisions about our products and services and to design, inform and deploy our business strategies. |
To respond to legitimate requests for the disclosure of information, made by public authorities, law enforcement or government bodies or under a court order. | Legal requirement, to the extent we are obliged under law to process such requests. Our legitimate interests to assist legitimate investigations carried out by official authorities. |
To respond to complaints, to protect our legal rights and to establish, exercise or defend legal claims relating to our platforms and/or our products and services. | Our legitimate interests to protect our legal rights. |
For tax, accounting, record keeping and audit purposes. | Legal requirements, to the extent the law requires that we use your information (for example, to comply with our tax obligations). |