Sequencer
The Sequencer plays a crucial role in:
Receiving Proofs: Securely receives proofs from CPs.
Validating Proofs: Checks the integrity, authenticity, and timeliness of proofs, including CP signatures.
Batching Proofs: Aggregates proofs into blobs for efficient storage and processing.
Submitting Data: Submits aggregated task data to the Swan Chain, creating AggregateTask contracts with blob CIDs.
Gas Fee Management: Manages gas fees for CPs, maintaining separate accounts for gas costs and charging a small fee per task.
Dynamic Pricing Strategy
Due to significant increases in ETH mainnet gas prices, the Sequencer has implemented a dynamic pricing strategy to maintain stable L3 operations. The price per proof is calculated using the following formula:
Where:
= 0.01 ETH
= 20 Gwei
= Current ETH mainnet gas price at the time of L3 chain interaction
= 0.00001 ETH
For example, based on recent network conditions (as of November 12):
Daily network-wide proof submissions () = 8,500
Average gas price () = 25 Gwei
This results in an adjusted gas fee that ensures efficient operation while maintaining cost-effectiveness for all participants.
Last updated