Skip to content

Commit 4dfc7b8

Browse files
Merge branch 'main' into pyth-token
2 parents 4c0037d + 4da35ce commit 4dfc7b8

Some content is hidden

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

49 files changed

+2086
-1194
lines changed

Cargo.lock

Lines changed: 31 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/developer-hub/content/docs/entropy/best-practices.mdx

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

apps/developer-hub/content/docs/entropy/contract-addresses.mdx renamed to apps/developer-hub/content/docs/entropy/chainlist.mdx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
---
2-
title: Contract Addresses
2+
title: Chainlist and Fee Details
33
description: Pyth Entropy contract addresses on EVM networks
4+
icon: FileText
45
---
56

67
import { EntropyTable } from "../../../src/components/EntropyTable";
78

89
## Mainnets
910

11+
<InfoBox variant="warning">
12+
The fees for mainnet are dynamically set. Always use the on-chain method
13+
`entropy.getFeeV2()` to get the current fee.
14+
</InfoBox>
15+
16+
The following tables shows the total fees payable when using the **default provider**.
17+
Note that the fees shown below will vary over time with prevailing gas prices on each chain.
18+
1019
The Entropy contract is deployed on the following mainnet chains:
1120

1221
<EntropyTable isMainnet={true} />
@@ -16,10 +25,16 @@ The Entropy contract is deployed on the following mainnet chains:
1625
The default provider on mainnet has a reveal delay to avoid changes on the outcome of the Entropy request because of block reorgs.
1726
The reveal delay shows how many blocks should be produced after the block including the request transaction in order to reveal and submit a callback transaction.
1827

19-
The default provider fulfills the request by sending a transaction with a gas limit as mentioned in above table. Entropy callbacks the consumer as part of this transaction.
28+
The default provider fulfills the request by sending a transaction with a gas limit as mentioned in above table or as set by the user in the request.
29+
Entropy callbacks the consumer as part of this transaction.
2030

2131
## Testnets
2232

33+
<InfoBox variant="info">
34+
The fees for testnets kept deliberately low and different from the mainnet
35+
fees.
36+
</InfoBox>
37+
2338
The Entropy contract is deployed on the following testnet chains:
2439

2540
<EntropyTable isMainnet={false} />

0 commit comments

Comments
 (0)