Module perpetuals
Modules§
- msg_
client - Generated client implementations.
- query_
client - Generated client implementations.
Structs§
- Funding
Premium - FundingPremium represents a funding premium value for a perpetual market. Can be used to represent a premium vote or a premium sample.
- Genesis
State - GenesisState defines the perpetuals module’s genesis state.
- Liquidity
Tier - LiquidityTier stores margin information.
- Market
Premiums - MarketPremiums stores a list of premiums for a single perpetual market.
- MsgAdd
Premium Votes - MsgAddPremiumVotes is a request type for the AddPremiumVotes method.
- MsgAdd
Premium Votes Response - MsgAddPremiumVotesResponse defines the AddPremiumVotes response type.
- MsgCreate
Perpetual - MsgCreatePerpetual is a message used by x/gov to create a new perpetual.
- MsgCreate
Perpetual Response - MsgCreatePerpetualResponse defines the CreatePerpetual response type.
- MsgSet
Liquidity Tier - MsgSetLiquidityTier is a message used by x/gov to create or update a liquidity tier.
- MsgSet
Liquidity Tier Response - MsgSetLiquidityTierResponse defines the SetLiquidityTier response type.
- MsgUpdate
Params - MsgUpdateParams is a message used by x/gov to update the parameters of the perpetuals module.
- MsgUpdate
Params Response - MsgUpdateParamsResponse defines the UpdateParams response type.
- MsgUpdate
Perpetual Params - MsgUpdatePerpetualParams is a message used by x/gov to update the parameters of a perpetual.
- MsgUpdate
Perpetual Params Response - MsgUpdatePerpetualParamsResponse defines the UpdatePerpetualParams response type.
- Params
- Params defines the parameters for x/perpetuals module.
- Perpetual
- Perpetual represents a perpetual on the dYdX exchange.
- Perpetual
Params - PerpetualParams represents the parameters of a perpetual on the dYdX exchange.
- Premium
Store - PremiumStore is a struct to store a perpetual premiums for all
perpetual markets. It stores a list of
MarketPremiums, each of which corresponds to a perpetual market and stores a list of non-zero premium values for that market. This struct can either be used to storePremiumVotesorPremiumSamples. - Query
AllLiquidity Tiers Request - Queries a list of LiquidityTier items.
- Query
AllLiquidity Tiers Response - QueryAllLiquidityTiersResponse is response type for the AllLiquidityTiers RPC method.
- Query
AllPerpetuals Request - Queries a list of Perpetual items.
- Query
AllPerpetuals Response - QueryAllPerpetualsResponse is response type for the AllPerpetuals RPC method.
- Query
Next Perpetual IdRequest - QueryNextPerpetualIdRequest is the request type for the NextPerpetualId RPC
- Query
Next Perpetual IdResponse - QueryNextPerpetualIdResponse is the response type for the NextPerpetualId RPC
- Query
Params Request - QueryParamsResponse is the response type for the Params RPC method.
- Query
Params Response - QueryParamsResponse is the response type for the Params RPC method.
- Query
Perpetual Request - Queries a Perpetual by id.
- Query
Perpetual Response - QueryPerpetualResponse is response type for the Perpetual RPC method.
- Query
Premium Samples Request - QueryPremiumSamplesRequest is the request type for the PremiumSamples RPC method.
- Query
Premium Samples Response - QueryPremiumSamplesResponse is the response type for the PremiumSamples RPC method.
- Query
Premium Votes Request - QueryPremiumVotesRequest is the request type for the PremiumVotes RPC method.
- Query
Premium Votes Response - QueryPremiumVotesResponse is the response type for the PremiumVotes RPC method.