0g-chain/x/pricefeed/spec
2024-04-25 15:31:20 +08:00
..
01_concepts.md add modules 2024-04-25 15:31:20 +08:00
02_state.md add modules 2024-04-25 15:31:20 +08:00
03_messages.md add modules 2024-04-25 15:31:20 +08:00
04_events.md add modules 2024-04-25 15:31:20 +08:00
05_params.md add modules 2024-04-25 15:31:20 +08:00
06_end_block.md add modules 2024-04-25 15:31:20 +08:00
README.md add modules 2024-04-25 15:31:20 +08:00

pricefeed

  1. Concepts
  2. State
  3. Messages
  4. Events
  5. Params
  6. EndBlock

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 end of each block, the median price of all oracle posted prices is determined for each market and stored.