Skip to content

Commit ef74f74

Browse files
committed
Merge branch 'main' into develop
# Conflicts: # docs/fdc/2-getting-started.mdx
2 parents 751b221 + a0e22ec commit ef74f74

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+12298
-8902
lines changed

.github/config/ignored-words.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/config/typos.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[default]
2+
binary = false
3+
4+
[default.extend-words]
5+
WNat = "WNat"
6+
WNAT = "WNAT"
7+
wNat = "wNat"
8+
bU = "bU"
9+
whats = "whats"
10+
requestor = "requestor"
11+
devlop = "devlop"
12+
crate = "crate"
13+
mis = "mis"
14+
15+
[files]
16+
extend-exclude = [
17+
"*.svg",
18+
"*.png",
19+
"*.jpg",
20+
"*.woff",
21+
"*.woff2",
22+
"*.pdf",
23+
"package-lock.json",
24+
"*.mod",
25+
"*.sum",
26+
"*.lock"
27+
]

.github/workflows/automatic-feed-request.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,17 @@ jobs:
2525
run: uv sync
2626
- name: Generate issues file
2727
run: uv run check_new_feed.py
28-
- uses: JasonEtco/create-an-issue@v2
28+
- name: Check if issues file is empty
29+
id: check_file
30+
run: |
31+
if [ -s "automations/issues.md" ]; then
32+
echo "file_is_empty=false" >> $GITHUB_OUTPUT
33+
else
34+
echo "file_is_empty=true" >> $GITHUB_OUTPUT
35+
fi
36+
- name: Create issue
37+
uses: JasonEtco/create-an-issue@v2
38+
if: steps.check_file.outputs.file_is_empty == 'false'
2939
env:
3040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3141
with:

.github/workflows/spell-check.yml

Lines changed: 6 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,19 @@
11
name: Spell Check
2-
32
on:
43
pull_request:
5-
paths:
6-
- "**/*.md"
7-
- "**/*.mdx"
8-
- "**/*.txt"
9-
- "**/*.yml"
10-
- "**/*.yaml"
11-
- "**/*.py"
12-
- "**/*.js"
13-
- "**/*.tsx"
14-
- "**/*.html"
15-
- "**/*.rst"
16-
- "!**/*.svg" # Exclude svg files from triggering the workflow
17-
- "!**/*.sol"
18-
- "**/*.go"
19-
- "!**/*.sum"
20-
- "!**/*.mod"
21-
- "!**/*.json"
4+
5+
permissions:
6+
contents: read
227

238
jobs:
249
spell-check:
2510
if: github.event.pull_request.changed_files > 0
2611
runs-on: ubuntu-latest
27-
2812
steps:
2913
- name: Checkout code
3014
uses: actions/checkout@v4
3115

32-
- name: Set up Python
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: "3.x"
36-
37-
- name: Install codespell
38-
run: pip install codespell
39-
4016
- name: Run Spell Check
41-
run: |
42-
codespell \
43-
--ignore-words=.github/config/ignored-words.txt \
44-
--skip="*.svg,*.png,*.jpg,*.woff,*.woff2,*.pdf,package-lock.json" \
45-
--quiet-level=2 \
46-
--check-filenames \
47-
.
48-
49-
- name: Annotate spelling errors
50-
if: failure()
51-
run: echo "::error::Spelling errors detected. Please fix the typos or add to the ignore list if intentional."
17+
uses: crate-ci/typos@master
18+
with:
19+
config: ./.github/config/typos.toml

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ yarn-error.log*
2424

2525
flare-smart-contracts-v2/
2626
flare-smart-contracts/
27-
docgen/fassets/
27+
docgen/fassets/
28+
29+
bin/

