File tree Expand file tree Collapse file tree 5 files changed +42
-9
lines changed Expand file tree Collapse file tree 5 files changed +42
-9
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ import { EntropyTable } from "../../../src/components/EntropyTable";
88
99## Mainnets
1010
11- <InfoBox variant = " warning" >
11+ <Callout type = " warning" >
1212 <div >
1313 The fees for mainnet are dynamically set. Always use the on-chain method
1414 ` entropy.getFeeV2() ` to get the current fee.
1515 </div >
16- </InfoBox >
16+ </Callout >
1717
1818The following tables shows the total fees payable when using the ** default provider** .
1919Note that the fees shown below will vary over time with prevailing gas prices on each chain.
@@ -32,12 +32,12 @@ Entropy callbacks the consumer as part of this transaction.
3232
3333## Testnets
3434
35- <InfoBox variant = " info" >
35+ <Callout type = " info" >
3636 <div >
3737 The fees for testnets are kept deliberately low and different from the
3838 mainnet fees.
3939 </div >
40- </InfoBox >
40+ </Callout >
4141
4242The Entropy contract is deployed on the following testnet chains:
4343
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ Note that protocols integrating with Entropy can pass these fees along to their
1717submits a transaction that requests a random number, the user can directly pay the entropy fees required
1818with the native blockchain token. There are no fees for revealing the random numbers.
1919
20- You can check the current fees in the [ chainlist and fee details] ( ./entropy/ chainlist ) page for each blockchain.
20+ You can check the current fees in the [ chainlist and fee details] ( ./chainlist ) page for each blockchain.
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ Each of these request types is described in more detail with examples in [Reques
2222### 2. Enhanced Callback Status
2323
2424Entropy V2 introduces callback statuses, which allow users to track the status of their callbacks.
25-
2625[ Pyth Dev-Forum Announcement] ( https://dev-forum.pyth.network/t/announcing-entropy-v2/324#p-649-enhanced-callback-statuses-2 ) provides more details on enhanced callback statuses.
2726
2827### 3. Entropy Explorer
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: Pyth Network KPI
33description : Monthly informative data points on the Pyth network, its growth, and performance metrics.
44---
55
6- <Callout type = " info" title = " Pyth Network KPI " >
6+ <Callout type = " info" title = " Pyth Network KPI " >
77 For the latest KPI dashboard, please visit
88 [ https://kpi.pyth.network/ ] ( https://kpi.pyth.network/ ) .
99</Callout >
Original file line number Diff line number Diff line change 1+ import { Banner } from "fumadocs-ui/components/banner" ;
12import { DocsLayout } from "fumadocs-ui/layouts/docs" ;
3+ import Link from "next/link" ;
24import type { ReactNode } from "react" ;
35
46import { docsOptions } from "../../../config/layout.config" ;
57
6- export default function Layout ( { children } : { children : ReactNode } ) {
8+ export default function Layout ( {
9+ children,
10+ params,
11+ } : {
12+ children : ReactNode ;
13+ params : { section : string } ;
14+ } ) {
15+ const { section } = params ;
716 const options = { ...docsOptions } ;
8- return < DocsLayout { ...options } > { children } </ DocsLayout > ;
17+
18+ return (
19+ < >
20+ { section === "entropy" && (
21+ < Banner changeLayout = { false } id = "entropy-v2" variant = "rainbow" >
22+ < span >
23+ < strong >
24+ Try the{ " " }
25+ < a
26+ href = "https://entropy-explorer.pyth.network/"
27+ target = "_blank"
28+ rel = "noopener noreferrer"
29+ >
30+ Entropy Explorer
31+ </ a >
32+ </ strong > { " " }
33+ to track and debug callback issues. |
34+ < Link href = "./entropy/whats-new-entropyv2" >
35+ Learn what's new in Entropy v2.
36+ </ Link >
37+ </ span >
38+ </ Banner >
39+ ) }
40+ < DocsLayout { ...options } > { children } </ DocsLayout >
41+ </ >
42+ ) ;
943}
You can’t perform that action at this time.
0 commit comments