package
7.0.1+incompatible
Repository: https://github.com/dydxprotocol/v4-chain.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
AssertMarketCreateEventInIndexerBlock verifies that the market create has a corresponding market create event included in the Indexer block message.
AssertMarketEventsNotInIndexerBlock verifies that no market events were included in the Indexer block message.
AssertMarketModifyEventInIndexerBlock verifies that the market update has a corresponding market modify event included in the Indexer block message.
No description provided by the author
AssertNMarketEventsNotInIndexerBlock verifies that N market events were included in the Indexer block message.
AssertPriceUpdateEventsInIndexerBlock verifies that the market update has a corresponding price update event included in the Indexer block message.
No description provided by the author
No description provided by the author
No description provided by the author
Convert MarketParams into MarketMap markets and create them in the MarketMap keeper.
No description provided by the author
CreateNMarkets creates N MarketParam, MarketPrice pairs for testing.
No description provided by the author
No description provided by the author
No description provided by the author
CreateTestMarket creates a market with the given MarketParam and MarketPrice.
CreateTestMarkets creates a standard set of test markets for testing.
No description provided by the author
CreateTestPriceMarkets is a test utility function that creates list of given price markets in state.
CreateTestPricesAndPerpetualMarkets is a test utility function that creates list of given prices and perpetual markets in state.
CreateUsdcAsset creates USDC in the assets module for tests.
No description provided by the author
No description provided by the author
No description provided by the author
GetAssetCreateEventsFromIndexerBlock returns the asset create events in the Indexer Block event Kafka message.
GetLiquidityTierUpsertEventsFromIndexerBlock returns the liquidityTier upsert events in the Indexer Block event Kafka message.
No description provided by the author
GetSubaccountUpdateEventsFromIndexerBlock returns the subaccount update events in the Indexer Block event Kafka message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PopulateTestPremiumStore populates either `PremiumVotes` (`isVote` is true) or `PremiumSamples` (`isVote` is false) for test.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author