automations/anchor_feeds.json

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
{
259259
"feed_name": "WIF/USD",
260260
"feed_id": "0x015749462f55534400000000000000000000000000",
261-
"decimals": 5,
261+
"decimals": 6,
262262
"base_asset": "dogwifhat",
263263
"category": "Crypto",
264264
"risk": 3
@@ -406,5 +406,61 @@
406406
"base_asset": "Official Trump",
407407
"category": "Crypto",
408408
"risk": 4
409+
},
410+
{
411+
"feed_name": "USDX/USD",
412+
"feed_id": "0x01555344582f555344000000000000000000000000",
413+
"decimals": 5,
414+
"base_asset": "Hex Trust USD",
415+
"category": "Crypto",
416+
"risk": 0
417+
},
418+
{
419+
"feed_name": "JOULE/USD",
420+
"feed_id": "0x014a4f554c452f5553440000000000000000000000",
421+
"decimals": 7,
422+
"base_asset": "Joule",
423+
"category": "Crypto",
424+
"risk": 4
425+
},
426+
{
427+
"feed_name": "HBAR/USD",
428+
"feed_id": "0x01484241522f555344000000000000000000000000",
429+
"decimals": 6,
430+
"base_asset": "Hedera",
431+
"category": "Crypto",
432+
"risk": 3
433+
},
434+
{
435+
"feed_name": "PENGU/USD",
436+
"feed_id": "0x0150454e47552f5553440000000000000000000000",
437+
"decimals": 7,
438+
"base_asset": "Pudgy Penguins",
439+
"category": "Crypto",
440+
"risk": 3
441+
},
442+
{
443+
"feed_name": "HYPE/USD",
444+
"feed_id": "0x01485950452f555344000000000000000000000000",
445+
"decimals": 5,
446+
"base_asset": "Hyperliquid",
447+
"category": "Crypto",
448+
"risk": 3
449+
},
450+
{
451+
"feed_name": "APT/USD",
452+
"feed_id": "0x014150542f55534400000000000000000000000000",
453+
"decimals": 5,
454+
"base_asset": "Aptos",
455+
"category": "Crypto",
456+
"risk": 2
457+
},
458+
{
459+
"feed_name": "PAXG/USD",
460+
"feed_id": "0x01504158472f555344000000000000000000000000",
461+
"decimals": 3,
462+
"base_asset": "PAX Gold",
463+
"category": "Crypto",
464+
"risk": 1
409465
}
410466
]

automations/anchor_risk.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,12 @@
4949
{ "name": "RENDER/USD", "index": 47, "decimals": 5, "volatility": 1 },
5050
{ "name": "NOT/USD", "index": 48, "decimals": 7, "volatility": 2},
5151
{ "name": "RUNE/USD", "index": 49, "decimals": 5, "volatility": 2 },
52-
{ "name": "TRUMP/USD", "index": 50, "decimals": 5, "volatility": 4 }
52+
{ "name": "TRUMP/USD", "index": 50, "decimals": 5, "volatility": 4 },
53+
{ "name": "USDX/USD", "index": 51, "decimals": 5, "volatility": 0 },
54+
{ "name": "JOULE/USD", "index": 52, "decimals": 5, "volatility": 4 },
55+
{ "name": "HBAR/USD", "index": 53, "decimals": 5, "volatility": 3 },
56+
{ "name": "PENGU/USD", "index": 54, "decimals": 6, "volatility": 3 },
57+
{ "name": "HYPE/USD", "index": 55, "decimals": 5, "volatility": 3 },
58+
{ "name": "APT/USD", "index": 56, "decimals": 5, "volatility": 2 },
59+
{ "name": "PAXG/USD", "index": 57, "decimals": 3, "volatility": 1 }
5360
]

