mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
14 lines
504 B
Markdown
14 lines
504 B
Markdown
|
# `pricefeed`
|
||
|
|
||
|
<!-- TOC -->
|
||
|
1. **[Concepts](01_concepts.md)**
|
||
|
2. **[State](02_state.md)**
|
||
|
3. **[Messages](03_messages.md)**
|
||
|
4. **[Events](04_events.md)**
|
||
|
5. **[Params](05_params.md)**
|
||
|
6. **[BeginBlock](06_begin_block.md)**
|
||
|
|
||
|
## Abstract
|
||
|
|
||
|
`x/pricefeed` is an implementation of a Cosmos SDK Module that handles the posting of prices for various markets by a group of whitelisted oracles. At the beginning of each block, the median price of all oracle posted prices is determined for each market and stored.
|