Module perpetuals

Module perpetuals 

Modules§

msg_client
Generated client implementations.
query_client
Generated client implementations.

Structs§

FundingPremium
FundingPremium represents a funding premium value for a perpetual market. Can be used to represent a premium vote or a premium sample.
GenesisState
GenesisState defines the perpetuals module’s genesis state.
LiquidityTier
LiquidityTier stores margin information.
MarketPremiums
MarketPremiums stores a list of premiums for a single perpetual market.
MsgAddPremiumVotes
MsgAddPremiumVotes is a request type for the AddPremiumVotes method.
MsgAddPremiumVotesResponse
MsgAddPremiumVotesResponse defines the AddPremiumVotes response type.
MsgCreatePerpetual
MsgCreatePerpetual is a message used by x/gov to create a new perpetual.
MsgCreatePerpetualResponse
MsgCreatePerpetualResponse defines the CreatePerpetual response type.
MsgSetLiquidityTier
MsgSetLiquidityTier is a message used by x/gov to create or update a liquidity tier.
MsgSetLiquidityTierResponse
MsgSetLiquidityTierResponse defines the SetLiquidityTier response type.
MsgUpdateParams
MsgUpdateParams is a message used by x/gov to update the parameters of the perpetuals module.
MsgUpdateParamsResponse
MsgUpdateParamsResponse defines the UpdateParams response type.
MsgUpdatePerpetualParams
MsgUpdatePerpetualParams is a message used by x/gov to update the parameters of a perpetual.
MsgUpdatePerpetualParamsResponse
MsgUpdatePerpetualParamsResponse defines the UpdatePerpetualParams response type.
Params
Params defines the parameters for x/perpetuals module.
Perpetual
Perpetual represents a perpetual on the dYdX exchange.
PerpetualParams
PerpetualParams represents the parameters of a perpetual on the dYdX exchange.
PremiumStore
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 store PremiumVotes or PremiumSamples.
QueryAllLiquidityTiersRequest
Queries a list of LiquidityTier items.
QueryAllLiquidityTiersResponse
QueryAllLiquidityTiersResponse is response type for the AllLiquidityTiers RPC method.
QueryAllPerpetualsRequest
Queries a list of Perpetual items.
QueryAllPerpetualsResponse
QueryAllPerpetualsResponse is response type for the AllPerpetuals RPC method.
QueryNextPerpetualIdRequest
QueryNextPerpetualIdRequest is the request type for the NextPerpetualId RPC
QueryNextPerpetualIdResponse
QueryNextPerpetualIdResponse is the response type for the NextPerpetualId RPC
QueryParamsRequest
QueryParamsResponse is the response type for the Params RPC method.
QueryParamsResponse
QueryParamsResponse is the response type for the Params RPC method.
QueryPerpetualRequest
Queries a Perpetual by id.
QueryPerpetualResponse
QueryPerpetualResponse is response type for the Perpetual RPC method.
QueryPremiumSamplesRequest
QueryPremiumSamplesRequest is the request type for the PremiumSamples RPC method.
QueryPremiumSamplesResponse
QueryPremiumSamplesResponse is the response type for the PremiumSamples RPC method.
QueryPremiumVotesRequest
QueryPremiumVotesRequest is the request type for the PremiumVotes RPC method.
QueryPremiumVotesResponse
QueryPremiumVotesResponse is the response type for the PremiumVotes RPC method.

Enums§

PerpetualMarketType