automations/block_latency_feeds.json

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
"feed_name": "WIF/USD",
292292
"feed_index": 32,
293293
"feed_id": "0x015749462f55534400000000000000000000000000",
294-
"decimals": 5,
294+
"decimals": 6,
295295
"base_asset": "dogwifhat",
296296
"category": "Crypto",
297297
"risk": 3
@@ -457,5 +457,68 @@
457457
"base_asset": "Official Trump",
458458
"category": "Crypto",
459459
"risk": 4
460+
},
461+
{
462+
"feed_name": "USDX/USD",
463+
"feed_index": 51,
464+
"feed_id": "0x01555344582f555344000000000000000000000000",
465+
"decimals": 5,
466+
"base_asset": "Hex Trust USD",
467+
"category": "Crypto",
468+
"risk": 0
469+
},
470+
{
471+
"feed_name": "JOULE/USD",
472+
"feed_index": 52,
473+
"feed_id": "0x014a4f554c452f5553440000000000000000000000",
474+
"decimals": 7,
475+
"base_asset": "Joule",
476+
"category": "Crypto",
477+
"risk": 4
478+
},
479+
{
480+
"feed_name": "HBAR/USD",
481+
"feed_index": 53,
482+
"feed_id": "0x01484241522f555344000000000000000000000000",
483+
"decimals": 6,
484+
"base_asset": "Hedera",
485+
"category": "Crypto",
486+
"risk": 3
487+
},
488+
{
489+
"feed_name": "PENGU/USD",
490+
"feed_index": 54,
491+
"feed_id": "0x0150454e47552f5553440000000000000000000000",
492+
"decimals": 7,
493+
"base_asset": "Pudgy Penguins",
494+
"category": "Crypto",
495+
"risk": 3
496+
},
497+
{
498+
"feed_name": "HYPE/USD",
499+
"feed_index": 55,
500+
"feed_id": "0x01485950452f555344000000000000000000000000",
501+
"decimals": 5,
502+
"base_asset": "Hyperliquid",
503+
"category": "Crypto",
504+
"risk": 3
505+
},
506+
{
507+
"feed_name": "APT/USD",
508+
"feed_index": 56,
509+
"feed_id": "0x014150542f55534400000000000000000000000000",
510+
"decimals": 5,
511+
"base_asset": "Aptos",
512+
"category": "Crypto",
513+
"risk": 2
514+
},
515+
{
516+
"feed_name": "PAXG/USD",
517+
"feed_index": 57,
518+
"feed_id": "0x01504158472f555344000000000000000000000000",
519+
"decimals": 3,
520+
"base_asset": "PAX Gold",
521+
"category": "Crypto",
522+
"risk": 1
460523
}
461524
]

automations/block_latency_risk.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,12 @@
4949
{ "name": "RENDER/USD", "index": 47, "decimals": 5, "volatility": 1 },
5050
{ "name": "NOT/USD", "index": 48, "decimals": 7, "volatility": 2},
5151
{ "name": "RUNE/USD", "index": 49, "decimals": 5, "volatility": 2 },
52-
{ "name": "TRUMP/USD", "index": 50, "decimals": 5, "volatility": 4 }
52+
{ "name": "TRUMP/USD", "index": 50, "decimals": 5, "volatility": 4 },
53+
{ "name": "USDX/USD", "index": 51, "decimals": 5, "volatility": 0 },
54+
{ "name": "JOULE/USD", "index": 51, "decimals": 5, "volatility": 4 },
55+
{ "name": "HBAR/USD", "index": 53, "decimals": 5, "volatility": 3 },
56+
{ "name": "PENGU/USD", "index": 54, "decimals": 6, "volatility": 3 },
57+
{ "name": "HYPE/USD", "index": 55, "decimals": 5, "volatility": 3 },
58+
{ "name": "APT/USD", "index": 56, "decimals": 5, "volatility": 2 },
59+
{ "name": "PAXG/USD", "index": 57, "decimals": 3, "volatility": 1 }
5360
]

automations/check_new_feed.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,5 @@ def write_issues_file(path: Path, header: str, coins: list[dict[str, Any]]) -> N
125125
]
126126

127127
# Write results to issues file
128-
write_issues_file(ISSUES_FILE, HEADER_TEMPLATE, selected_coins)
128+
if selected_coins:
129+
write_issues_file(ISSUES_FILE, HEADER_TEMPLATE, selected_coins)

0 commit comments

Comments
 (0)