Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AllTypeMessages is a list of all messages and types that are used in the app. // This list comes from the app's `InterfaceRegistry`. AllTypeMessages = map[string]struct{}{}/* 221 elements not displayed */ // DisallowMsgs are messages that cannot be externally submitted. DisallowMsgs = lib.MergeAllMapsMustHaveDistinctKeys( AppInjectedMsgSamples, InternalMsgSamplesAll, NestedMsgSamples, UnsupportedMsgSamples, ) // AllowMsgs are messages that can be externally submitted. AllowMsgs = NormalMsgs )
View Source
var ( // InternalMsgSamplesAll are msgs that are used only used internally. InternalMsgSamplesAll = lib.MergeAllMapsMustHaveDistinctKeys(InternalMsgSamplesGovAuth) // InternalMsgSamplesGovAuth are msgs that are used only used internally. // GovAuth means that these messages must originate from the gov module and // signed by gov module account. InternalMsgSamplesGovAuth = map[string]sdk.Msg{ "/cosmos.auth.v1beta1.MsgUpdateParams": &auth.MsgUpdateParams{}, "/cosmos.bank.v1beta1.MsgSetSendEnabled": &bank.MsgSetSendEnabled{}, "/cosmos.bank.v1beta1.MsgSetSendEnabledResponse": nil, "/cosmos.bank.v1beta1.MsgUpdateParams": &bank.MsgUpdateParams{}, "/cosmos.bank.v1beta1.MsgUpdateParamsResponse": nil, "/cosmos.consensus.v1.MsgUpdateParams": &consensus.MsgUpdateParams{}, "/cosmos.consensus.v1.MsgUpdateParamsResponse": nil, "/cosmos.crisis.v1beta1.MsgUpdateParams": &crisis.MsgUpdateParams{}, "/cosmos.crisis.v1beta1.MsgUpdateParamsResponse": nil, "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend": &distribution.MsgCommunityPoolSpend{}, "/cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse": nil, "/cosmos.distribution.v1beta1.MsgUpdateParams": &distribution.MsgUpdateParams{}, "/cosmos.distribution.v1beta1.MsgUpdateParamsResponse": nil, "/cosmos.gov.v1.MsgExecLegacyContent": &gov.MsgExecLegacyContent{}, "/cosmos.gov.v1.MsgExecLegacyContentResponse": nil, "/cosmos.gov.v1.MsgUpdateParams": &gov.MsgUpdateParams{}, "/cosmos.gov.v1.MsgUpdateParamsResponse": nil, "/cosmos.slashing.v1beta1.MsgUpdateParams": &slashing.MsgUpdateParams{}, "/cosmos.slashing.v1beta1.MsgUpdateParamsResponse": nil, "/cosmos.staking.v1beta1.MsgUpdateParams": &staking.MsgUpdateParams{}, "/cosmos.staking.v1beta1.MsgUpdateParamsResponse": nil, "/cosmos.upgrade.v1beta1.MsgCancelUpgrade": &upgrade.MsgCancelUpgrade{}, "/cosmos.upgrade.v1beta1.MsgCancelUpgradeResponse": nil, "/cosmos.upgrade.v1beta1.MsgSoftwareUpgrade": &upgrade.MsgSoftwareUpgrade{}, "/cosmos.upgrade.v1beta1.MsgSoftwareUpgradeResponse": nil, "/jinxprotocol.blocktime.MsgUpdateDowntimeParams": &blocktime.MsgUpdateDowntimeParams{}, "/jinxprotocol.blocktime.MsgUpdateDowntimeParamsResponse": nil, "/jinxprotocol.bridge.MsgCompleteBridge": &bridge.MsgCompleteBridge{}, "/jinxprotocol.bridge.MsgCompleteBridgeResponse": nil, "/jinxprotocol.bridge.MsgUpdateEventParams": &bridge.MsgUpdateEventParams{}, "/jinxprotocol.bridge.MsgUpdateEventParamsResponse": nil, "/jinxprotocol.bridge.MsgUpdateProposeParams": &bridge.MsgUpdateProposeParams{}, "/jinxprotocol.bridge.MsgUpdateProposeParamsResponse": nil, "/jinxprotocol.bridge.MsgUpdateSafetyParams": &bridge.MsgUpdateSafetyParams{}, "/jinxprotocol.bridge.MsgUpdateSafetyParamsResponse": nil, "/jinxprotocol.clob.MsgCreateClobPair": &clob.MsgCreateClobPair{}, "/jinxprotocol.clob.MsgCreateClobPairResponse": nil, "/jinxprotocol.clob.MsgUpdateBlockRateLimitConfiguration": &clob.MsgUpdateBlockRateLimitConfiguration{}, "/jinxprotocol.clob.MsgUpdateBlockRateLimitConfigurationResponse": nil, "/jinxprotocol.clob.MsgUpdateClobPair": &clob.MsgUpdateClobPair{}, "/jinxprotocol.clob.MsgUpdateClobPairResponse": nil, "/jinxprotocol.clob.MsgUpdateEquityTierLimitConfiguration": &clob.MsgUpdateEquityTierLimitConfiguration{}, "/jinxprotocol.clob.MsgUpdateEquityTierLimitConfigurationResponse": nil, "/jinxprotocol.clob.MsgUpdateLiquidationsConfig": &clob.MsgUpdateLiquidationsConfig{}, "/jinxprotocol.clob.MsgUpdateLiquidationsConfigResponse": nil, "/jinxprotocol.delaymsg.MsgDelayMessage": &delaymsg.MsgDelayMessage{}, "/jinxprotocol.delaymsg.MsgDelayMessageResponse": nil, "/jinxprotocol.feetiers.MsgUpdatePerpetualFeeParams": &feetiers.MsgUpdatePerpetualFeeParams{}, "/jinxprotocol.feetiers.MsgUpdatePerpetualFeeParamsResponse": nil, "/jinxprotocol.perpetuals.MsgCreatePerpetual": &perpetuals.MsgCreatePerpetual{}, "/jinxprotocol.perpetuals.MsgCreatePerpetualResponse": nil, "/jinxprotocol.perpetuals.MsgSetLiquidityTier": &perpetuals.MsgSetLiquidityTier{}, "/jinxprotocol.perpetuals.MsgSetLiquidityTierResponse": nil, "/jinxprotocol.perpetuals.MsgUpdateParams": &perpetuals.MsgUpdateParams{}, "/jinxprotocol.perpetuals.MsgUpdateParamsResponse": nil, "/jinxprotocol.perpetuals.MsgUpdatePerpetualParams": &perpetuals.MsgUpdatePerpetualParams{}, "/jinxprotocol.perpetuals.MsgUpdatePerpetualParamsResponse": nil, "/jinxprotocol.prices.MsgCreateOracleMarket": &prices.MsgCreateOracleMarket{}, "/jinxprotocol.prices.MsgCreateOracleMarketResponse": nil, "/jinxprotocol.prices.MsgUpdateMarketParam": &prices.MsgUpdateMarketParam{}, "/jinxprotocol.prices.MsgUpdateMarketParamResponse": nil, "/jinxprotocol.rewards.MsgUpdateParams": &rewards.MsgUpdateParams{}, "/jinxprotocol.rewards.MsgUpdateParamsResponse": nil, "/jinxprotocol.sending.MsgSendFromModuleToAccount": &sending.MsgSendFromModuleToAccount{}, "/jinxprotocol.sending.MsgSendFromModuleToAccountResponse": nil, "/jinxprotocol.stats.MsgUpdateParams": &stats.MsgUpdateParams{}, "/jinxprotocol.stats.MsgUpdateParamsResponse": nil, "/jinxprotocol.vest.MsgSetVestEntry": &vest.MsgSetVestEntry{}, "/jinxprotocol.vest.MsgSetVestEntryResponse": nil, "/jinxprotocol.vest.MsgDeleteVestEntry": &vest.MsgDeleteVestEntry{}, "/jinxprotocol.vest.MsgDeleteVestEntryResponse": nil, } )
View Source
var ( // AppInjectedMsgSamples are msgs that are injected into the block by the proposing validator. // These messages are reserved for proposing validator's use only. AppInjectedMsgSamples = map[string]sdk.Msg{ "/jinxprotocol.bridge.MsgAcknowledgeBridges": &bridgetypes.MsgAcknowledgeBridges{ Events: []bridgetypes.BridgeEvent{ { Id: 0, Coin: sdk.NewCoin( "bridge-token", sdkmath.NewIntFromUint64(1234), ), Address: constants.Alice_Num0.Owner, }, }, }, "/jinxprotocol.bridge.MsgAcknowledgeBridgesResponse": nil, "/jinxprotocol.clob.MsgProposedOperations": &clobtypes.MsgProposedOperations{ OperationsQueue: make([]clobtypes.OperationRaw, 0), }, "/jinxprotocol.clob.MsgProposedOperationsResponse": nil, "/jinxprotocol.perpetuals.MsgAddPremiumVotes": &perptypes.MsgAddPremiumVotes{ Votes: []perptypes.FundingPremium{ {PerpetualId: 0, PremiumPpm: 1_000}, }, }, "/jinxprotocol.perpetuals.MsgAddPremiumVotesResponse": nil, "/jinxprotocol.prices.MsgUpdateMarketPrices": &pricestypes.MsgUpdateMarketPrices{ MarketPriceUpdates: []*pricestypes.MsgUpdateMarketPrices_MarketPrice{ pricestypes.NewMarketPriceUpdate(constants.MarketId0, 123_000), }, }, "/jinxprotocol.prices.MsgUpdateMarketPricesResponse": nil, } )
View Source
var ( // NestedMsgSamples are msgs that have can include other arbitrary messages inside. NestedMsgSamples = map[string]sdk.Msg{ "/cosmos.gov.v1.MsgSubmitProposal": &gov.MsgSubmitProposal{}, "/cosmos.gov.v1.MsgSubmitProposalResponse": nil, } )
View Source
var ( // NormalMsgs are messages that can be submitted by external users. NormalMsgs = map[string]sdk.Msg{}/* 136 elements not displayed */ )
View Source
var ( // UnregisteredMsgs are msgs that should not be registered with the app. UnregisteredMsgs = map[string]struct{}{ "/cosmos.authz.v1.MsgExec": {}, "/cosmos.authz.v1.MsgExecResponse": {}, "/cosmos.authz.v1beta1.MsgExec": {}, "/cosmos.authz.v1beta1.MsgExecResponse": {}, "/cosmos.group.v1.MsgSubmitProposal": {}, "/cosmos.group.v1.MsgSubmitProposalResponse": {}, "/cosmos.group.v1beta1.MsgSubmitProposal": {}, "/cosmos.group.v1beta1.MsgSubmitProposalResponse": {}, } )
View Source
var ( // UnsupportedMsgSamples are msgs that are registered with the app, but are not supported. UnsupportedMsgSamples = map[string]sdk.Msg{ "/cosmos.gov.v1beta1.MsgSubmitProposal": &govbeta.MsgSubmitProposal{}, "/cosmos.gov.v1beta1.MsgSubmitProposalResponse": nil, "/ibc.applications.interchain_accounts.controller.v1.MsgSendTx": &icacontrollertypes.MsgSendTx{}, "/ibc.applications.interchain_accounts.controller.v1.MsgRegisterInterchainAccount": &icacontrollertypes. MsgRegisterInterchainAccount{}, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.