Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion automations/feed_table_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ def get(cls, name: str) -> "NetworkConfig":
FTSO_RISK_PATH: Final[Path] = Path("ftso_risk.json")
REPO_ROOT: Final[Path] = Path(__file__).resolve().parents[1]
FTSO_FEEDS_PATH: Final[Path] = (
REPO_ROOT / "src" / "features" / "DataTables" / "FtsoFeeds" / "ftso_feeds.json"
REPO_ROOT
/ "src"
/ "features"
/ "DataTables"
/ "FtsoFeeds"
/ "ftso_feeds.generated.json"
)

HARD_CODED_FEEDS: Final[dict[str, dict[str, str]]] = {
Expand Down
7 changes: 6 additions & 1 deletion automations/solidity_reference_table_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ def get(cls, name: str) -> "NetworkConfig":
# Configuration
REPO_ROOT: Final[Path] = Path(__file__).resolve().parents[1]
OUTPUT_PATH: Final[Path] = (
REPO_ROOT / "src" / "features" / "DataTables" / "SolidityReference" / "solidity_reference.json"
REPO_ROOT
/ "src"
/ "features"
/ "DataTables"
/ "SolidityReference"
/ "solidity_reference.generated.json"
)

REGISTRY_ABI: Final[list[dict[str, Any]]] = [
Expand Down
1,347 changes: 860 additions & 487 deletions automations/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/ftso/scaling/2-getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The DA Layer provides API endpoints for querying offchain data from Flare protoc
| Flare Testnet Coston2 | `https://ctn2-data-availability.flare.network/` |
| Songbird Testnet Coston | `https://ctn-data-availability.flare.network/` |

All networks have the same API structure. For a full list of endpoints see [Data Availability API Reference](/fdc/reference/data-availability-api).
All networks have the same API structure. For a full list of endpoints see [Data Availability API Reference](/ftso/scaling/solidity-reference/data-availability-api).

## Fetching anchor feed data

Expand Down
10 changes: 10 additions & 0 deletions docs/ftso/scaling/solidity-reference/data-availability-api.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
sidebar_label: Data Availability API
hide_title: true
description: OpenAPI specification for Data Availability API.
sidebar_position: 1
---

import OpenApiDoc from "@site/src/components/OpenApiDoc";

<OpenApiDoc url="openapi/data-availability-api.yaml" />
19 changes: 8 additions & 11 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ const config: Config = {
tagline: "Official documentation for Flare.",
favicon: "/img/favicon.ico",

// Set the production url of your site here
url: "https://dev.flare.network",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: "/",

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: "flare-foundation", // Usually your GitHub org/user name.
projectName: "developer-hub", // Usually your repo name.
organizationName: "flare-foundation",
projectName: "developer-hub",

onBrokenAnchors: "throw",
onDuplicateRoutes: "throw",
Expand All @@ -31,12 +26,14 @@ const config: Config = {
},
},

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
trailingSlash: false,

i18n: {
defaultLocale: "en",
locales: ["en"],
localeConfigs: {
en: { htmlLang: "en" },
},
},

// Experimental features in preparation for Docusaurus v4 upgrade
Expand Down Expand Up @@ -354,7 +351,7 @@ const config: Config = {
],
],
scripts: [
// Optimized cookie script loading - defer until after page load
// Defer cookie script loading until after page load
{
src: "/js/cookie-loader.js",
defer: true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/features/DataTables/FtsoFeeds/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import Tippy from "@tippyjs/react";
import "tippy.js/dist/tippy.css";
import CopyButton from "@site/src/components/CopyButton";
import tableData from "./ftso_feeds.json";
import tableData from "./ftso_feeds.generated.json";
import Link from "@docusaurus/Link";
import styles from "../tableStyles.module.css";

Expand Down
2 changes: 1 addition & 1 deletion src/features/DataTables/SolidityReference/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from "react";
import Link from "@docusaurus/Link";
import tableDataRaw from "./solidity_reference.json";
import tableDataRaw from "./solidity_reference.generated.json";
import styles from "../tableStyles.module.css";

type ContractData = Readonly<{
Expand Down
Loading