types

package
v1.47.6-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 58 Imported by: 33

Documentation

Index

Constants

View Source
const (
	// module name
	ModuleName = "exchange"

	// StoreKey to be used when creating the KVStore
	StoreKey  = ModuleName
	TStoreKey = "transient_exchange"
)
View Source
const (
	TypeMsgDeposit                          = "msgDeposit"
	TypeMsgWithdraw                         = "msgWithdraw"
	TypeMsgCreateSpotLimitOrder             = "createSpotLimitOrder"
	TypeMsgBatchCreateSpotLimitOrders       = "batchCreateSpotLimitOrders"
	TypeMsgCreateSpotMarketOrder            = "createSpotMarketOrder"
	TypeMsgCancelSpotOrder                  = "cancelSpotOrder"
	TypeMsgBatchCancelSpotOrders            = "batchCancelSpotOrders"
	TypeMsgCreateDerivativeLimitOrder       = "createDerivativeLimitOrder"
	TypeMsgBatchCreateDerivativeLimitOrders = "batchCreateDerivativeLimitOrder"
	TypeMsgCreateDerivativeMarketOrder      = "createDerivativeMarketOrder"
	TypeMsgCancelDerivativeOrder            = "cancelDerivativeOrder"
	TypeMsgBatchCancelDerivativeOrders      = "batchCancelDerivativeOrder"
	TypeMsgSubaccountTransfer               = "subaccountTransfer"
	TypeMsgExternalTransfer                 = "externalTransfer"
	TypeMsgIncreasePositionMargin           = "increasePositionMargin"
	TypeMsgLiquidatePosition                = "liquidatePosition"
	TypeMsgInstantSpotMarketLaunch          = "instantSpotMarketLaunch"
	TypeMsgInstantPerpetualMarketLaunch     = "instantPerpetualMarketLaunch"
	TypeMsgInstantExpiryFuturesMarketLaunch = "instantExpiryFuturesMarketLaunch"
	TypeMsgBatchUpdateOrders                = "batchUpdateOrders"
	TypeMsgPrivilegedExecuteContract        = "privilegedExecuteContract"
	TypeMsgRewardsOptOut                    = "rewardsOptOut"
	TypeMsgInstantBinaryOptionsMarketLaunch = "instantBinaryOptionsMarketLaunch"
	TypeMsgCreateBinaryOptionsLimitOrder    = "createBinaryOptionsLimitOrder"
	TypeMsgCreateBinaryOptionsMarketOrder   = "createBinaryOptionsMarketOrder"
	TypeMsgCancelBinaryOptionsOrder         = "cancelBinaryOptionsOrder"
	TypeMsgAdminUpdateBinaryOptionsMarket   = "adminUpdateBinaryOptionsMarket"
	TypeMsgBatchCancelBinaryOptionsOrders   = "batchCancelBinaryOptionsOrders"
	TypeMsgReclaimLockedFunds               = "reclaimLockedFunds"
	TypeMsgUpdateParams                     = "updateParams"
)

exchange message types

View Source
const (
	// DefaultFundingIntervalSeconds is 3600. This represents the number of seconds in one hour which is the frequency at which
	// funding is applied by default on derivative markets.
	DefaultFundingIntervalSeconds int64 = 3600

	// DefaultFundingMultipleSeconds is 3600. This represents the number of seconds in one hour which is multiple of the
	// unix time seconds timestamp that each perpetual market's funding timestamp should be. This ensures that
	// funding is consistently applied on the hour for all perpetual markets.
	DefaultFundingMultipleSeconds int64 = 3600

	// SpotMarketInstantListingFee is 1000 INJ
	SpotMarketInstantListingFee int64 = 1000

	// DerivativeMarketInstantListingFee is 1000 INJ
	DerivativeMarketInstantListingFee int64 = 1000

	// BinaryOptionsMarketInstantListingFee is 100 INJ
	BinaryOptionsMarketInstantListingFee int64 = 100

	// MaxDerivativeOrderSideCount is 20
	MaxDerivativeOrderSideCount uint32 = 20

	MaxOracleScaleFactor uint32 = 18

	MaxTickerLength int = 40

	// MaxHistoricalTradeRecordAge is the maximum age of trade records to track.
	MaxHistoricalTradeRecordAge = 60 * 5

	// MaxSubaccountNonceLength restricts the size of a subaccount number from 0 to 999
	MaxSubaccountNonceLength = 3
)

Exchange params default values

View Source
const (
	ProposalTypeExchangeEnable                     string = "ProposalTypeExchangeEnable"
	ProposalTypeBatchExchangeModification          string = "ProposalTypeBatchExchangeModification"
	ProposalTypeSpotMarketParamUpdate              string = "ProposalTypeSpotMarketParamUpdate"
	ProposalTypeSpotMarketLaunch                   string = "ProposalTypeSpotMarketLaunch"
	ProposalTypePerpetualMarketLaunch              string = "ProposalTypePerpetualMarketLaunch"
	ProposalTypeExpiryFuturesMarketLaunch          string = "ProposalTypeExpiryFuturesMarketLaunch"
	ProposalTypeDerivativeMarketParamUpdate        string = "ProposalTypeDerivativeMarketParamUpdate"
	ProposalTypeMarketForcedSettlement             string = "ProposalTypeMarketForcedSettlement"
	ProposalUpdateDenomDecimals                    string = "ProposalUpdateDenomDecimals"
	ProposalTypeTradingRewardCampaign              string = "ProposalTypeTradingRewardCampaign"
	ProposalTypeTradingRewardCampaignUpdate        string = "ProposalTypeTradingRewardCampaignUpdateProposal"
	ProposalTypeTradingRewardPointsUpdate          string = "ProposalTypeTradingRewardPointsUpdateProposal"
	ProposalTypeFeeDiscountProposal                string = "ProposalTypeFeeDiscountProposal"
	ProposalTypeBatchCommunityPoolSpendProposal    string = "ProposalTypeBatchCommunityPoolSpendProposal"
	ProposalTypeBinaryOptionsMarketLaunch          string = "ProposalTypeBinaryOptionsMarketLaunch"
	ProposalTypeBinaryOptionsMarketParamUpdate     string = "ProposalTypeBinaryOptionsMarketParamUpdate"
	ProposalAtomicMarketOrderFeeMultiplierSchedule string = "ProposalAtomicMarketOrderFeeMultiplierSchedule"
)

constants

View Source
const DefaultQueryOrderbookLimit uint64 = 20
View Source
const FalseByte byte = byte(0)
View Source
const PriceDecimalPlaces = 18
View Source
const RouterKey = ModuleName
View Source
const TrueByte byte = byte(1)
View Source
const Uint64BytesLen = 8

Variables

View Source
var (
	ErrInvalidLengthAuthz        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthz          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrOrderInvalid                             = errors.Register(ModuleName, 1, "failed to validate order")
	ErrSpotMarketNotFound                       = errors.Register(ModuleName, 2, "spot market not found")
	ErrSpotMarketExists                         = errors.Register(ModuleName, 3, "spot market exists")
	ErrBadField                                 = errors.Register(ModuleName, 4, "struct field error")
	ErrMarketInvalid                            = errors.Register(ModuleName, 5, "failed to validate market")
	ErrInsufficientDeposit                      = errors.Register(ModuleName, 6, "subaccount has insufficient deposits")
	ErrUnrecognizedOrderType                    = errors.Register(ModuleName, 7, "unrecognized order type")
	ErrInsufficientPositionQuantity             = errors.Register(ModuleName, 8, "position quantity insufficient for order")
	ErrOrderHashInvalid                         = errors.Register(ModuleName, 9, "order hash is not valid")
	ErrBadSubaccountID                          = errors.Register(ModuleName, 10, "subaccount id is not valid")
	ErrInvalidTicker                            = errors.Register(ModuleName, 11, "invalid ticker")
	ErrInvalidBaseDenom                         = errors.Register(ModuleName, 12, "invalid base denom")
	ErrInvalidQuoteDenom                        = errors.Register(ModuleName, 13, "invalid quote denom")
	ErrInvalidOracle                            = errors.Register(ModuleName, 14, "invalid oracle")
	ErrInvalidExpiry                            = errors.Register(ModuleName, 15, "invalid expiry")
	ErrInvalidPrice                             = errors.Register(ModuleName, 16, "invalid price")
	ErrInvalidQuantity                          = errors.Register(ModuleName, 17, "invalid quantity")
	ErrUnsupportedOracleType                    = errors.Register(ModuleName, 18, "unsupported oracle type")
	ErrOrderDoesntExist                         = errors.Register(ModuleName, 19, "order doesnt exist")
	ErrOrderbookFillInvalid                     = errors.Register(ModuleName, 20, "spot limit orderbook fill invalid")
	ErrPerpetualMarketExists                    = errors.Register(ModuleName, 21, "perpetual market exists")
	ErrExpiryFuturesMarketExists                = errors.Register(ModuleName, 22, "expiry futures market exists")
	ErrExpiryFuturesMarketExpired               = errors.Register(ModuleName, 23, "expiry futures market expired")
	ErrNoLiquidity                              = errors.Register(ModuleName, 24, "no liquidity on the orderbook!")
	ErrSlippageExceedsWorstPrice                = errors.Register(ModuleName, 25, "Orderbook liquidity cannot satisfy current worst price")
	ErrInsufficientOrderMargin                  = errors.Register(ModuleName, 26, "Order has insufficient margin")
	ErrDerivativeMarketNotFound                 = errors.Register(ModuleName, 27, "Derivative market not found")
	ErrPositionNotFound                         = errors.Register(ModuleName, 28, "Position not found")
	ErrInvalidReduceOnlyPositionDirection       = errors.Register(ModuleName, 29, "Position direction does not oppose the reduce-only order")
	ErrPriceSurpassesBankruptcyPrice            = errors.Register(ModuleName, 30, "Price Surpasses Bankruptcy Price")
	ErrPositionNotLiquidable                    = errors.Register(ModuleName, 31, "Position not liquidable")
	ErrInvalidTriggerPrice                      = errors.Register(ModuleName, 32, "invalid trigger price")
	ErrInvalidOracleType                        = errors.Register(ModuleName, 33, "invalid oracle type")
	ErrInvalidPriceTickSize                     = errors.Register(ModuleName, 34, "invalid minimum price tick size")
	ErrInvalidQuantityTickSize                  = errors.Register(ModuleName, 35, "invalid minimum quantity tick size")
	ErrInvalidMargin                            = errors.Register(ModuleName, 36, "invalid minimum order margin")
	ErrExceedsOrderSideCount                    = errors.Register(ModuleName, 37, "Exceeds order side count")
	ErrMarketOrderAlreadyExists                 = errors.Register(ModuleName, 38, "Subaccount cannot place a market order when a market order in the same market was already placed in same block")
	ErrConditionalMarketOrderAlreadyExists      = errors.Register(ModuleName, 39, "cannot place a conditional market order when a conditional market order in same relative direction already exists")
	ErrMarketLaunchProposalAlreadyExists        = errors.Register(ModuleName, 40, "An equivalent market launch proposal already exists.")
	ErrInvalidMarketStatus                      = errors.Register(ModuleName, 41, "Invalid Market Status")
	ErrSameDenoms                               = errors.Register(ModuleName, 42, "base denom cannot be same with quote denom")
	ErrSameOracles                              = errors.Register(ModuleName, 43, "oracle base cannot be same with oracle quote")
	ErrFeeRatesRelation                         = errors.Register(ModuleName, 44, "MakerFeeRate does not match TakerFeeRate requirements")
	ErrMarginsRelation                          = errors.Register(ModuleName, 45, "MaintenanceMarginRatio cannot be greater than InitialMarginRatio")
	ErrExceedsMaxOracleScaleFactor              = errors.Register(ModuleName, 46, "OracleScaleFactor cannot be greater than MaxOracleScaleFactor")
	ErrSpotExchangeNotEnabled                   = errors.Register(ModuleName, 47, "Spot exchange is not enabled yet")
	ErrDerivativesExchangeNotEnabled            = errors.Register(ModuleName, 48, "Derivatives exchange is not enabled yet")
	ErrOraclePriceDeltaExceedsThreshold         = errors.Register(ModuleName, 49, "Oracle price delta exceeds threshold")
	ErrInvalidHourlyInterestRate                = errors.Register(ModuleName, 50, "Invalid hourly interest rate")
	ErrInvalidHourlyFundingRateCap              = errors.Register(ModuleName, 51, "Invalid hourly funding rate cap")
	ErrInvalidMarketFundingParamUpdate          = errors.Register(ModuleName, 52, "Only perpetual markets can update funding parameters")
	ErrInvalidTradingRewardCampaign             = errors.Register(ModuleName, 53, "Invalid trading reward campaign")
	ErrInvalidFeeDiscountSchedule               = errors.Register(ModuleName, 54, "Invalid fee discount schedule")
	ErrInvalidLiquidationOrder                  = errors.Register(ModuleName, 55, "invalid liquidation order")
	ErrTradingRewardCampaignDistributionError   = errors.Register(ModuleName, 56, "Unknown error happened for campaign distributions")
	ErrInvalidTradingRewardsPendingPointsUpdate = errors.Register(ModuleName, 57, "Invalid trading reward points update")
	ErrInvalidBatchMsgUpdate                    = errors.Register(ModuleName, 58, "Invalid batch msg update")
	ErrExceedsTopOfBookPrice                    = errors.Register(ModuleName, 59, "Post-only order exceeds top of book price")
	ErrInvalidOrderTypeForMessage               = errors.Register(ModuleName, 60, "Order type not supported for given message")
	ErrInvalidDMMSender                         = errors.Register(ModuleName, 61, "Sender must match dmm account")
	ErrAlreadyOptedOutOfRewards                 = errors.Register(ModuleName, 62, "already opted out of rewards")
	ErrInvalidMarginRatio                       = errors.Register(ModuleName, 63, "Invalid margin ratio")
	ErrBelowMinimalContribution                 = errors.Register(ModuleName, 64, "Provided funds are below minimum")
	ErrLowPositionMargin                        = errors.Register(ModuleName, 65, "Position is below initial margin requirement")
	ErrInvalidTotalSupply                       = errors.Register(ModuleName, 66, "Pool has non-positive total lp token supply")
	ErrInvalidLpTokenBurnAmount                 = errors.Register(ModuleName, 67, "Passed lp token burn amount is greater than total lp token supply")
	ErrUnsupportedAction                        = errors.Register(ModuleName, 68, "unsupported action")
	ErrNegativePositionQuantity                 = errors.Register(ModuleName, 69, "position quantity cannot be negative")
	ErrBinaryOptionsMarketExists                = errors.Register(ModuleName, 70, "binary options market exists")
	ErrBinaryOptionsMarketNotFound              = errors.Register(ModuleName, 71, "binary options market not found")
	ErrInvalidSettlement                        = errors.Register(ModuleName, 72, "invalid settlement")
	ErrAccountDoesntExist                       = errors.Register(ModuleName, 73, "account doesnt exist")
	ErrSenderIsNotAnAdmin                       = errors.Register(ModuleName, 74, "sender should be a market admin")
	ErrMarketAlreadyScheduledToSettle           = errors.Register(ModuleName, 75, "market is already scheduled to settle")
	ErrGenericMarketNotFound                    = errors.Register(ModuleName, 76, "market not found")
	ErrInvalidDenomDecimal                      = errors.Register(ModuleName, 77, "denom decimal cannot be below 1 or above max scale factor")
	ErrInvalidState                             = errors.Register(ModuleName, 78, "state is invalid")
	ErrTransientOrdersUpToCancelNotSupported    = errors.Register(ModuleName, 79, "transient orders up to cancellation not supported")
	ErrInvalidTrade                             = errors.Register(ModuleName, 80, "invalid trade")
	ErrNoMarginLocked                           = errors.Register(ModuleName, 81, "no margin locked in subaccount")
	ErrInvalidAccessLevel                       = errors.Register(ModuleName, 82, "Invalid access level to perform action")
	ErrInvalidAddress                           = errors.Register(ModuleName, 83, "Invalid address")
	ErrInvalidArgument                          = errors.Register(ModuleName, 84, "Invalid argument")
	ErrInvalidFundsDirection                    = errors.Register(ModuleName, 85, "Invalid funds direction")
	ErrNoFundsProvided                          = errors.Register(ModuleName, 86, "No funds provided")
	ErrInvalidSignature                         = errors.Register(ModuleName, 87, "Invalid signature")
	ErrNoFundsToUnlock                          = errors.Register(ModuleName, 88, "no funds to unlock")
	ErrNoMsgsProvided                           = errors.Register(ModuleName, 89, "No msgs provided")
	ErrNoMsgProvided                            = errors.Register(ModuleName, 90, "No msg provided")
	ErrInvalidAmount                            = errors.Register(ModuleName, 91, "Invalid amount")
	ErrFeatureDisabled                          = errors.Register(ModuleName, 92, "The current feature has been disabled")
	ErrTooMuchOrderMargin                       = errors.Register(ModuleName, 93, "Order has too much margin")
	ErrBadSubaccountNonce                       = errors.Register(ModuleName, 94, "Subaccount nonce is invalid")
	ErrInsufficientFunds                        = errors.Register(ModuleName, 95, "insufficient funds")
)
View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthExchange        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExchange          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExchange = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// Keys for store prefixes
	DepositsPrefix                       = []byte{0x01} // prefix for each key to a Deposit
	SubaccountTradeNoncePrefix           = []byte{0x02} // prefix for each key to a Subaccount Trade Nonce
	SubaccountOrderbookMetadataPrefix    = []byte{0x03} // prefix for each key to a Subaccount Orderbook Metadata
	SubaccountOrderPrefix                = []byte{0x04} // prefix for each key to a Subaccount derivative limit Order
	SubaccountMarketOrderIndicatorPrefix = []byte{0x05} // prefix for each key to a Subaccount market order indicator
	SubaccountLimitOrderIndicatorPrefix  = []byte{0x06} // prefix for each key to a Subaccount limit order indicator
	SpotExchangeEnabledKey               = []byte{0x07} // key for whether spot exchange is enabled
	DerivativeExchangeEnabledKey         = []byte{0x08} // key for whether derivative exchange is enabled
	MarketHistoricalTradeRecordsPrefix   = []byte{0x09} // prefix for each key to a market's historical trade records
	OrderbookSequencePrefix              = []byte{0x0a} // prefix for each key to a market's orderbook sequence
	SubaccountMarketVolumePrefix         = []byte{0x0b} // prefix for each key to the aggregate volume for a subaccount in a market
	MarketVolumePrefix                   = []byte{0x0c} // prefix for each key to the aggregate volume for a market
	ParamsKey                            = []byte{0x0d} // prefix for module params

	DenomDecimalsPrefix              = []byte{0x10} // prefix for denom decimals
	SpotMarketsPrefix                = []byte{0x11} // prefix for each key to a spot market by (isEnabled, marketID)
	SpotLimitOrdersPrefix            = []byte{0x12} // prefix for each key to a spot order, by (marketID, direction, price level, order hash)
	SpotMarketOrdersPrefix           = []byte{0x13} // prefix for each key to a spot order, by (marketID, direction, price level, order hash)
	SpotLimitOrdersIndexPrefix       = []byte{0x14} // prefix for each key to a spot order index, by (marketID, direction, subaccountID, order hash)
	SpotMarketOrderIndicatorPrefix   = []byte{0x15} // prefix for each key to a spot market order indicator, by marketID and direction
	SpotMarketParamUpdateScheduleKey = []byte{0x16} // prefix for a key to save scheduled spot market params update
	SpotMarketForceCloseInfoKey      = []byte{0x17} // prefix for a key to save scheduled spot market closures
	SpotOrderbookLevelsPrefix        = []byte{0x18} // prefix for each key to the spot orderbook for a given marketID and direction

	DerivativeMarketPrefix                     = []byte{0x21} // prefix for each key to a derivative market by (isEnabled, marketID)
	DerivativeLimitOrdersPrefix                = []byte{0x22} // prefix for each key to a derivative limit order, by (marketID, direction, price level, order hash)
	DerivativeMarketOrdersPrefix               = []byte{0x23} // prefix for each key to a derivative order, by (marketID, direction, price level, order hash)
	DerivativeLimitOrdersIndexPrefix           = []byte{0x24} // prefix for each key to a derivative order index, by (marketID, direction, subaccountID, order hash)
	DerivativeLimitOrderIndicatorPrefix        = []byte{0x25} // prefix for each key to a derivative limit order indicator, by marketID and direction
	DerivativeMarketOrderIndicatorPrefix       = []byte{0x26} // prefix for each key to a derivative market order indicator, by marketID and direction
	DerivativePositionsPrefix                  = []byte{0x27} // prefix for each key to a Position
	DerivativeMarketParamUpdateScheduleKey     = []byte{0x28} // prefix for a key to save scheduled derivative market params update
	DerivativeMarketScheduledSettlementInfo    = []byte{0x29} // prefix for a key to save scheduled derivative market settlements
	DerivativePositionModifiedSubaccountPrefix = []byte{0x2a} // prefix for a key to save a list of subaccountIDs by marketID
	DerivativeOrderbookLevelsPrefix            = []byte{0x2b} // prefix for each key to the derivative orderbook for a given marketID and direction

	PerpetualMarketFundingPrefix             = []byte{0x31} // prefix for each key to a perpetual market's funding state
	PerpetualMarketInfoPrefix                = []byte{0x32} // prefix for each key to a perpetual market's market info
	ExpiryFuturesMarketInfoPrefix            = []byte{0x33} // prefix for each key to a expiry futures market's market info
	ExpiryFuturesMarketInfoByTimestampPrefix = []byte{0x34} // prefix for each index key to a expiry futures market's market info

	IsFirstFeeCycleFinishedKey = []byte{0x3c} // key to the fee discount is first cycle finished

	TradingRewardCampaignInfoKey                  = []byte{0x40} // key to the TradingRewardCampaignInfo
	TradingRewardMarketQualificationPrefix        = []byte{0x41} // prefix for each key to a market's qualification/disqualification status
	TradingRewardMarketPointsMultiplierPrefix     = []byte{0x42} // prefix for each key to a market's Volume Multiplier
	TradingRewardCampaignRewardPoolPrefix         = []byte{0x43} // prefix for each key to a campaign's reward pool
	TradingRewardCurrentCampaignEndTimeKey        = []byte{0x44} // key to the current campaign's end time
	TradingRewardCampaignTotalPointsKey           = []byte{0x45} // key to the total trading reward points for the current campaign
	TradingRewardAccountPointsPrefix              = []byte{0x46} // prefix for each key to an account's current campaign reward points
	TradingRewardCampaignRewardPendingPoolPrefix  = []byte{0x47} // prefix for each key to a campaign's reward pending pool
	TradingRewardAccountPendingPointsPrefix       = []byte{0x48} // prefix for each key to an account's current campaign reward points
	TradingRewardCampaignTotalPendingPointsPrefix = []byte{0x49} // prefix to the total trading reward points for the current campaign

	FeeDiscountMarketQualificationPrefix = []byte{0x50} // prefix for each key to a market's qualification/disqualification status
	FeeDiscountBucketCountKey            = []byte{0x51} // key to the fee discount bucket count
	FeeDiscountBucketDurationKey         = []byte{0x52} // key to the fee discount bucket duration
	FeeDiscountCurrentBucketStartTimeKey = []byte{0x53} // key to the current bucket start timestamp
	FeeDiscountScheduleKey               = []byte{0x54} // key to the fee discount schedule

	FeeDiscountAccountTierPrefix                  = []byte{0x56} // prefix to each account's fee discount tier and TTL timestamp
	FeeDiscountBucketAccountVolumePrefix          = []byte{0x57} // prefix to each account's volume for a given bucket
	FeeDiscountAccountPastBucketTotalVolumePrefix = []byte{0x58} // prefix to each account's total past bucket volume amount FeeDiscountAccountIndicatorPrefix
	FeeDiscountAccountOrderIndicatorPrefix        = []byte{0x59} // prefix to each account's transient indicator if the account has placed an order that block that is relevant for fee discounts

	IsOptedOutOfRewardsPrefix = []byte{0x60} // prefix to each account's address key

	BinaryOptionsMarketPrefix                    = []byte{0x61} // prefix for each key to a binary options market by (isEnabled, marketID)
	BinaryOptionsMarketExpiryTimestampPrefix     = []byte{0x62} // prefix for each key to a binary options marketID by expiration timestamp
	BinaryOptionsMarketSettlementTimestampPrefix = []byte{0x63} // prefix for each key to a binary options marketID by settlement timestamp
	BinaryOptionsMarketSettlementSchedulePrefix  = []byte{0x64} // prefix for a key to save scheduled binary options marketID for settlement
	BinaryOptionsMarketParamUpdateSchedulePrefix = []byte{0x65} // prefix for a key to save scheduled binary options market params update

	SpotConditionalMarketOrdersPrefix            = []byte{0x70} // prefix for a key to save conditional spot market orders: marketID + direction + triggerPrice + orderHash ⇒ spotMarketOrder
	SpotConditionalMarketOrdersIndexPrefix       = []byte{0x71} // prefix for a key to save conditional spot market orders index: marketID + direction + subaccountID + orderHash ⇒ triggerPrice
	SpotConditionalLimitOrdersPrefix             = []byte{0x72} // prefix for a key to save conditional spot limit orders: marketID + direction + triggerPrice + orderHash ⇒ spotLimitOrder
	SpotConditionalLimitOrdersIndexPrefix        = []byte{0x73} // prefix for a key to save conditional spot limit orders index: marketID + direction + subaccountID + orderHash ⇒ triggerPrice
	DerivativeConditionalMarketOrdersPrefix      = []byte{0x74} // prefix for a key to save conditional derivative market orders: marketID + direction + triggerPrice + orderHash ⇒ derivativeMarketOrder
	DerivativeConditionalMarketOrdersIndexPrefix = []byte{0x75} // prefix for a key to save conditional derivative market orders index: marketID + direction + subaccountID + orderHash ⇒ triggerPrice
	DerivativeConditionalLimitOrdersPrefix       = []byte{0x76} // prefix for a key to save conditional derivative limit orders: marketID + direction + triggerPrice + orderHash ⇒ derivativeLimitOrder
	DerivativeConditionalLimitOrdersIndexPrefix  = []byte{0x77} // prefix for a key to save conditional derivative limit orders index: marketID + direction + subaccountID + orderHash ⇒ triggerPrice
	ConditionalOrderInvalidationFlagPrefix       = []byte{0x78} // prefix for a key to save flags to invalidate conditional orders

	AtomicMarketOrderTakerFeeMultiplierKey = []byte{0x79} // key to store individual market atomic take fee multiplier
)
View Source
var (
	KeySpotMarketInstantListingFee                 = []byte("SpotMarketInstantListingFee")
	KeyDerivativeMarketInstantListingFee           = []byte("DerivativeMarketInstantListingFee")
	KeyDefaultSpotMakerFeeRate                     = []byte("DefaultSpotMakerFeeRate")
	KeyDefaultSpotTakerFeeRate                     = []byte("DefaultSpotTakerFeeRate")
	KeyDefaultDerivativeMakerFeeRate               = []byte("DefaultDerivativeMakerFeeRate")
	KeyDefaultDerivativeTakerFeeRate               = []byte("DefaultDerivativeTakerFeeRate")
	KeyDefaultInitialMarginRatio                   = []byte("DefaultInitialMarginRatio")
	KeyDefaultMaintenanceMarginRatio               = []byte("DefaultMaintenanceMarginRatio")
	KeyDefaultFundingInterval                      = []byte("DefaultFundingInterval")
	KeyFundingMultiple                             = []byte("FundingMultiple")
	KeyRelayerFeeShareRate                         = []byte("RelayerFeeShareRate")
	KeyDefaultHourlyFundingRateCap                 = []byte("DefaultHourlyFundingRateCap")
	KeyDefaultHourlyInterestRate                   = []byte("DefaultHourlyInterestRate")
	KeyMaxDerivativeOrderSideCount                 = []byte("MaxDerivativeOrderSideCount")
	KeyInjRewardStakedRequirementThreshold         = []byte("KeyInjRewardStakedRequirementThreshold")
	KeyTradingRewardsVestingDuration               = []byte("TradingRewardsVestingDuration")
	KeyLiquidatorRewardShareRate                   = []byte("LiquidatorRewardShareRate")
	KeyBinaryOptionsMarketInstantListingFee        = []byte("BinaryOptionsMarketInstantListingFee")
	KeyAtomicMarketOrderAccessLevel                = []byte("AtomicMarketOrderAccessLevel")
	KeySpotAtomicMarketOrderFeeMultiplier          = []byte("SpotAtomicMarketOrderFeeMultiplier")
	KeyDerivativeAtomicMarketOrderFeeMultiplier    = []byte("DerivativeAtomicMarketOrderFeeMultiplier")
	KeyBinaryOptionsAtomicMarketOrderFeeMultiplier = []byte("BinaryOptionsAtomicMarketOrderFeeMultiplier")
	KeyMinimalProtocolFeeRate                      = []byte("MinimalProtocolFeeRate")
	KeyIsInstantDerivativeMarketLaunchEnabled      = []byte("IsInstantDerivativeMarketLaunchEnabled")
)

Parameter keys

View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var AtomicMarketOrderAccessLevel_name = map[int32]string{
	0: "Nobody",
	1: "BeginBlockerSmartContractsOnly",
	2: "SmartContractsOnly",
	3: "Everyone",
}
View Source
var AtomicMarketOrderAccessLevel_value = map[string]int32{
	"Nobody":                         0,
	"BeginBlockerSmartContractsOnly": 1,
	"SmartContractsOnly":             2,
	"Everyone":                       3,
}
View Source
var AuctionFeesAddress = sdk.AccAddress(common.HexToAddress(AuctionSubaccountID.Hex()).Bytes())

inj1qqq3zyg3zyg3zyg3zyg3zyg3zyg3zyg3c9gg96

View Source
var AuctionSubaccountID = common.HexToHash("0x1111111111111111111111111111111111111111111111111111111111111111")
View Source
var (
	AuthorizedMarketsLimit = 200
)
View Source
var BinaryOptionsMarketRefundFlagPrice = sdk.NewDec(-1)
View Source
var CancellationStrategy_name = map[int32]string{
	0: "UnspecifiedOrder",
	1: "FromWorstToBest",
	2: "FromBestToWorst",
}
View Source
var CancellationStrategy_value = map[string]int32{
	"UnspecifiedOrder": 0,
	"FromWorstToBest":  1,
	"FromBestToWorst":  2,
}
View Source
var ExchangeType_name = map[int32]string{
	0: "EXCHANGE_UNSPECIFIED",
	1: "SPOT",
	2: "DERIVATIVES",
}
View Source
var ExchangeType_value = map[string]int32{
	"EXCHANGE_UNSPECIFIED": 0,
	"SPOT":                 1,
	"DERIVATIVES":          2,
}
View Source
var ExecutionType_name = map[int32]string{
	0: "UnspecifiedExecutionType",
	1: "Market",
	2: "LimitFill",
	3: "LimitMatchRestingOrder",
	4: "LimitMatchNewOrder",
	5: "MarketLiquidation",
	6: "ExpiryMarketSettlement",
}
View Source
var ExecutionType_value = map[string]int32{
	"UnspecifiedExecutionType": 0,
	"Market":                   1,
	"LimitFill":                2,
	"LimitMatchRestingOrder":   3,
	"LimitMatchNewOrder":       4,
	"MarketLiquidation":        5,
	"ExpiryMarketSettlement":   6,
}
View Source
var MarketStatus_name = map[int32]string{
	0: "Unspecified",
	1: "Active",
	2: "Paused",
	3: "Demolished",
	4: "Expired",
}
View Source
var MarketStatus_value = map[string]int32{
	"Unspecified": 0,
	"Active":      1,
	"Paused":      2,
	"Demolished":  3,
	"Expired":     4,
}
View Source
var MaxBinaryOptionsOrderPrice = sdk.OneDec()
View Source
var MaxFeeMultiplier = sdk.MustNewDecFromStr("100")
View Source
var MaxOrderMargin = sdk.MustNewDecFromStr("100000000000000000000000000000000")

MaxOrderMargin equals 10^32

View Source
var MaxOrderPrice = sdk.MustNewDecFromStr("100000000000000000000000000000000")

MaxOrderPrice equals 10^32

View Source
var MaxOrderQuantity = sdk.MustNewDecFromStr("100000000000000000000000000000000")
View Source
var MinDerivativeOrderPrice = sdk.OneDec()

would be $0.000001 for USDT

View Source
var (

	// ModuleCdc references the global x/exchange module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/exchange and
	// defined at the application level.
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var OrderMask_name = map[int32]string{
	0:  "UNUSED",
	1:  "ANY",
	2:  "REGULAR",
	4:  "CONDITIONAL",
	8:  "DIRECTION_BUY_OR_HIGHER",
	16: "DIRECTION_SELL_OR_LOWER",
	32: "TYPE_MARKET",
	64: "TYPE_LIMIT",
}
View Source
var OrderMask_value = map[string]int32{
	"UNUSED":                  0,
	"ANY":                     1,
	"REGULAR":                 2,
	"CONDITIONAL":             4,
	"DIRECTION_BUY_OR_HIGHER": 8,
	"DIRECTION_SELL_OR_LOWER": 16,
	"TYPE_MARKET":             32,
	"TYPE_LIMIT":              64,
}
View Source
var OrderSide_name = map[int32]string{
	0: "Side_Unspecified",
	1: "Buy",
	2: "Sell",
}
View Source
var OrderSide_value = map[string]int32{
	"Side_Unspecified": 0,
	"Buy":              1,
	"Sell":             2,
}
View Source
var OrderType_name = map[int32]string{
	0:  "UNSPECIFIED",
	1:  "BUY",
	2:  "SELL",
	3:  "STOP_BUY",
	4:  "STOP_SELL",
	5:  "TAKE_BUY",
	6:  "TAKE_SELL",
	7:  "BUY_PO",
	8:  "SELL_PO",
	9:  "BUY_ATOMIC",
	10: "SELL_ATOMIC",
}
View Source
var OrderType_value = map[string]int32{
	"UNSPECIFIED": 0,
	"BUY":         1,
	"SELL":        2,
	"STOP_BUY":    3,
	"STOP_SELL":   4,
	"TAKE_BUY":    5,
	"TAKE_SELL":   6,
	"BUY_PO":      7,
	"SELL_PO":     8,
	"BUY_ATOMIC":  9,
	"SELL_ATOMIC": 10,
}
View Source
var TempRewardsSenderAddress = sdk.AccAddress(common.HexToAddress(ZeroSubaccountID.Hex()).Bytes())

inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49

View Source
var ZeroSubaccountID = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")

Functions

func BreachesMinimumTickSize

func BreachesMinimumTickSize(value, minTickSize sdk.Dec) bool

func CheckValidSubaccountIDOrNonce added in v1.45.6

func CheckValidSubaccountIDOrNonce(sender sdk.AccAddress, subaccountId string) error

CheckValidSubaccountIDOrNonce checks that either 1) the subaccountId is well-formatted subaccount nonce or 2) the normal subaccountId is a valid subaccount ID and the sender is the owner of the subaccount

func ConstructFundsReclaimMessage added in v1.43.1

func ConstructFundsReclaimMessage(
	recipient, signer sdk.AccAddress,
) []byte

func DecBytesToDec added in v1.26.0

func DecBytesToDec(bz []byte) sdk.Dec

func DecToDecBytes added in v1.26.0

func DecToDecBytes(dec sdk.Dec) []byte

func EthAddressToSubaccountID

func EthAddressToSubaccountID(addr common.Address) common.Hash

func GetBinaryOptionsMarketExpiryTimestampKey added in v1.39.5

func GetBinaryOptionsMarketExpiryTimestampKey(timestamp int64, marketID common.Hash) []byte

func GetBinaryOptionsMarketKey added in v1.39.5

func GetBinaryOptionsMarketKey(isEnabled bool, marketID common.Hash) []byte

func GetBinaryOptionsMarketPrefix added in v1.39.5

func GetBinaryOptionsMarketPrefix(isEnabled bool) []byte

func GetBinaryOptionsMarketSettlementTimestampKey added in v1.39.5

func GetBinaryOptionsMarketSettlementTimestampKey(timestamp int64, marketID common.Hash) []byte

func GetCampaignMarketQualificationKey added in v1.27.0

func GetCampaignMarketQualificationKey(marketID common.Hash) []byte

GetCampaignMarketQualificationKey provides the key for the market trading rewards qualification status

func GetCampaignRewardPendingPoolKey added in v1.30.0

func GetCampaignRewardPendingPoolKey(startTimestamp int64) []byte

GetCampaignRewardPendingPoolKey provides the key for a pending reward pool for a given start time

func GetCampaignRewardPoolKey added in v1.27.0

func GetCampaignRewardPoolKey(startTimestamp int64) []byte

GetCampaignRewardPoolKey provides the key for a reward pool for a given start time

func GetConditionalOrderByTriggerPriceKeyPrefix added in v1.40.8

func GetConditionalOrderByTriggerPriceKeyPrefix(marketID common.Hash, isHigher bool, triggerPrice sdk.Dec, orderHash common.Hash) []byte

func GetDenomDecimalsKey added in v1.39.9

func GetDenomDecimalsKey(denom string) []byte

func GetDepositKey

func GetDepositKey(subaccountID common.Hash, denom string) []byte

GetDepositKey provides the key to obtain a given subaccount's deposits for a given denom

func GetDepositKeyPrefixBySubaccountID

func GetDepositKeyPrefixBySubaccountID(subaccountID common.Hash) []byte

func GetDerivativeLimitOrderIndexByAccountAddressPrefix added in v1.47.1

func GetDerivativeLimitOrderIndexByAccountAddressPrefix(marketID common.Hash, isBuy bool, account sdk.AccAddress) []byte

func GetDerivativeLimitOrderIndexPrefix

func GetDerivativeLimitOrderIndexPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte

func GetDerivativeLimitTransientMarketsKeyPrefix added in v1.40.8

func GetDerivativeLimitTransientMarketsKeyPrefix(marketID common.Hash, isBuy bool) []byte

func GetDerivativeMarketPrefix added in v1.39.5

func GetDerivativeMarketPrefix(isEnabled bool) []byte

func GetDerivativeMarketTransientMarketsKey added in v1.40.8

func GetDerivativeMarketTransientMarketsKey(marketID common.Hash, isBuy bool) []byte

func GetDerivativeOrderbookLevelsForPriceKey added in v1.42.6

func GetDerivativeOrderbookLevelsForPriceKey(marketID common.Hash, isBuy bool, price sdk.Dec) []byte

func GetDerivativeOrderbookLevelsKey added in v1.42.6

func GetDerivativeOrderbookLevelsKey(marketID common.Hash, isBuy bool) []byte

func GetExpiryFuturesMarketInfoByTimestampKey

func GetExpiryFuturesMarketInfoByTimestampKey(timestamp int64, marketID common.Hash) []byte

func GetFeeDiscountAccountOrderIndicatorKey added in v1.27.0

func GetFeeDiscountAccountOrderIndicatorKey(account sdk.AccAddress) []byte

GetFeeDiscountAccountOrderIndicatorKey provides the key for the transient indicator if the account has placed an order that block

func GetFeeDiscountAccountTierKey added in v1.27.0

func GetFeeDiscountAccountTierKey(account sdk.AccAddress) []byte

GetFeeDiscountAccountTierKey provides the key for the account's fee discount tier.

func GetFeeDiscountAccountVolumeInBucketKey added in v1.39.3

func GetFeeDiscountAccountVolumeInBucketKey(bucketStartTimestamp int64, account sdk.AccAddress) []byte

GetFeeDiscountAccountVolumeInBucketKey provides the key for the account's volume in the given bucket

func GetFeeDiscountMarketQualificationKey added in v1.27.0

func GetFeeDiscountMarketQualificationKey(marketID common.Hash) []byte

GetFeeDiscountMarketQualificationKey provides the key for the market fee discount qualification status

func GetFeeDiscountPastBucketAccountVolumeKey added in v1.39.3

func GetFeeDiscountPastBucketAccountVolumeKey(account sdk.AccAddress) []byte

GetFeeDiscountPastBucketAccountVolumeKey provides the key for the account's total past bucket volume.

func GetIsOptedOutOfRewardsKey added in v1.40.3

func GetIsOptedOutOfRewardsKey(account sdk.AccAddress) []byte

GetIsOptedOutOfRewardsKey provides the key for the opted out rewards address

func GetLimitOrderByPriceKeyPrefix

func GetLimitOrderByPriceKeyPrefix(marketID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte

func GetLimitOrderIndexAccountAddressPrefix added in v1.47.1

func GetLimitOrderIndexAccountAddressPrefix(marketID common.Hash, isBuy bool, account sdk.AccAddress) []byte

GetLimitOrderIndexAccountAddressPrefix returns a prefix containing marketID + isBuy + account

func GetLimitOrderIndexKey

func GetLimitOrderIndexKey(marketID common.Hash, isBuy bool, subaccountID, orderHash common.Hash) []byte

func GetLimitOrderIndexSubaccountPrefix added in v1.28.4

func GetLimitOrderIndexSubaccountPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte

GetLimitOrderIndexSubaccountPrefix returns a prefix containing marketID + isBuy + subaccountID

func GetMarketHistoricalTradeRecordsKey added in v1.39.0

func GetMarketHistoricalTradeRecordsKey(marketID common.Hash) []byte

func GetMarketIdDirectionFromTransientKey

func GetMarketIdDirectionFromTransientKey(key []byte) (marketID common.Hash, isBuy bool)

GetMarketIdDirectionFromTransientKey parses the marketID and direction from a transient Key.

func GetMarketVolumeKey added in v1.45.0

func GetMarketVolumeKey(marketID common.Hash) []byte

func GetNonceDerivedSubaccountID added in v1.45.6

func GetNonceDerivedSubaccountID(sender sdk.AccAddress, subaccountId string) (common.Hash, error)

func GetOrderByPriceKeyPrefix

func GetOrderByPriceKeyPrefix(marketID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte

func GetOrderByStringPriceKeyPrefix added in v1.40.8

func GetOrderByStringPriceKeyPrefix(marketID common.Hash, isBuy bool, price string, orderHash common.Hash) []byte

func GetPaddedPrice added in v1.40.8

func GetPaddedPrice(price sdk.Dec) string

func GetPriceFromPaddedPrice added in v1.42.6

func GetPriceFromPaddedPrice(paddedPrice string) sdk.Dec

func GetRequiredBinaryOptionsOrderMargin added in v1.40.0

func GetRequiredBinaryOptionsOrderMargin(
	price sdk.Dec,
	quantity sdk.Dec,
	oracleScaleFactor uint32,
	orderType OrderType,
	isReduceOnly bool,
) sdk.Dec

GetRequiredBinaryOptionsOrderMargin returns the required margin for a binary options trade (or order) at a given price

func GetScaledPrice added in v1.39.5

func GetScaledPrice(price sdk.Dec, scaleFactor uint32) sdk.Dec

func GetSortedBalanceKeys added in v1.28.3

func GetSortedBalanceKeys(p map[string]*Deposit) []string

func GetSpotLimitOrderIndexByAccountAddressPrefix added in v1.47.1

func GetSpotLimitOrderIndexByAccountAddressPrefix(marketID common.Hash, isBuy bool, account sdk.AccAddress) []byte

func GetSpotLimitOrderIndexPrefix

func GetSpotLimitOrderIndexPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte

func GetSpotMarketKey

func GetSpotMarketKey(isEnabled bool) []byte

func GetSpotMarketTransientMarketsKey added in v1.40.8

func GetSpotMarketTransientMarketsKey(marketID common.Hash, isBuy bool) []byte

func GetSpotOrderbookLevelsForPriceKey added in v1.42.6

func GetSpotOrderbookLevelsForPriceKey(marketID common.Hash, isBuy bool, price sdk.Dec) []byte

func GetSpotOrderbookLevelsKey added in v1.42.6

func GetSpotOrderbookLevelsKey(marketID common.Hash, isBuy bool) []byte

func GetSubaccountAndMarketIDFromPositionKey

func GetSubaccountAndMarketIDFromPositionKey(key []byte) (subaccountID, marketID common.Hash)

func GetSubaccountIDFromPositionKey

func GetSubaccountIDFromPositionKey(key []byte) (subaccountID common.Hash)

func GetSubaccountIDOrDeriveFromNonce added in v1.45.6

func GetSubaccountIDOrDeriveFromNonce(sender sdk.AccAddress, subaccountId string) (common.Hash, error)

func GetSubaccountLimitOrderIndicatorKey

func GetSubaccountLimitOrderIndicatorKey(marketID, subaccountID common.Hash) []byte

func GetSubaccountMarketOrderIndicatorKey

func GetSubaccountMarketOrderIndicatorKey(marketID, subaccountID common.Hash) []byte

func GetSubaccountMarketVolumeKey added in v1.45.0

func GetSubaccountMarketVolumeKey(subaccountID, marketID common.Hash) []byte

func GetSubaccountNonce added in v1.45.6

func GetSubaccountNonce(subaccountIdStr string) (uint32, error)

func GetSubaccountOrderIterationKey added in v1.40.2

func GetSubaccountOrderIterationKey(price sdk.Dec, orderHash common.Hash) []byte

func GetSubaccountOrderKey

func GetSubaccountOrderKey(marketID, subaccountID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte

func GetSubaccountOrderPrefixByMarketSubaccountDirection

func GetSubaccountOrderPrefixByMarketSubaccountDirection(marketID, subaccountID common.Hash, isBuy bool) []byte

func GetSubaccountOrderSuffix added in v1.40.8

func GetSubaccountOrderSuffix(marketID, subaccountID common.Hash, isBuy bool) []byte

func GetSubaccountOrderbookMetadataKey

func GetSubaccountOrderbookMetadataKey(marketID, subaccountID common.Hash, isBuy bool) []byte

func GetSubaccountTradeNonceKey

func GetSubaccountTradeNonceKey(subaccountID common.Hash) []byte

GetSubaccountTradeNonceKey provides the prefix to obtain a given subaccount's trade nonce.

func GetTradingRewardAccountPendingPointsKey added in v1.30.0

func GetTradingRewardAccountPendingPointsKey(account sdk.AccAddress, pendingPoolStartTimestamp int64) []byte

GetTradingRewardAccountPendingPointsKey provides the key for the account's trading rewards pending points.

func GetTradingRewardAccountPendingPointsPrefix added in v1.30.0

func GetTradingRewardAccountPendingPointsPrefix(pendingPoolStartTimestamp int64) []byte

GetTradingRewardAccountPendingPointsPrefix provides the prefix for the account's trading rewards pending points.

func GetTradingRewardAccountPendingPointsStartTimestamp added in v1.30.0

func GetTradingRewardAccountPendingPointsStartTimestamp(pendingPoolStartTimestamp []byte) int64

GetTradingRewardAccountPendingPointsStartTimestamp provides the start timestamp of the pending points pool.

func GetTradingRewardAccountPointsKey added in v1.27.0

func GetTradingRewardAccountPointsKey(account sdk.AccAddress) []byte

GetTradingRewardAccountPointsKey provides the key for the account's trading rewards points.

func GetTradingRewardTotalPendingPointsKey added in v1.30.0

func GetTradingRewardTotalPendingPointsKey(pendingPoolStartTimestamp int64) []byte

GetTradingRewardTotalPendingPointsKey provides the key for the total pending trading rewards points.

func GetTradingRewardsMarketPointsMultiplierKey added in v1.27.0

func GetTradingRewardsMarketPointsMultiplierKey(marketID common.Hash) []byte

GetTradingRewardsMarketPointsMultiplierKey provides the key for the market trading rewards multiplier

func GetTransientLimitOrderIndexIteratorPrefix added in v1.28.4

func GetTransientLimitOrderIndexIteratorPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte

func HasDuplicates added in v1.26.0

func HasDuplicates(slice []string) bool

func HasDuplicatesCoin added in v1.26.0

func HasDuplicatesCoin(slice []sdk.Coin) bool

func HasDuplicatesHexHash added in v1.28.4

func HasDuplicatesHexHash(slice []string) bool

func HasDuplicatesOrder added in v1.28.4

func HasDuplicatesOrder(slice []*OrderData) bool

func IsDefaultSubaccountID added in v1.45.0

func IsDefaultSubaccountID(subaccountID common.Hash) bool

func IsEqualDenoms added in v1.27.0

func IsEqualDenoms(denoms1, denoms2 []string) bool

func IsHexHash added in v1.28.7

func IsHexHash(s string) bool

IsHexHash verifies whether a string can represent a valid hex-encoded hash or not.

func IsIBCDenom added in v1.40.0

func IsIBCDenom(denom string) bool

func IsNonceDerivedSubaccountID added in v1.45.6

func IsNonceDerivedSubaccountID(subaccountID string) bool

func IsPeggyToken added in v1.40.0

func IsPeggyToken(denom string) bool

func IsTrueByte added in v1.27.0

func IsTrueByte(bz []byte) bool

func IsValidOrderHash

func IsValidOrderHash(orderHash string) bool

func IsValidSubaccountID

func IsValidSubaccountID(subaccountID string) (*common.Address, bool)

func IsZeroOrNilDec added in v1.27.2

func IsZeroOrNilDec(v sdk.Dec) bool

func IsZeroOrNilInt added in v1.27.2

func IsZeroOrNilInt(v sdkmath.Int) bool

func MarketDirectionPrefix

func MarketDirectionPrefix(marketID common.Hash, isLong bool) []byte

MarketDirectionPrefix allows to obtain prefix against a particular marketID, direction

func MarketSubaccountInfix

func MarketSubaccountInfix(marketID, subaccountID common.Hash) []byte

MarketSubaccountInfix provides the infix given a marketID and subaccountID

func MustGetSubaccountIDOrDeriveFromNonce added in v1.45.6

func MustGetSubaccountIDOrDeriveFromNonce(sender sdk.AccAddress, subaccountId string) common.Hash

func MustSdkAddressWithNonceToSubaccountID added in v1.45.0

func MustSdkAddressWithNonceToSubaccountID(addr sdk.AccAddress, nonce uint32) common.Hash

func NewBinaryOptionsMarketID added in v1.39.5

func NewBinaryOptionsMarketID(ticker, quoteDenom, oracleSymbol, oracleProvider string, oracleType oracletypes.OracleType) common.Hash

func NewDerivativesMarketID

func NewDerivativesMarketID(ticker, quoteDenom, oracleBase, oracleQuote string, oracleType oracletypes.OracleType, expiry int64) common.Hash

func NewExpiryFuturesMarketID

func NewExpiryFuturesMarketID(ticker, quoteDenom, oracleBase, oracleQuote string, oracleType oracletypes.OracleType, expiry int64) common.Hash

func NewPerpetualMarketID

func NewPerpetualMarketID(ticker, quoteDenom, oracleBase, oracleQuote string, oracleType oracletypes.OracleType) common.Hash

func NewSpotMarketID

func NewSpotMarketID(baseDenom, quoteDenom string) common.Hash

func OrderIndexByMarketDirectionSubaccountOrderHashPrefix

func OrderIndexByMarketDirectionSubaccountOrderHashPrefix(marketID common.Hash, isLong bool, subaccountID, orderHash common.Hash) []byte

OrderIndexByMarketDirectionSubaccountOrderHashPrefix turns a marketID + direction + subaccountID + order hash to prefix used to get an order from the store.

func OrderIndexByMarketDirectionSubaccountPrefix

func OrderIndexByMarketDirectionSubaccountPrefix(marketID, subaccountID common.Hash, isLong bool) []byte

OrderIndexByMarketDirectionSubaccountPrefix allows to obtain prefix of exchange against a particular marketID, subaccountID and direction

func OrdersByMarketDirectionPriceOrderHashPrefix

func OrdersByMarketDirectionPriceOrderHashPrefix(marketID, orderHash common.Hash, price *big.Int, isLong bool) []byte

OrdersByMarketDirectionPriceOrderHashPrefix turns a marketID + direction + price + order hash to prefix used to get an order from the store.

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter key table.

func ParseDepositStoreKey

func ParseDepositStoreKey(key []byte) (subaccountID common.Hash, denom string)

func ParseDepositTransientStoreKey

func ParseDepositTransientStoreKey(prefix, key []byte) (subaccountID common.Hash, denom string)

ParseDepositTransientStoreKey parses the deposit transient store key.

func ParseFeeDiscountBucketAccountVolumeIteratorKey added in v1.39.3

func ParseFeeDiscountBucketAccountVolumeIteratorKey(key []byte) (bucketStartTimestamp int64, account sdk.AccAddress)

func ParseMarketIDSubaccountIDDirectionSuffix added in v1.40.8

func ParseMarketIDSubaccountIDDirectionSuffix(keySuffix []byte) (marketID, subaccountID common.Hash, isBuy bool)

func ParsePositionTransientStoreKey

func ParsePositionTransientStoreKey(key []byte) (marketID, subaccountID common.Hash)

func ParseTradingRewardAccountPendingPointsKey added in v1.32.1

func ParseTradingRewardAccountPendingPointsKey(key []byte) (bucketStartTimestamp int64, account sdk.AccAddress)

func PositionIndexBySubaccountMarketPrefix

func PositionIndexBySubaccountMarketPrefix(subaccountID, marketID common.Hash) []byte

PositionIndexBySubaccountMarketPrefix provides the prefix key to obtain a position key for a given market and subaccount

func PrintDisplayLevels added in v1.43.1

func PrintDisplayLevels(buyLevels, sellLevels []*Level)

PrintDisplayLevels is a helper function to print the orderbook in a human readable format for debugging purposes

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/exchange interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ResizeReduceOnlyOrder added in v1.40.2

func ResizeReduceOnlyOrder(o IMutableDerivativeOrder, newQuantity sdk.Dec) error

func SafeIsNonNegativeDec added in v1.40.2

func SafeIsNonNegativeDec(v sdk.Dec) bool

func SafeIsPositiveDec added in v1.27.2

func SafeIsPositiveDec(v sdk.Dec) bool

func SafeIsPositiveInt added in v1.27.2

func SafeIsPositiveInt(v sdkmath.Int) bool

func SdkAddressToEthAddress

func SdkAddressToEthAddress(addr sdk.AccAddress) common.Address

func SdkAddressToSubaccountID

func SdkAddressToSubaccountID(addr sdk.AccAddress) common.Hash

func SdkAddressWithNonceToSubaccountID

func SdkAddressWithNonceToSubaccountID(addr sdk.AccAddress, nonce uint32) (*common.Hash, error)

func SpotMarketDirectionPriceHashPrefix

func SpotMarketDirectionPriceHashPrefix(marketID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte

SpotMarketDirectionPriceHashPrefix turns a marketID + direction + price + order hash to prefix used to get a spot order from the store.

func StringInSlice added in v1.27.0

func StringInSlice(a string, list *[]string) bool

func SubaccountIDToEthAddress added in v1.40.8

func SubaccountIDToEthAddress(subaccountID common.Hash) common.Address

func SubaccountIDToSdkAddress added in v1.26.0

func SubaccountIDToSdkAddress(subaccountID common.Hash) sdk.AccAddress

func SubaccountMarketInfix added in v1.45.0

func SubaccountMarketInfix(subaccountID, marketID common.Hash) []byte

SubaccountMarketInfix provides the infix given a subaccountID and marketID

func ValidateFee

func ValidateFee(i interface{}) error

func ValidateFundsReclaimSignature added in v1.43.1

func ValidateFundsReclaimSignature(
	lockedAccountPubKey, signature []byte,
) error

func ValidateHourlyFundingRateCap added in v1.24.0

func ValidateHourlyFundingRateCap(i interface{}) error

func ValidateHourlyInterestRate added in v1.24.0

func ValidateHourlyInterestRate(i interface{}) error

func ValidateMakerFee added in v1.23.7

func ValidateMakerFee(i interface{}) error

func ValidateMakerWithTakerFee added in v1.39.5

func ValidateMakerWithTakerFee(makerFeeRate, takerFeeRate, relayerFeeShareRate, minimalProtocolFeeRate sdk.Dec) error

func ValidateMakerWithTakerFeeAndDiscounts added in v1.39.5

func ValidateMakerWithTakerFeeAndDiscounts(makerFeeRate, takerFeeRate, relayerFeeShareRate, minimalProtocolFeeRate sdk.Dec, discountSchedule *FeeDiscountSchedule) error

func ValidateMarginRatio

func ValidateMarginRatio(i interface{}) error

func ValidateTickSize

func ValidateTickSize(i interface{}) error

Types

type Account added in v1.27.0

type Account [20]byte

func SdkAccAddressToAccount added in v1.27.0

func SdkAccAddressToAccount(account sdk.AccAddress) Account

func SubaccountIDToAccount added in v1.45.0

func SubaccountIDToAccount(subaccountID common.Hash) Account

type AccountRewards added in v1.27.1

type AccountRewards struct {
	Account string                                   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Rewards github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=rewards,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"rewards"`
}

func (*AccountRewards) Descriptor added in v1.27.1

func (*AccountRewards) Descriptor() ([]byte, []int)

func (*AccountRewards) GetAccount added in v1.27.1

func (m *AccountRewards) GetAccount() string

func (*AccountRewards) GetRewards added in v1.27.1

func (*AccountRewards) Marshal added in v1.27.1

func (m *AccountRewards) Marshal() (dAtA []byte, err error)

func (*AccountRewards) MarshalTo added in v1.27.1

func (m *AccountRewards) MarshalTo(dAtA []byte) (int, error)

func (*AccountRewards) MarshalToSizedBuffer added in v1.27.1

func (m *AccountRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountRewards) ProtoMessage added in v1.27.1

func (*AccountRewards) ProtoMessage()

func (*AccountRewards) Reset added in v1.27.1

func (m *AccountRewards) Reset()

func (*AccountRewards) Size added in v1.27.1

func (m *AccountRewards) Size() (n int)

func (*AccountRewards) String added in v1.27.1

func (m *AccountRewards) String() string

func (*AccountRewards) Unmarshal added in v1.27.1

func (m *AccountRewards) Unmarshal(dAtA []byte) error

func (*AccountRewards) XXX_DiscardUnknown added in v1.27.1

func (m *AccountRewards) XXX_DiscardUnknown()

func (*AccountRewards) XXX_Marshal added in v1.27.1

func (m *AccountRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountRewards) XXX_Merge added in v1.27.1

func (m *AccountRewards) XXX_Merge(src proto.Message)

func (*AccountRewards) XXX_Size added in v1.27.1

func (m *AccountRewards) XXX_Size() int

func (*AccountRewards) XXX_Unmarshal added in v1.27.1

func (m *AccountRewards) XXX_Unmarshal(b []byte) error

type AccountVolume added in v1.39.3

type AccountVolume struct {
	Account string                                 `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Volume  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=volume,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"volume"`
}

func (*AccountVolume) Descriptor added in v1.39.3

func (*AccountVolume) Descriptor() ([]byte, []int)

func (*AccountVolume) GetAccount added in v1.39.3

func (m *AccountVolume) GetAccount() string

func (*AccountVolume) Marshal added in v1.39.3

func (m *AccountVolume) Marshal() (dAtA []byte, err error)

func (*AccountVolume) MarshalTo added in v1.39.3

func (m *AccountVolume) MarshalTo(dAtA []byte) (int, error)

func (*AccountVolume) MarshalToSizedBuffer added in v1.39.3

func (m *AccountVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountVolume) ProtoMessage added in v1.39.3

func (*AccountVolume) ProtoMessage()

func (*AccountVolume) Reset added in v1.39.3

func (m *AccountVolume) Reset()

func (*AccountVolume) Size added in v1.39.3

func (m *AccountVolume) Size() (n int)

func (*AccountVolume) String added in v1.39.3

func (m *AccountVolume) String() string

func (*AccountVolume) Unmarshal added in v1.39.3

func (m *AccountVolume) Unmarshal(dAtA []byte) error

func (*AccountVolume) XXX_DiscardUnknown added in v1.39.3

func (m *AccountVolume) XXX_DiscardUnknown()

func (*AccountVolume) XXX_Marshal added in v1.39.3

func (m *AccountVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountVolume) XXX_Merge added in v1.39.3

func (m *AccountVolume) XXX_Merge(src proto.Message)

func (*AccountVolume) XXX_Size added in v1.39.3

func (m *AccountVolume) XXX_Size() int

func (*AccountVolume) XXX_Unmarshal added in v1.39.3

func (m *AccountVolume) XXX_Unmarshal(b []byte) error

type AggregateAccountVolumeRecord added in v1.45.0

type AggregateAccountVolumeRecord struct {
	Account       string          `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	MarketVolumes []*MarketVolume `protobuf:"bytes,2,rep,name=market_volumes,json=marketVolumes,proto3" json:"market_volumes,omitempty"`
}

func (*AggregateAccountVolumeRecord) Descriptor added in v1.45.0

func (*AggregateAccountVolumeRecord) Descriptor() ([]byte, []int)

func (*AggregateAccountVolumeRecord) GetAccount added in v1.45.0

func (m *AggregateAccountVolumeRecord) GetAccount() string

func (*AggregateAccountVolumeRecord) GetMarketVolumes added in v1.45.0

func (m *AggregateAccountVolumeRecord) GetMarketVolumes() []*MarketVolume

func (*AggregateAccountVolumeRecord) Marshal added in v1.45.0

func (m *AggregateAccountVolumeRecord) Marshal() (dAtA []byte, err error)

func (*AggregateAccountVolumeRecord) MarshalTo added in v1.45.0

func (m *AggregateAccountVolumeRecord) MarshalTo(dAtA []byte) (int, error)

func (*AggregateAccountVolumeRecord) MarshalToSizedBuffer added in v1.45.0

func (m *AggregateAccountVolumeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AggregateAccountVolumeRecord) ProtoMessage added in v1.45.0

func (*AggregateAccountVolumeRecord) ProtoMessage()

func (*AggregateAccountVolumeRecord) Reset added in v1.45.0

func (m *AggregateAccountVolumeRecord) Reset()

func (*AggregateAccountVolumeRecord) Size added in v1.45.0

func (m *AggregateAccountVolumeRecord) Size() (n int)

func (*AggregateAccountVolumeRecord) String added in v1.45.0

func (*AggregateAccountVolumeRecord) Unmarshal added in v1.45.0

func (m *AggregateAccountVolumeRecord) Unmarshal(dAtA []byte) error

func (*AggregateAccountVolumeRecord) XXX_DiscardUnknown added in v1.45.0

func (m *AggregateAccountVolumeRecord) XXX_DiscardUnknown()

func (*AggregateAccountVolumeRecord) XXX_Marshal added in v1.45.0

func (m *AggregateAccountVolumeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregateAccountVolumeRecord) XXX_Merge added in v1.45.0

func (m *AggregateAccountVolumeRecord) XXX_Merge(src proto.Message)

func (*AggregateAccountVolumeRecord) XXX_Size added in v1.45.0

func (m *AggregateAccountVolumeRecord) XXX_Size() int

func (*AggregateAccountVolumeRecord) XXX_Unmarshal added in v1.45.0

func (m *AggregateAccountVolumeRecord) XXX_Unmarshal(b []byte) error

type AggregateSubaccountVolumeRecord added in v1.45.0

type AggregateSubaccountVolumeRecord struct {
	SubaccountId  string          `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketVolumes []*MarketVolume `protobuf:"bytes,2,rep,name=market_volumes,json=marketVolumes,proto3" json:"market_volumes,omitempty"`
}

func (*AggregateSubaccountVolumeRecord) Descriptor added in v1.45.0

func (*AggregateSubaccountVolumeRecord) Descriptor() ([]byte, []int)

func (*AggregateSubaccountVolumeRecord) GetMarketVolumes added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) GetMarketVolumes() []*MarketVolume

func (*AggregateSubaccountVolumeRecord) GetSubaccountId added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) GetSubaccountId() string

func (*AggregateSubaccountVolumeRecord) Marshal added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) Marshal() (dAtA []byte, err error)

func (*AggregateSubaccountVolumeRecord) MarshalTo added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) MarshalTo(dAtA []byte) (int, error)

func (*AggregateSubaccountVolumeRecord) MarshalToSizedBuffer added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AggregateSubaccountVolumeRecord) ProtoMessage added in v1.45.0

func (*AggregateSubaccountVolumeRecord) ProtoMessage()

func (*AggregateSubaccountVolumeRecord) Reset added in v1.45.0

func (*AggregateSubaccountVolumeRecord) Size added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) Size() (n int)

func (*AggregateSubaccountVolumeRecord) String added in v1.45.0

func (*AggregateSubaccountVolumeRecord) Unmarshal added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) Unmarshal(dAtA []byte) error

func (*AggregateSubaccountVolumeRecord) XXX_DiscardUnknown added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) XXX_DiscardUnknown()

func (*AggregateSubaccountVolumeRecord) XXX_Marshal added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AggregateSubaccountVolumeRecord) XXX_Merge added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) XXX_Merge(src proto.Message)

func (*AggregateSubaccountVolumeRecord) XXX_Size added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) XXX_Size() int

func (*AggregateSubaccountVolumeRecord) XXX_Unmarshal added in v1.45.0

func (m *AggregateSubaccountVolumeRecord) XXX_Unmarshal(b []byte) error

type AtomicMarketOrderAccessLevel added in v1.42.6

type AtomicMarketOrderAccessLevel int32
const (
	AtomicMarketOrderAccessLevel_Nobody AtomicMarketOrderAccessLevel = 0
	// currently unsupported
	AtomicMarketOrderAccessLevel_BeginBlockerSmartContractsOnly AtomicMarketOrderAccessLevel = 1
	AtomicMarketOrderAccessLevel_SmartContractsOnly             AtomicMarketOrderAccessLevel = 2
	AtomicMarketOrderAccessLevel_Everyone                       AtomicMarketOrderAccessLevel = 3
)

func (AtomicMarketOrderAccessLevel) EnumDescriptor added in v1.42.6

func (AtomicMarketOrderAccessLevel) EnumDescriptor() ([]byte, []int)

func (AtomicMarketOrderAccessLevel) IsValid added in v1.42.6

func (al AtomicMarketOrderAccessLevel) IsValid() bool

func (AtomicMarketOrderAccessLevel) String added in v1.42.6

type AtomicMarketOrderFeeMultiplierScheduleProposal added in v1.42.6

type AtomicMarketOrderFeeMultiplierScheduleProposal struct {
	Title                string                 `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description          string                 `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MarketFeeMultipliers []*MarketFeeMultiplier `protobuf:"bytes,3,rep,name=market_fee_multipliers,json=marketFeeMultipliers,proto3" json:"market_fee_multipliers,omitempty"`
}

AtomicMarketOrderFeeMultiplierScheduleProposal defines a SDK message for proposing new atomic take fee multipliers for specified markets

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Descriptor added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) GetDescription added in v1.42.6

GetDescription returns the description of this proposal

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) GetTitle added in v1.42.6

GetTitle returns the title of this proposal

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Marshal added in v1.42.6

func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Marshal() (dAtA []byte, err error)

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalTo added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalToSizedBuffer added in v1.42.6

func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) ProposalRoute added in v1.42.6

ProposalRoute returns router key of this proposal.

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) ProposalType added in v1.42.6

ProposalType returns proposal type of this proposal.

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) ProtoMessage added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Reset added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Size added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) String added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Unmarshal added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) ValidateBasic added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_DiscardUnknown added in v1.42.6

func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_DiscardUnknown()

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Marshal added in v1.42.6

func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Merge added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Size added in v1.42.6

func (*AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Unmarshal added in v1.42.6

type Balance

type Balance struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Denom        string   `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Deposits     *Deposit `protobuf:"bytes,3,opt,name=deposits,proto3" json:"deposits,omitempty"`
}

func (*Balance) Descriptor

func (*Balance) Descriptor() ([]byte, []int)

func (*Balance) Marshal

func (m *Balance) Marshal() (dAtA []byte, err error)

func (*Balance) MarshalTo

func (m *Balance) MarshalTo(dAtA []byte) (int, error)

func (*Balance) MarshalToSizedBuffer

func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) Reset

func (m *Balance) Reset()

func (*Balance) Size

func (m *Balance) Size() (n int)

func (*Balance) String

func (m *Balance) String() string

func (*Balance) Unmarshal

func (m *Balance) Unmarshal(dAtA []byte) error

func (*Balance) XXX_DiscardUnknown

func (m *Balance) XXX_DiscardUnknown()

func (*Balance) XXX_Marshal

func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Balance) XXX_Merge

func (m *Balance) XXX_Merge(src proto.Message)

func (*Balance) XXX_Size

func (m *Balance) XXX_Size() int

func (*Balance) XXX_Unmarshal

func (m *Balance) XXX_Unmarshal(b []byte) error

type BalanceMismatch added in v1.30.0

type BalanceMismatch struct {
	SubaccountId  string                                 `protobuf:"bytes,1,opt,name=subaccountId,proto3" json:"subaccountId,omitempty"`
	Denom         string                                 `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Available     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=available,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"available"`
	Total         github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=total,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total"`
	BalanceHold   github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	ExpectedTotal github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	Difference    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=difference,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"difference"`
}

func (*BalanceMismatch) Descriptor added in v1.30.0

func (*BalanceMismatch) Descriptor() ([]byte, []int)

func (*BalanceMismatch) GetDenom added in v1.30.0

func (m *BalanceMismatch) GetDenom() string

func (*BalanceMismatch) GetSubaccountId added in v1.30.0

func (m *BalanceMismatch) GetSubaccountId() string

func (*BalanceMismatch) Marshal added in v1.30.0

func (m *BalanceMismatch) Marshal() (dAtA []byte, err error)

func (*BalanceMismatch) MarshalTo added in v1.30.0

func (m *BalanceMismatch) MarshalTo(dAtA []byte) (int, error)

func (*BalanceMismatch) MarshalToSizedBuffer added in v1.30.0

func (m *BalanceMismatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BalanceMismatch) ProtoMessage added in v1.30.0

func (*BalanceMismatch) ProtoMessage()

func (*BalanceMismatch) Reset added in v1.30.0

func (m *BalanceMismatch) Reset()

func (*BalanceMismatch) Size added in v1.30.0

func (m *BalanceMismatch) Size() (n int)

func (*BalanceMismatch) String added in v1.30.0

func (m *BalanceMismatch) String() string

func (*BalanceMismatch) Unmarshal added in v1.30.0

func (m *BalanceMismatch) Unmarshal(dAtA []byte) error

func (*BalanceMismatch) XXX_DiscardUnknown added in v1.30.0

func (m *BalanceMismatch) XXX_DiscardUnknown()

func (*BalanceMismatch) XXX_Marshal added in v1.30.0

func (m *BalanceMismatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BalanceMismatch) XXX_Merge added in v1.30.0

func (m *BalanceMismatch) XXX_Merge(src proto.Message)

func (*BalanceMismatch) XXX_Size added in v1.30.0

func (m *BalanceMismatch) XXX_Size() int

func (*BalanceMismatch) XXX_Unmarshal added in v1.30.0

func (m *BalanceMismatch) XXX_Unmarshal(b []byte) error

type BalanceWithMarginHold added in v1.30.0

type BalanceWithMarginHold struct {
	SubaccountId string                                 `protobuf:"bytes,1,opt,name=subaccountId,proto3" json:"subaccountId,omitempty"`
	Denom        string                                 `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Available    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=available,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"available"`
	Total        github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=total,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total"`
	BalanceHold  github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
}

func (*BalanceWithMarginHold) Descriptor added in v1.30.0

func (*BalanceWithMarginHold) Descriptor() ([]byte, []int)

func (*BalanceWithMarginHold) GetDenom added in v1.30.0

func (m *BalanceWithMarginHold) GetDenom() string

func (*BalanceWithMarginHold) GetSubaccountId added in v1.30.0

func (m *BalanceWithMarginHold) GetSubaccountId() string

func (*BalanceWithMarginHold) Marshal added in v1.30.0

func (m *BalanceWithMarginHold) Marshal() (dAtA []byte, err error)

func (*BalanceWithMarginHold) MarshalTo added in v1.30.0

func (m *BalanceWithMarginHold) MarshalTo(dAtA []byte) (int, error)

func (*BalanceWithMarginHold) MarshalToSizedBuffer added in v1.30.0

func (m *BalanceWithMarginHold) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BalanceWithMarginHold) ProtoMessage added in v1.30.0

func (*BalanceWithMarginHold) ProtoMessage()

func (*BalanceWithMarginHold) Reset added in v1.30.0

func (m *BalanceWithMarginHold) Reset()

func (*BalanceWithMarginHold) Size added in v1.30.0

func (m *BalanceWithMarginHold) Size() (n int)

func (*BalanceWithMarginHold) String added in v1.30.0

func (m *BalanceWithMarginHold) String() string

func (*BalanceWithMarginHold) Unmarshal added in v1.30.0

func (m *BalanceWithMarginHold) Unmarshal(dAtA []byte) error

func (*BalanceWithMarginHold) XXX_DiscardUnknown added in v1.30.0

func (m *BalanceWithMarginHold) XXX_DiscardUnknown()

func (*BalanceWithMarginHold) XXX_Marshal added in v1.30.0

func (m *BalanceWithMarginHold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BalanceWithMarginHold) XXX_Merge added in v1.30.0

func (m *BalanceWithMarginHold) XXX_Merge(src proto.Message)

func (*BalanceWithMarginHold) XXX_Size added in v1.30.0

func (m *BalanceWithMarginHold) XXX_Size() int

func (*BalanceWithMarginHold) XXX_Unmarshal added in v1.30.0

func (m *BalanceWithMarginHold) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	SendCoinsFromModuleToModule(ctx sdk.Context, senderModule, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	GetSupply(ctx sdk.Context) sdk.Coin
}

BankKeeper defines the expected bank keeper methods.

type BatchCancelDerivativeOrdersAuthz added in v1.37.5

type BatchCancelDerivativeOrdersAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (BatchCancelDerivativeOrdersAuthz) Accept added in v1.37.5

func (*BatchCancelDerivativeOrdersAuthz) Descriptor added in v1.37.5

func (*BatchCancelDerivativeOrdersAuthz) Descriptor() ([]byte, []int)

func (*BatchCancelDerivativeOrdersAuthz) GetMarketIds added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) GetMarketIds() []string

func (*BatchCancelDerivativeOrdersAuthz) GetSubaccountId added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) GetSubaccountId() string

func (*BatchCancelDerivativeOrdersAuthz) Marshal added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) Marshal() (dAtA []byte, err error)

func (*BatchCancelDerivativeOrdersAuthz) MarshalTo added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) MarshalTo(dAtA []byte) (int, error)

func (*BatchCancelDerivativeOrdersAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (BatchCancelDerivativeOrdersAuthz) MsgTypeURL added in v1.37.5

BatchCancelDerivativeOrdersAuthz impl

func (*BatchCancelDerivativeOrdersAuthz) ProtoMessage added in v1.37.5

func (*BatchCancelDerivativeOrdersAuthz) ProtoMessage()

func (*BatchCancelDerivativeOrdersAuthz) Reset added in v1.37.5

func (*BatchCancelDerivativeOrdersAuthz) Size added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) Size() (n int)

func (*BatchCancelDerivativeOrdersAuthz) String added in v1.37.5

func (*BatchCancelDerivativeOrdersAuthz) Unmarshal added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) Unmarshal(dAtA []byte) error

func (BatchCancelDerivativeOrdersAuthz) ValidateBasic added in v1.37.5

func (a BatchCancelDerivativeOrdersAuthz) ValidateBasic() error

func (*BatchCancelDerivativeOrdersAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) XXX_DiscardUnknown()

func (*BatchCancelDerivativeOrdersAuthz) XXX_Marshal added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCancelDerivativeOrdersAuthz) XXX_Merge added in v1.37.5

func (*BatchCancelDerivativeOrdersAuthz) XXX_Size added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) XXX_Size() int

func (*BatchCancelDerivativeOrdersAuthz) XXX_Unmarshal added in v1.37.5

func (m *BatchCancelDerivativeOrdersAuthz) XXX_Unmarshal(b []byte) error

type BatchCancelSpotOrdersAuthz added in v1.37.5

type BatchCancelSpotOrdersAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (BatchCancelSpotOrdersAuthz) Accept added in v1.37.5

func (*BatchCancelSpotOrdersAuthz) Descriptor added in v1.37.5

func (*BatchCancelSpotOrdersAuthz) Descriptor() ([]byte, []int)

func (*BatchCancelSpotOrdersAuthz) GetMarketIds added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) GetMarketIds() []string

func (*BatchCancelSpotOrdersAuthz) GetSubaccountId added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) GetSubaccountId() string

func (*BatchCancelSpotOrdersAuthz) Marshal added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) Marshal() (dAtA []byte, err error)

func (*BatchCancelSpotOrdersAuthz) MarshalTo added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) MarshalTo(dAtA []byte) (int, error)

func (*BatchCancelSpotOrdersAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (BatchCancelSpotOrdersAuthz) MsgTypeURL added in v1.37.5

func (a BatchCancelSpotOrdersAuthz) MsgTypeURL() string

BatchCancelSpotOrdersAuthz impl

func (*BatchCancelSpotOrdersAuthz) ProtoMessage added in v1.37.5

func (*BatchCancelSpotOrdersAuthz) ProtoMessage()

func (*BatchCancelSpotOrdersAuthz) Reset added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) Reset()

func (*BatchCancelSpotOrdersAuthz) Size added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) Size() (n int)

func (*BatchCancelSpotOrdersAuthz) String added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) String() string

func (*BatchCancelSpotOrdersAuthz) Unmarshal added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) Unmarshal(dAtA []byte) error

func (BatchCancelSpotOrdersAuthz) ValidateBasic added in v1.37.5

func (a BatchCancelSpotOrdersAuthz) ValidateBasic() error

func (*BatchCancelSpotOrdersAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) XXX_DiscardUnknown()

func (*BatchCancelSpotOrdersAuthz) XXX_Marshal added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCancelSpotOrdersAuthz) XXX_Merge added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) XXX_Merge(src proto.Message)

func (*BatchCancelSpotOrdersAuthz) XXX_Size added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) XXX_Size() int

func (*BatchCancelSpotOrdersAuthz) XXX_Unmarshal added in v1.37.5

func (m *BatchCancelSpotOrdersAuthz) XXX_Unmarshal(b []byte) error

type BatchCommunityPoolSpendProposal added in v1.27.3

type BatchCommunityPoolSpendProposal struct {
	Title       string                               `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string                               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Proposals   []*types2.CommunityPoolSpendProposal `protobuf:"bytes,3,rep,name=proposals,proto3" json:"proposals,omitempty"`
}

func (*BatchCommunityPoolSpendProposal) Descriptor added in v1.27.3

func (*BatchCommunityPoolSpendProposal) Descriptor() ([]byte, []int)

func (*BatchCommunityPoolSpendProposal) GetDescription added in v1.27.3

func (p *BatchCommunityPoolSpendProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*BatchCommunityPoolSpendProposal) GetTitle added in v1.27.3

GetTitle returns the title of this proposal.

func (*BatchCommunityPoolSpendProposal) Marshal added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) Marshal() (dAtA []byte, err error)

func (*BatchCommunityPoolSpendProposal) MarshalTo added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error)

func (*BatchCommunityPoolSpendProposal) MarshalToSizedBuffer added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchCommunityPoolSpendProposal) ProposalRoute added in v1.27.3

func (p *BatchCommunityPoolSpendProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*BatchCommunityPoolSpendProposal) ProposalType added in v1.27.3

func (p *BatchCommunityPoolSpendProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*BatchCommunityPoolSpendProposal) ProtoMessage added in v1.27.3

func (*BatchCommunityPoolSpendProposal) ProtoMessage()

func (*BatchCommunityPoolSpendProposal) Reset added in v1.27.3

func (*BatchCommunityPoolSpendProposal) Size added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) Size() (n int)

func (*BatchCommunityPoolSpendProposal) String added in v1.27.3

func (*BatchCommunityPoolSpendProposal) Unmarshal added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error

func (*BatchCommunityPoolSpendProposal) ValidateBasic added in v1.27.3

func (p *BatchCommunityPoolSpendProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*BatchCommunityPoolSpendProposal) XXX_DiscardUnknown added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) XXX_DiscardUnknown()

func (*BatchCommunityPoolSpendProposal) XXX_Marshal added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCommunityPoolSpendProposal) XXX_Merge added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) XXX_Merge(src proto.Message)

func (*BatchCommunityPoolSpendProposal) XXX_Size added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) XXX_Size() int

func (*BatchCommunityPoolSpendProposal) XXX_Unmarshal added in v1.27.3

func (m *BatchCommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error

type BatchCreateDerivativeLimitOrdersAuthz added in v1.37.5

type BatchCreateDerivativeLimitOrdersAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (BatchCreateDerivativeLimitOrdersAuthz) Accept added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) Descriptor added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) Descriptor() ([]byte, []int)

func (*BatchCreateDerivativeLimitOrdersAuthz) GetMarketIds added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) GetMarketIds() []string

func (*BatchCreateDerivativeLimitOrdersAuthz) GetSubaccountId added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) GetSubaccountId() string

func (*BatchCreateDerivativeLimitOrdersAuthz) Marshal added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) Marshal() (dAtA []byte, err error)

func (*BatchCreateDerivativeLimitOrdersAuthz) MarshalTo added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) MarshalTo(dAtA []byte) (int, error)

func (*BatchCreateDerivativeLimitOrdersAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (BatchCreateDerivativeLimitOrdersAuthz) MsgTypeURL added in v1.37.5

BatchCreateDerivativeLimitOrdersAuthz impl

func (*BatchCreateDerivativeLimitOrdersAuthz) ProtoMessage added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) ProtoMessage()

func (*BatchCreateDerivativeLimitOrdersAuthz) Reset added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) Size added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) String added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) Unmarshal added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) Unmarshal(dAtA []byte) error

func (BatchCreateDerivativeLimitOrdersAuthz) ValidateBasic added in v1.37.5

func (a BatchCreateDerivativeLimitOrdersAuthz) ValidateBasic() error

func (*BatchCreateDerivativeLimitOrdersAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_DiscardUnknown()

func (*BatchCreateDerivativeLimitOrdersAuthz) XXX_Marshal added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateDerivativeLimitOrdersAuthz) XXX_Merge added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) XXX_Size added in v1.37.5

func (*BatchCreateDerivativeLimitOrdersAuthz) XXX_Unmarshal added in v1.37.5

func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Unmarshal(b []byte) error

type BatchCreateSpotLimitOrdersAuthz added in v1.37.5

type BatchCreateSpotLimitOrdersAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (BatchCreateSpotLimitOrdersAuthz) Accept added in v1.37.5

func (*BatchCreateSpotLimitOrdersAuthz) Descriptor added in v1.37.5

func (*BatchCreateSpotLimitOrdersAuthz) Descriptor() ([]byte, []int)

func (*BatchCreateSpotLimitOrdersAuthz) GetMarketIds added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) GetMarketIds() []string

func (*BatchCreateSpotLimitOrdersAuthz) GetSubaccountId added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) GetSubaccountId() string

func (*BatchCreateSpotLimitOrdersAuthz) Marshal added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) Marshal() (dAtA []byte, err error)

func (*BatchCreateSpotLimitOrdersAuthz) MarshalTo added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) MarshalTo(dAtA []byte) (int, error)

func (*BatchCreateSpotLimitOrdersAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (BatchCreateSpotLimitOrdersAuthz) MsgTypeURL added in v1.37.5

func (a BatchCreateSpotLimitOrdersAuthz) MsgTypeURL() string

BatchCreateSpotLimitOrdersAuthz impl

func (*BatchCreateSpotLimitOrdersAuthz) ProtoMessage added in v1.37.5

func (*BatchCreateSpotLimitOrdersAuthz) ProtoMessage()

func (*BatchCreateSpotLimitOrdersAuthz) Reset added in v1.37.5

func (*BatchCreateSpotLimitOrdersAuthz) Size added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) Size() (n int)

func (*BatchCreateSpotLimitOrdersAuthz) String added in v1.37.5

func (*BatchCreateSpotLimitOrdersAuthz) Unmarshal added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) Unmarshal(dAtA []byte) error

func (BatchCreateSpotLimitOrdersAuthz) ValidateBasic added in v1.37.5

func (a BatchCreateSpotLimitOrdersAuthz) ValidateBasic() error

func (*BatchCreateSpotLimitOrdersAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) XXX_DiscardUnknown()

func (*BatchCreateSpotLimitOrdersAuthz) XXX_Marshal added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateSpotLimitOrdersAuthz) XXX_Merge added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Merge(src proto.Message)

func (*BatchCreateSpotLimitOrdersAuthz) XXX_Size added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Size() int

func (*BatchCreateSpotLimitOrdersAuthz) XXX_Unmarshal added in v1.37.5

func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Unmarshal(b []byte) error

type BatchExchangeModificationProposal added in v1.27.2

type BatchExchangeModificationProposal struct {
	Title                                string                                    `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description                          string                                    `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	SpotMarketParamUpdateProposals       []*SpotMarketParamUpdateProposal          `` /* 157-byte string literal not displayed */
	DerivativeMarketParamUpdateProposals []*DerivativeMarketParamUpdateProposal    `` /* 175-byte string literal not displayed */
	SpotMarketLaunchProposals            []*SpotMarketLaunchProposal               `` /* 140-byte string literal not displayed */
	PerpetualMarketLaunchProposals       []*PerpetualMarketLaunchProposal          `` /* 155-byte string literal not displayed */
	ExpiryFuturesMarketLaunchProposals   []*ExpiryFuturesMarketLaunchProposal      `` /* 169-byte string literal not displayed */
	TradingRewardCampaignUpdateProposal  *TradingRewardCampaignUpdateProposal      `` /* 172-byte string literal not displayed */
	BinaryOptionsMarketLaunchProposals   []*BinaryOptionsMarketLaunchProposal      `` /* 169-byte string literal not displayed */
	BinaryOptionsParamUpdateProposals    []*BinaryOptionsMarketParamUpdateProposal `` /* 167-byte string literal not displayed */
	DenomDecimalsUpdateProposal          *UpdateDenomDecimalsProposal              `` /* 147-byte string literal not displayed */
}

func (*BatchExchangeModificationProposal) Descriptor added in v1.27.2

func (*BatchExchangeModificationProposal) Descriptor() ([]byte, []int)

func (*BatchExchangeModificationProposal) GetDescription added in v1.27.2

func (p *BatchExchangeModificationProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*BatchExchangeModificationProposal) GetTitle added in v1.27.2

GetTitle returns the title of this proposal.

func (*BatchExchangeModificationProposal) Marshal added in v1.27.2

func (m *BatchExchangeModificationProposal) Marshal() (dAtA []byte, err error)

func (*BatchExchangeModificationProposal) MarshalTo added in v1.27.2

func (m *BatchExchangeModificationProposal) MarshalTo(dAtA []byte) (int, error)

func (*BatchExchangeModificationProposal) MarshalToSizedBuffer added in v1.27.2

func (m *BatchExchangeModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BatchExchangeModificationProposal) ProposalRoute added in v1.27.2

func (p *BatchExchangeModificationProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*BatchExchangeModificationProposal) ProposalType added in v1.27.2

func (p *BatchExchangeModificationProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*BatchExchangeModificationProposal) ProtoMessage added in v1.27.2

func (*BatchExchangeModificationProposal) ProtoMessage()

func (*BatchExchangeModificationProposal) Reset added in v1.27.2

func (*BatchExchangeModificationProposal) Size added in v1.27.2

func (m *BatchExchangeModificationProposal) Size() (n int)

func (*BatchExchangeModificationProposal) String added in v1.27.2

func (*BatchExchangeModificationProposal) Unmarshal added in v1.27.2

func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error

func (*BatchExchangeModificationProposal) ValidateBasic added in v1.27.2

func (p *BatchExchangeModificationProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*BatchExchangeModificationProposal) XXX_DiscardUnknown added in v1.27.2

func (m *BatchExchangeModificationProposal) XXX_DiscardUnknown()

func (*BatchExchangeModificationProposal) XXX_Marshal added in v1.27.2

func (m *BatchExchangeModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchExchangeModificationProposal) XXX_Merge added in v1.27.2

func (*BatchExchangeModificationProposal) XXX_Size added in v1.27.2

func (m *BatchExchangeModificationProposal) XXX_Size() int

func (*BatchExchangeModificationProposal) XXX_Unmarshal added in v1.27.2

func (m *BatchExchangeModificationProposal) XXX_Unmarshal(b []byte) error

type BatchUpdateOrdersAuthz added in v1.37.5

type BatchUpdateOrdersAuthz struct {
	SubaccountId      string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	SpotMarkets       []string `protobuf:"bytes,2,rep,name=spot_markets,json=spotMarkets,proto3" json:"spot_markets,omitempty"`
	DerivativeMarkets []string `protobuf:"bytes,3,rep,name=derivative_markets,json=derivativeMarkets,proto3" json:"derivative_markets,omitempty"`
}

common authz message used in both spot & derivative markets

func (BatchUpdateOrdersAuthz) Accept added in v1.37.5

func (*BatchUpdateOrdersAuthz) Descriptor added in v1.37.5

func (*BatchUpdateOrdersAuthz) Descriptor() ([]byte, []int)

func (*BatchUpdateOrdersAuthz) GetDerivativeMarkets added in v1.37.5

func (m *BatchUpdateOrdersAuthz) GetDerivativeMarkets() []string

func (*BatchUpdateOrdersAuthz) GetSpotMarkets added in v1.37.5

func (m *BatchUpdateOrdersAuthz) GetSpotMarkets() []string

func (*BatchUpdateOrdersAuthz) GetSubaccountId added in v1.37.5

func (m *BatchUpdateOrdersAuthz) GetSubaccountId() string

func (*BatchUpdateOrdersAuthz) Marshal added in v1.37.5

func (m *BatchUpdateOrdersAuthz) Marshal() (dAtA []byte, err error)

func (*BatchUpdateOrdersAuthz) MarshalTo added in v1.37.5

func (m *BatchUpdateOrdersAuthz) MarshalTo(dAtA []byte) (int, error)

func (*BatchUpdateOrdersAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *BatchUpdateOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (BatchUpdateOrdersAuthz) MsgTypeURL added in v1.37.5

func (a BatchUpdateOrdersAuthz) MsgTypeURL() string

BatchUpdateOrdersAuthz impl

func (*BatchUpdateOrdersAuthz) ProtoMessage added in v1.37.5

func (*BatchUpdateOrdersAuthz) ProtoMessage()

func (*BatchUpdateOrdersAuthz) Reset added in v1.37.5

func (m *BatchUpdateOrdersAuthz) Reset()

func (*BatchUpdateOrdersAuthz) Size added in v1.37.5

func (m *BatchUpdateOrdersAuthz) Size() (n int)

func (*BatchUpdateOrdersAuthz) String added in v1.37.5

func (m *BatchUpdateOrdersAuthz) String() string

func (*BatchUpdateOrdersAuthz) Unmarshal added in v1.37.5

func (m *BatchUpdateOrdersAuthz) Unmarshal(dAtA []byte) error

func (BatchUpdateOrdersAuthz) ValidateBasic added in v1.37.5

func (a BatchUpdateOrdersAuthz) ValidateBasic() error

func (*BatchUpdateOrdersAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *BatchUpdateOrdersAuthz) XXX_DiscardUnknown()

func (*BatchUpdateOrdersAuthz) XXX_Marshal added in v1.37.5

func (m *BatchUpdateOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateOrdersAuthz) XXX_Merge added in v1.37.5

func (m *BatchUpdateOrdersAuthz) XXX_Merge(src proto.Message)

func (*BatchUpdateOrdersAuthz) XXX_Size added in v1.37.5

func (m *BatchUpdateOrdersAuthz) XXX_Size() int

func (*BatchUpdateOrdersAuthz) XXX_Unmarshal added in v1.37.5

func (m *BatchUpdateOrdersAuthz) XXX_Unmarshal(b []byte) error

type BinaryOptionsMarket added in v1.39.5

type BinaryOptionsMarket struct {
	// Ticker for the derivative contract.
	Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// Oracle symbol
	OracleSymbol string `protobuf:"bytes,2,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"`
	// Oracle Provider
	OracleProvider string `protobuf:"bytes,3,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,5,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// expiration timestamp
	ExpirationTimestamp int64 `protobuf:"varint,6,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
	// expiration timestamp
	SettlementTimestamp int64 `protobuf:"varint,7,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
	// admin of the market
	Admin string `protobuf:"bytes,8,opt,name=admin,proto3" json:"admin,omitempty"`
	// Address of the quote currency denomination for the binary options contract
	QuoteDenom string `protobuf:"bytes,9,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Unique market ID.
	MarketId string `protobuf:"bytes,10,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// maker_fee_rate defines the maker fee rate of a binary options market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// taker_fee_rate defines the taker fee rate of a derivative market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// relayer_fee_share_rate defines the percentage of the transaction fee shared
	// with the relayer in a derivative market
	RelayerFeeShareRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// Status of the market
	Status MarketStatus `protobuf:"varint,14,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
	// min_price_tick_size defines the minimum tick size that the price and margin
	// required for orders in the market
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the quantity
	// required for orders in the market
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec  `` /* 163-byte string literal not displayed */
	SettlementPrice     *github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */
}

An object describing a binary options market in Injective Protocol.

func (*BinaryOptionsMarket) Descriptor added in v1.39.5

func (*BinaryOptionsMarket) Descriptor() ([]byte, []int)

func (*BinaryOptionsMarket) GetInitialMarginRatio added in v1.39.5

func (m *BinaryOptionsMarket) GetInitialMarginRatio() sdk.Dec

func (*BinaryOptionsMarket) GetIsPerpetual added in v1.39.5

func (m *BinaryOptionsMarket) GetIsPerpetual() bool

func (*BinaryOptionsMarket) GetMakerFeeRate added in v1.39.5

func (m *BinaryOptionsMarket) GetMakerFeeRate() sdk.Dec

func (*BinaryOptionsMarket) GetMarketStatus added in v1.42.0

func (m *BinaryOptionsMarket) GetMarketStatus() MarketStatus

func (*BinaryOptionsMarket) GetMarketType added in v1.39.5

func (m *BinaryOptionsMarket) GetMarketType() MarketType

func (*BinaryOptionsMarket) GetMinPriceTickSize added in v1.39.5

func (m *BinaryOptionsMarket) GetMinPriceTickSize() sdk.Dec

func (*BinaryOptionsMarket) GetMinQuantityTickSize added in v1.39.5

func (m *BinaryOptionsMarket) GetMinQuantityTickSize() sdk.Dec

func (*BinaryOptionsMarket) GetOracleScaleFactor added in v1.39.5

func (m *BinaryOptionsMarket) GetOracleScaleFactor() uint32

func (*BinaryOptionsMarket) GetQuoteDenom added in v1.39.5

func (m *BinaryOptionsMarket) GetQuoteDenom() string

func (*BinaryOptionsMarket) GetRelayerFeeShareRate added in v1.39.5

func (m *BinaryOptionsMarket) GetRelayerFeeShareRate() sdk.Dec

func (*BinaryOptionsMarket) GetTakerFeeRate added in v1.39.5

func (m *BinaryOptionsMarket) GetTakerFeeRate() sdk.Dec

func (*BinaryOptionsMarket) GetTicker added in v1.39.5

func (m *BinaryOptionsMarket) GetTicker() string

func (*BinaryOptionsMarket) IsActive added in v1.39.5

func (m *BinaryOptionsMarket) IsActive() bool

func (*BinaryOptionsMarket) IsInactive added in v1.39.5

func (m *BinaryOptionsMarket) IsInactive() bool

func (*BinaryOptionsMarket) MarketID added in v1.39.5

func (m *BinaryOptionsMarket) MarketID() common.Hash

func (*BinaryOptionsMarket) Marshal added in v1.39.5

func (m *BinaryOptionsMarket) Marshal() (dAtA []byte, err error)

func (*BinaryOptionsMarket) MarshalTo added in v1.39.5

func (m *BinaryOptionsMarket) MarshalTo(dAtA []byte) (int, error)

func (*BinaryOptionsMarket) MarshalToSizedBuffer added in v1.39.5

func (m *BinaryOptionsMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BinaryOptionsMarket) ProtoMessage added in v1.39.5

func (*BinaryOptionsMarket) ProtoMessage()

func (*BinaryOptionsMarket) Reset added in v1.39.5

func (m *BinaryOptionsMarket) Reset()

func (*BinaryOptionsMarket) Size added in v1.39.5

func (m *BinaryOptionsMarket) Size() (n int)

func (*BinaryOptionsMarket) StatusSupportsOrderCancellations added in v1.39.5

func (m *BinaryOptionsMarket) StatusSupportsOrderCancellations() bool

func (*BinaryOptionsMarket) String added in v1.39.5

func (m *BinaryOptionsMarket) String() string

func (*BinaryOptionsMarket) Unmarshal added in v1.39.5

func (m *BinaryOptionsMarket) Unmarshal(dAtA []byte) error

func (*BinaryOptionsMarket) XXX_DiscardUnknown added in v1.39.5

func (m *BinaryOptionsMarket) XXX_DiscardUnknown()

func (*BinaryOptionsMarket) XXX_Marshal added in v1.39.5

func (m *BinaryOptionsMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryOptionsMarket) XXX_Merge added in v1.39.5

func (m *BinaryOptionsMarket) XXX_Merge(src proto.Message)

func (*BinaryOptionsMarket) XXX_Size added in v1.39.5

func (m *BinaryOptionsMarket) XXX_Size() int

func (*BinaryOptionsMarket) XXX_Unmarshal added in v1.39.5

func (m *BinaryOptionsMarket) XXX_Unmarshal(b []byte) error

type BinaryOptionsMarketLaunchProposal added in v1.39.5

type BinaryOptionsMarketLaunchProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Ticker for the derivative contract.
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// Oracle symbol
	OracleSymbol string `protobuf:"bytes,4,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"`
	// Oracle Provider
	OracleProvider string `protobuf:"bytes,5,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// expiration timestamp
	ExpirationTimestamp int64 `protobuf:"varint,8,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
	// expiration timestamp
	SettlementTimestamp int64 `protobuf:"varint,9,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
	// admin of the market
	Admin string `protobuf:"bytes,10,opt,name=admin,proto3" json:"admin,omitempty"`
	// Address of the quote currency denomination for the binary options contract
	QuoteDenom string `protobuf:"bytes,11,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// maker_fee_rate defines the maker fee rate of a binary options market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// taker_fee_rate defines the taker fee rate of a derivative market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size that the price and margin
	// required for orders in the market
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the quantity
	// required for orders in the market
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

func NewBinaryOptionsMarketLaunchProposal added in v1.39.5

func NewBinaryOptionsMarketLaunchProposal(
	title, description, ticker, oracleSymbol, oracleProvider string,
	oracleType oracletypes.OracleType, oracleScaleFactor uint32,
	expirationTimestamp, settlementTimestamp int64,
	admin, quoteDenom string,
	makerFeeRate, takerFeeRate, minPriceTickSize, minQuantityTickSize sdk.Dec,

) *BinaryOptionsMarketLaunchProposal

NewBinaryOptionsMarketLaunchProposal returns new instance of BinaryOptionsMarketLaunchProposal

func (*BinaryOptionsMarketLaunchProposal) Descriptor added in v1.39.5

func (*BinaryOptionsMarketLaunchProposal) Descriptor() ([]byte, []int)

func (*BinaryOptionsMarketLaunchProposal) GetDescription added in v1.39.5

func (p *BinaryOptionsMarketLaunchProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*BinaryOptionsMarketLaunchProposal) GetTitle added in v1.39.5

GetTitle returns the title of this proposal.

func (*BinaryOptionsMarketLaunchProposal) Marshal added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) Marshal() (dAtA []byte, err error)

func (*BinaryOptionsMarketLaunchProposal) MarshalTo added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)

func (*BinaryOptionsMarketLaunchProposal) MarshalToSizedBuffer added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BinaryOptionsMarketLaunchProposal) ProposalRoute added in v1.39.5

func (p *BinaryOptionsMarketLaunchProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*BinaryOptionsMarketLaunchProposal) ProposalType added in v1.39.5

func (p *BinaryOptionsMarketLaunchProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*BinaryOptionsMarketLaunchProposal) ProtoMessage added in v1.39.5

func (*BinaryOptionsMarketLaunchProposal) ProtoMessage()

func (*BinaryOptionsMarketLaunchProposal) Reset added in v1.39.5

func (*BinaryOptionsMarketLaunchProposal) Size added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) Size() (n int)

func (*BinaryOptionsMarketLaunchProposal) String added in v1.39.5

func (*BinaryOptionsMarketLaunchProposal) Unmarshal added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error

func (*BinaryOptionsMarketLaunchProposal) ValidateBasic added in v1.39.5

func (p *BinaryOptionsMarketLaunchProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of a perpetual market launch proposal.

func (*BinaryOptionsMarketLaunchProposal) XXX_DiscardUnknown added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) XXX_DiscardUnknown()

func (*BinaryOptionsMarketLaunchProposal) XXX_Marshal added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryOptionsMarketLaunchProposal) XXX_Merge added in v1.39.5

func (*BinaryOptionsMarketLaunchProposal) XXX_Size added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) XXX_Size() int

func (*BinaryOptionsMarketLaunchProposal) XXX_Unmarshal added in v1.39.5

func (m *BinaryOptionsMarketLaunchProposal) XXX_Unmarshal(b []byte) error

type BinaryOptionsMarketParamUpdateProposal added in v1.39.5

type BinaryOptionsMarketParamUpdateProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MarketId    string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// maker_fee_rate defines the exchange trade fee for makers for the derivative
	// market
	MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// taker_fee_rate defines the exchange trade fee for takers for the derivative
	// market
	TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// relayer_fee_share_rate defines the relayer fee share rate for the
	// derivative market
	RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// expiration timestamp
	ExpirationTimestamp int64 `protobuf:"varint,9,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
	// expiration timestamp
	SettlementTimestamp int64 `protobuf:"varint,10,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
	// new price at which market will be settled
	SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */
	// admin of the market
	Admin        string                `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
	Status       MarketStatus          `protobuf:"varint,13,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
	OracleParams *ProviderOracleParams `protobuf:"bytes,14,opt,name=oracle_params,json=oracleParams,proto3" json:"oracle_params,omitempty"`
}

func NewBinaryOptionsMarketParamUpdateProposal added in v1.39.5

func NewBinaryOptionsMarketParamUpdateProposal(
	title, description string, marketID string,
	makerFeeRate, takerFeeRate, relayerFeeShareRate, minPriceTickSize, minQuantityTickSize *sdk.Dec,
	expirationTimestamp, settlementTimestamp int64,
	admin string,
	status MarketStatus, oracleParams *ProviderOracleParams,
) *BinaryOptionsMarketParamUpdateProposal

NewBinaryOptionsMarketParamUpdateProposal returns new instance of BinaryOptionsMarketParamUpdateProposal

func (*BinaryOptionsMarketParamUpdateProposal) Descriptor added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) Descriptor() ([]byte, []int)

func (*BinaryOptionsMarketParamUpdateProposal) GetDescription added in v1.39.5

func (p *BinaryOptionsMarketParamUpdateProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*BinaryOptionsMarketParamUpdateProposal) GetTitle added in v1.39.5

GetTitle returns the title of this proposal

func (*BinaryOptionsMarketParamUpdateProposal) Marshal added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) Marshal() (dAtA []byte, err error)

func (*BinaryOptionsMarketParamUpdateProposal) MarshalTo added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error)

func (*BinaryOptionsMarketParamUpdateProposal) MarshalToSizedBuffer added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BinaryOptionsMarketParamUpdateProposal) ProposalRoute added in v1.39.5

ProposalRoute returns router key of this proposal.

func (*BinaryOptionsMarketParamUpdateProposal) ProposalType added in v1.39.5

ProposalType returns proposal type of this proposal.

func (*BinaryOptionsMarketParamUpdateProposal) ProtoMessage added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) Reset added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) Size added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) String added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) Unmarshal added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error

func (*BinaryOptionsMarketParamUpdateProposal) ValidateBasic added in v1.39.5

func (p *BinaryOptionsMarketParamUpdateProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*BinaryOptionsMarketParamUpdateProposal) XXX_DiscardUnknown added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) XXX_DiscardUnknown()

func (*BinaryOptionsMarketParamUpdateProposal) XXX_Marshal added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryOptionsMarketParamUpdateProposal) XXX_Merge added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) XXX_Size added in v1.39.5

func (*BinaryOptionsMarketParamUpdateProposal) XXX_Unmarshal added in v1.39.5

func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error

type CampaignRewardPool added in v1.27.0

type CampaignRewardPool struct {
	StartTimestamp int64 `protobuf:"varint,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// max_campaign_rewards are the maximum reward amounts to be disbursed at the
	// end of the campaign
	MaxCampaignRewards github_com_cosmos_cosmos_sdk_types.Coins `` /* 161-byte string literal not displayed */
}

func (*CampaignRewardPool) Descriptor added in v1.27.0

func (*CampaignRewardPool) Descriptor() ([]byte, []int)

func (*CampaignRewardPool) GetMaxCampaignRewards added in v1.27.0

func (m *CampaignRewardPool) GetMaxCampaignRewards() github_com_cosmos_cosmos_sdk_types.Coins

func (*CampaignRewardPool) GetStartTimestamp added in v1.27.0

func (m *CampaignRewardPool) GetStartTimestamp() int64

func (*CampaignRewardPool) Marshal added in v1.27.0

func (m *CampaignRewardPool) Marshal() (dAtA []byte, err error)

func (*CampaignRewardPool) MarshalTo added in v1.27.0

func (m *CampaignRewardPool) MarshalTo(dAtA []byte) (int, error)

func (*CampaignRewardPool) MarshalToSizedBuffer added in v1.27.0

func (m *CampaignRewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CampaignRewardPool) ProtoMessage added in v1.27.0

func (*CampaignRewardPool) ProtoMessage()

func (*CampaignRewardPool) Reset added in v1.27.0

func (m *CampaignRewardPool) Reset()

func (*CampaignRewardPool) Size added in v1.27.0

func (m *CampaignRewardPool) Size() (n int)

func (*CampaignRewardPool) String added in v1.27.0

func (m *CampaignRewardPool) String() string

func (*CampaignRewardPool) Unmarshal added in v1.27.0

func (m *CampaignRewardPool) Unmarshal(dAtA []byte) error

func (*CampaignRewardPool) XXX_DiscardUnknown added in v1.27.0

func (m *CampaignRewardPool) XXX_DiscardUnknown()

func (*CampaignRewardPool) XXX_Marshal added in v1.27.0

func (m *CampaignRewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CampaignRewardPool) XXX_Merge added in v1.27.0

func (m *CampaignRewardPool) XXX_Merge(src proto.Message)

func (*CampaignRewardPool) XXX_Size added in v1.27.0

func (m *CampaignRewardPool) XXX_Size() int

func (*CampaignRewardPool) XXX_Unmarshal added in v1.27.0

func (m *CampaignRewardPool) XXX_Unmarshal(b []byte) error

type CancelDerivativeOrderAuthz added in v1.37.5

type CancelDerivativeOrderAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (CancelDerivativeOrderAuthz) Accept added in v1.37.5

func (*CancelDerivativeOrderAuthz) Descriptor added in v1.37.5

func (*CancelDerivativeOrderAuthz) Descriptor() ([]byte, []int)

func (*CancelDerivativeOrderAuthz) GetMarketIds added in v1.37.5

func (m *CancelDerivativeOrderAuthz) GetMarketIds() []string

func (*CancelDerivativeOrderAuthz) GetSubaccountId added in v1.37.5

func (m *CancelDerivativeOrderAuthz) GetSubaccountId() string

func (*CancelDerivativeOrderAuthz) Marshal added in v1.37.5

func (m *CancelDerivativeOrderAuthz) Marshal() (dAtA []byte, err error)

func (*CancelDerivativeOrderAuthz) MarshalTo added in v1.37.5

func (m *CancelDerivativeOrderAuthz) MarshalTo(dAtA []byte) (int, error)

func (*CancelDerivativeOrderAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *CancelDerivativeOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CancelDerivativeOrderAuthz) MsgTypeURL added in v1.37.5

func (a CancelDerivativeOrderAuthz) MsgTypeURL() string

CancelDerivativeOrderAuthz impl

func (*CancelDerivativeOrderAuthz) ProtoMessage added in v1.37.5

func (*CancelDerivativeOrderAuthz) ProtoMessage()

func (*CancelDerivativeOrderAuthz) Reset added in v1.37.5

func (m *CancelDerivativeOrderAuthz) Reset()

func (*CancelDerivativeOrderAuthz) Size added in v1.37.5

func (m *CancelDerivativeOrderAuthz) Size() (n int)

func (*CancelDerivativeOrderAuthz) String added in v1.37.5

func (m *CancelDerivativeOrderAuthz) String() string

func (*CancelDerivativeOrderAuthz) Unmarshal added in v1.37.5

func (m *CancelDerivativeOrderAuthz) Unmarshal(dAtA []byte) error

func (CancelDerivativeOrderAuthz) ValidateBasic added in v1.37.5

func (a CancelDerivativeOrderAuthz) ValidateBasic() error

func (*CancelDerivativeOrderAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *CancelDerivativeOrderAuthz) XXX_DiscardUnknown()

func (*CancelDerivativeOrderAuthz) XXX_Marshal added in v1.37.5

func (m *CancelDerivativeOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelDerivativeOrderAuthz) XXX_Merge added in v1.37.5

func (m *CancelDerivativeOrderAuthz) XXX_Merge(src proto.Message)

func (*CancelDerivativeOrderAuthz) XXX_Size added in v1.37.5

func (m *CancelDerivativeOrderAuthz) XXX_Size() int

func (*CancelDerivativeOrderAuthz) XXX_Unmarshal added in v1.37.5

func (m *CancelDerivativeOrderAuthz) XXX_Unmarshal(b []byte) error

type CancelSpotOrderAuthz added in v1.37.5

type CancelSpotOrderAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (CancelSpotOrderAuthz) Accept added in v1.37.5

func (*CancelSpotOrderAuthz) Descriptor added in v1.37.5

func (*CancelSpotOrderAuthz) Descriptor() ([]byte, []int)

func (*CancelSpotOrderAuthz) GetMarketIds added in v1.37.5

func (m *CancelSpotOrderAuthz) GetMarketIds() []string

func (*CancelSpotOrderAuthz) GetSubaccountId added in v1.37.5

func (m *CancelSpotOrderAuthz) GetSubaccountId() string

func (*CancelSpotOrderAuthz) Marshal added in v1.37.5

func (m *CancelSpotOrderAuthz) Marshal() (dAtA []byte, err error)

func (*CancelSpotOrderAuthz) MarshalTo added in v1.37.5

func (m *CancelSpotOrderAuthz) MarshalTo(dAtA []byte) (int, error)

func (*CancelSpotOrderAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *CancelSpotOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CancelSpotOrderAuthz) MsgTypeURL added in v1.37.5

func (a CancelSpotOrderAuthz) MsgTypeURL() string

CancelSpotOrderAuthz impl

func (*CancelSpotOrderAuthz) ProtoMessage added in v1.37.5

func (*CancelSpotOrderAuthz) ProtoMessage()

func (*CancelSpotOrderAuthz) Reset added in v1.37.5

func (m *CancelSpotOrderAuthz) Reset()

func (*CancelSpotOrderAuthz) Size added in v1.37.5

func (m *CancelSpotOrderAuthz) Size() (n int)

func (*CancelSpotOrderAuthz) String added in v1.37.5

func (m *CancelSpotOrderAuthz) String() string

func (*CancelSpotOrderAuthz) Unmarshal added in v1.37.5

func (m *CancelSpotOrderAuthz) Unmarshal(dAtA []byte) error

func (CancelSpotOrderAuthz) ValidateBasic added in v1.37.5

func (a CancelSpotOrderAuthz) ValidateBasic() error

func (*CancelSpotOrderAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *CancelSpotOrderAuthz) XXX_DiscardUnknown()

func (*CancelSpotOrderAuthz) XXX_Marshal added in v1.37.5

func (m *CancelSpotOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelSpotOrderAuthz) XXX_Merge added in v1.37.5

func (m *CancelSpotOrderAuthz) XXX_Merge(src proto.Message)

func (*CancelSpotOrderAuthz) XXX_Size added in v1.37.5

func (m *CancelSpotOrderAuthz) XXX_Size() int

func (*CancelSpotOrderAuthz) XXX_Unmarshal added in v1.37.5

func (m *CancelSpotOrderAuthz) XXX_Unmarshal(b []byte) error

type CancellationStrategy added in v1.40.2

type CancellationStrategy int32

CancellationStrategy is the list of cancellation strategies.

const (
	// just cancelling in random order in most efficient way
	CancellationStrategy_UnspecifiedOrder CancellationStrategy = 0
	// e.g. for buy orders from lowest to highest price
	CancellationStrategy_FromWorstToBest CancellationStrategy = 1
	// e.g. for buy orders from higest to lowest price
	CancellationStrategy_FromBestToWorst CancellationStrategy = 2
)

func (CancellationStrategy) EnumDescriptor added in v1.40.2

func (CancellationStrategy) EnumDescriptor() ([]byte, []int)

func (CancellationStrategy) String added in v1.40.2

func (x CancellationStrategy) String() string

type ConditionalDerivativeOrderBook added in v1.40.8

type ConditionalDerivativeOrderBook struct {
	MarketId         string                   `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	LimitBuyOrders   []*DerivativeLimitOrder  `protobuf:"bytes,2,rep,name=limit_buy_orders,json=limitBuyOrders,proto3" json:"limit_buy_orders,omitempty"`
	MarketBuyOrders  []*DerivativeMarketOrder `protobuf:"bytes,3,rep,name=market_buy_orders,json=marketBuyOrders,proto3" json:"market_buy_orders,omitempty"`
	LimitSellOrders  []*DerivativeLimitOrder  `protobuf:"bytes,4,rep,name=limit_sell_orders,json=limitSellOrders,proto3" json:"limit_sell_orders,omitempty"`
	MarketSellOrders []*DerivativeMarketOrder `protobuf:"bytes,5,rep,name=market_sell_orders,json=marketSellOrders,proto3" json:"market_sell_orders,omitempty"`
}

Orderbook containing limit & market conditional orders

func (*ConditionalDerivativeOrderBook) Descriptor added in v1.40.8

func (*ConditionalDerivativeOrderBook) Descriptor() ([]byte, []int)

func (*ConditionalDerivativeOrderBook) GetLimitOrders added in v1.40.8

func (*ConditionalDerivativeOrderBook) GetMarketOrders added in v1.40.8

func (b *ConditionalDerivativeOrderBook) GetMarketOrders() []*DerivativeMarketOrder

func (*ConditionalDerivativeOrderBook) HasLimitBuyOrders added in v1.40.8

func (b *ConditionalDerivativeOrderBook) HasLimitBuyOrders() bool

func (*ConditionalDerivativeOrderBook) HasLimitSellOrders added in v1.40.8

func (b *ConditionalDerivativeOrderBook) HasLimitSellOrders() bool

func (*ConditionalDerivativeOrderBook) HasMarketBuyOrders added in v1.40.8

func (b *ConditionalDerivativeOrderBook) HasMarketBuyOrders() bool

func (*ConditionalDerivativeOrderBook) HasMarketSellOrders added in v1.40.8

func (b *ConditionalDerivativeOrderBook) HasMarketSellOrders() bool

func (*ConditionalDerivativeOrderBook) IsEmpty added in v1.40.8

func (b *ConditionalDerivativeOrderBook) IsEmpty() bool

func (*ConditionalDerivativeOrderBook) Marshal added in v1.40.8

func (m *ConditionalDerivativeOrderBook) Marshal() (dAtA []byte, err error)

func (*ConditionalDerivativeOrderBook) MarshalTo added in v1.40.8

func (m *ConditionalDerivativeOrderBook) MarshalTo(dAtA []byte) (int, error)

func (*ConditionalDerivativeOrderBook) MarshalToSizedBuffer added in v1.40.8

func (m *ConditionalDerivativeOrderBook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConditionalDerivativeOrderBook) ProtoMessage added in v1.40.8

func (*ConditionalDerivativeOrderBook) ProtoMessage()

func (*ConditionalDerivativeOrderBook) Reset added in v1.40.8

func (m *ConditionalDerivativeOrderBook) Reset()

func (*ConditionalDerivativeOrderBook) Size added in v1.40.8

func (m *ConditionalDerivativeOrderBook) Size() (n int)

func (*ConditionalDerivativeOrderBook) String added in v1.40.8

func (*ConditionalDerivativeOrderBook) Unmarshal added in v1.40.8

func (m *ConditionalDerivativeOrderBook) Unmarshal(dAtA []byte) error

func (*ConditionalDerivativeOrderBook) XXX_DiscardUnknown added in v1.40.8

func (m *ConditionalDerivativeOrderBook) XXX_DiscardUnknown()

func (*ConditionalDerivativeOrderBook) XXX_Marshal added in v1.40.8

func (m *ConditionalDerivativeOrderBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConditionalDerivativeOrderBook) XXX_Merge added in v1.40.8

func (m *ConditionalDerivativeOrderBook) XXX_Merge(src proto.Message)

func (*ConditionalDerivativeOrderBook) XXX_Size added in v1.40.8

func (m *ConditionalDerivativeOrderBook) XXX_Size() int

func (*ConditionalDerivativeOrderBook) XXX_Unmarshal added in v1.40.8

func (m *ConditionalDerivativeOrderBook) XXX_Unmarshal(b []byte) error

type CreateDerivativeLimitOrderAuthz added in v1.37.5

type CreateDerivativeLimitOrderAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

derivative authz messages

func (CreateDerivativeLimitOrderAuthz) Accept added in v1.37.5

func (*CreateDerivativeLimitOrderAuthz) Descriptor added in v1.37.5

func (*CreateDerivativeLimitOrderAuthz) Descriptor() ([]byte, []int)

func (*CreateDerivativeLimitOrderAuthz) GetMarketIds added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) GetMarketIds() []string

func (*CreateDerivativeLimitOrderAuthz) GetSubaccountId added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) GetSubaccountId() string

func (*CreateDerivativeLimitOrderAuthz) Marshal added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) Marshal() (dAtA []byte, err error)

func (*CreateDerivativeLimitOrderAuthz) MarshalTo added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) MarshalTo(dAtA []byte) (int, error)

func (*CreateDerivativeLimitOrderAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CreateDerivativeLimitOrderAuthz) MsgTypeURL added in v1.37.5

func (a CreateDerivativeLimitOrderAuthz) MsgTypeURL() string

CreateDerivativeLimitOrderAuthz impl

func (*CreateDerivativeLimitOrderAuthz) ProtoMessage added in v1.37.5

func (*CreateDerivativeLimitOrderAuthz) ProtoMessage()

func (*CreateDerivativeLimitOrderAuthz) Reset added in v1.37.5

func (*CreateDerivativeLimitOrderAuthz) Size added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) Size() (n int)

func (*CreateDerivativeLimitOrderAuthz) String added in v1.37.5

func (*CreateDerivativeLimitOrderAuthz) Unmarshal added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) Unmarshal(dAtA []byte) error

func (CreateDerivativeLimitOrderAuthz) ValidateBasic added in v1.37.5

func (a CreateDerivativeLimitOrderAuthz) ValidateBasic() error

func (*CreateDerivativeLimitOrderAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) XXX_DiscardUnknown()

func (*CreateDerivativeLimitOrderAuthz) XXX_Marshal added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDerivativeLimitOrderAuthz) XXX_Merge added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) XXX_Merge(src proto.Message)

func (*CreateDerivativeLimitOrderAuthz) XXX_Size added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) XXX_Size() int

func (*CreateDerivativeLimitOrderAuthz) XXX_Unmarshal added in v1.37.5

func (m *CreateDerivativeLimitOrderAuthz) XXX_Unmarshal(b []byte) error

type CreateDerivativeMarketOrderAuthz added in v1.37.5

type CreateDerivativeMarketOrderAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (CreateDerivativeMarketOrderAuthz) Accept added in v1.37.5

func (*CreateDerivativeMarketOrderAuthz) Descriptor added in v1.37.5

func (*CreateDerivativeMarketOrderAuthz) Descriptor() ([]byte, []int)

func (*CreateDerivativeMarketOrderAuthz) GetMarketIds added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) GetMarketIds() []string

func (*CreateDerivativeMarketOrderAuthz) GetSubaccountId added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) GetSubaccountId() string

func (*CreateDerivativeMarketOrderAuthz) Marshal added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) Marshal() (dAtA []byte, err error)

func (*CreateDerivativeMarketOrderAuthz) MarshalTo added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) MarshalTo(dAtA []byte) (int, error)

func (*CreateDerivativeMarketOrderAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CreateDerivativeMarketOrderAuthz) MsgTypeURL added in v1.37.5

CreateDerivativeMarketOrderAuthz impl

func (*CreateDerivativeMarketOrderAuthz) ProtoMessage added in v1.37.5

func (*CreateDerivativeMarketOrderAuthz) ProtoMessage()

func (*CreateDerivativeMarketOrderAuthz) Reset added in v1.37.5

func (*CreateDerivativeMarketOrderAuthz) Size added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) Size() (n int)

func (*CreateDerivativeMarketOrderAuthz) String added in v1.37.5

func (*CreateDerivativeMarketOrderAuthz) Unmarshal added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) Unmarshal(dAtA []byte) error

func (CreateDerivativeMarketOrderAuthz) ValidateBasic added in v1.37.5

func (a CreateDerivativeMarketOrderAuthz) ValidateBasic() error

func (*CreateDerivativeMarketOrderAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) XXX_DiscardUnknown()

func (*CreateDerivativeMarketOrderAuthz) XXX_Marshal added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateDerivativeMarketOrderAuthz) XXX_Merge added in v1.37.5

func (*CreateDerivativeMarketOrderAuthz) XXX_Size added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) XXX_Size() int

func (*CreateDerivativeMarketOrderAuthz) XXX_Unmarshal added in v1.37.5

func (m *CreateDerivativeMarketOrderAuthz) XXX_Unmarshal(b []byte) error

type CreateSpotLimitOrderAuthz added in v1.37.5

type CreateSpotLimitOrderAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

spot authz messages

func (CreateSpotLimitOrderAuthz) Accept added in v1.37.5

func (*CreateSpotLimitOrderAuthz) Descriptor added in v1.37.5

func (*CreateSpotLimitOrderAuthz) Descriptor() ([]byte, []int)

func (*CreateSpotLimitOrderAuthz) GetMarketIds added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) GetMarketIds() []string

func (*CreateSpotLimitOrderAuthz) GetSubaccountId added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) GetSubaccountId() string

func (*CreateSpotLimitOrderAuthz) Marshal added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) Marshal() (dAtA []byte, err error)

func (*CreateSpotLimitOrderAuthz) MarshalTo added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) MarshalTo(dAtA []byte) (int, error)

func (*CreateSpotLimitOrderAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CreateSpotLimitOrderAuthz) MsgTypeURL added in v1.37.5

func (a CreateSpotLimitOrderAuthz) MsgTypeURL() string

CreateSpotLimitOrderAuthz impl

func (*CreateSpotLimitOrderAuthz) ProtoMessage added in v1.37.5

func (*CreateSpotLimitOrderAuthz) ProtoMessage()

func (*CreateSpotLimitOrderAuthz) Reset added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) Reset()

func (*CreateSpotLimitOrderAuthz) Size added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) Size() (n int)

func (*CreateSpotLimitOrderAuthz) String added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) String() string

func (*CreateSpotLimitOrderAuthz) Unmarshal added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) Unmarshal(dAtA []byte) error

func (CreateSpotLimitOrderAuthz) ValidateBasic added in v1.37.5

func (a CreateSpotLimitOrderAuthz) ValidateBasic() error

func (*CreateSpotLimitOrderAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) XXX_DiscardUnknown()

func (*CreateSpotLimitOrderAuthz) XXX_Marshal added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSpotLimitOrderAuthz) XXX_Merge added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) XXX_Merge(src proto.Message)

func (*CreateSpotLimitOrderAuthz) XXX_Size added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) XXX_Size() int

func (*CreateSpotLimitOrderAuthz) XXX_Unmarshal added in v1.37.5

func (m *CreateSpotLimitOrderAuthz) XXX_Unmarshal(b []byte) error

type CreateSpotMarketOrderAuthz added in v1.37.5

type CreateSpotMarketOrderAuthz struct {
	SubaccountId string   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketIds    []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

func (CreateSpotMarketOrderAuthz) Accept added in v1.37.5

func (*CreateSpotMarketOrderAuthz) Descriptor added in v1.37.5

func (*CreateSpotMarketOrderAuthz) Descriptor() ([]byte, []int)

func (*CreateSpotMarketOrderAuthz) GetMarketIds added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) GetMarketIds() []string

func (*CreateSpotMarketOrderAuthz) GetSubaccountId added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) GetSubaccountId() string

func (*CreateSpotMarketOrderAuthz) Marshal added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) Marshal() (dAtA []byte, err error)

func (*CreateSpotMarketOrderAuthz) MarshalTo added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) MarshalTo(dAtA []byte) (int, error)

func (*CreateSpotMarketOrderAuthz) MarshalToSizedBuffer added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (CreateSpotMarketOrderAuthz) MsgTypeURL added in v1.37.5

func (a CreateSpotMarketOrderAuthz) MsgTypeURL() string

CreateSpotMarketOrderAuthz impl

func (*CreateSpotMarketOrderAuthz) ProtoMessage added in v1.37.5

func (*CreateSpotMarketOrderAuthz) ProtoMessage()

func (*CreateSpotMarketOrderAuthz) Reset added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) Reset()

func (*CreateSpotMarketOrderAuthz) Size added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) Size() (n int)

func (*CreateSpotMarketOrderAuthz) String added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) String() string

func (*CreateSpotMarketOrderAuthz) Unmarshal added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) Unmarshal(dAtA []byte) error

func (CreateSpotMarketOrderAuthz) ValidateBasic added in v1.37.5

func (a CreateSpotMarketOrderAuthz) ValidateBasic() error

func (*CreateSpotMarketOrderAuthz) XXX_DiscardUnknown added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) XXX_DiscardUnknown()

func (*CreateSpotMarketOrderAuthz) XXX_Marshal added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSpotMarketOrderAuthz) XXX_Merge added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) XXX_Merge(src proto.Message)

func (*CreateSpotMarketOrderAuthz) XXX_Size added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) XXX_Size() int

func (*CreateSpotMarketOrderAuthz) XXX_Unmarshal added in v1.37.5

func (m *CreateSpotMarketOrderAuthz) XXX_Unmarshal(b []byte) error

type DenomDecimals added in v1.39.9

type DenomDecimals struct {
	Denom    string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Decimals uint64 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"`
}

func (*DenomDecimals) Descriptor added in v1.39.9

func (*DenomDecimals) Descriptor() ([]byte, []int)

func (*DenomDecimals) GetDecimals added in v1.39.9

func (m *DenomDecimals) GetDecimals() uint64

func (*DenomDecimals) GetDenom added in v1.39.9

func (m *DenomDecimals) GetDenom() string

func (*DenomDecimals) Marshal added in v1.39.9

func (m *DenomDecimals) Marshal() (dAtA []byte, err error)

func (*DenomDecimals) MarshalTo added in v1.39.9

func (m *DenomDecimals) MarshalTo(dAtA []byte) (int, error)

func (*DenomDecimals) MarshalToSizedBuffer added in v1.39.9

func (m *DenomDecimals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DenomDecimals) ProtoMessage added in v1.39.9

func (*DenomDecimals) ProtoMessage()

func (*DenomDecimals) Reset added in v1.39.9

func (m *DenomDecimals) Reset()

func (*DenomDecimals) Size added in v1.39.9

func (m *DenomDecimals) Size() (n int)

func (*DenomDecimals) String added in v1.39.9

func (m *DenomDecimals) String() string

func (*DenomDecimals) Unmarshal added in v1.39.9

func (m *DenomDecimals) Unmarshal(dAtA []byte) error

func (*DenomDecimals) Validate added in v1.39.9

func (d *DenomDecimals) Validate() error

func (*DenomDecimals) XXX_DiscardUnknown added in v1.39.9

func (m *DenomDecimals) XXX_DiscardUnknown()

func (*DenomDecimals) XXX_Marshal added in v1.39.9

func (m *DenomDecimals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DenomDecimals) XXX_Merge added in v1.39.9

func (m *DenomDecimals) XXX_Merge(src proto.Message)

func (*DenomDecimals) XXX_Size added in v1.39.9

func (m *DenomDecimals) XXX_Size() int

func (*DenomDecimals) XXX_Unmarshal added in v1.39.9

func (m *DenomDecimals) XXX_Unmarshal(b []byte) error

type Deposit

type Deposit struct {
	AvailableBalance github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	TotalBalance     github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */
}

A subaccount's deposit for a given base currency

func NewDeposit

func NewDeposit() *Deposit

func (*Deposit) Descriptor

func (*Deposit) Descriptor() ([]byte, []int)

func (*Deposit) Display added in v1.45.0

func (d *Deposit) Display() string

func (*Deposit) HasTransientOrRestingVanillaLimitOrders

func (d *Deposit) HasTransientOrRestingVanillaLimitOrders() bool

func (*Deposit) IsEmpty

func (d *Deposit) IsEmpty() bool

func (*Deposit) Marshal

func (m *Deposit) Marshal() (dAtA []byte, err error)

func (*Deposit) MarshalTo

func (m *Deposit) MarshalTo(dAtA []byte) (int, error)

func (*Deposit) MarshalToSizedBuffer

func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Deposit) ProtoMessage

func (*Deposit) ProtoMessage()

func (*Deposit) Reset

func (m *Deposit) Reset()

func (*Deposit) Size

func (m *Deposit) Size() (n int)

func (*Deposit) String

func (m *Deposit) String() string

func (*Deposit) Unmarshal

func (m *Deposit) Unmarshal(dAtA []byte) error

func (*Deposit) XXX_DiscardUnknown

func (m *Deposit) XXX_DiscardUnknown()

func (*Deposit) XXX_Marshal

func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Deposit) XXX_Merge

func (m *Deposit) XXX_Merge(src proto.Message)

func (*Deposit) XXX_Size

func (m *Deposit) XXX_Size() int

func (*Deposit) XXX_Unmarshal

func (m *Deposit) XXX_Unmarshal(b []byte) error

type DepositDelta

type DepositDelta struct {
	AvailableBalanceDelta sdk.Dec
	TotalBalanceDelta     sdk.Dec
}

func NewDepositDelta

func NewDepositDelta() *DepositDelta

func NewUniformDepositDelta

func NewUniformDepositDelta(delta sdk.Dec) *DepositDelta

func (*DepositDelta) AddAvailableBalance

func (d *DepositDelta) AddAvailableBalance(amount sdk.Dec)

func (*DepositDelta) IsEmpty added in v1.45.0

func (d *DepositDelta) IsEmpty() bool

type DepositDeltas

type DepositDeltas map[common.Hash]*DepositDelta

func NewDepositDeltas

func NewDepositDeltas() DepositDeltas

func (*DepositDeltas) ApplyDelta

func (d *DepositDeltas) ApplyDelta(subaccountID common.Hash, totalBalanceDelta, availableBalanceDelta sdk.Dec)

func (*DepositDeltas) ApplyDepositDelta

func (d *DepositDeltas) ApplyDepositDelta(subaccountID common.Hash, delta *DepositDelta)

func (*DepositDeltas) ApplyUniformDelta

func (d *DepositDeltas) ApplyUniformDelta(subaccountID common.Hash, delta sdk.Dec)

func (*DepositDeltas) GetSortedSubaccountKeys

func (d *DepositDeltas) GetSortedSubaccountKeys() []common.Hash

type DepositUpdate

type DepositUpdate struct {
	Denom    string               `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Deposits []*SubaccountDeposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits,omitempty"`
}

func (*DepositUpdate) Descriptor

func (*DepositUpdate) Descriptor() ([]byte, []int)

func (*DepositUpdate) GetDenom

func (m *DepositUpdate) GetDenom() string

func (*DepositUpdate) GetDeposits

func (m *DepositUpdate) GetDeposits() []*SubaccountDeposit

func (*DepositUpdate) Marshal

func (m *DepositUpdate) Marshal() (dAtA []byte, err error)

func (*DepositUpdate) MarshalTo

func (m *DepositUpdate) MarshalTo(dAtA []byte) (int, error)

func (*DepositUpdate) MarshalToSizedBuffer

func (m *DepositUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DepositUpdate) ProtoMessage

func (*DepositUpdate) ProtoMessage()

func (*DepositUpdate) Reset

func (m *DepositUpdate) Reset()

func (*DepositUpdate) Size

func (m *DepositUpdate) Size() (n int)

func (*DepositUpdate) String

func (m *DepositUpdate) String() string

func (*DepositUpdate) Unmarshal

func (m *DepositUpdate) Unmarshal(dAtA []byte) error

func (*DepositUpdate) XXX_DiscardUnknown

func (m *DepositUpdate) XXX_DiscardUnknown()

func (*DepositUpdate) XXX_Marshal

func (m *DepositUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DepositUpdate) XXX_Merge

func (m *DepositUpdate) XXX_Merge(src proto.Message)

func (*DepositUpdate) XXX_Size

func (m *DepositUpdate) XXX_Size() int

func (*DepositUpdate) XXX_Unmarshal

func (m *DepositUpdate) XXX_Unmarshal(b []byte) error

type DerivativeLimitOrder

type DerivativeLimitOrder struct {
	// order_info contains the information of the order
	OrderInfo OrderInfo `protobuf:"bytes,1,opt,name=order_info,json=orderInfo,proto3" json:"order_info"`
	// order types
	OrderType OrderType `` /* 131-byte string literal not displayed */
	// margin is the margin used by the limit order
	Margin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
	// the amount of the quantity remaining fillable
	Fillable github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fillable,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fillable"`
	// trigger_price is the trigger price used by stop/take orders
	TriggerPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 147-byte string literal not displayed */
	OrderHash    []byte                                  `protobuf:"bytes,6,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

A valid Derivative limit order with Metadata.

func NewDerivativeLimitOrder

func NewDerivativeLimitOrder(o *DerivativeOrder, sender sdk.AccAddress, orderHash common.Hash) *DerivativeLimitOrder

func (*DerivativeLimitOrder) CheckInitialMarginRequirementMarkPriceThreshold

func (o *DerivativeLimitOrder) CheckInitialMarginRequirementMarkPriceThreshold(initialMarginRatio, markPrice sdk.Dec) (err error)

func (*DerivativeLimitOrder) Descriptor

func (*DerivativeLimitOrder) Descriptor() ([]byte, []int)

func (*DerivativeLimitOrder) FeeRecipient

func (o *DerivativeLimitOrder) FeeRecipient() common.Address

func (*DerivativeLimitOrder) GetCancelDepositDelta

func (o *DerivativeLimitOrder) GetCancelDepositDelta(feeRate sdk.Dec) *DepositDelta

func (*DerivativeLimitOrder) GetCancelRefundAmount added in v1.45.0

func (o *DerivativeLimitOrder) GetCancelRefundAmount(feeRate sdk.Dec) sdk.Dec

func (*DerivativeLimitOrder) GetFillable added in v1.40.8

func (o *DerivativeLimitOrder) GetFillable() sdk.Dec

func (*DerivativeLimitOrder) GetMargin added in v1.40.2

func (o *DerivativeLimitOrder) GetMargin() sdk.Dec

func (*DerivativeLimitOrder) GetOrderHash

func (m *DerivativeLimitOrder) GetOrderHash() []byte

func (*DerivativeLimitOrder) GetOrderInfo

func (m *DerivativeLimitOrder) GetOrderInfo() OrderInfo

func (*DerivativeLimitOrder) GetOrderType

func (m *DerivativeLimitOrder) GetOrderType() OrderType

func (*DerivativeLimitOrder) GetPrice added in v1.40.2

func (o *DerivativeLimitOrder) GetPrice() sdk.Dec

func (*DerivativeLimitOrder) GetQuantity added in v1.40.2

func (o *DerivativeLimitOrder) GetQuantity() sdk.Dec

func (*DerivativeLimitOrder) GetRequiredBinaryOptionsMargin added in v1.40.2

func (o *DerivativeLimitOrder) GetRequiredBinaryOptionsMargin(oracleScaleFactor uint32) sdk.Dec

func (*DerivativeLimitOrder) GetSubaccountID added in v1.40.8

func (o *DerivativeLimitOrder) GetSubaccountID() common.Hash

func (*DerivativeLimitOrder) HasEqualOrWorsePrice added in v1.40.2

func (o *DerivativeLimitOrder) HasEqualOrWorsePrice(price sdk.Dec) bool

func (*DerivativeLimitOrder) Hash

func (o *DerivativeLimitOrder) Hash() common.Hash

func (*DerivativeLimitOrder) IsBuy

func (m *DerivativeLimitOrder) IsBuy() bool

func (*DerivativeLimitOrder) IsConditional added in v1.40.8

func (o *DerivativeLimitOrder) IsConditional() bool

func (*DerivativeLimitOrder) IsFromDefaultSubaccount added in v1.45.0

func (o *DerivativeLimitOrder) IsFromDefaultSubaccount() bool

func (*DerivativeLimitOrder) IsReduceOnly

func (o *DerivativeLimitOrder) IsReduceOnly() bool

func (*DerivativeLimitOrder) IsVanilla

func (o *DerivativeLimitOrder) IsVanilla() bool

func (*DerivativeLimitOrder) Marshal

func (m *DerivativeLimitOrder) Marshal() (dAtA []byte, err error)

func (*DerivativeLimitOrder) MarshalTo

func (m *DerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeLimitOrder) MarshalToSizedBuffer

func (m *DerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeLimitOrder) Price

func (m *DerivativeLimitOrder) Price() sdk.Dec

func (*DerivativeLimitOrder) ProtoMessage

func (*DerivativeLimitOrder) ProtoMessage()

func (*DerivativeLimitOrder) Reset

func (m *DerivativeLimitOrder) Reset()

func (*DerivativeLimitOrder) SdkAccAddress added in v1.27.0

func (o *DerivativeLimitOrder) SdkAccAddress() sdk.AccAddress

func (*DerivativeLimitOrder) SetMargin added in v1.40.2

func (o *DerivativeLimitOrder) SetMargin(margin sdk.Dec)

func (*DerivativeLimitOrder) SetPrice added in v1.40.2

func (o *DerivativeLimitOrder) SetPrice(price sdk.Dec)

func (*DerivativeLimitOrder) SetQuantity added in v1.40.2

func (o *DerivativeLimitOrder) SetQuantity(quantity sdk.Dec)

func (*DerivativeLimitOrder) Size

func (m *DerivativeLimitOrder) Size() (n int)

func (*DerivativeLimitOrder) String

func (m *DerivativeLimitOrder) String() string

func (*DerivativeLimitOrder) SubaccountID

func (o *DerivativeLimitOrder) SubaccountID() common.Hash

func (*DerivativeLimitOrder) ToDerivativeOrder

func (o *DerivativeLimitOrder) ToDerivativeOrder(marketID string) *DerivativeOrder

func (*DerivativeLimitOrder) ToTrimmed

func (*DerivativeLimitOrder) Unmarshal

func (m *DerivativeLimitOrder) Unmarshal(dAtA []byte) error

func (*DerivativeLimitOrder) XXX_DiscardUnknown

func (m *DerivativeLimitOrder) XXX_DiscardUnknown()

func (*DerivativeLimitOrder) XXX_Marshal

func (m *DerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeLimitOrder) XXX_Merge

func (m *DerivativeLimitOrder) XXX_Merge(src proto.Message)

func (*DerivativeLimitOrder) XXX_Size

func (m *DerivativeLimitOrder) XXX_Size() int

func (*DerivativeLimitOrder) XXX_Unmarshal

func (m *DerivativeLimitOrder) XXX_Unmarshal(b []byte) error

type DerivativeLimitOrderDelta

type DerivativeLimitOrderDelta struct {
	Order          *DerivativeLimitOrder
	FillQuantity   sdk.Dec
	CancelQuantity sdk.Dec
}

func (*DerivativeLimitOrderDelta) FillableQuantity

func (d *DerivativeLimitOrderDelta) FillableQuantity() sdk.Dec

func (*DerivativeLimitOrderDelta) IsBuy

func (d *DerivativeLimitOrderDelta) IsBuy() bool

func (*DerivativeLimitOrderDelta) OrderHash

func (d *DerivativeLimitOrderDelta) OrderHash() common.Hash

func (*DerivativeLimitOrderDelta) Price

func (d *DerivativeLimitOrderDelta) Price() sdk.Dec

func (*DerivativeLimitOrderDelta) SubaccountID

func (d *DerivativeLimitOrderDelta) SubaccountID() common.Hash

type DerivativeMarket

type DerivativeMarket struct {
	// Ticker for the derivative contract.
	Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// Oracle base currency
	OracleBase string `protobuf:"bytes,2,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
	// Oracle quote currency
	OracleQuote string `protobuf:"bytes,3,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,5,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Address of the quote currency denomination for the derivative contract
	QuoteDenom string `protobuf:"bytes,6,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Unique market ID.
	MarketId string `protobuf:"bytes,7,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// initial_margin_ratio defines the initial margin ratio of a derivative
	// market
	InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */
	// maintenance_margin_ratio defines the maintenance margin ratio of a
	// derivative market
	MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 169-byte string literal not displayed */
	// maker_fee_rate defines the maker fee rate of a derivative market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// taker_fee_rate defines the taker fee rate of a derivative market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// relayer_fee_share_rate defines the percentage of the transaction fee shared
	// with the relayer in a derivative market
	RelayerFeeShareRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// true if the market is a perpetual market. false if the market is an expiry
	// futures market
	IsPerpetual bool `protobuf:"varint,13,opt,name=isPerpetual,proto3" json:"isPerpetual,omitempty"`
	// Status of the market
	Status MarketStatus `protobuf:"varint,14,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
	// min_price_tick_size defines the minimum tick size that the price and margin
	// required for orders in the market
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the quantity
	// required for orders in the market
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

An object describing a derivative market in the Injective Futures Protocol.

func (*DerivativeMarket) Descriptor

func (*DerivativeMarket) Descriptor() ([]byte, []int)

func (*DerivativeMarket) GetInitialMarginRatio added in v1.39.5

func (m *DerivativeMarket) GetInitialMarginRatio() sdk.Dec

func (*DerivativeMarket) GetIsPerpetual

func (m *DerivativeMarket) GetIsPerpetual() bool

func (*DerivativeMarket) GetMakerFeeRate added in v1.39.5

func (m *DerivativeMarket) GetMakerFeeRate() sdk.Dec

func (*DerivativeMarket) GetMarketStatus added in v1.42.0

func (m *DerivativeMarket) GetMarketStatus() MarketStatus

func (*DerivativeMarket) GetMarketType added in v1.39.5

func (m *DerivativeMarket) GetMarketType() MarketType

func (*DerivativeMarket) GetMinPriceTickSize added in v1.39.5

func (m *DerivativeMarket) GetMinPriceTickSize() sdk.Dec

func (*DerivativeMarket) GetMinQuantityTickSize added in v1.39.5

func (m *DerivativeMarket) GetMinQuantityTickSize() sdk.Dec

func (*DerivativeMarket) GetOracleScaleFactor

func (m *DerivativeMarket) GetOracleScaleFactor() uint32

func (*DerivativeMarket) GetQuoteDenom

func (m *DerivativeMarket) GetQuoteDenom() string

func (*DerivativeMarket) GetRelayerFeeShareRate added in v1.39.5

func (m *DerivativeMarket) GetRelayerFeeShareRate() sdk.Dec

func (*DerivativeMarket) GetTakerFeeRate added in v1.39.5

func (m *DerivativeMarket) GetTakerFeeRate() sdk.Dec

func (*DerivativeMarket) GetTicker

func (m *DerivativeMarket) GetTicker() string

func (*DerivativeMarket) IsActive

func (m *DerivativeMarket) IsActive() bool

func (*DerivativeMarket) IsInactive

func (m *DerivativeMarket) IsInactive() bool

func (*DerivativeMarket) IsTimeExpiry

func (m *DerivativeMarket) IsTimeExpiry() bool

func (*DerivativeMarket) MarketID

func (m *DerivativeMarket) MarketID() common.Hash

func (*DerivativeMarket) Marshal

func (m *DerivativeMarket) Marshal() (dAtA []byte, err error)

func (*DerivativeMarket) MarshalTo

func (m *DerivativeMarket) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeMarket) MarshalToSizedBuffer

func (m *DerivativeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeMarket) ProtoMessage

func (*DerivativeMarket) ProtoMessage()

func (*DerivativeMarket) Reset

func (m *DerivativeMarket) Reset()

func (*DerivativeMarket) Size

func (m *DerivativeMarket) Size() (n int)

func (*DerivativeMarket) StatusSupportsOrderCancellations

func (m *DerivativeMarket) StatusSupportsOrderCancellations() bool

func (*DerivativeMarket) String

func (m *DerivativeMarket) String() string

func (*DerivativeMarket) Unmarshal

func (m *DerivativeMarket) Unmarshal(dAtA []byte) error

func (*DerivativeMarket) XXX_DiscardUnknown

func (m *DerivativeMarket) XXX_DiscardUnknown()

func (*DerivativeMarket) XXX_Marshal

func (m *DerivativeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeMarket) XXX_Merge

func (m *DerivativeMarket) XXX_Merge(src proto.Message)

func (*DerivativeMarket) XXX_Size

func (m *DerivativeMarket) XXX_Size() int

func (*DerivativeMarket) XXX_Unmarshal

func (m *DerivativeMarket) XXX_Unmarshal(b []byte) error

type DerivativeMarketInfo added in v1.39.0

type DerivativeMarketInfo struct {
	Market    *DerivativeMarket
	MarkPrice sdk.Dec
	Funding   *PerpetualMarketFunding
}

type DerivativeMarketOrder

type DerivativeMarketOrder struct {
	// order_info contains the information of the order
	OrderInfo OrderInfo `protobuf:"bytes,1,opt,name=order_info,json=orderInfo,proto3" json:"order_info"`
	// order types
	OrderType  OrderType                              `` /* 131-byte string literal not displayed */
	Margin     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
	MarginHold github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	// trigger_price is the trigger price used by stop/take orders
	TriggerPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 147-byte string literal not displayed */
	OrderHash    []byte                                  `protobuf:"bytes,6,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

A valid Derivative market order with Metadata.

func NewDerivativeMarketOrder

func NewDerivativeMarketOrder(o *DerivativeOrder, sender sdk.AccAddress, orderHash common.Hash) *DerivativeMarketOrder

func NewMarketOrderForLiquidation

func NewMarketOrderForLiquidation(position *Position, positionSubaccountID common.Hash, liquidator sdk.AccAddress) *DerivativeMarketOrder

func (*DerivativeMarketOrder) CheckInitialMarginRequirementMarkPriceThreshold

func (o *DerivativeMarketOrder) CheckInitialMarginRequirementMarkPriceThreshold(initialMarginRatio, markPrice sdk.Dec) (err error)

func (*DerivativeMarketOrder) ComputeOrderHash

func (o *DerivativeMarketOrder) ComputeOrderHash(nonce uint32, marketId string) (common.Hash, error)

func (*DerivativeMarketOrder) DebugString added in v1.40.3

func (o *DerivativeMarketOrder) DebugString() string

func (*DerivativeMarketOrder) Descriptor

func (*DerivativeMarketOrder) Descriptor() ([]byte, []int)

func (*DerivativeMarketOrder) FeeRecipient

func (o *DerivativeMarketOrder) FeeRecipient() common.Address

func (*DerivativeMarketOrder) FillableQuantity

func (m *DerivativeMarketOrder) FillableQuantity() sdk.Dec

func (*DerivativeMarketOrder) GetCancelRefundAmount added in v1.45.0

func (o *DerivativeMarketOrder) GetCancelRefundAmount() sdk.Dec

func (*DerivativeMarketOrder) GetFillable added in v1.40.8

func (o *DerivativeMarketOrder) GetFillable() sdk.Dec

func (*DerivativeMarketOrder) GetMargin added in v1.40.2

func (o *DerivativeMarketOrder) GetMargin() sdk.Dec

func (*DerivativeMarketOrder) GetOrderHash

func (m *DerivativeMarketOrder) GetOrderHash() []byte

func (*DerivativeMarketOrder) GetOrderInfo

func (m *DerivativeMarketOrder) GetOrderInfo() OrderInfo

func (*DerivativeMarketOrder) GetOrderType

func (m *DerivativeMarketOrder) GetOrderType() OrderType

func (*DerivativeMarketOrder) GetPrice added in v1.40.2

func (o *DerivativeMarketOrder) GetPrice() sdk.Dec

func (*DerivativeMarketOrder) GetQuantity added in v1.40.2

func (o *DerivativeMarketOrder) GetQuantity() sdk.Dec

func (*DerivativeMarketOrder) GetRequiredBinaryOptionsMargin added in v1.40.2

func (o *DerivativeMarketOrder) GetRequiredBinaryOptionsMargin(oracleScaleFactor uint32) sdk.Dec

func (*DerivativeMarketOrder) GetSubaccountID added in v1.40.8

func (o *DerivativeMarketOrder) GetSubaccountID() common.Hash

func (*DerivativeMarketOrder) HasEqualOrWorsePrice added in v1.40.2

func (o *DerivativeMarketOrder) HasEqualOrWorsePrice(price sdk.Dec) bool

func (*DerivativeMarketOrder) Hash

func (o *DerivativeMarketOrder) Hash() common.Hash

func (*DerivativeMarketOrder) IsBuy

func (m *DerivativeMarketOrder) IsBuy() bool

func (*DerivativeMarketOrder) IsConditional added in v1.40.8

func (o *DerivativeMarketOrder) IsConditional() bool

func (*DerivativeMarketOrder) IsFromDefaultSubaccount added in v1.45.0

func (o *DerivativeMarketOrder) IsFromDefaultSubaccount() bool

func (*DerivativeMarketOrder) IsReduceOnly

func (o *DerivativeMarketOrder) IsReduceOnly() bool

func (*DerivativeMarketOrder) IsVanilla

func (o *DerivativeMarketOrder) IsVanilla() bool

func (*DerivativeMarketOrder) Marshal

func (m *DerivativeMarketOrder) Marshal() (dAtA []byte, err error)

func (*DerivativeMarketOrder) MarshalTo

func (m *DerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeMarketOrder) MarshalToSizedBuffer

func (m *DerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeMarketOrder) Price

func (m *DerivativeMarketOrder) Price() sdk.Dec

func (*DerivativeMarketOrder) ProtoMessage

func (*DerivativeMarketOrder) ProtoMessage()

func (*DerivativeMarketOrder) Quantity

func (m *DerivativeMarketOrder) Quantity() sdk.Dec

func (*DerivativeMarketOrder) Reset

func (m *DerivativeMarketOrder) Reset()

func (*DerivativeMarketOrder) ResizeReduceOnlyOrder added in v1.40.2

func (o *DerivativeMarketOrder) ResizeReduceOnlyOrder(
	newQuantity sdk.Dec,
	oracleScaleFactor uint32,
	isBinaryOptionsOrder bool,
)

func (*DerivativeMarketOrder) SdkAccAddress added in v1.27.0

func (o *DerivativeMarketOrder) SdkAccAddress() sdk.AccAddress

func (*DerivativeMarketOrder) SetMargin added in v1.40.2

func (o *DerivativeMarketOrder) SetMargin(margin sdk.Dec)

func (*DerivativeMarketOrder) SetPrice added in v1.40.2

func (o *DerivativeMarketOrder) SetPrice(price sdk.Dec)

func (*DerivativeMarketOrder) SetQuantity added in v1.40.2

func (o *DerivativeMarketOrder) SetQuantity(quantity sdk.Dec)

func (*DerivativeMarketOrder) Size

func (m *DerivativeMarketOrder) Size() (n int)

func (*DerivativeMarketOrder) String

func (m *DerivativeMarketOrder) String() string

func (*DerivativeMarketOrder) SubaccountID

func (o *DerivativeMarketOrder) SubaccountID() common.Hash

func (*DerivativeMarketOrder) ToDerivativeOrder

func (o *DerivativeMarketOrder) ToDerivativeOrder(marketID string) *DerivativeOrder

func (*DerivativeMarketOrder) Unmarshal

func (m *DerivativeMarketOrder) Unmarshal(dAtA []byte) error

func (*DerivativeMarketOrder) XXX_DiscardUnknown

func (m *DerivativeMarketOrder) XXX_DiscardUnknown()

func (*DerivativeMarketOrder) XXX_Marshal

func (m *DerivativeMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeMarketOrder) XXX_Merge

func (m *DerivativeMarketOrder) XXX_Merge(src proto.Message)

func (*DerivativeMarketOrder) XXX_Size

func (m *DerivativeMarketOrder) XXX_Size() int

func (*DerivativeMarketOrder) XXX_Unmarshal

func (m *DerivativeMarketOrder) XXX_Unmarshal(b []byte) error

type DerivativeMarketOrderCancel

type DerivativeMarketOrderCancel struct {
	MarketOrder    *DerivativeMarketOrder                 `protobuf:"bytes,1,opt,name=market_order,json=marketOrder,proto3" json:"market_order,omitempty"`
	CancelQuantity github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
}

func (*DerivativeMarketOrderCancel) ApplyDerivativeMarketCancellation

func (o *DerivativeMarketOrderCancel) ApplyDerivativeMarketCancellation(
	depositDeltas DepositDeltas,
)

func (*DerivativeMarketOrderCancel) Descriptor

func (*DerivativeMarketOrderCancel) Descriptor() ([]byte, []int)

func (*DerivativeMarketOrderCancel) GetCancelDepositDelta

func (o *DerivativeMarketOrderCancel) GetCancelDepositDelta() *DepositDelta

func (*DerivativeMarketOrderCancel) GetMarketOrder

func (*DerivativeMarketOrderCancel) Marshal

func (m *DerivativeMarketOrderCancel) Marshal() (dAtA []byte, err error)

func (*DerivativeMarketOrderCancel) MarshalTo

func (m *DerivativeMarketOrderCancel) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeMarketOrderCancel) MarshalToSizedBuffer

func (m *DerivativeMarketOrderCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeMarketOrderCancel) ProtoMessage

func (*DerivativeMarketOrderCancel) ProtoMessage()

func (*DerivativeMarketOrderCancel) Reset

func (m *DerivativeMarketOrderCancel) Reset()

func (*DerivativeMarketOrderCancel) Size

func (m *DerivativeMarketOrderCancel) Size() (n int)

func (*DerivativeMarketOrderCancel) String

func (m *DerivativeMarketOrderCancel) String() string

func (*DerivativeMarketOrderCancel) Unmarshal

func (m *DerivativeMarketOrderCancel) Unmarshal(dAtA []byte) error

func (*DerivativeMarketOrderCancel) XXX_DiscardUnknown

func (m *DerivativeMarketOrderCancel) XXX_DiscardUnknown()

func (*DerivativeMarketOrderCancel) XXX_Marshal

func (m *DerivativeMarketOrderCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeMarketOrderCancel) XXX_Merge

func (m *DerivativeMarketOrderCancel) XXX_Merge(src proto.Message)

func (*DerivativeMarketOrderCancel) XXX_Size

func (m *DerivativeMarketOrderCancel) XXX_Size() int

func (*DerivativeMarketOrderCancel) XXX_Unmarshal

func (m *DerivativeMarketOrderCancel) XXX_Unmarshal(b []byte) error

type DerivativeMarketOrderDelta

type DerivativeMarketOrderDelta struct {
	Order        *DerivativeMarketOrder
	FillQuantity sdk.Dec
}

func (*DerivativeMarketOrderDelta) UnfilledQuantity

func (d *DerivativeMarketOrderDelta) UnfilledQuantity() sdk.Dec

type DerivativeMarketOrderResults added in v1.42.6

type DerivativeMarketOrderResults struct {
	Quantity      github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	Price         github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Fee           github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
	PositionDelta PositionDelta                          `protobuf:"bytes,4,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta"`
	Payout        github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=payout,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"payout"`
}

func EmptyDerivativeMarketOrderResults added in v1.42.6

func EmptyDerivativeMarketOrderResults() *DerivativeMarketOrderResults

func (*DerivativeMarketOrderResults) Descriptor added in v1.42.6

func (*DerivativeMarketOrderResults) Descriptor() ([]byte, []int)

func (*DerivativeMarketOrderResults) Marshal added in v1.42.6

func (m *DerivativeMarketOrderResults) Marshal() (dAtA []byte, err error)

func (*DerivativeMarketOrderResults) MarshalTo added in v1.42.6

func (m *DerivativeMarketOrderResults) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeMarketOrderResults) MarshalToSizedBuffer added in v1.42.6

func (m *DerivativeMarketOrderResults) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeMarketOrderResults) ProtoMessage added in v1.42.6

func (*DerivativeMarketOrderResults) ProtoMessage()

func (*DerivativeMarketOrderResults) Reset added in v1.42.6

func (m *DerivativeMarketOrderResults) Reset()

func (*DerivativeMarketOrderResults) Size added in v1.42.6

func (m *DerivativeMarketOrderResults) Size() (n int)

func (*DerivativeMarketOrderResults) String added in v1.42.6

func (*DerivativeMarketOrderResults) Unmarshal added in v1.42.6

func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error

func (*DerivativeMarketOrderResults) XXX_DiscardUnknown added in v1.42.6

func (m *DerivativeMarketOrderResults) XXX_DiscardUnknown()

func (*DerivativeMarketOrderResults) XXX_Marshal added in v1.42.6

func (m *DerivativeMarketOrderResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeMarketOrderResults) XXX_Merge added in v1.42.6

func (m *DerivativeMarketOrderResults) XXX_Merge(src proto.Message)

func (*DerivativeMarketOrderResults) XXX_Size added in v1.42.6

func (m *DerivativeMarketOrderResults) XXX_Size() int

func (*DerivativeMarketOrderResults) XXX_Unmarshal added in v1.42.6

func (m *DerivativeMarketOrderResults) XXX_Unmarshal(b []byte) error

type DerivativeMarketParamUpdateProposal

type DerivativeMarketParamUpdateProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MarketId    string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// initial_margin_ratio defines the initial margin ratio for the derivative
	// market
	InitialMarginRatio *github_com_cosmos_cosmos_sdk_types.Dec `` /* 167-byte string literal not displayed */
	// maintenance_margin_ratio defines the maintenance margin ratio for the
	// derivative market
	MaintenanceMarginRatio *github_com_cosmos_cosmos_sdk_types.Dec `` /* 179-byte string literal not displayed */
	// maker_fee_rate defines the exchange trade fee for makers for the derivative
	// market
	MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// taker_fee_rate defines the exchange trade fee for takers for the derivative
	// market
	TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// relayer_fee_share_rate defines the relayer fee share rate for the
	// derivative market
	RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 173-byte string literal not displayed */
	// hourly_interest_rate defines the hourly interest rate
	HourlyInterestRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// hourly_funding_rate_cap defines the maximum absolute value of the hourly
	// funding rate
	HourlyFundingRateCap *github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */
	Status               MarketStatus                            `protobuf:"varint,13,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
	OracleParams         *OracleParams                           `protobuf:"bytes,14,opt,name=oracle_params,json=oracleParams,proto3" json:"oracle_params,omitempty"`
}

func NewDerivativeMarketParamUpdateProposal

func NewDerivativeMarketParamUpdateProposal(
	title, description string, marketID string,
	initialMarginRatio, maintenanceMarginRatio,
	makerFeeRate, takerFeeRate, relayerFeeShareRate, minPriceTickSize, minQuantityTickSize *sdk.Dec,
	hourlyInterestRate, hourlyFundingRateCap *sdk.Dec,
	status MarketStatus, oracleParams *OracleParams,
) *DerivativeMarketParamUpdateProposal

NewDerivativeMarketParamUpdateProposal returns new instance of DerivativeMarketParamUpdateProposal

func (*DerivativeMarketParamUpdateProposal) Descriptor

func (*DerivativeMarketParamUpdateProposal) Descriptor() ([]byte, []int)

func (*DerivativeMarketParamUpdateProposal) GetDescription

func (p *DerivativeMarketParamUpdateProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*DerivativeMarketParamUpdateProposal) GetTitle

GetTitle returns the title of this proposal

func (*DerivativeMarketParamUpdateProposal) Marshal

func (m *DerivativeMarketParamUpdateProposal) Marshal() (dAtA []byte, err error)

func (*DerivativeMarketParamUpdateProposal) MarshalTo

func (m *DerivativeMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeMarketParamUpdateProposal) MarshalToSizedBuffer

func (m *DerivativeMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeMarketParamUpdateProposal) ProposalRoute

func (p *DerivativeMarketParamUpdateProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*DerivativeMarketParamUpdateProposal) ProposalType

func (p *DerivativeMarketParamUpdateProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*DerivativeMarketParamUpdateProposal) ProtoMessage

func (*DerivativeMarketParamUpdateProposal) ProtoMessage()

func (*DerivativeMarketParamUpdateProposal) Reset

func (*DerivativeMarketParamUpdateProposal) Size

func (*DerivativeMarketParamUpdateProposal) String

func (*DerivativeMarketParamUpdateProposal) Unmarshal

func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error

func (*DerivativeMarketParamUpdateProposal) ValidateBasic

func (p *DerivativeMarketParamUpdateProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*DerivativeMarketParamUpdateProposal) XXX_DiscardUnknown

func (m *DerivativeMarketParamUpdateProposal) XXX_DiscardUnknown()

func (*DerivativeMarketParamUpdateProposal) XXX_Marshal

func (m *DerivativeMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeMarketParamUpdateProposal) XXX_Merge

func (*DerivativeMarketParamUpdateProposal) XXX_Size

func (*DerivativeMarketParamUpdateProposal) XXX_Unmarshal

func (m *DerivativeMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error

type DerivativeMarketSettlementInfo

type DerivativeMarketSettlementInfo struct {
	// market ID.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// settlement_price defines the settlement price
	SettlementPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
}

func (*DerivativeMarketSettlementInfo) Descriptor

func (*DerivativeMarketSettlementInfo) Descriptor() ([]byte, []int)

func (*DerivativeMarketSettlementInfo) GetMarketId

func (m *DerivativeMarketSettlementInfo) GetMarketId() string

func (*DerivativeMarketSettlementInfo) Marshal

func (m *DerivativeMarketSettlementInfo) Marshal() (dAtA []byte, err error)

func (*DerivativeMarketSettlementInfo) MarshalTo

func (m *DerivativeMarketSettlementInfo) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeMarketSettlementInfo) MarshalToSizedBuffer

func (m *DerivativeMarketSettlementInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeMarketSettlementInfo) ProtoMessage

func (*DerivativeMarketSettlementInfo) ProtoMessage()

func (*DerivativeMarketSettlementInfo) Reset

func (m *DerivativeMarketSettlementInfo) Reset()

func (*DerivativeMarketSettlementInfo) Size

func (m *DerivativeMarketSettlementInfo) Size() (n int)

func (*DerivativeMarketSettlementInfo) String

func (*DerivativeMarketSettlementInfo) Unmarshal

func (m *DerivativeMarketSettlementInfo) Unmarshal(dAtA []byte) error

func (*DerivativeMarketSettlementInfo) XXX_DiscardUnknown

func (m *DerivativeMarketSettlementInfo) XXX_DiscardUnknown()

func (*DerivativeMarketSettlementInfo) XXX_Marshal

func (m *DerivativeMarketSettlementInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeMarketSettlementInfo) XXX_Merge

func (m *DerivativeMarketSettlementInfo) XXX_Merge(src proto.Message)

func (*DerivativeMarketSettlementInfo) XXX_Size

func (m *DerivativeMarketSettlementInfo) XXX_Size() int

func (*DerivativeMarketSettlementInfo) XXX_Unmarshal

func (m *DerivativeMarketSettlementInfo) XXX_Unmarshal(b []byte) error

type DerivativeOrder

type DerivativeOrder struct {
	// market_id represents the unique ID of the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// order_info contains the information of the order
	OrderInfo OrderInfo `protobuf:"bytes,2,opt,name=order_info,json=orderInfo,proto3" json:"order_info"`
	// order types
	OrderType OrderType `` /* 131-byte string literal not displayed */
	// margin is the margin used by the limit order
	Margin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
	// trigger_price is the trigger price used by stop/take orders
	TriggerPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 147-byte string literal not displayed */
}

func (*DerivativeOrder) CheckBinaryOptionsPricesWithinBounds added in v1.40.8

func (o *DerivativeOrder) CheckBinaryOptionsPricesWithinBounds(oracleScaleFactor uint32) (err error)

CheckBinaryOptionsPricesWithinBounds checks that binary options order prices don't exceed 1 (scaled)

func (*DerivativeOrder) CheckInitialMarginRequirementMarkPriceThreshold

func (o *DerivativeOrder) CheckInitialMarginRequirementMarkPriceThreshold(initialMarginRatio, markPrice sdk.Dec) (err error)

func (*DerivativeOrder) CheckMarginAndGetMarginHold

func (o *DerivativeOrder) CheckMarginAndGetMarginHold(initialMarginRatio, executionMarkPrice, feeRate sdk.Dec, marketType MarketType, oracleScaleFactor uint32) (marginHold sdk.Dec, err error)

func (*DerivativeOrder) CheckTickSize

func (o *DerivativeOrder) CheckTickSize(minPriceTickSize, minQuantityTickSize sdk.Dec) error

func (*DerivativeOrder) CheckValidConditionalPrice added in v1.40.8

func (o *DerivativeOrder) CheckValidConditionalPrice(markPrice sdk.Dec) (err error)

CheckValidConditionalPrice checks that conditional order type (STOP or TAKE) actually valid for current relation between triggerPrice and markPrice

func (*DerivativeOrder) ComputeInitialMarginRequirementMarkPriceThreshold

func (o *DerivativeOrder) ComputeInitialMarginRequirementMarkPriceThreshold(initialMarginRatio sdk.Dec) sdk.Dec

func (*DerivativeOrder) ComputeOrderHash

func (o *DerivativeOrder) ComputeOrderHash(nonce uint32) (common.Hash, error)

ComputeOrderHash computes the order hash for given derivative limit order

func (*DerivativeOrder) Descriptor

func (*DerivativeOrder) Descriptor() ([]byte, []int)

func (*DerivativeOrder) GetFillable added in v1.40.8

func (o *DerivativeOrder) GetFillable() sdk.Dec

func (*DerivativeOrder) GetMargin added in v1.40.2

func (o *DerivativeOrder) GetMargin() sdk.Dec

func (*DerivativeOrder) GetMarketId

func (m *DerivativeOrder) GetMarketId() string

func (*DerivativeOrder) GetOrderInfo

func (m *DerivativeOrder) GetOrderInfo() OrderInfo

func (*DerivativeOrder) GetOrderType

func (m *DerivativeOrder) GetOrderType() OrderType

func (*DerivativeOrder) GetPrice added in v1.40.2

func (o *DerivativeOrder) GetPrice() sdk.Dec

func (*DerivativeOrder) GetQuantity added in v1.40.2

func (o *DerivativeOrder) GetQuantity() sdk.Dec

func (*DerivativeOrder) GetRequiredBinaryOptionsMargin added in v1.39.5

func (o *DerivativeOrder) GetRequiredBinaryOptionsMargin(oracleScaleFactor uint32) sdk.Dec

func (*DerivativeOrder) GetSubaccountID added in v1.40.8

func (o *DerivativeOrder) GetSubaccountID() common.Hash

func (*DerivativeOrder) IsBuy

func (m *DerivativeOrder) IsBuy() bool

func (*DerivativeOrder) IsConditional added in v1.40.8

func (o *DerivativeOrder) IsConditional() bool

func (*DerivativeOrder) IsFromDefaultSubaccount added in v1.45.0

func (o *DerivativeOrder) IsFromDefaultSubaccount() bool

func (*DerivativeOrder) IsReduceOnly

func (o *DerivativeOrder) IsReduceOnly() bool

func (*DerivativeOrder) IsVanilla

func (o *DerivativeOrder) IsVanilla() bool

func (*DerivativeOrder) MarketID

func (o *DerivativeOrder) MarketID() common.Hash

func (*DerivativeOrder) Marshal

func (m *DerivativeOrder) Marshal() (dAtA []byte, err error)

func (*DerivativeOrder) MarshalTo

func (m *DerivativeOrder) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeOrder) MarshalToSizedBuffer

func (m *DerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeOrder) Price

func (m *DerivativeOrder) Price() sdk.Dec

func (*DerivativeOrder) ProtoMessage

func (*DerivativeOrder) ProtoMessage()

func (*DerivativeOrder) Reset

func (m *DerivativeOrder) Reset()

func (*DerivativeOrder) SetMargin added in v1.40.2

func (o *DerivativeOrder) SetMargin(margin sdk.Dec)

func (*DerivativeOrder) SetPrice added in v1.40.2

func (o *DerivativeOrder) SetPrice(price sdk.Dec)

func (*DerivativeOrder) SetQuantity added in v1.40.2

func (o *DerivativeOrder) SetQuantity(quantity sdk.Dec)

func (*DerivativeOrder) Size

func (m *DerivativeOrder) Size() (n int)

func (*DerivativeOrder) String

func (m *DerivativeOrder) String() string

func (*DerivativeOrder) SubaccountID

func (o *DerivativeOrder) SubaccountID() common.Hash

func (*DerivativeOrder) Unmarshal

func (m *DerivativeOrder) Unmarshal(dAtA []byte) error

func (*DerivativeOrder) ValidateBasic

func (o *DerivativeOrder) ValidateBasic(senderAddr sdk.AccAddress, hasBinaryPriceBand bool) error

func (*DerivativeOrder) XXX_DiscardUnknown

func (m *DerivativeOrder) XXX_DiscardUnknown()

func (*DerivativeOrder) XXX_Marshal

func (m *DerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeOrder) XXX_Merge

func (m *DerivativeOrder) XXX_Merge(src proto.Message)

func (*DerivativeOrder) XXX_Size

func (m *DerivativeOrder) XXX_Size() int

func (*DerivativeOrder) XXX_Unmarshal

func (m *DerivativeOrder) XXX_Unmarshal(b []byte) error

type DerivativeOrderBook

type DerivativeOrderBook struct {
	MarketId  string                  `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsBuySide bool                    `protobuf:"varint,2,opt,name=isBuySide,proto3" json:"isBuySide,omitempty"`
	Orders    []*DerivativeLimitOrder `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders,omitempty"`
}

Derivative Exchange Limit Orderbook

func (*DerivativeOrderBook) Descriptor

func (*DerivativeOrderBook) Descriptor() ([]byte, []int)

func (*DerivativeOrderBook) Marshal

func (m *DerivativeOrderBook) Marshal() (dAtA []byte, err error)

func (*DerivativeOrderBook) MarshalTo

func (m *DerivativeOrderBook) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeOrderBook) MarshalToSizedBuffer

func (m *DerivativeOrderBook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeOrderBook) ProtoMessage

func (*DerivativeOrderBook) ProtoMessage()

func (*DerivativeOrderBook) Reset

func (m *DerivativeOrderBook) Reset()

func (*DerivativeOrderBook) Size

func (m *DerivativeOrderBook) Size() (n int)

func (*DerivativeOrderBook) String

func (m *DerivativeOrderBook) String() string

func (*DerivativeOrderBook) Unmarshal

func (m *DerivativeOrderBook) Unmarshal(dAtA []byte) error

func (*DerivativeOrderBook) XXX_DiscardUnknown

func (m *DerivativeOrderBook) XXX_DiscardUnknown()

func (*DerivativeOrderBook) XXX_Marshal

func (m *DerivativeOrderBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeOrderBook) XXX_Merge

func (m *DerivativeOrderBook) XXX_Merge(src proto.Message)

func (*DerivativeOrderBook) XXX_Size

func (m *DerivativeOrderBook) XXX_Size() int

func (*DerivativeOrderBook) XXX_Unmarshal

func (m *DerivativeOrderBook) XXX_Unmarshal(b []byte) error

type DerivativePosition

type DerivativePosition struct {
	SubaccountId string    `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketId     string    `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Position     *Position `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
}

func (*DerivativePosition) Copy added in v1.45.0

func (*DerivativePosition) Descriptor

func (*DerivativePosition) Descriptor() ([]byte, []int)

func (*DerivativePosition) Marshal

func (m *DerivativePosition) Marshal() (dAtA []byte, err error)

func (*DerivativePosition) MarshalTo

func (m *DerivativePosition) MarshalTo(dAtA []byte) (int, error)

func (*DerivativePosition) MarshalToSizedBuffer

func (m *DerivativePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativePosition) ProtoMessage

func (*DerivativePosition) ProtoMessage()

func (*DerivativePosition) Reset

func (m *DerivativePosition) Reset()

func (*DerivativePosition) Size

func (m *DerivativePosition) Size() (n int)

func (*DerivativePosition) String

func (m *DerivativePosition) String() string

func (*DerivativePosition) Unmarshal

func (m *DerivativePosition) Unmarshal(dAtA []byte) error

func (*DerivativePosition) XXX_DiscardUnknown

func (m *DerivativePosition) XXX_DiscardUnknown()

func (*DerivativePosition) XXX_Marshal

func (m *DerivativePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativePosition) XXX_Merge

func (m *DerivativePosition) XXX_Merge(src proto.Message)

func (*DerivativePosition) XXX_Size

func (m *DerivativePosition) XXX_Size() int

func (*DerivativePosition) XXX_Unmarshal

func (m *DerivativePosition) XXX_Unmarshal(b []byte) error

type DerivativeTradeLog

type DerivativeTradeLog struct {
	SubaccountId        []byte                                 `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	PositionDelta       *PositionDelta                         `protobuf:"bytes,2,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"`
	Payout              github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=payout,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"payout"`
	Fee                 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
	OrderHash           []byte                                 `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	FeeRecipientAddress []byte                                 `protobuf:"bytes,6,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"`
}

func (*DerivativeTradeLog) Descriptor

func (*DerivativeTradeLog) Descriptor() ([]byte, []int)

func (*DerivativeTradeLog) GetFeeRecipientAddress added in v1.28.4

func (m *DerivativeTradeLog) GetFeeRecipientAddress() []byte

func (*DerivativeTradeLog) GetOrderHash

func (m *DerivativeTradeLog) GetOrderHash() []byte

func (*DerivativeTradeLog) GetPositionDelta

func (m *DerivativeTradeLog) GetPositionDelta() *PositionDelta

func (*DerivativeTradeLog) GetSubaccountId

func (m *DerivativeTradeLog) GetSubaccountId() []byte

func (*DerivativeTradeLog) Marshal

func (m *DerivativeTradeLog) Marshal() (dAtA []byte, err error)

func (*DerivativeTradeLog) MarshalTo

func (m *DerivativeTradeLog) MarshalTo(dAtA []byte) (int, error)

func (*DerivativeTradeLog) MarshalToSizedBuffer

func (m *DerivativeTradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DerivativeTradeLog) ProtoMessage

func (*DerivativeTradeLog) ProtoMessage()

func (*DerivativeTradeLog) Reset

func (m *DerivativeTradeLog) Reset()

func (*DerivativeTradeLog) Size

func (m *DerivativeTradeLog) Size() (n int)

func (*DerivativeTradeLog) String

func (m *DerivativeTradeLog) String() string

func (*DerivativeTradeLog) Unmarshal

func (m *DerivativeTradeLog) Unmarshal(dAtA []byte) error

func (*DerivativeTradeLog) XXX_DiscardUnknown

func (m *DerivativeTradeLog) XXX_DiscardUnknown()

func (*DerivativeTradeLog) XXX_Marshal

func (m *DerivativeTradeLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DerivativeTradeLog) XXX_Merge

func (m *DerivativeTradeLog) XXX_Merge(src proto.Message)

func (*DerivativeTradeLog) XXX_Size

func (m *DerivativeTradeLog) XXX_Size() int

func (*DerivativeTradeLog) XXX_Unmarshal

func (m *DerivativeTradeLog) XXX_Unmarshal(b []byte) error

type DistributionKeeper added in v1.26.0

type DistributionKeeper interface {
	GetFeePool(ctx sdk.Context) (feePool types.FeePool)
	DistributeFromFeePool(ctx sdk.Context, amount sdk.Coins, receiveAddr sdk.AccAddress) error
	FundCommunityPool(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error
}

type EffectivePosition added in v1.39.0

type EffectivePosition struct {
	IsLong          bool                                   `protobuf:"varint,1,opt,name=is_long,json=isLong,proto3" json:"is_long,omitempty"`
	Quantity        github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	EntryPrice      github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	EffectiveMargin github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
}

func (*EffectivePosition) Descriptor added in v1.39.0

func (*EffectivePosition) Descriptor() ([]byte, []int)

func (*EffectivePosition) GetIsLong added in v1.39.0

func (m *EffectivePosition) GetIsLong() bool

func (*EffectivePosition) Marshal added in v1.39.0

func (m *EffectivePosition) Marshal() (dAtA []byte, err error)

func (*EffectivePosition) MarshalTo added in v1.39.0

func (m *EffectivePosition) MarshalTo(dAtA []byte) (int, error)

func (*EffectivePosition) MarshalToSizedBuffer added in v1.39.0

func (m *EffectivePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EffectivePosition) ProtoMessage added in v1.39.0

func (*EffectivePosition) ProtoMessage()

func (*EffectivePosition) Reset added in v1.39.0

func (m *EffectivePosition) Reset()

func (*EffectivePosition) Size added in v1.39.0

func (m *EffectivePosition) Size() (n int)

func (*EffectivePosition) String added in v1.39.0

func (m *EffectivePosition) String() string

func (*EffectivePosition) Unmarshal added in v1.39.0

func (m *EffectivePosition) Unmarshal(dAtA []byte) error

func (*EffectivePosition) XXX_DiscardUnknown added in v1.39.0

func (m *EffectivePosition) XXX_DiscardUnknown()

func (*EffectivePosition) XXX_Marshal added in v1.39.0

func (m *EffectivePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EffectivePosition) XXX_Merge added in v1.39.0

func (m *EffectivePosition) XXX_Merge(src proto.Message)

func (*EffectivePosition) XXX_Size added in v1.39.0

func (m *EffectivePosition) XXX_Size() int

func (*EffectivePosition) XXX_Unmarshal added in v1.39.0

func (m *EffectivePosition) XXX_Unmarshal(b []byte) error

type EventAllPositionsHaircut added in v1.45.6

type EventAllPositionsHaircut struct {
	MarketId         string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SettlePrice      string `protobuf:"bytes,2,opt,name=settle_price,json=settlePrice,proto3" json:"settle_price,omitempty"`
	MissingFundsRate string `protobuf:"bytes,3,opt,name=missing_funds_rate,json=missingFundsRate,proto3" json:"missing_funds_rate,omitempty"`
}

func (*EventAllPositionsHaircut) Descriptor added in v1.45.6

func (*EventAllPositionsHaircut) Descriptor() ([]byte, []int)

func (*EventAllPositionsHaircut) GetMarketId added in v1.45.6

func (m *EventAllPositionsHaircut) GetMarketId() string

func (*EventAllPositionsHaircut) GetMissingFundsRate added in v1.45.6

func (m *EventAllPositionsHaircut) GetMissingFundsRate() string

func (*EventAllPositionsHaircut) GetSettlePrice added in v1.45.6

func (m *EventAllPositionsHaircut) GetSettlePrice() string

func (*EventAllPositionsHaircut) Marshal added in v1.45.6

func (m *EventAllPositionsHaircut) Marshal() (dAtA []byte, err error)

func (*EventAllPositionsHaircut) MarshalTo added in v1.45.6

func (m *EventAllPositionsHaircut) MarshalTo(dAtA []byte) (int, error)

func (*EventAllPositionsHaircut) MarshalToSizedBuffer added in v1.45.6

func (m *EventAllPositionsHaircut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAllPositionsHaircut) ProtoMessage added in v1.45.6

func (*EventAllPositionsHaircut) ProtoMessage()

func (*EventAllPositionsHaircut) Reset added in v1.45.6

func (m *EventAllPositionsHaircut) Reset()

func (*EventAllPositionsHaircut) Size added in v1.45.6

func (m *EventAllPositionsHaircut) Size() (n int)

func (*EventAllPositionsHaircut) String added in v1.45.6

func (m *EventAllPositionsHaircut) String() string

func (*EventAllPositionsHaircut) Unmarshal added in v1.45.6

func (m *EventAllPositionsHaircut) Unmarshal(dAtA []byte) error

func (*EventAllPositionsHaircut) XXX_DiscardUnknown added in v1.45.6

func (m *EventAllPositionsHaircut) XXX_DiscardUnknown()

func (*EventAllPositionsHaircut) XXX_Marshal added in v1.45.6

func (m *EventAllPositionsHaircut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAllPositionsHaircut) XXX_Merge added in v1.45.6

func (m *EventAllPositionsHaircut) XXX_Merge(src proto.Message)

func (*EventAllPositionsHaircut) XXX_Size added in v1.45.6

func (m *EventAllPositionsHaircut) XXX_Size() int

func (*EventAllPositionsHaircut) XXX_Unmarshal added in v1.45.6

func (m *EventAllPositionsHaircut) XXX_Unmarshal(b []byte) error

type EventAtomicMarketOrderFeeMultipliersUpdated added in v1.42.6

type EventAtomicMarketOrderFeeMultipliersUpdated struct {
	MarketFeeMultipliers []*MarketFeeMultiplier `protobuf:"bytes,1,rep,name=market_fee_multipliers,json=marketFeeMultipliers,proto3" json:"market_fee_multipliers,omitempty"`
}

func (*EventAtomicMarketOrderFeeMultipliersUpdated) Descriptor added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) GetMarketFeeMultipliers added in v1.42.6

func (m *EventAtomicMarketOrderFeeMultipliersUpdated) GetMarketFeeMultipliers() []*MarketFeeMultiplier

func (*EventAtomicMarketOrderFeeMultipliersUpdated) Marshal added in v1.42.6

func (m *EventAtomicMarketOrderFeeMultipliersUpdated) Marshal() (dAtA []byte, err error)

func (*EventAtomicMarketOrderFeeMultipliersUpdated) MarshalTo added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) MarshalToSizedBuffer added in v1.42.6

func (m *EventAtomicMarketOrderFeeMultipliersUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAtomicMarketOrderFeeMultipliersUpdated) ProtoMessage added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) Reset added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) Size added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) String added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) Unmarshal added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) XXX_DiscardUnknown added in v1.42.6

func (m *EventAtomicMarketOrderFeeMultipliersUpdated) XXX_DiscardUnknown()

func (*EventAtomicMarketOrderFeeMultipliersUpdated) XXX_Marshal added in v1.42.6

func (m *EventAtomicMarketOrderFeeMultipliersUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAtomicMarketOrderFeeMultipliersUpdated) XXX_Merge added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) XXX_Size added in v1.42.6

func (*EventAtomicMarketOrderFeeMultipliersUpdated) XXX_Unmarshal added in v1.42.6

type EventBatchDepositUpdate

type EventBatchDepositUpdate struct {
	DepositUpdates []*DepositUpdate `protobuf:"bytes,1,rep,name=deposit_updates,json=depositUpdates,proto3" json:"deposit_updates,omitempty"`
}

func (*EventBatchDepositUpdate) Descriptor

func (*EventBatchDepositUpdate) Descriptor() ([]byte, []int)

func (*EventBatchDepositUpdate) GetDepositUpdates

func (m *EventBatchDepositUpdate) GetDepositUpdates() []*DepositUpdate

func (*EventBatchDepositUpdate) Marshal

func (m *EventBatchDepositUpdate) Marshal() (dAtA []byte, err error)

func (*EventBatchDepositUpdate) MarshalTo

func (m *EventBatchDepositUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventBatchDepositUpdate) MarshalToSizedBuffer

func (m *EventBatchDepositUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBatchDepositUpdate) ProtoMessage

func (*EventBatchDepositUpdate) ProtoMessage()

func (*EventBatchDepositUpdate) Reset

func (m *EventBatchDepositUpdate) Reset()

func (*EventBatchDepositUpdate) Size

func (m *EventBatchDepositUpdate) Size() (n int)

func (*EventBatchDepositUpdate) String

func (m *EventBatchDepositUpdate) String() string

func (*EventBatchDepositUpdate) Unmarshal

func (m *EventBatchDepositUpdate) Unmarshal(dAtA []byte) error

func (*EventBatchDepositUpdate) XXX_DiscardUnknown

func (m *EventBatchDepositUpdate) XXX_DiscardUnknown()

func (*EventBatchDepositUpdate) XXX_Marshal

func (m *EventBatchDepositUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBatchDepositUpdate) XXX_Merge

func (m *EventBatchDepositUpdate) XXX_Merge(src proto.Message)

func (*EventBatchDepositUpdate) XXX_Size

func (m *EventBatchDepositUpdate) XXX_Size() int

func (*EventBatchDepositUpdate) XXX_Unmarshal

func (m *EventBatchDepositUpdate) XXX_Unmarshal(b []byte) error

type EventBatchDerivativeExecution

type EventBatchDerivativeExecution struct {
	MarketId      string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsBuy         bool   `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
	IsLiquidation bool   `protobuf:"varint,3,opt,name=is_liquidation,json=isLiquidation,proto3" json:"is_liquidation,omitempty"`
	// nil for time expiry futures
	CumulativeFunding *github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
	ExecutionType     ExecutionType                           `` /* 126-byte string literal not displayed */
	Trades            []*DerivativeTradeLog                   `protobuf:"bytes,6,rep,name=trades,proto3" json:"trades,omitempty"`
}

func (*EventBatchDerivativeExecution) Descriptor

func (*EventBatchDerivativeExecution) Descriptor() ([]byte, []int)

func (*EventBatchDerivativeExecution) GetExecutionType

func (m *EventBatchDerivativeExecution) GetExecutionType() ExecutionType

func (*EventBatchDerivativeExecution) GetIsBuy

func (m *EventBatchDerivativeExecution) GetIsBuy() bool

func (*EventBatchDerivativeExecution) GetIsLiquidation

func (m *EventBatchDerivativeExecution) GetIsLiquidation() bool

func (*EventBatchDerivativeExecution) GetMarketId

func (m *EventBatchDerivativeExecution) GetMarketId() string

func (*EventBatchDerivativeExecution) GetTrades

func (*EventBatchDerivativeExecution) Marshal

func (m *EventBatchDerivativeExecution) Marshal() (dAtA []byte, err error)

func (*EventBatchDerivativeExecution) MarshalTo

func (m *EventBatchDerivativeExecution) MarshalTo(dAtA []byte) (int, error)

func (*EventBatchDerivativeExecution) MarshalToSizedBuffer

func (m *EventBatchDerivativeExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBatchDerivativeExecution) ProtoMessage

func (*EventBatchDerivativeExecution) ProtoMessage()

func (*EventBatchDerivativeExecution) Reset

func (m *EventBatchDerivativeExecution) Reset()

func (*EventBatchDerivativeExecution) Size

func (m *EventBatchDerivativeExecution) Size() (n int)

func (*EventBatchDerivativeExecution) String

func (*EventBatchDerivativeExecution) Unmarshal

func (m *EventBatchDerivativeExecution) Unmarshal(dAtA []byte) error

func (*EventBatchDerivativeExecution) XXX_DiscardUnknown

func (m *EventBatchDerivativeExecution) XXX_DiscardUnknown()

func (*EventBatchDerivativeExecution) XXX_Marshal

func (m *EventBatchDerivativeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBatchDerivativeExecution) XXX_Merge

func (m *EventBatchDerivativeExecution) XXX_Merge(src proto.Message)

func (*EventBatchDerivativeExecution) XXX_Size

func (m *EventBatchDerivativeExecution) XXX_Size() int

func (*EventBatchDerivativeExecution) XXX_Unmarshal

func (m *EventBatchDerivativeExecution) XXX_Unmarshal(b []byte) error

type EventBatchDerivativePosition

type EventBatchDerivativePosition struct {
	MarketId  string                `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Positions []*SubaccountPosition `protobuf:"bytes,2,rep,name=positions,proto3" json:"positions,omitempty"`
}

func (*EventBatchDerivativePosition) Descriptor

func (*EventBatchDerivativePosition) Descriptor() ([]byte, []int)

func (*EventBatchDerivativePosition) GetMarketId

func (m *EventBatchDerivativePosition) GetMarketId() string

func (*EventBatchDerivativePosition) GetPositions

func (m *EventBatchDerivativePosition) GetPositions() []*SubaccountPosition

func (*EventBatchDerivativePosition) Marshal

func (m *EventBatchDerivativePosition) Marshal() (dAtA []byte, err error)

func (*EventBatchDerivativePosition) MarshalTo

func (m *EventBatchDerivativePosition) MarshalTo(dAtA []byte) (int, error)

func (*EventBatchDerivativePosition) MarshalToSizedBuffer

func (m *EventBatchDerivativePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBatchDerivativePosition) ProtoMessage

func (*EventBatchDerivativePosition) ProtoMessage()

func (*EventBatchDerivativePosition) Reset

func (m *EventBatchDerivativePosition) Reset()

func (*EventBatchDerivativePosition) Size

func (m *EventBatchDerivativePosition) Size() (n int)

func (*EventBatchDerivativePosition) String

func (*EventBatchDerivativePosition) Unmarshal

func (m *EventBatchDerivativePosition) Unmarshal(dAtA []byte) error

func (*EventBatchDerivativePosition) XXX_DiscardUnknown

func (m *EventBatchDerivativePosition) XXX_DiscardUnknown()

func (*EventBatchDerivativePosition) XXX_Marshal

func (m *EventBatchDerivativePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBatchDerivativePosition) XXX_Merge

func (m *EventBatchDerivativePosition) XXX_Merge(src proto.Message)

func (*EventBatchDerivativePosition) XXX_Size

func (m *EventBatchDerivativePosition) XXX_Size() int

func (*EventBatchDerivativePosition) XXX_Unmarshal

func (m *EventBatchDerivativePosition) XXX_Unmarshal(b []byte) error

type EventBatchSpotExecution

type EventBatchSpotExecution struct {
	MarketId      string        `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsBuy         bool          `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
	ExecutionType ExecutionType `` /* 126-byte string literal not displayed */
	Trades        []*TradeLog   `protobuf:"bytes,4,rep,name=trades,proto3" json:"trades,omitempty"`
}

func (*EventBatchSpotExecution) Descriptor

func (*EventBatchSpotExecution) Descriptor() ([]byte, []int)

func (*EventBatchSpotExecution) GetExecutionType

func (m *EventBatchSpotExecution) GetExecutionType() ExecutionType

func (*EventBatchSpotExecution) GetIsBuy

func (m *EventBatchSpotExecution) GetIsBuy() bool

func (*EventBatchSpotExecution) GetMarketId

func (m *EventBatchSpotExecution) GetMarketId() string

func (*EventBatchSpotExecution) GetTrades

func (m *EventBatchSpotExecution) GetTrades() []*TradeLog

func (*EventBatchSpotExecution) Marshal

func (m *EventBatchSpotExecution) Marshal() (dAtA []byte, err error)

func (*EventBatchSpotExecution) MarshalTo

func (m *EventBatchSpotExecution) MarshalTo(dAtA []byte) (int, error)

func (*EventBatchSpotExecution) MarshalToSizedBuffer

func (m *EventBatchSpotExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBatchSpotExecution) ProtoMessage

func (*EventBatchSpotExecution) ProtoMessage()

func (*EventBatchSpotExecution) Reset

func (m *EventBatchSpotExecution) Reset()

func (*EventBatchSpotExecution) Size

func (m *EventBatchSpotExecution) Size() (n int)

func (*EventBatchSpotExecution) String

func (m *EventBatchSpotExecution) String() string

func (*EventBatchSpotExecution) Unmarshal

func (m *EventBatchSpotExecution) Unmarshal(dAtA []byte) error

func (*EventBatchSpotExecution) XXX_DiscardUnknown

func (m *EventBatchSpotExecution) XXX_DiscardUnknown()

func (*EventBatchSpotExecution) XXX_Marshal

func (m *EventBatchSpotExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBatchSpotExecution) XXX_Merge

func (m *EventBatchSpotExecution) XXX_Merge(src proto.Message)

func (*EventBatchSpotExecution) XXX_Size

func (m *EventBatchSpotExecution) XXX_Size() int

func (*EventBatchSpotExecution) XXX_Unmarshal

func (m *EventBatchSpotExecution) XXX_Unmarshal(b []byte) error

type EventBinaryOptionsMarketUpdate added in v1.39.5

type EventBinaryOptionsMarketUpdate struct {
	Market BinaryOptionsMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market"`
}

func (*EventBinaryOptionsMarketUpdate) Descriptor added in v1.39.5

func (*EventBinaryOptionsMarketUpdate) Descriptor() ([]byte, []int)

func (*EventBinaryOptionsMarketUpdate) GetMarket added in v1.39.5

func (*EventBinaryOptionsMarketUpdate) Marshal added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) Marshal() (dAtA []byte, err error)

func (*EventBinaryOptionsMarketUpdate) MarshalTo added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventBinaryOptionsMarketUpdate) MarshalToSizedBuffer added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventBinaryOptionsMarketUpdate) ProtoMessage added in v1.39.5

func (*EventBinaryOptionsMarketUpdate) ProtoMessage()

func (*EventBinaryOptionsMarketUpdate) Reset added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) Reset()

func (*EventBinaryOptionsMarketUpdate) Size added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) Size() (n int)

func (*EventBinaryOptionsMarketUpdate) String added in v1.39.5

func (*EventBinaryOptionsMarketUpdate) Unmarshal added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) Unmarshal(dAtA []byte) error

func (*EventBinaryOptionsMarketUpdate) XXX_DiscardUnknown added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) XXX_DiscardUnknown()

func (*EventBinaryOptionsMarketUpdate) XXX_Marshal added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventBinaryOptionsMarketUpdate) XXX_Merge added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) XXX_Merge(src proto.Message)

func (*EventBinaryOptionsMarketUpdate) XXX_Size added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) XXX_Size() int

func (*EventBinaryOptionsMarketUpdate) XXX_Unmarshal added in v1.39.5

func (m *EventBinaryOptionsMarketUpdate) XXX_Unmarshal(b []byte) error

type EventCancelConditionalDerivativeOrder added in v1.40.8

type EventCancelConditionalDerivativeOrder struct {
	MarketId      string                 `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsLimitCancel bool                   `protobuf:"varint,2,opt,name=isLimitCancel,proto3" json:"isLimitCancel,omitempty"`
	LimitOrder    *DerivativeLimitOrder  `protobuf:"bytes,3,opt,name=limit_order,json=limitOrder,proto3" json:"limit_order,omitempty"`
	MarketOrder   *DerivativeMarketOrder `protobuf:"bytes,4,opt,name=market_order,json=marketOrder,proto3" json:"market_order,omitempty"`
}

func (*EventCancelConditionalDerivativeOrder) Descriptor added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) Descriptor() ([]byte, []int)

func (*EventCancelConditionalDerivativeOrder) GetIsLimitCancel added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) GetIsLimitCancel() bool

func (*EventCancelConditionalDerivativeOrder) GetLimitOrder added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) GetMarketId added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) GetMarketOrder added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) Marshal added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) Marshal() (dAtA []byte, err error)

func (*EventCancelConditionalDerivativeOrder) MarshalTo added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) MarshalTo(dAtA []byte) (int, error)

func (*EventCancelConditionalDerivativeOrder) MarshalToSizedBuffer added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCancelConditionalDerivativeOrder) ProtoMessage added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) ProtoMessage()

func (*EventCancelConditionalDerivativeOrder) Reset added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) Size added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) String added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) Unmarshal added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) Unmarshal(dAtA []byte) error

func (*EventCancelConditionalDerivativeOrder) XXX_DiscardUnknown added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) XXX_DiscardUnknown()

func (*EventCancelConditionalDerivativeOrder) XXX_Marshal added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCancelConditionalDerivativeOrder) XXX_Merge added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) XXX_Size added in v1.40.8

func (*EventCancelConditionalDerivativeOrder) XXX_Unmarshal added in v1.40.8

func (m *EventCancelConditionalDerivativeOrder) XXX_Unmarshal(b []byte) error

type EventCancelDerivativeOrder

type EventCancelDerivativeOrder struct {
	MarketId          string                       `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsLimitCancel     bool                         `protobuf:"varint,2,opt,name=isLimitCancel,proto3" json:"isLimitCancel,omitempty"`
	LimitOrder        *DerivativeLimitOrder        `protobuf:"bytes,3,opt,name=limit_order,json=limitOrder,proto3" json:"limit_order,omitempty"`
	MarketOrderCancel *DerivativeMarketOrderCancel `protobuf:"bytes,4,opt,name=market_order_cancel,json=marketOrderCancel,proto3" json:"market_order_cancel,omitempty"`
}

func (*EventCancelDerivativeOrder) Descriptor

func (*EventCancelDerivativeOrder) Descriptor() ([]byte, []int)

func (*EventCancelDerivativeOrder) GetIsLimitCancel

func (m *EventCancelDerivativeOrder) GetIsLimitCancel() bool

func (*EventCancelDerivativeOrder) GetLimitOrder

func (*EventCancelDerivativeOrder) GetMarketId

func (m *EventCancelDerivativeOrder) GetMarketId() string

func (*EventCancelDerivativeOrder) GetMarketOrderCancel

func (m *EventCancelDerivativeOrder) GetMarketOrderCancel() *DerivativeMarketOrderCancel

func (*EventCancelDerivativeOrder) Marshal

func (m *EventCancelDerivativeOrder) Marshal() (dAtA []byte, err error)

func (*EventCancelDerivativeOrder) MarshalTo

func (m *EventCancelDerivativeOrder) MarshalTo(dAtA []byte) (int, error)

func (*EventCancelDerivativeOrder) MarshalToSizedBuffer

func (m *EventCancelDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCancelDerivativeOrder) ProtoMessage

func (*EventCancelDerivativeOrder) ProtoMessage()

func (*EventCancelDerivativeOrder) Reset

func (m *EventCancelDerivativeOrder) Reset()

func (*EventCancelDerivativeOrder) Size

func (m *EventCancelDerivativeOrder) Size() (n int)

func (*EventCancelDerivativeOrder) String

func (m *EventCancelDerivativeOrder) String() string

func (*EventCancelDerivativeOrder) Unmarshal

func (m *EventCancelDerivativeOrder) Unmarshal(dAtA []byte) error

func (*EventCancelDerivativeOrder) XXX_DiscardUnknown

func (m *EventCancelDerivativeOrder) XXX_DiscardUnknown()

func (*EventCancelDerivativeOrder) XXX_Marshal

func (m *EventCancelDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCancelDerivativeOrder) XXX_Merge

func (m *EventCancelDerivativeOrder) XXX_Merge(src proto.Message)

func (*EventCancelDerivativeOrder) XXX_Size

func (m *EventCancelDerivativeOrder) XXX_Size() int

func (*EventCancelDerivativeOrder) XXX_Unmarshal

func (m *EventCancelDerivativeOrder) XXX_Unmarshal(b []byte) error

type EventCancelSpotOrder

type EventCancelSpotOrder struct {
	MarketId string         `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Order    SpotLimitOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

func (*EventCancelSpotOrder) Descriptor

func (*EventCancelSpotOrder) Descriptor() ([]byte, []int)

func (*EventCancelSpotOrder) GetMarketId

func (m *EventCancelSpotOrder) GetMarketId() string

func (*EventCancelSpotOrder) GetOrder

func (m *EventCancelSpotOrder) GetOrder() SpotLimitOrder

func (*EventCancelSpotOrder) Marshal

func (m *EventCancelSpotOrder) Marshal() (dAtA []byte, err error)

func (*EventCancelSpotOrder) MarshalTo

func (m *EventCancelSpotOrder) MarshalTo(dAtA []byte) (int, error)

func (*EventCancelSpotOrder) MarshalToSizedBuffer

func (m *EventCancelSpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventCancelSpotOrder) ProtoMessage

func (*EventCancelSpotOrder) ProtoMessage()

func (*EventCancelSpotOrder) Reset

func (m *EventCancelSpotOrder) Reset()

func (*EventCancelSpotOrder) Size

func (m *EventCancelSpotOrder) Size() (n int)

func (*EventCancelSpotOrder) String

func (m *EventCancelSpotOrder) String() string

func (*EventCancelSpotOrder) Unmarshal

func (m *EventCancelSpotOrder) Unmarshal(dAtA []byte) error

func (*EventCancelSpotOrder) XXX_DiscardUnknown

func (m *EventCancelSpotOrder) XXX_DiscardUnknown()

func (*EventCancelSpotOrder) XXX_Marshal

func (m *EventCancelSpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventCancelSpotOrder) XXX_Merge

func (m *EventCancelSpotOrder) XXX_Merge(src proto.Message)

func (*EventCancelSpotOrder) XXX_Size

func (m *EventCancelSpotOrder) XXX_Size() int

func (*EventCancelSpotOrder) XXX_Unmarshal

func (m *EventCancelSpotOrder) XXX_Unmarshal(b []byte) error

type EventConditionalDerivativeOrderTrigger added in v1.40.8

type EventConditionalDerivativeOrderTrigger struct {
	MarketId           []byte `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsLimitTrigger     bool   `protobuf:"varint,2,opt,name=isLimitTrigger,proto3" json:"isLimitTrigger,omitempty"`
	TriggeredOrderHash []byte `protobuf:"bytes,3,opt,name=triggered_order_hash,json=triggeredOrderHash,proto3" json:"triggered_order_hash,omitempty"`
	PlacedOrderHash    []byte `protobuf:"bytes,4,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"`
}

func (*EventConditionalDerivativeOrderTrigger) Descriptor added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) Descriptor() ([]byte, []int)

func (*EventConditionalDerivativeOrderTrigger) GetIsLimitTrigger added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) GetIsLimitTrigger() bool

func (*EventConditionalDerivativeOrderTrigger) GetMarketId added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) GetMarketId() []byte

func (*EventConditionalDerivativeOrderTrigger) GetPlacedOrderHash added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) GetPlacedOrderHash() []byte

func (*EventConditionalDerivativeOrderTrigger) GetTriggeredOrderHash added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) GetTriggeredOrderHash() []byte

func (*EventConditionalDerivativeOrderTrigger) Marshal added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) Marshal() (dAtA []byte, err error)

func (*EventConditionalDerivativeOrderTrigger) MarshalTo added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) MarshalTo(dAtA []byte) (int, error)

func (*EventConditionalDerivativeOrderTrigger) MarshalToSizedBuffer added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventConditionalDerivativeOrderTrigger) ProtoMessage added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) Reset added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) Size added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) String added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) Unmarshal added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) Unmarshal(dAtA []byte) error

func (*EventConditionalDerivativeOrderTrigger) XXX_DiscardUnknown added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) XXX_DiscardUnknown()

func (*EventConditionalDerivativeOrderTrigger) XXX_Marshal added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventConditionalDerivativeOrderTrigger) XXX_Merge added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) XXX_Size added in v1.40.8

func (*EventConditionalDerivativeOrderTrigger) XXX_Unmarshal added in v1.40.8

func (m *EventConditionalDerivativeOrderTrigger) XXX_Unmarshal(b []byte) error

type EventDerivativeMarketPaused

type EventDerivativeMarketPaused struct {
	MarketId          string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SettlePrice       string `protobuf:"bytes,2,opt,name=settle_price,json=settlePrice,proto3" json:"settle_price,omitempty"`
	TotalMissingFunds string `protobuf:"bytes,3,opt,name=total_missing_funds,json=totalMissingFunds,proto3" json:"total_missing_funds,omitempty"`
	MissingFundsRate  string `protobuf:"bytes,4,opt,name=missing_funds_rate,json=missingFundsRate,proto3" json:"missing_funds_rate,omitempty"`
}

func (*EventDerivativeMarketPaused) Descriptor

func (*EventDerivativeMarketPaused) Descriptor() ([]byte, []int)

func (*EventDerivativeMarketPaused) GetMarketId

func (m *EventDerivativeMarketPaused) GetMarketId() string

func (*EventDerivativeMarketPaused) GetMissingFundsRate

func (m *EventDerivativeMarketPaused) GetMissingFundsRate() string

func (*EventDerivativeMarketPaused) GetSettlePrice

func (m *EventDerivativeMarketPaused) GetSettlePrice() string

func (*EventDerivativeMarketPaused) GetTotalMissingFunds

func (m *EventDerivativeMarketPaused) GetTotalMissingFunds() string

func (*EventDerivativeMarketPaused) Marshal

func (m *EventDerivativeMarketPaused) Marshal() (dAtA []byte, err error)

func (*EventDerivativeMarketPaused) MarshalTo

func (m *EventDerivativeMarketPaused) MarshalTo(dAtA []byte) (int, error)

func (*EventDerivativeMarketPaused) MarshalToSizedBuffer

func (m *EventDerivativeMarketPaused) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDerivativeMarketPaused) ProtoMessage

func (*EventDerivativeMarketPaused) ProtoMessage()

func (*EventDerivativeMarketPaused) Reset

func (m *EventDerivativeMarketPaused) Reset()

func (*EventDerivativeMarketPaused) Size

func (m *EventDerivativeMarketPaused) Size() (n int)

func (*EventDerivativeMarketPaused) String

func (m *EventDerivativeMarketPaused) String() string

func (*EventDerivativeMarketPaused) Unmarshal

func (m *EventDerivativeMarketPaused) Unmarshal(dAtA []byte) error

func (*EventDerivativeMarketPaused) XXX_DiscardUnknown

func (m *EventDerivativeMarketPaused) XXX_DiscardUnknown()

func (*EventDerivativeMarketPaused) XXX_Marshal

func (m *EventDerivativeMarketPaused) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDerivativeMarketPaused) XXX_Merge

func (m *EventDerivativeMarketPaused) XXX_Merge(src proto.Message)

func (*EventDerivativeMarketPaused) XXX_Size

func (m *EventDerivativeMarketPaused) XXX_Size() int

func (*EventDerivativeMarketPaused) XXX_Unmarshal

func (m *EventDerivativeMarketPaused) XXX_Unmarshal(b []byte) error

type EventExpiryFuturesMarketUpdate

type EventExpiryFuturesMarketUpdate struct {
	Market                  DerivativeMarket         `protobuf:"bytes,1,opt,name=market,proto3" json:"market"`
	ExpiryFuturesMarketInfo *ExpiryFuturesMarketInfo `` /* 134-byte string literal not displayed */
}

func (*EventExpiryFuturesMarketUpdate) Descriptor

func (*EventExpiryFuturesMarketUpdate) Descriptor() ([]byte, []int)

func (*EventExpiryFuturesMarketUpdate) GetExpiryFuturesMarketInfo

func (m *EventExpiryFuturesMarketUpdate) GetExpiryFuturesMarketInfo() *ExpiryFuturesMarketInfo

func (*EventExpiryFuturesMarketUpdate) GetMarket

func (*EventExpiryFuturesMarketUpdate) Marshal

func (m *EventExpiryFuturesMarketUpdate) Marshal() (dAtA []byte, err error)

func (*EventExpiryFuturesMarketUpdate) MarshalTo

func (m *EventExpiryFuturesMarketUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventExpiryFuturesMarketUpdate) MarshalToSizedBuffer

func (m *EventExpiryFuturesMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventExpiryFuturesMarketUpdate) ProtoMessage

func (*EventExpiryFuturesMarketUpdate) ProtoMessage()

func (*EventExpiryFuturesMarketUpdate) Reset

func (m *EventExpiryFuturesMarketUpdate) Reset()

func (*EventExpiryFuturesMarketUpdate) Size

func (m *EventExpiryFuturesMarketUpdate) Size() (n int)

func (*EventExpiryFuturesMarketUpdate) String

func (*EventExpiryFuturesMarketUpdate) Unmarshal

func (m *EventExpiryFuturesMarketUpdate) Unmarshal(dAtA []byte) error

func (*EventExpiryFuturesMarketUpdate) XXX_DiscardUnknown

func (m *EventExpiryFuturesMarketUpdate) XXX_DiscardUnknown()

func (*EventExpiryFuturesMarketUpdate) XXX_Marshal

func (m *EventExpiryFuturesMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventExpiryFuturesMarketUpdate) XXX_Merge

func (m *EventExpiryFuturesMarketUpdate) XXX_Merge(src proto.Message)

func (*EventExpiryFuturesMarketUpdate) XXX_Size

func (m *EventExpiryFuturesMarketUpdate) XXX_Size() int

func (*EventExpiryFuturesMarketUpdate) XXX_Unmarshal

func (m *EventExpiryFuturesMarketUpdate) XXX_Unmarshal(b []byte) error

type EventFeeDiscountSchedule added in v1.27.1

type EventFeeDiscountSchedule struct {
	Schedule *FeeDiscountSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
}

func (*EventFeeDiscountSchedule) Descriptor added in v1.27.1

func (*EventFeeDiscountSchedule) Descriptor() ([]byte, []int)

func (*EventFeeDiscountSchedule) GetSchedule added in v1.27.1

func (*EventFeeDiscountSchedule) Marshal added in v1.27.1

func (m *EventFeeDiscountSchedule) Marshal() (dAtA []byte, err error)

func (*EventFeeDiscountSchedule) MarshalTo added in v1.27.1

func (m *EventFeeDiscountSchedule) MarshalTo(dAtA []byte) (int, error)

func (*EventFeeDiscountSchedule) MarshalToSizedBuffer added in v1.27.1

func (m *EventFeeDiscountSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventFeeDiscountSchedule) ProtoMessage added in v1.27.1

func (*EventFeeDiscountSchedule) ProtoMessage()

func (*EventFeeDiscountSchedule) Reset added in v1.27.1

func (m *EventFeeDiscountSchedule) Reset()

func (*EventFeeDiscountSchedule) Size added in v1.27.1

func (m *EventFeeDiscountSchedule) Size() (n int)

func (*EventFeeDiscountSchedule) String added in v1.27.1

func (m *EventFeeDiscountSchedule) String() string

func (*EventFeeDiscountSchedule) Unmarshal added in v1.27.1

func (m *EventFeeDiscountSchedule) Unmarshal(dAtA []byte) error

func (*EventFeeDiscountSchedule) XXX_DiscardUnknown added in v1.27.1

func (m *EventFeeDiscountSchedule) XXX_DiscardUnknown()

func (*EventFeeDiscountSchedule) XXX_Marshal added in v1.27.1

func (m *EventFeeDiscountSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventFeeDiscountSchedule) XXX_Merge added in v1.27.1

func (m *EventFeeDiscountSchedule) XXX_Merge(src proto.Message)

func (*EventFeeDiscountSchedule) XXX_Size added in v1.27.1

func (m *EventFeeDiscountSchedule) XXX_Size() int

func (*EventFeeDiscountSchedule) XXX_Unmarshal added in v1.27.1

func (m *EventFeeDiscountSchedule) XXX_Unmarshal(b []byte) error

type EventLostFundsFromLiquidation added in v1.28.3

type EventLostFundsFromLiquidation struct {
	MarketId                           string                                 `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SubaccountId                       []byte                                 `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	LostFundsFromAvailableDuringPayout github_com_cosmos_cosmos_sdk_types.Dec `` /* 211-byte string literal not displayed */
	LostFundsFromOrderCancels          github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */
}

func (*EventLostFundsFromLiquidation) Descriptor added in v1.28.3

func (*EventLostFundsFromLiquidation) Descriptor() ([]byte, []int)

func (*EventLostFundsFromLiquidation) GetMarketId added in v1.28.3

func (m *EventLostFundsFromLiquidation) GetMarketId() string

func (*EventLostFundsFromLiquidation) GetSubaccountId added in v1.28.3

func (m *EventLostFundsFromLiquidation) GetSubaccountId() []byte

func (*EventLostFundsFromLiquidation) Marshal added in v1.28.3

func (m *EventLostFundsFromLiquidation) Marshal() (dAtA []byte, err error)

func (*EventLostFundsFromLiquidation) MarshalTo added in v1.28.3

func (m *EventLostFundsFromLiquidation) MarshalTo(dAtA []byte) (int, error)

func (*EventLostFundsFromLiquidation) MarshalToSizedBuffer added in v1.28.3

func (m *EventLostFundsFromLiquidation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventLostFundsFromLiquidation) ProtoMessage added in v1.28.3

func (*EventLostFundsFromLiquidation) ProtoMessage()

func (*EventLostFundsFromLiquidation) Reset added in v1.28.3

func (m *EventLostFundsFromLiquidation) Reset()

func (*EventLostFundsFromLiquidation) Size added in v1.28.3

func (m *EventLostFundsFromLiquidation) Size() (n int)

func (*EventLostFundsFromLiquidation) String added in v1.28.3

func (*EventLostFundsFromLiquidation) Unmarshal added in v1.28.3

func (m *EventLostFundsFromLiquidation) Unmarshal(dAtA []byte) error

func (*EventLostFundsFromLiquidation) XXX_DiscardUnknown added in v1.28.3

func (m *EventLostFundsFromLiquidation) XXX_DiscardUnknown()

func (*EventLostFundsFromLiquidation) XXX_Marshal added in v1.28.3

func (m *EventLostFundsFromLiquidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventLostFundsFromLiquidation) XXX_Merge added in v1.28.3

func (m *EventLostFundsFromLiquidation) XXX_Merge(src proto.Message)

func (*EventLostFundsFromLiquidation) XXX_Size added in v1.28.3

func (m *EventLostFundsFromLiquidation) XXX_Size() int

func (*EventLostFundsFromLiquidation) XXX_Unmarshal added in v1.28.3

func (m *EventLostFundsFromLiquidation) XXX_Unmarshal(b []byte) error

type EventMarketBeyondBankruptcy added in v1.45.6

type EventMarketBeyondBankruptcy struct {
	MarketId           string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SettlePrice        string `protobuf:"bytes,2,opt,name=settle_price,json=settlePrice,proto3" json:"settle_price,omitempty"`
	MissingMarketFunds string `protobuf:"bytes,3,opt,name=missing_market_funds,json=missingMarketFunds,proto3" json:"missing_market_funds,omitempty"`
}

func (*EventMarketBeyondBankruptcy) Descriptor added in v1.45.6

func (*EventMarketBeyondBankruptcy) Descriptor() ([]byte, []int)

func (*EventMarketBeyondBankruptcy) GetMarketId added in v1.45.6

func (m *EventMarketBeyondBankruptcy) GetMarketId() string

func (*EventMarketBeyondBankruptcy) GetMissingMarketFunds added in v1.45.6

func (m *EventMarketBeyondBankruptcy) GetMissingMarketFunds() string

func (*EventMarketBeyondBankruptcy) GetSettlePrice added in v1.45.6

func (m *EventMarketBeyondBankruptcy) GetSettlePrice() string

func (*EventMarketBeyondBankruptcy) Marshal added in v1.45.6

func (m *EventMarketBeyondBankruptcy) Marshal() (dAtA []byte, err error)

func (*EventMarketBeyondBankruptcy) MarshalTo added in v1.45.6

func (m *EventMarketBeyondBankruptcy) MarshalTo(dAtA []byte) (int, error)

func (*EventMarketBeyondBankruptcy) MarshalToSizedBuffer added in v1.45.6

func (m *EventMarketBeyondBankruptcy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarketBeyondBankruptcy) ProtoMessage added in v1.45.6

func (*EventMarketBeyondBankruptcy) ProtoMessage()

func (*EventMarketBeyondBankruptcy) Reset added in v1.45.6

func (m *EventMarketBeyondBankruptcy) Reset()

func (*EventMarketBeyondBankruptcy) Size added in v1.45.6

func (m *EventMarketBeyondBankruptcy) Size() (n int)

func (*EventMarketBeyondBankruptcy) String added in v1.45.6

func (m *EventMarketBeyondBankruptcy) String() string

func (*EventMarketBeyondBankruptcy) Unmarshal added in v1.45.6

func (m *EventMarketBeyondBankruptcy) Unmarshal(dAtA []byte) error

func (*EventMarketBeyondBankruptcy) XXX_DiscardUnknown added in v1.45.6

func (m *EventMarketBeyondBankruptcy) XXX_DiscardUnknown()

func (*EventMarketBeyondBankruptcy) XXX_Marshal added in v1.45.6

func (m *EventMarketBeyondBankruptcy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarketBeyondBankruptcy) XXX_Merge added in v1.45.6

func (m *EventMarketBeyondBankruptcy) XXX_Merge(src proto.Message)

func (*EventMarketBeyondBankruptcy) XXX_Size added in v1.45.6

func (m *EventMarketBeyondBankruptcy) XXX_Size() int

func (*EventMarketBeyondBankruptcy) XXX_Unmarshal added in v1.45.6

func (m *EventMarketBeyondBankruptcy) XXX_Unmarshal(b []byte) error

type EventNewConditionalDerivativeOrder added in v1.40.8

type EventNewConditionalDerivativeOrder struct {
	MarketId string           `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Order    *DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"`
	Hash     []byte           `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	IsMarket bool             `protobuf:"varint,4,opt,name=is_market,json=isMarket,proto3" json:"is_market,omitempty"`
}

func (*EventNewConditionalDerivativeOrder) Descriptor added in v1.40.8

func (*EventNewConditionalDerivativeOrder) Descriptor() ([]byte, []int)

func (*EventNewConditionalDerivativeOrder) GetHash added in v1.40.8

func (*EventNewConditionalDerivativeOrder) GetIsMarket added in v1.42.3

func (m *EventNewConditionalDerivativeOrder) GetIsMarket() bool

func (*EventNewConditionalDerivativeOrder) GetMarketId added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) GetMarketId() string

func (*EventNewConditionalDerivativeOrder) GetOrder added in v1.40.8

func (*EventNewConditionalDerivativeOrder) Marshal added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) Marshal() (dAtA []byte, err error)

func (*EventNewConditionalDerivativeOrder) MarshalTo added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) MarshalTo(dAtA []byte) (int, error)

func (*EventNewConditionalDerivativeOrder) MarshalToSizedBuffer added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventNewConditionalDerivativeOrder) ProtoMessage added in v1.40.8

func (*EventNewConditionalDerivativeOrder) ProtoMessage()

func (*EventNewConditionalDerivativeOrder) Reset added in v1.40.8

func (*EventNewConditionalDerivativeOrder) Size added in v1.40.8

func (*EventNewConditionalDerivativeOrder) String added in v1.40.8

func (*EventNewConditionalDerivativeOrder) Unmarshal added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) Unmarshal(dAtA []byte) error

func (*EventNewConditionalDerivativeOrder) XXX_DiscardUnknown added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) XXX_DiscardUnknown()

func (*EventNewConditionalDerivativeOrder) XXX_Marshal added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventNewConditionalDerivativeOrder) XXX_Merge added in v1.40.8

func (*EventNewConditionalDerivativeOrder) XXX_Size added in v1.40.8

func (*EventNewConditionalDerivativeOrder) XXX_Unmarshal added in v1.40.8

func (m *EventNewConditionalDerivativeOrder) XXX_Unmarshal(b []byte) error

type EventNewDerivativeOrders

type EventNewDerivativeOrders struct {
	MarketId   string                  `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	BuyOrders  []*DerivativeLimitOrder `protobuf:"bytes,2,rep,name=buy_orders,json=buyOrders,proto3" json:"buy_orders,omitempty"`
	SellOrders []*DerivativeLimitOrder `protobuf:"bytes,3,rep,name=sell_orders,json=sellOrders,proto3" json:"sell_orders,omitempty"`
}

func (*EventNewDerivativeOrders) Descriptor

func (*EventNewDerivativeOrders) Descriptor() ([]byte, []int)

func (*EventNewDerivativeOrders) GetBuyOrders

func (m *EventNewDerivativeOrders) GetBuyOrders() []*DerivativeLimitOrder

func (*EventNewDerivativeOrders) GetMarketId

func (m *EventNewDerivativeOrders) GetMarketId() string

func (*EventNewDerivativeOrders) GetSellOrders

func (m *EventNewDerivativeOrders) GetSellOrders() []*DerivativeLimitOrder

func (*EventNewDerivativeOrders) Marshal

func (m *EventNewDerivativeOrders) Marshal() (dAtA []byte, err error)

func (*EventNewDerivativeOrders) MarshalTo

func (m *EventNewDerivativeOrders) MarshalTo(dAtA []byte) (int, error)

func (*EventNewDerivativeOrders) MarshalToSizedBuffer

func (m *EventNewDerivativeOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventNewDerivativeOrders) ProtoMessage

func (*EventNewDerivativeOrders) ProtoMessage()

func (*EventNewDerivativeOrders) Reset

func (m *EventNewDerivativeOrders) Reset()

func (*EventNewDerivativeOrders) Size

func (m *EventNewDerivativeOrders) Size() (n int)

func (*EventNewDerivativeOrders) String

func (m *EventNewDerivativeOrders) String() string

func (*EventNewDerivativeOrders) Unmarshal

func (m *EventNewDerivativeOrders) Unmarshal(dAtA []byte) error

func (*EventNewDerivativeOrders) XXX_DiscardUnknown

func (m *EventNewDerivativeOrders) XXX_DiscardUnknown()

func (*EventNewDerivativeOrders) XXX_Marshal

func (m *EventNewDerivativeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventNewDerivativeOrders) XXX_Merge

func (m *EventNewDerivativeOrders) XXX_Merge(src proto.Message)

func (*EventNewDerivativeOrders) XXX_Size

func (m *EventNewDerivativeOrders) XXX_Size() int

func (*EventNewDerivativeOrders) XXX_Unmarshal

func (m *EventNewDerivativeOrders) XXX_Unmarshal(b []byte) error

type EventNewSpotOrders

type EventNewSpotOrders struct {
	MarketId   string            `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	BuyOrders  []*SpotLimitOrder `protobuf:"bytes,2,rep,name=buy_orders,json=buyOrders,proto3" json:"buy_orders,omitempty"`
	SellOrders []*SpotLimitOrder `protobuf:"bytes,3,rep,name=sell_orders,json=sellOrders,proto3" json:"sell_orders,omitempty"`
}

func (*EventNewSpotOrders) Descriptor

func (*EventNewSpotOrders) Descriptor() ([]byte, []int)

func (*EventNewSpotOrders) GetBuyOrders

func (m *EventNewSpotOrders) GetBuyOrders() []*SpotLimitOrder

func (*EventNewSpotOrders) GetMarketId

func (m *EventNewSpotOrders) GetMarketId() string

func (*EventNewSpotOrders) GetSellOrders

func (m *EventNewSpotOrders) GetSellOrders() []*SpotLimitOrder

func (*EventNewSpotOrders) Marshal

func (m *EventNewSpotOrders) Marshal() (dAtA []byte, err error)

func (*EventNewSpotOrders) MarshalTo

func (m *EventNewSpotOrders) MarshalTo(dAtA []byte) (int, error)

func (*EventNewSpotOrders) MarshalToSizedBuffer

func (m *EventNewSpotOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventNewSpotOrders) ProtoMessage

func (*EventNewSpotOrders) ProtoMessage()

func (*EventNewSpotOrders) Reset

func (m *EventNewSpotOrders) Reset()

func (*EventNewSpotOrders) Size

func (m *EventNewSpotOrders) Size() (n int)

func (*EventNewSpotOrders) String

func (m *EventNewSpotOrders) String() string

func (*EventNewSpotOrders) Unmarshal

func (m *EventNewSpotOrders) Unmarshal(dAtA []byte) error

func (*EventNewSpotOrders) XXX_DiscardUnknown

func (m *EventNewSpotOrders) XXX_DiscardUnknown()

func (*EventNewSpotOrders) XXX_Marshal

func (m *EventNewSpotOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventNewSpotOrders) XXX_Merge

func (m *EventNewSpotOrders) XXX_Merge(src proto.Message)

func (*EventNewSpotOrders) XXX_Size

func (m *EventNewSpotOrders) XXX_Size() int

func (*EventNewSpotOrders) XXX_Unmarshal

func (m *EventNewSpotOrders) XXX_Unmarshal(b []byte) error

type EventOrderFail added in v1.42.0

type EventOrderFail struct {
	Account []byte   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Hashes  [][]byte `protobuf:"bytes,2,rep,name=hashes,proto3" json:"hashes,omitempty"`
	Flags   []uint32 `protobuf:"varint,3,rep,packed,name=flags,proto3" json:"flags,omitempty"`
}

func (*EventOrderFail) AddOrderFail added in v1.42.0

func (e *EventOrderFail) AddOrderFail(orderHash common.Hash, flag uint32)

func (*EventOrderFail) Descriptor added in v1.42.0

func (*EventOrderFail) Descriptor() ([]byte, []int)

func (*EventOrderFail) GetAccount added in v1.42.0

func (m *EventOrderFail) GetAccount() []byte

func (*EventOrderFail) GetFlags added in v1.42.0

func (m *EventOrderFail) GetFlags() []uint32

func (*EventOrderFail) GetHashes added in v1.42.0

func (m *EventOrderFail) GetHashes() [][]byte

func (*EventOrderFail) IsEmpty added in v1.42.0

func (e *EventOrderFail) IsEmpty() bool

func (*EventOrderFail) Marshal added in v1.42.0

func (m *EventOrderFail) Marshal() (dAtA []byte, err error)

func (*EventOrderFail) MarshalTo added in v1.42.0

func (m *EventOrderFail) MarshalTo(dAtA []byte) (int, error)

func (*EventOrderFail) MarshalToSizedBuffer added in v1.42.0

func (m *EventOrderFail) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventOrderFail) ProtoMessage added in v1.42.0

func (*EventOrderFail) ProtoMessage()

func (*EventOrderFail) Reset added in v1.42.0

func (m *EventOrderFail) Reset()

func (*EventOrderFail) Size added in v1.42.0

func (m *EventOrderFail) Size() (n int)

func (*EventOrderFail) String added in v1.42.0

func (m *EventOrderFail) String() string

func (*EventOrderFail) Unmarshal added in v1.42.0

func (m *EventOrderFail) Unmarshal(dAtA []byte) error

func (*EventOrderFail) XXX_DiscardUnknown added in v1.42.0

func (m *EventOrderFail) XXX_DiscardUnknown()

func (*EventOrderFail) XXX_Marshal added in v1.42.0

func (m *EventOrderFail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventOrderFail) XXX_Merge added in v1.42.0

func (m *EventOrderFail) XXX_Merge(src proto.Message)

func (*EventOrderFail) XXX_Size added in v1.42.0

func (m *EventOrderFail) XXX_Size() int

func (*EventOrderFail) XXX_Unmarshal added in v1.42.0

func (m *EventOrderFail) XXX_Unmarshal(b []byte) error

type EventOrderbookUpdate added in v1.42.6

type EventOrderbookUpdate struct {
	SpotUpdates       []*OrderbookUpdate `protobuf:"bytes,1,rep,name=spot_updates,json=spotUpdates,proto3" json:"spot_updates,omitempty"`
	DerivativeUpdates []*OrderbookUpdate `protobuf:"bytes,2,rep,name=derivative_updates,json=derivativeUpdates,proto3" json:"derivative_updates,omitempty"`
}

func (*EventOrderbookUpdate) Descriptor added in v1.42.6

func (*EventOrderbookUpdate) Descriptor() ([]byte, []int)

func (*EventOrderbookUpdate) GetDerivativeUpdates added in v1.43.1

func (m *EventOrderbookUpdate) GetDerivativeUpdates() []*OrderbookUpdate

func (*EventOrderbookUpdate) GetSpotUpdates added in v1.43.1

func (m *EventOrderbookUpdate) GetSpotUpdates() []*OrderbookUpdate

func (*EventOrderbookUpdate) Marshal added in v1.42.6

func (m *EventOrderbookUpdate) Marshal() (dAtA []byte, err error)

func (*EventOrderbookUpdate) MarshalTo added in v1.42.6

func (m *EventOrderbookUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventOrderbookUpdate) MarshalToSizedBuffer added in v1.42.6

func (m *EventOrderbookUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventOrderbookUpdate) ProtoMessage added in v1.42.6

func (*EventOrderbookUpdate) ProtoMessage()

func (*EventOrderbookUpdate) Reset added in v1.42.6

func (m *EventOrderbookUpdate) Reset()

func (*EventOrderbookUpdate) Size added in v1.42.6

func (m *EventOrderbookUpdate) Size() (n int)

func (*EventOrderbookUpdate) String added in v1.42.6

func (m *EventOrderbookUpdate) String() string

func (*EventOrderbookUpdate) Unmarshal added in v1.42.6

func (m *EventOrderbookUpdate) Unmarshal(dAtA []byte) error

func (*EventOrderbookUpdate) XXX_DiscardUnknown added in v1.42.6

func (m *EventOrderbookUpdate) XXX_DiscardUnknown()

func (*EventOrderbookUpdate) XXX_Marshal added in v1.42.6

func (m *EventOrderbookUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventOrderbookUpdate) XXX_Merge added in v1.42.6

func (m *EventOrderbookUpdate) XXX_Merge(src proto.Message)

func (*EventOrderbookUpdate) XXX_Size added in v1.42.6

func (m *EventOrderbookUpdate) XXX_Size() int

func (*EventOrderbookUpdate) XXX_Unmarshal added in v1.42.6

func (m *EventOrderbookUpdate) XXX_Unmarshal(b []byte) error

type EventPerpetualMarketFundingUpdate

type EventPerpetualMarketFundingUpdate struct {
	MarketId        string                                  `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Funding         PerpetualMarketFunding                  `protobuf:"bytes,2,opt,name=funding,proto3" json:"funding"`
	IsHourlyFunding bool                                    `protobuf:"varint,3,opt,name=is_hourly_funding,json=isHourlyFunding,proto3" json:"is_hourly_funding,omitempty"`
	FundingRate     *github_com_cosmos_cosmos_sdk_types.Dec `` /* 144-byte string literal not displayed */
	MarkPrice       *github_com_cosmos_cosmos_sdk_types.Dec `` /* 138-byte string literal not displayed */
}

func (*EventPerpetualMarketFundingUpdate) Descriptor

func (*EventPerpetualMarketFundingUpdate) Descriptor() ([]byte, []int)

func (*EventPerpetualMarketFundingUpdate) GetFunding

func (*EventPerpetualMarketFundingUpdate) GetIsHourlyFunding

func (m *EventPerpetualMarketFundingUpdate) GetIsHourlyFunding() bool

func (*EventPerpetualMarketFundingUpdate) GetMarketId

func (m *EventPerpetualMarketFundingUpdate) GetMarketId() string

func (*EventPerpetualMarketFundingUpdate) Marshal

func (m *EventPerpetualMarketFundingUpdate) Marshal() (dAtA []byte, err error)

func (*EventPerpetualMarketFundingUpdate) MarshalTo

func (m *EventPerpetualMarketFundingUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventPerpetualMarketFundingUpdate) MarshalToSizedBuffer

func (m *EventPerpetualMarketFundingUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPerpetualMarketFundingUpdate) ProtoMessage

func (*EventPerpetualMarketFundingUpdate) ProtoMessage()

func (*EventPerpetualMarketFundingUpdate) Reset

func (*EventPerpetualMarketFundingUpdate) Size

func (m *EventPerpetualMarketFundingUpdate) Size() (n int)

func (*EventPerpetualMarketFundingUpdate) String

func (*EventPerpetualMarketFundingUpdate) Unmarshal

func (m *EventPerpetualMarketFundingUpdate) Unmarshal(dAtA []byte) error

func (*EventPerpetualMarketFundingUpdate) XXX_DiscardUnknown

func (m *EventPerpetualMarketFundingUpdate) XXX_DiscardUnknown()

func (*EventPerpetualMarketFundingUpdate) XXX_Marshal

func (m *EventPerpetualMarketFundingUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPerpetualMarketFundingUpdate) XXX_Merge

func (*EventPerpetualMarketFundingUpdate) XXX_Size

func (m *EventPerpetualMarketFundingUpdate) XXX_Size() int

func (*EventPerpetualMarketFundingUpdate) XXX_Unmarshal

func (m *EventPerpetualMarketFundingUpdate) XXX_Unmarshal(b []byte) error

type EventPerpetualMarketUpdate

type EventPerpetualMarketUpdate struct {
	Market              DerivativeMarket        `protobuf:"bytes,1,opt,name=market,proto3" json:"market"`
	PerpetualMarketInfo *PerpetualMarketInfo    `protobuf:"bytes,2,opt,name=perpetual_market_info,json=perpetualMarketInfo,proto3" json:"perpetual_market_info,omitempty"`
	Funding             *PerpetualMarketFunding `protobuf:"bytes,3,opt,name=funding,proto3" json:"funding,omitempty"`
}

func (*EventPerpetualMarketUpdate) Descriptor

func (*EventPerpetualMarketUpdate) Descriptor() ([]byte, []int)

func (*EventPerpetualMarketUpdate) GetFunding

func (*EventPerpetualMarketUpdate) GetMarket

func (*EventPerpetualMarketUpdate) GetPerpetualMarketInfo

func (m *EventPerpetualMarketUpdate) GetPerpetualMarketInfo() *PerpetualMarketInfo

func (*EventPerpetualMarketUpdate) Marshal

func (m *EventPerpetualMarketUpdate) Marshal() (dAtA []byte, err error)

func (*EventPerpetualMarketUpdate) MarshalTo

func (m *EventPerpetualMarketUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventPerpetualMarketUpdate) MarshalToSizedBuffer

func (m *EventPerpetualMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventPerpetualMarketUpdate) ProtoMessage

func (*EventPerpetualMarketUpdate) ProtoMessage()

func (*EventPerpetualMarketUpdate) Reset

func (m *EventPerpetualMarketUpdate) Reset()

func (*EventPerpetualMarketUpdate) Size

func (m *EventPerpetualMarketUpdate) Size() (n int)

func (*EventPerpetualMarketUpdate) String

func (m *EventPerpetualMarketUpdate) String() string

func (*EventPerpetualMarketUpdate) Unmarshal

func (m *EventPerpetualMarketUpdate) Unmarshal(dAtA []byte) error

func (*EventPerpetualMarketUpdate) XXX_DiscardUnknown

func (m *EventPerpetualMarketUpdate) XXX_DiscardUnknown()

func (*EventPerpetualMarketUpdate) XXX_Marshal

func (m *EventPerpetualMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventPerpetualMarketUpdate) XXX_Merge

func (m *EventPerpetualMarketUpdate) XXX_Merge(src proto.Message)

func (*EventPerpetualMarketUpdate) XXX_Size

func (m *EventPerpetualMarketUpdate) XXX_Size() int

func (*EventPerpetualMarketUpdate) XXX_Unmarshal

func (m *EventPerpetualMarketUpdate) XXX_Unmarshal(b []byte) error

type EventSpotMarketUpdate

type EventSpotMarketUpdate struct {
	Market SpotMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market"`
}

func (*EventSpotMarketUpdate) Descriptor

func (*EventSpotMarketUpdate) Descriptor() ([]byte, []int)

func (*EventSpotMarketUpdate) GetMarket

func (m *EventSpotMarketUpdate) GetMarket() SpotMarket

func (*EventSpotMarketUpdate) Marshal

func (m *EventSpotMarketUpdate) Marshal() (dAtA []byte, err error)

func (*EventSpotMarketUpdate) MarshalTo

func (m *EventSpotMarketUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventSpotMarketUpdate) MarshalToSizedBuffer

func (m *EventSpotMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSpotMarketUpdate) ProtoMessage

func (*EventSpotMarketUpdate) ProtoMessage()

func (*EventSpotMarketUpdate) Reset

func (m *EventSpotMarketUpdate) Reset()

func (*EventSpotMarketUpdate) Size

func (m *EventSpotMarketUpdate) Size() (n int)

func (*EventSpotMarketUpdate) String

func (m *EventSpotMarketUpdate) String() string

func (*EventSpotMarketUpdate) Unmarshal

func (m *EventSpotMarketUpdate) Unmarshal(dAtA []byte) error

func (*EventSpotMarketUpdate) XXX_DiscardUnknown

func (m *EventSpotMarketUpdate) XXX_DiscardUnknown()

func (*EventSpotMarketUpdate) XXX_Marshal

func (m *EventSpotMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSpotMarketUpdate) XXX_Merge

func (m *EventSpotMarketUpdate) XXX_Merge(src proto.Message)

func (*EventSpotMarketUpdate) XXX_Size

func (m *EventSpotMarketUpdate) XXX_Size() int

func (*EventSpotMarketUpdate) XXX_Unmarshal

func (m *EventSpotMarketUpdate) XXX_Unmarshal(b []byte) error

type EventSubaccountBalanceTransfer

type EventSubaccountBalanceTransfer struct {
	SrcSubaccountId string     `protobuf:"bytes,1,opt,name=src_subaccount_id,json=srcSubaccountId,proto3" json:"src_subaccount_id,omitempty"`
	DstSubaccountId string     `protobuf:"bytes,2,opt,name=dst_subaccount_id,json=dstSubaccountId,proto3" json:"dst_subaccount_id,omitempty"`
	Amount          types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func (*EventSubaccountBalanceTransfer) Descriptor

func (*EventSubaccountBalanceTransfer) Descriptor() ([]byte, []int)

func (*EventSubaccountBalanceTransfer) GetAmount

func (m *EventSubaccountBalanceTransfer) GetAmount() types.Coin

func (*EventSubaccountBalanceTransfer) GetDstSubaccountId

func (m *EventSubaccountBalanceTransfer) GetDstSubaccountId() string

func (*EventSubaccountBalanceTransfer) GetSrcSubaccountId

func (m *EventSubaccountBalanceTransfer) GetSrcSubaccountId() string

func (*EventSubaccountBalanceTransfer) Marshal

func (m *EventSubaccountBalanceTransfer) Marshal() (dAtA []byte, err error)

func (*EventSubaccountBalanceTransfer) MarshalTo

func (m *EventSubaccountBalanceTransfer) MarshalTo(dAtA []byte) (int, error)

func (*EventSubaccountBalanceTransfer) MarshalToSizedBuffer

func (m *EventSubaccountBalanceTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSubaccountBalanceTransfer) ProtoMessage

func (*EventSubaccountBalanceTransfer) ProtoMessage()

func (*EventSubaccountBalanceTransfer) Reset

func (m *EventSubaccountBalanceTransfer) Reset()

func (*EventSubaccountBalanceTransfer) Size

func (m *EventSubaccountBalanceTransfer) Size() (n int)

func (*EventSubaccountBalanceTransfer) String

func (*EventSubaccountBalanceTransfer) Unmarshal

func (m *EventSubaccountBalanceTransfer) Unmarshal(dAtA []byte) error

func (*EventSubaccountBalanceTransfer) XXX_DiscardUnknown

func (m *EventSubaccountBalanceTransfer) XXX_DiscardUnknown()

func (*EventSubaccountBalanceTransfer) XXX_Marshal

func (m *EventSubaccountBalanceTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSubaccountBalanceTransfer) XXX_Merge

func (m *EventSubaccountBalanceTransfer) XXX_Merge(src proto.Message)

func (*EventSubaccountBalanceTransfer) XXX_Size

func (m *EventSubaccountBalanceTransfer) XXX_Size() int

func (*EventSubaccountBalanceTransfer) XXX_Unmarshal

func (m *EventSubaccountBalanceTransfer) XXX_Unmarshal(b []byte) error

type EventSubaccountDeposit

type EventSubaccountDeposit struct {
	SrcAddress   string     `protobuf:"bytes,1,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"`
	SubaccountId []byte     `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Amount       types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func (*EventSubaccountDeposit) Descriptor

func (*EventSubaccountDeposit) Descriptor() ([]byte, []int)

func (*EventSubaccountDeposit) GetAmount

func (m *EventSubaccountDeposit) GetAmount() types.Coin

func (*EventSubaccountDeposit) GetSrcAddress

func (m *EventSubaccountDeposit) GetSrcAddress() string

func (*EventSubaccountDeposit) GetSubaccountId

func (m *EventSubaccountDeposit) GetSubaccountId() []byte

func (*EventSubaccountDeposit) Marshal

func (m *EventSubaccountDeposit) Marshal() (dAtA []byte, err error)

func (*EventSubaccountDeposit) MarshalTo

func (m *EventSubaccountDeposit) MarshalTo(dAtA []byte) (int, error)

func (*EventSubaccountDeposit) MarshalToSizedBuffer

func (m *EventSubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSubaccountDeposit) ProtoMessage

func (*EventSubaccountDeposit) ProtoMessage()

func (*EventSubaccountDeposit) Reset

func (m *EventSubaccountDeposit) Reset()

func (*EventSubaccountDeposit) Size

func (m *EventSubaccountDeposit) Size() (n int)

func (*EventSubaccountDeposit) String

func (m *EventSubaccountDeposit) String() string

func (*EventSubaccountDeposit) Unmarshal

func (m *EventSubaccountDeposit) Unmarshal(dAtA []byte) error

func (*EventSubaccountDeposit) XXX_DiscardUnknown

func (m *EventSubaccountDeposit) XXX_DiscardUnknown()

func (*EventSubaccountDeposit) XXX_Marshal

func (m *EventSubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSubaccountDeposit) XXX_Merge

func (m *EventSubaccountDeposit) XXX_Merge(src proto.Message)

func (*EventSubaccountDeposit) XXX_Size

func (m *EventSubaccountDeposit) XXX_Size() int

func (*EventSubaccountDeposit) XXX_Unmarshal

func (m *EventSubaccountDeposit) XXX_Unmarshal(b []byte) error

type EventSubaccountWithdraw

type EventSubaccountWithdraw struct {
	SubaccountId []byte     `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	DstAddress   string     `protobuf:"bytes,2,opt,name=dst_address,json=dstAddress,proto3" json:"dst_address,omitempty"`
	Amount       types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

func (*EventSubaccountWithdraw) Descriptor

func (*EventSubaccountWithdraw) Descriptor() ([]byte, []int)

func (*EventSubaccountWithdraw) GetAmount

func (m *EventSubaccountWithdraw) GetAmount() types.Coin

func (*EventSubaccountWithdraw) GetDstAddress

func (m *EventSubaccountWithdraw) GetDstAddress() string

func (*EventSubaccountWithdraw) GetSubaccountId

func (m *EventSubaccountWithdraw) GetSubaccountId() []byte

func (*EventSubaccountWithdraw) Marshal

func (m *EventSubaccountWithdraw) Marshal() (dAtA []byte, err error)

func (*EventSubaccountWithdraw) MarshalTo

func (m *EventSubaccountWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*EventSubaccountWithdraw) MarshalToSizedBuffer

func (m *EventSubaccountWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSubaccountWithdraw) ProtoMessage

func (*EventSubaccountWithdraw) ProtoMessage()

func (*EventSubaccountWithdraw) Reset

func (m *EventSubaccountWithdraw) Reset()

func (*EventSubaccountWithdraw) Size

func (m *EventSubaccountWithdraw) Size() (n int)

func (*EventSubaccountWithdraw) String

func (m *EventSubaccountWithdraw) String() string

func (*EventSubaccountWithdraw) Unmarshal

func (m *EventSubaccountWithdraw) Unmarshal(dAtA []byte) error

func (*EventSubaccountWithdraw) XXX_DiscardUnknown

func (m *EventSubaccountWithdraw) XXX_DiscardUnknown()

func (*EventSubaccountWithdraw) XXX_Marshal

func (m *EventSubaccountWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSubaccountWithdraw) XXX_Merge

func (m *EventSubaccountWithdraw) XXX_Merge(src proto.Message)

func (*EventSubaccountWithdraw) XXX_Size

func (m *EventSubaccountWithdraw) XXX_Size() int

func (*EventSubaccountWithdraw) XXX_Unmarshal

func (m *EventSubaccountWithdraw) XXX_Unmarshal(b []byte) error

type EventTradingRewardCampaignUpdate added in v1.27.1

type EventTradingRewardCampaignUpdate struct {
	CampaignInfo        *TradingRewardCampaignInfo `protobuf:"bytes,1,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
	CampaignRewardPools []*CampaignRewardPool      `protobuf:"bytes,2,rep,name=campaign_reward_pools,json=campaignRewardPools,proto3" json:"campaign_reward_pools,omitempty"`
}

func (*EventTradingRewardCampaignUpdate) Descriptor added in v1.27.1

func (*EventTradingRewardCampaignUpdate) Descriptor() ([]byte, []int)

func (*EventTradingRewardCampaignUpdate) GetCampaignInfo added in v1.27.1

func (*EventTradingRewardCampaignUpdate) GetCampaignRewardPools added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) GetCampaignRewardPools() []*CampaignRewardPool

func (*EventTradingRewardCampaignUpdate) Marshal added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) Marshal() (dAtA []byte, err error)

func (*EventTradingRewardCampaignUpdate) MarshalTo added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) MarshalTo(dAtA []byte) (int, error)

func (*EventTradingRewardCampaignUpdate) MarshalToSizedBuffer added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTradingRewardCampaignUpdate) ProtoMessage added in v1.27.1

func (*EventTradingRewardCampaignUpdate) ProtoMessage()

func (*EventTradingRewardCampaignUpdate) Reset added in v1.27.1

func (*EventTradingRewardCampaignUpdate) Size added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) Size() (n int)

func (*EventTradingRewardCampaignUpdate) String added in v1.27.1

func (*EventTradingRewardCampaignUpdate) Unmarshal added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) Unmarshal(dAtA []byte) error

func (*EventTradingRewardCampaignUpdate) XXX_DiscardUnknown added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) XXX_DiscardUnknown()

func (*EventTradingRewardCampaignUpdate) XXX_Marshal added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTradingRewardCampaignUpdate) XXX_Merge added in v1.27.1

func (*EventTradingRewardCampaignUpdate) XXX_Size added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) XXX_Size() int

func (*EventTradingRewardCampaignUpdate) XXX_Unmarshal added in v1.27.1

func (m *EventTradingRewardCampaignUpdate) XXX_Unmarshal(b []byte) error

type EventTradingRewardDistribution added in v1.27.1

type EventTradingRewardDistribution struct {
	AccountRewards []*AccountRewards `protobuf:"bytes,1,rep,name=account_rewards,json=accountRewards,proto3" json:"account_rewards,omitempty"`
}

func (*EventTradingRewardDistribution) Descriptor added in v1.27.1

func (*EventTradingRewardDistribution) Descriptor() ([]byte, []int)

func (*EventTradingRewardDistribution) GetAccountRewards added in v1.27.1

func (m *EventTradingRewardDistribution) GetAccountRewards() []*AccountRewards

func (*EventTradingRewardDistribution) Marshal added in v1.27.1

func (m *EventTradingRewardDistribution) Marshal() (dAtA []byte, err error)

func (*EventTradingRewardDistribution) MarshalTo added in v1.27.1

func (m *EventTradingRewardDistribution) MarshalTo(dAtA []byte) (int, error)

func (*EventTradingRewardDistribution) MarshalToSizedBuffer added in v1.27.1

func (m *EventTradingRewardDistribution) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventTradingRewardDistribution) ProtoMessage added in v1.27.1

func (*EventTradingRewardDistribution) ProtoMessage()

func (*EventTradingRewardDistribution) Reset added in v1.27.1

func (m *EventTradingRewardDistribution) Reset()

func (*EventTradingRewardDistribution) Size added in v1.27.1

func (m *EventTradingRewardDistribution) Size() (n int)

func (*EventTradingRewardDistribution) String added in v1.27.1

func (*EventTradingRewardDistribution) Unmarshal added in v1.27.1

func (m *EventTradingRewardDistribution) Unmarshal(dAtA []byte) error

func (*EventTradingRewardDistribution) XXX_DiscardUnknown added in v1.27.1

func (m *EventTradingRewardDistribution) XXX_DiscardUnknown()

func (*EventTradingRewardDistribution) XXX_Marshal added in v1.27.1

func (m *EventTradingRewardDistribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventTradingRewardDistribution) XXX_Merge added in v1.27.1

func (m *EventTradingRewardDistribution) XXX_Merge(src proto.Message)

func (*EventTradingRewardDistribution) XXX_Size added in v1.27.1

func (m *EventTradingRewardDistribution) XXX_Size() int

func (*EventTradingRewardDistribution) XXX_Unmarshal added in v1.27.1

func (m *EventTradingRewardDistribution) XXX_Unmarshal(b []byte) error

type ExchangeEnableProposal

type ExchangeEnableProposal struct {
	Title        string       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description  string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ExchangeType ExchangeType `protobuf:"varint,3,opt,name=exchangeType,proto3,enum=injective.exchange.v1beta1.ExchangeType" json:"exchangeType,omitempty"`
}

func (*ExchangeEnableProposal) Descriptor

func (*ExchangeEnableProposal) Descriptor() ([]byte, []int)

func (*ExchangeEnableProposal) GetDescription

func (p *ExchangeEnableProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*ExchangeEnableProposal) GetTitle

func (p *ExchangeEnableProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*ExchangeEnableProposal) Marshal

func (m *ExchangeEnableProposal) Marshal() (dAtA []byte, err error)

func (*ExchangeEnableProposal) MarshalTo

func (m *ExchangeEnableProposal) MarshalTo(dAtA []byte) (int, error)

func (*ExchangeEnableProposal) MarshalToSizedBuffer

func (m *ExchangeEnableProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExchangeEnableProposal) ProposalRoute

func (p *ExchangeEnableProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*ExchangeEnableProposal) ProposalType

func (p *ExchangeEnableProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*ExchangeEnableProposal) ProtoMessage

func (*ExchangeEnableProposal) ProtoMessage()

func (*ExchangeEnableProposal) Reset

func (m *ExchangeEnableProposal) Reset()

func (*ExchangeEnableProposal) Size

func (m *ExchangeEnableProposal) Size() (n int)

func (*ExchangeEnableProposal) String

func (m *ExchangeEnableProposal) String() string

func (*ExchangeEnableProposal) Unmarshal

func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error

func (*ExchangeEnableProposal) ValidateBasic

func (p *ExchangeEnableProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*ExchangeEnableProposal) XXX_DiscardUnknown

func (m *ExchangeEnableProposal) XXX_DiscardUnknown()

func (*ExchangeEnableProposal) XXX_Marshal

func (m *ExchangeEnableProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExchangeEnableProposal) XXX_Merge

func (m *ExchangeEnableProposal) XXX_Merge(src proto.Message)

func (*ExchangeEnableProposal) XXX_Size

func (m *ExchangeEnableProposal) XXX_Size() int

func (*ExchangeEnableProposal) XXX_Unmarshal

func (m *ExchangeEnableProposal) XXX_Unmarshal(b []byte) error

type ExchangeType

type ExchangeType int32
const (
	ExchangeType_EXCHANGE_UNSPECIFIED ExchangeType = 0
	ExchangeType_SPOT                 ExchangeType = 1
	ExchangeType_DERIVATIVES          ExchangeType = 2
)

func (ExchangeType) EnumDescriptor

func (ExchangeType) EnumDescriptor() ([]byte, []int)

func (ExchangeType) String

func (x ExchangeType) String() string

type ExecutionType

type ExecutionType int32
const (
	ExecutionType_UnspecifiedExecutionType ExecutionType = 0
	ExecutionType_Market                   ExecutionType = 1
	ExecutionType_LimitFill                ExecutionType = 2
	ExecutionType_LimitMatchRestingOrder   ExecutionType = 3
	ExecutionType_LimitMatchNewOrder       ExecutionType = 4
	ExecutionType_MarketLiquidation        ExecutionType = 5
	ExecutionType_ExpiryMarketSettlement   ExecutionType = 6
)

func (ExecutionType) EnumDescriptor

func (ExecutionType) EnumDescriptor() ([]byte, []int)

func (ExecutionType) IsMaker added in v1.27.0

func (e ExecutionType) IsMaker() bool

func (ExecutionType) IsMarket

func (e ExecutionType) IsMarket() bool

func (ExecutionType) IsTaker added in v1.27.0

func (e ExecutionType) IsTaker() bool

func (ExecutionType) String

func (x ExecutionType) String() string

func (*ExecutionType) UnmarshalJSON

func (m *ExecutionType) UnmarshalJSON(data []byte) error

type ExpiryFuturesMarketInfo

type ExpiryFuturesMarketInfo struct {
	// market ID.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// expiration_timestamp defines the expiration time for a time expiry futures
	// market.
	ExpirationTimestamp int64 `protobuf:"varint,2,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
	// expiration_twap_start_timestamp defines the start time of the TWAP
	// calculation window
	TwapStartTimestamp int64 `protobuf:"varint,3,opt,name=twap_start_timestamp,json=twapStartTimestamp,proto3" json:"twap_start_timestamp,omitempty"`
	// expiration_twap_start_price_cumulative defines the cumulative price for the
	// start of the TWAP window
	ExpirationTwapStartPriceCumulative github_com_cosmos_cosmos_sdk_types.Dec `` /* 209-byte string literal not displayed */
	// settlement_price defines the settlement price for a time expiry futures
	// market.
	SettlementPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
}

func (*ExpiryFuturesMarketInfo) Descriptor

func (*ExpiryFuturesMarketInfo) Descriptor() ([]byte, []int)

func (*ExpiryFuturesMarketInfo) GetExpirationTimestamp

func (m *ExpiryFuturesMarketInfo) GetExpirationTimestamp() int64

func (*ExpiryFuturesMarketInfo) GetMarketId

func (m *ExpiryFuturesMarketInfo) GetMarketId() string

func (*ExpiryFuturesMarketInfo) GetTwapStartTimestamp

func (m *ExpiryFuturesMarketInfo) GetTwapStartTimestamp() int64

func (*ExpiryFuturesMarketInfo) IsMatured

func (m *ExpiryFuturesMarketInfo) IsMatured(currBlockTime int64) bool

func (*ExpiryFuturesMarketInfo) IsPremature

func (m *ExpiryFuturesMarketInfo) IsPremature(currBlockTime int64) bool

func (*ExpiryFuturesMarketInfo) IsStartingMaturation

func (m *ExpiryFuturesMarketInfo) IsStartingMaturation(currBlockTime int64) bool

func (*ExpiryFuturesMarketInfo) Marshal

func (m *ExpiryFuturesMarketInfo) Marshal() (dAtA []byte, err error)

func (*ExpiryFuturesMarketInfo) MarshalTo

func (m *ExpiryFuturesMarketInfo) MarshalTo(dAtA []byte) (int, error)

func (*ExpiryFuturesMarketInfo) MarshalToSizedBuffer

func (m *ExpiryFuturesMarketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExpiryFuturesMarketInfo) ProtoMessage

func (*ExpiryFuturesMarketInfo) ProtoMessage()

func (*ExpiryFuturesMarketInfo) Reset

func (m *ExpiryFuturesMarketInfo) Reset()

func (*ExpiryFuturesMarketInfo) Size

func (m *ExpiryFuturesMarketInfo) Size() (n int)

func (*ExpiryFuturesMarketInfo) String

func (m *ExpiryFuturesMarketInfo) String() string

func (*ExpiryFuturesMarketInfo) Unmarshal

func (m *ExpiryFuturesMarketInfo) Unmarshal(dAtA []byte) error

func (*ExpiryFuturesMarketInfo) XXX_DiscardUnknown

func (m *ExpiryFuturesMarketInfo) XXX_DiscardUnknown()

func (*ExpiryFuturesMarketInfo) XXX_Marshal

func (m *ExpiryFuturesMarketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExpiryFuturesMarketInfo) XXX_Merge

func (m *ExpiryFuturesMarketInfo) XXX_Merge(src proto.Message)

func (*ExpiryFuturesMarketInfo) XXX_Size

func (m *ExpiryFuturesMarketInfo) XXX_Size() int

func (*ExpiryFuturesMarketInfo) XXX_Unmarshal

func (m *ExpiryFuturesMarketInfo) XXX_Unmarshal(b []byte) error

type ExpiryFuturesMarketInfoState

type ExpiryFuturesMarketInfoState struct {
	MarketId   string                   `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	MarketInfo *ExpiryFuturesMarketInfo `protobuf:"bytes,2,opt,name=market_info,json=marketInfo,proto3" json:"market_info,omitempty"`
}

func (*ExpiryFuturesMarketInfoState) Descriptor

func (*ExpiryFuturesMarketInfoState) Descriptor() ([]byte, []int)

func (*ExpiryFuturesMarketInfoState) GetMarketId

func (m *ExpiryFuturesMarketInfoState) GetMarketId() string

func (*ExpiryFuturesMarketInfoState) GetMarketInfo

func (*ExpiryFuturesMarketInfoState) Marshal

func (m *ExpiryFuturesMarketInfoState) Marshal() (dAtA []byte, err error)

func (*ExpiryFuturesMarketInfoState) MarshalTo

func (m *ExpiryFuturesMarketInfoState) MarshalTo(dAtA []byte) (int, error)

func (*ExpiryFuturesMarketInfoState) MarshalToSizedBuffer

func (m *ExpiryFuturesMarketInfoState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExpiryFuturesMarketInfoState) ProtoMessage

func (*ExpiryFuturesMarketInfoState) ProtoMessage()

func (*ExpiryFuturesMarketInfoState) Reset

func (m *ExpiryFuturesMarketInfoState) Reset()

func (*ExpiryFuturesMarketInfoState) Size

func (m *ExpiryFuturesMarketInfoState) Size() (n int)

func (*ExpiryFuturesMarketInfoState) String

func (*ExpiryFuturesMarketInfoState) Unmarshal

func (m *ExpiryFuturesMarketInfoState) Unmarshal(dAtA []byte) error

func (*ExpiryFuturesMarketInfoState) XXX_DiscardUnknown

func (m *ExpiryFuturesMarketInfoState) XXX_DiscardUnknown()

func (*ExpiryFuturesMarketInfoState) XXX_Marshal

func (m *ExpiryFuturesMarketInfoState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExpiryFuturesMarketInfoState) XXX_Merge

func (m *ExpiryFuturesMarketInfoState) XXX_Merge(src proto.Message)

func (*ExpiryFuturesMarketInfoState) XXX_Size

func (m *ExpiryFuturesMarketInfoState) XXX_Size() int

func (*ExpiryFuturesMarketInfoState) XXX_Unmarshal

func (m *ExpiryFuturesMarketInfoState) XXX_Unmarshal(b []byte) error

type ExpiryFuturesMarketLaunchProposal

type ExpiryFuturesMarketLaunchProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Ticker for the derivative market.
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// type of coin to use as the quote currency
	QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Oracle base currency
	OracleBase string `protobuf:"bytes,5,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
	// Oracle quote currency
	OracleQuote string `protobuf:"bytes,6,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// Expiration time of the market
	Expiry int64 `protobuf:"varint,9,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// initial_margin_ratio defines the initial margin ratio for the derivative
	// market
	InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	// maintenance_margin_ratio defines the maintenance margin ratio for the
	// derivative market
	MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */
	// maker_fee_rate defines the exchange trade fee for makers for the derivative
	// market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// taker_fee_rate defines the exchange trade fee for takers for the derivative
	// market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

ExpiryFuturesMarketLaunchProposal defines a SDK message for proposing a new expiry futures market through governance

func NewExpiryFuturesMarketLaunchProposal

func NewExpiryFuturesMarketLaunchProposal(
	title, description, ticker, quoteDenom,
	oracleBase, oracleQuote string, oracleScaleFactor uint32, oracleType oracletypes.OracleType, expiry int64,
	initialMarginRatio, maintenanceMarginRatio, makerFeeRate, takerFeeRate, minPriceTickSize, minQuantityTickSize sdk.Dec,
) *ExpiryFuturesMarketLaunchProposal

NewExpiryFuturesMarketLaunchProposal returns new instance of ExpiryFuturesMarketLaunchProposal

func (*ExpiryFuturesMarketLaunchProposal) Descriptor

func (*ExpiryFuturesMarketLaunchProposal) Descriptor() ([]byte, []int)

func (*ExpiryFuturesMarketLaunchProposal) GetDescription

func (p *ExpiryFuturesMarketLaunchProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*ExpiryFuturesMarketLaunchProposal) GetTitle

GetTitle returns the title of this proposal.

func (*ExpiryFuturesMarketLaunchProposal) Marshal

func (m *ExpiryFuturesMarketLaunchProposal) Marshal() (dAtA []byte, err error)

func (*ExpiryFuturesMarketLaunchProposal) MarshalTo

func (m *ExpiryFuturesMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)

func (*ExpiryFuturesMarketLaunchProposal) MarshalToSizedBuffer

func (m *ExpiryFuturesMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExpiryFuturesMarketLaunchProposal) ProposalRoute

func (p *ExpiryFuturesMarketLaunchProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*ExpiryFuturesMarketLaunchProposal) ProposalType

func (p *ExpiryFuturesMarketLaunchProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*ExpiryFuturesMarketLaunchProposal) ProtoMessage

func (*ExpiryFuturesMarketLaunchProposal) ProtoMessage()

func (*ExpiryFuturesMarketLaunchProposal) Reset

func (*ExpiryFuturesMarketLaunchProposal) Size

func (m *ExpiryFuturesMarketLaunchProposal) Size() (n int)

func (*ExpiryFuturesMarketLaunchProposal) String

func (*ExpiryFuturesMarketLaunchProposal) Unmarshal

func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error

func (*ExpiryFuturesMarketLaunchProposal) ValidateBasic

func (p *ExpiryFuturesMarketLaunchProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of a perpetual market launch proposal.

func (*ExpiryFuturesMarketLaunchProposal) XXX_DiscardUnknown

func (m *ExpiryFuturesMarketLaunchProposal) XXX_DiscardUnknown()

func (*ExpiryFuturesMarketLaunchProposal) XXX_Marshal

func (m *ExpiryFuturesMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExpiryFuturesMarketLaunchProposal) XXX_Merge

func (*ExpiryFuturesMarketLaunchProposal) XXX_Size

func (m *ExpiryFuturesMarketLaunchProposal) XXX_Size() int

func (*ExpiryFuturesMarketLaunchProposal) XXX_Unmarshal

func (m *ExpiryFuturesMarketLaunchProposal) XXX_Unmarshal(b []byte) error

type FeeDiscountAccountTierTTL added in v1.27.0

type FeeDiscountAccountTierTTL struct {
	Account string              `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	TierTtl *FeeDiscountTierTTL `protobuf:"bytes,2,opt,name=tier_ttl,json=tierTtl,proto3" json:"tier_ttl,omitempty"`
}

func (*FeeDiscountAccountTierTTL) Descriptor added in v1.27.0

func (*FeeDiscountAccountTierTTL) Descriptor() ([]byte, []int)

func (*FeeDiscountAccountTierTTL) GetAccount added in v1.27.0

func (m *FeeDiscountAccountTierTTL) GetAccount() string

func (*FeeDiscountAccountTierTTL) GetTierTtl added in v1.27.0

func (*FeeDiscountAccountTierTTL) Marshal added in v1.27.0

func (m *FeeDiscountAccountTierTTL) Marshal() (dAtA []byte, err error)

func (*FeeDiscountAccountTierTTL) MarshalTo added in v1.27.0

func (m *FeeDiscountAccountTierTTL) MarshalTo(dAtA []byte) (int, error)

func (*FeeDiscountAccountTierTTL) MarshalToSizedBuffer added in v1.27.0

func (m *FeeDiscountAccountTierTTL) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeDiscountAccountTierTTL) ProtoMessage added in v1.27.0

func (*FeeDiscountAccountTierTTL) ProtoMessage()

func (*FeeDiscountAccountTierTTL) Reset added in v1.27.0

func (m *FeeDiscountAccountTierTTL) Reset()

func (*FeeDiscountAccountTierTTL) Size added in v1.27.0

func (m *FeeDiscountAccountTierTTL) Size() (n int)

func (*FeeDiscountAccountTierTTL) String added in v1.27.0

func (m *FeeDiscountAccountTierTTL) String() string

func (*FeeDiscountAccountTierTTL) Unmarshal added in v1.27.0

func (m *FeeDiscountAccountTierTTL) Unmarshal(dAtA []byte) error

func (*FeeDiscountAccountTierTTL) XXX_DiscardUnknown added in v1.27.0

func (m *FeeDiscountAccountTierTTL) XXX_DiscardUnknown()

func (*FeeDiscountAccountTierTTL) XXX_Marshal added in v1.27.0

func (m *FeeDiscountAccountTierTTL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeDiscountAccountTierTTL) XXX_Merge added in v1.27.0

func (m *FeeDiscountAccountTierTTL) XXX_Merge(src proto.Message)

func (*FeeDiscountAccountTierTTL) XXX_Size added in v1.27.0

func (m *FeeDiscountAccountTierTTL) XXX_Size() int

func (*FeeDiscountAccountTierTTL) XXX_Unmarshal added in v1.27.0

func (m *FeeDiscountAccountTierTTL) XXX_Unmarshal(b []byte) error

type FeeDiscountBucketVolumeAccounts added in v1.39.3

type FeeDiscountBucketVolumeAccounts struct {
	BucketStartTimestamp int64            `protobuf:"varint,1,opt,name=bucket_start_timestamp,json=bucketStartTimestamp,proto3" json:"bucket_start_timestamp,omitempty"`
	AccountVolume        []*AccountVolume `protobuf:"bytes,2,rep,name=account_volume,json=accountVolume,proto3" json:"account_volume,omitempty"`
}

func (*FeeDiscountBucketVolumeAccounts) Descriptor added in v1.39.3

func (*FeeDiscountBucketVolumeAccounts) Descriptor() ([]byte, []int)

func (*FeeDiscountBucketVolumeAccounts) GetAccountVolume added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) GetAccountVolume() []*AccountVolume

func (*FeeDiscountBucketVolumeAccounts) GetBucketStartTimestamp added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) GetBucketStartTimestamp() int64

func (*FeeDiscountBucketVolumeAccounts) Marshal added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) Marshal() (dAtA []byte, err error)

func (*FeeDiscountBucketVolumeAccounts) MarshalTo added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) MarshalTo(dAtA []byte) (int, error)

func (*FeeDiscountBucketVolumeAccounts) MarshalToSizedBuffer added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeDiscountBucketVolumeAccounts) ProtoMessage added in v1.39.3

func (*FeeDiscountBucketVolumeAccounts) ProtoMessage()

func (*FeeDiscountBucketVolumeAccounts) Reset added in v1.39.3

func (*FeeDiscountBucketVolumeAccounts) Size added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) Size() (n int)

func (*FeeDiscountBucketVolumeAccounts) String added in v1.39.3

func (*FeeDiscountBucketVolumeAccounts) Unmarshal added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) Unmarshal(dAtA []byte) error

func (*FeeDiscountBucketVolumeAccounts) XXX_DiscardUnknown added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) XXX_DiscardUnknown()

func (*FeeDiscountBucketVolumeAccounts) XXX_Marshal added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeDiscountBucketVolumeAccounts) XXX_Merge added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) XXX_Merge(src proto.Message)

func (*FeeDiscountBucketVolumeAccounts) XXX_Size added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) XXX_Size() int

func (*FeeDiscountBucketVolumeAccounts) XXX_Unmarshal added in v1.39.3

func (m *FeeDiscountBucketVolumeAccounts) XXX_Unmarshal(b []byte) error

type FeeDiscountProposal added in v1.27.0

type FeeDiscountProposal struct {
	Title       string               `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Schedule    *FeeDiscountSchedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"`
}

func NewFeeDiscountProposal added in v1.27.0

func NewFeeDiscountProposal(title, description string, schedule *FeeDiscountSchedule) *FeeDiscountProposal

NewFeeDiscountProposal returns new instance of FeeDiscountProposal

func (*FeeDiscountProposal) Descriptor added in v1.27.0

func (*FeeDiscountProposal) Descriptor() ([]byte, []int)

func (*FeeDiscountProposal) GetDescription added in v1.27.0

func (p *FeeDiscountProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*FeeDiscountProposal) GetTitle added in v1.27.0

func (p *FeeDiscountProposal) GetTitle() string

GetTitle returns the title of this proposal

func (*FeeDiscountProposal) Marshal added in v1.27.0

func (m *FeeDiscountProposal) Marshal() (dAtA []byte, err error)

func (*FeeDiscountProposal) MarshalTo added in v1.27.0

func (m *FeeDiscountProposal) MarshalTo(dAtA []byte) (int, error)

func (*FeeDiscountProposal) MarshalToSizedBuffer added in v1.27.0

func (m *FeeDiscountProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeDiscountProposal) ProposalRoute added in v1.27.0

func (p *FeeDiscountProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*FeeDiscountProposal) ProposalType added in v1.27.0

func (p *FeeDiscountProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*FeeDiscountProposal) ProtoMessage added in v1.27.0

func (*FeeDiscountProposal) ProtoMessage()

func (*FeeDiscountProposal) Reset added in v1.27.0

func (m *FeeDiscountProposal) Reset()

func (*FeeDiscountProposal) Size added in v1.27.0

func (m *FeeDiscountProposal) Size() (n int)

func (*FeeDiscountProposal) String added in v1.27.0

func (m *FeeDiscountProposal) String() string

func (*FeeDiscountProposal) Unmarshal added in v1.27.0

func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error

func (*FeeDiscountProposal) ValidateBasic added in v1.27.0

func (p *FeeDiscountProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*FeeDiscountProposal) XXX_DiscardUnknown added in v1.27.0

func (m *FeeDiscountProposal) XXX_DiscardUnknown()

func (*FeeDiscountProposal) XXX_Marshal added in v1.27.0

func (m *FeeDiscountProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeDiscountProposal) XXX_Merge added in v1.27.0

func (m *FeeDiscountProposal) XXX_Merge(src proto.Message)

func (*FeeDiscountProposal) XXX_Size added in v1.27.0

func (m *FeeDiscountProposal) XXX_Size() int

func (*FeeDiscountProposal) XXX_Unmarshal added in v1.27.0

func (m *FeeDiscountProposal) XXX_Unmarshal(b []byte) error

type FeeDiscountRates added in v1.27.0

type FeeDiscountRates struct {
	MakerDiscountRate sdk.Dec
	TakerDiscountRate sdk.Dec
}

type FeeDiscountRatesMap added in v1.27.0

type FeeDiscountRatesMap map[uint64]*FeeDiscountRates

type FeeDiscountSchedule added in v1.27.0

type FeeDiscountSchedule struct {
	BucketCount    uint64 `protobuf:"varint,1,opt,name=bucket_count,json=bucketCount,proto3" json:"bucket_count,omitempty"`
	BucketDuration int64  `protobuf:"varint,2,opt,name=bucket_duration,json=bucketDuration,proto3" json:"bucket_duration,omitempty"`
	// the trading fee quote denoms which will be counted for the fee paid
	// contribution
	QuoteDenoms []string `protobuf:"bytes,3,rep,name=quote_denoms,json=quoteDenoms,proto3" json:"quote_denoms,omitempty"`
	// the fee discount tiers
	TierInfos []*FeeDiscountTierInfo `protobuf:"bytes,4,rep,name=tier_infos,json=tierInfos,proto3" json:"tier_infos,omitempty"`
	// the marketIDs which are disqualified from contributing to the fee paid
	// amount
	DisqualifiedMarketIds []string `` /* 126-byte string literal not displayed */
}

func (*FeeDiscountSchedule) CalculateFeeDiscountTier added in v1.27.0

func (s *FeeDiscountSchedule) CalculateFeeDiscountTier(
	stakedAmount sdkmath.Int,
	tradingVolume sdk.Dec,
) (
	feeDiscountRates *FeeDiscountRates,
	tierLevel uint64,
)

func (*FeeDiscountSchedule) Descriptor added in v1.27.0

func (*FeeDiscountSchedule) Descriptor() ([]byte, []int)

func (*FeeDiscountSchedule) GetBucketCount added in v1.27.0

func (m *FeeDiscountSchedule) GetBucketCount() uint64

func (*FeeDiscountSchedule) GetBucketDuration added in v1.27.0

func (m *FeeDiscountSchedule) GetBucketDuration() int64

func (*FeeDiscountSchedule) GetDisqualifiedMarketIds added in v1.27.0

func (m *FeeDiscountSchedule) GetDisqualifiedMarketIds() []string

func (*FeeDiscountSchedule) GetFeeDiscountRatesMap added in v1.27.0

func (s *FeeDiscountSchedule) GetFeeDiscountRatesMap() FeeDiscountRatesMap

func (*FeeDiscountSchedule) GetQuoteDenoms added in v1.27.0

func (m *FeeDiscountSchedule) GetQuoteDenoms() []string

func (*FeeDiscountSchedule) GetTierInfos added in v1.27.0

func (m *FeeDiscountSchedule) GetTierInfos() []*FeeDiscountTierInfo

func (*FeeDiscountSchedule) Marshal added in v1.27.0

func (m *FeeDiscountSchedule) Marshal() (dAtA []byte, err error)

func (*FeeDiscountSchedule) MarshalTo added in v1.27.0

func (m *FeeDiscountSchedule) MarshalTo(dAtA []byte) (int, error)

func (*FeeDiscountSchedule) MarshalToSizedBuffer added in v1.27.0

func (m *FeeDiscountSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeDiscountSchedule) ProtoMessage added in v1.27.0

func (*FeeDiscountSchedule) ProtoMessage()

func (*FeeDiscountSchedule) Reset added in v1.27.0

func (m *FeeDiscountSchedule) Reset()

func (*FeeDiscountSchedule) Size added in v1.27.0

func (m *FeeDiscountSchedule) Size() (n int)

func (*FeeDiscountSchedule) String added in v1.27.0

func (m *FeeDiscountSchedule) String() string

func (*FeeDiscountSchedule) TierOneRequirements added in v1.27.0

func (s *FeeDiscountSchedule) TierOneRequirements() (
	minStakedAmount sdkmath.Int,
	minTradingFeePaid sdk.Dec,
)

func (*FeeDiscountSchedule) Unmarshal added in v1.27.0

func (m *FeeDiscountSchedule) Unmarshal(dAtA []byte) error

func (*FeeDiscountSchedule) XXX_DiscardUnknown added in v1.27.0

func (m *FeeDiscountSchedule) XXX_DiscardUnknown()

func (*FeeDiscountSchedule) XXX_Marshal added in v1.27.0

func (m *FeeDiscountSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeDiscountSchedule) XXX_Merge added in v1.27.0

func (m *FeeDiscountSchedule) XXX_Merge(src proto.Message)

func (*FeeDiscountSchedule) XXX_Size added in v1.27.0

func (m *FeeDiscountSchedule) XXX_Size() int

func (*FeeDiscountSchedule) XXX_Unmarshal added in v1.27.0

func (m *FeeDiscountSchedule) XXX_Unmarshal(b []byte) error

type FeeDiscountTierInfo added in v1.27.0

type FeeDiscountTierInfo struct {
	MakerDiscountRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	TakerDiscountRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	StakedAmount      github_com_cosmos_cosmos_sdk_types.Int `` /* 137-byte string literal not displayed */
	Volume            github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=volume,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"volume"`
}

func (*FeeDiscountTierInfo) Descriptor added in v1.27.0

func (*FeeDiscountTierInfo) Descriptor() ([]byte, []int)

func (*FeeDiscountTierInfo) Marshal added in v1.27.0

func (m *FeeDiscountTierInfo) Marshal() (dAtA []byte, err error)

func (*FeeDiscountTierInfo) MarshalTo added in v1.27.0

func (m *FeeDiscountTierInfo) MarshalTo(dAtA []byte) (int, error)

func (*FeeDiscountTierInfo) MarshalToSizedBuffer added in v1.27.0

func (m *FeeDiscountTierInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeDiscountTierInfo) ProtoMessage added in v1.27.0

func (*FeeDiscountTierInfo) ProtoMessage()

func (*FeeDiscountTierInfo) Reset added in v1.27.0

func (m *FeeDiscountTierInfo) Reset()

func (*FeeDiscountTierInfo) Size added in v1.27.0

func (m *FeeDiscountTierInfo) Size() (n int)

func (*FeeDiscountTierInfo) String added in v1.27.0

func (m *FeeDiscountTierInfo) String() string

func (*FeeDiscountTierInfo) Unmarshal added in v1.27.0

func (m *FeeDiscountTierInfo) Unmarshal(dAtA []byte) error

func (*FeeDiscountTierInfo) ValidateBasic added in v1.27.0

func (t *FeeDiscountTierInfo) ValidateBasic() error

func (*FeeDiscountTierInfo) XXX_DiscardUnknown added in v1.27.0

func (m *FeeDiscountTierInfo) XXX_DiscardUnknown()

func (*FeeDiscountTierInfo) XXX_Marshal added in v1.27.0

func (m *FeeDiscountTierInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeDiscountTierInfo) XXX_Merge added in v1.27.0

func (m *FeeDiscountTierInfo) XXX_Merge(src proto.Message)

func (*FeeDiscountTierInfo) XXX_Size added in v1.27.0

func (m *FeeDiscountTierInfo) XXX_Size() int

func (*FeeDiscountTierInfo) XXX_Unmarshal added in v1.27.0

func (m *FeeDiscountTierInfo) XXX_Unmarshal(b []byte) error

type FeeDiscountTierTTL added in v1.27.0

type FeeDiscountTierTTL struct {
	Tier         uint64 `protobuf:"varint,1,opt,name=tier,proto3" json:"tier,omitempty"`
	TtlTimestamp int64  `protobuf:"varint,2,opt,name=ttl_timestamp,json=ttlTimestamp,proto3" json:"ttl_timestamp,omitempty"`
}

func NewFeeDiscountTierTTL added in v1.27.0

func NewFeeDiscountTierTTL(tier uint64, ttlTimestamp int64) *FeeDiscountTierTTL

func (*FeeDiscountTierTTL) Descriptor added in v1.27.0

func (*FeeDiscountTierTTL) Descriptor() ([]byte, []int)

func (*FeeDiscountTierTTL) GetTier added in v1.27.0

func (m *FeeDiscountTierTTL) GetTier() uint64

func (*FeeDiscountTierTTL) GetTtlTimestamp added in v1.27.0

func (m *FeeDiscountTierTTL) GetTtlTimestamp() int64

func (*FeeDiscountTierTTL) Marshal added in v1.27.0

func (m *FeeDiscountTierTTL) Marshal() (dAtA []byte, err error)

func (*FeeDiscountTierTTL) MarshalTo added in v1.27.0

func (m *FeeDiscountTierTTL) MarshalTo(dAtA []byte) (int, error)

func (*FeeDiscountTierTTL) MarshalToSizedBuffer added in v1.27.0

func (m *FeeDiscountTierTTL) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FeeDiscountTierTTL) ProtoMessage added in v1.27.0

func (*FeeDiscountTierTTL) ProtoMessage()

func (*FeeDiscountTierTTL) Reset added in v1.27.0

func (m *FeeDiscountTierTTL) Reset()

func (*FeeDiscountTierTTL) Size added in v1.27.0

func (m *FeeDiscountTierTTL) Size() (n int)

func (*FeeDiscountTierTTL) String added in v1.27.0

func (m *FeeDiscountTierTTL) String() string

func (*FeeDiscountTierTTL) Unmarshal added in v1.27.0

func (m *FeeDiscountTierTTL) Unmarshal(dAtA []byte) error

func (*FeeDiscountTierTTL) XXX_DiscardUnknown added in v1.27.0

func (m *FeeDiscountTierTTL) XXX_DiscardUnknown()

func (*FeeDiscountTierTTL) XXX_Marshal added in v1.27.0

func (m *FeeDiscountTierTTL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FeeDiscountTierTTL) XXX_Merge added in v1.27.0

func (m *FeeDiscountTierTTL) XXX_Merge(src proto.Message)

func (*FeeDiscountTierTTL) XXX_Size added in v1.27.0

func (m *FeeDiscountTierTTL) XXX_Size() int

func (*FeeDiscountTierTTL) XXX_Unmarshal added in v1.27.0

func (m *FeeDiscountTierTTL) XXX_Unmarshal(b []byte) error

type FullDerivativeMarket

type FullDerivativeMarket struct {
	Market *DerivativeMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// Types that are valid to be assigned to Info:
	//	*FullDerivativeMarket_PerpetualInfo
	//	*FullDerivativeMarket_FuturesInfo
	Info      isFullDerivativeMarket_Info            `protobuf_oneof:"info"`
	MarkPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 128-byte string literal not displayed */
	// mid_price_and_tob defines the mid price for this market and the best ask
	// and bid orders
	MidPriceAndTob *MidPriceAndTOB `protobuf:"bytes,5,opt,name=mid_price_and_tob,json=midPriceAndTob,proto3" json:"mid_price_and_tob,omitempty"`
}

func (*FullDerivativeMarket) Descriptor

func (*FullDerivativeMarket) Descriptor() ([]byte, []int)

func (*FullDerivativeMarket) GetFuturesInfo

func (m *FullDerivativeMarket) GetFuturesInfo() *ExpiryFuturesMarketInfo

func (*FullDerivativeMarket) GetInfo

func (m *FullDerivativeMarket) GetInfo() isFullDerivativeMarket_Info

func (*FullDerivativeMarket) GetMarket

func (m *FullDerivativeMarket) GetMarket() *DerivativeMarket

func (*FullDerivativeMarket) GetMidPriceAndTob added in v1.47.1

func (m *FullDerivativeMarket) GetMidPriceAndTob() *MidPriceAndTOB

func (*FullDerivativeMarket) GetPerpetualInfo

func (m *FullDerivativeMarket) GetPerpetualInfo() *PerpetualMarketState

func (*FullDerivativeMarket) Marshal

func (m *FullDerivativeMarket) Marshal() (dAtA []byte, err error)

func (*FullDerivativeMarket) MarshalTo

func (m *FullDerivativeMarket) MarshalTo(dAtA []byte) (int, error)

func (*FullDerivativeMarket) MarshalToSizedBuffer

func (m *FullDerivativeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FullDerivativeMarket) ProtoMessage

func (*FullDerivativeMarket) ProtoMessage()

func (*FullDerivativeMarket) Reset

func (m *FullDerivativeMarket) Reset()

func (*FullDerivativeMarket) Size

func (m *FullDerivativeMarket) Size() (n int)

func (*FullDerivativeMarket) String

func (m *FullDerivativeMarket) String() string

func (*FullDerivativeMarket) Unmarshal

func (m *FullDerivativeMarket) Unmarshal(dAtA []byte) error

func (*FullDerivativeMarket) XXX_DiscardUnknown

func (m *FullDerivativeMarket) XXX_DiscardUnknown()

func (*FullDerivativeMarket) XXX_Marshal

func (m *FullDerivativeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FullDerivativeMarket) XXX_Merge

func (m *FullDerivativeMarket) XXX_Merge(src proto.Message)

func (*FullDerivativeMarket) XXX_OneofWrappers

func (*FullDerivativeMarket) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*FullDerivativeMarket) XXX_Size

func (m *FullDerivativeMarket) XXX_Size() int

func (*FullDerivativeMarket) XXX_Unmarshal

func (m *FullDerivativeMarket) XXX_Unmarshal(b []byte) error

type FullDerivativeMarket_FuturesInfo

type FullDerivativeMarket_FuturesInfo struct {
	FuturesInfo *ExpiryFuturesMarketInfo `protobuf:"bytes,3,opt,name=futures_info,json=futuresInfo,proto3,oneof" json:"futures_info,omitempty"`
}

func (*FullDerivativeMarket_FuturesInfo) MarshalTo

func (m *FullDerivativeMarket_FuturesInfo) MarshalTo(dAtA []byte) (int, error)

func (*FullDerivativeMarket_FuturesInfo) MarshalToSizedBuffer

func (m *FullDerivativeMarket_FuturesInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FullDerivativeMarket_FuturesInfo) Size

func (m *FullDerivativeMarket_FuturesInfo) Size() (n int)

type FullDerivativeMarket_PerpetualInfo

type FullDerivativeMarket_PerpetualInfo struct {
	PerpetualInfo *PerpetualMarketState `protobuf:"bytes,2,opt,name=perpetual_info,json=perpetualInfo,proto3,oneof" json:"perpetual_info,omitempty"`
}

func (*FullDerivativeMarket_PerpetualInfo) MarshalTo

func (m *FullDerivativeMarket_PerpetualInfo) MarshalTo(dAtA []byte) (int, error)

func (*FullDerivativeMarket_PerpetualInfo) MarshalToSizedBuffer

func (m *FullDerivativeMarket_PerpetualInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FullDerivativeMarket_PerpetualInfo) Size

type FullSpotMarket added in v1.47.1

type FullSpotMarket struct {
	Market *SpotMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
	// mid_price_and_tob defines the mid price for this market and the best ask
	// and bid orders
	MidPriceAndTob *MidPriceAndTOB `protobuf:"bytes,2,opt,name=mid_price_and_tob,json=midPriceAndTob,proto3" json:"mid_price_and_tob,omitempty"`
}

func (*FullSpotMarket) Descriptor added in v1.47.1

func (*FullSpotMarket) Descriptor() ([]byte, []int)

func (*FullSpotMarket) GetMarket added in v1.47.1

func (m *FullSpotMarket) GetMarket() *SpotMarket

func (*FullSpotMarket) GetMidPriceAndTob added in v1.47.1

func (m *FullSpotMarket) GetMidPriceAndTob() *MidPriceAndTOB

func (*FullSpotMarket) Marshal added in v1.47.1

func (m *FullSpotMarket) Marshal() (dAtA []byte, err error)

func (*FullSpotMarket) MarshalTo added in v1.47.1

func (m *FullSpotMarket) MarshalTo(dAtA []byte) (int, error)

func (*FullSpotMarket) MarshalToSizedBuffer added in v1.47.1

func (m *FullSpotMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FullSpotMarket) ProtoMessage added in v1.47.1

func (*FullSpotMarket) ProtoMessage()

func (*FullSpotMarket) Reset added in v1.47.1

func (m *FullSpotMarket) Reset()

func (*FullSpotMarket) Size added in v1.47.1

func (m *FullSpotMarket) Size() (n int)

func (*FullSpotMarket) String added in v1.47.1

func (m *FullSpotMarket) String() string

func (*FullSpotMarket) Unmarshal added in v1.47.1

func (m *FullSpotMarket) Unmarshal(dAtA []byte) error

func (*FullSpotMarket) XXX_DiscardUnknown added in v1.47.1

func (m *FullSpotMarket) XXX_DiscardUnknown()

func (*FullSpotMarket) XXX_Marshal added in v1.47.1

func (m *FullSpotMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FullSpotMarket) XXX_Merge added in v1.47.1

func (m *FullSpotMarket) XXX_Merge(src proto.Message)

func (*FullSpotMarket) XXX_Size added in v1.47.1

func (m *FullSpotMarket) XXX_Size() int

func (*FullSpotMarket) XXX_Unmarshal added in v1.47.1

func (m *FullSpotMarket) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// params defines all the parameters of related to exchange.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// spot_markets is an array containing the genesis trade pairs
	SpotMarkets []*SpotMarket `protobuf:"bytes,2,rep,name=spot_markets,json=spotMarkets,proto3" json:"spot_markets,omitempty"`
	// derivative_markets is an array containing the genesis derivative markets
	DerivativeMarkets []*DerivativeMarket `protobuf:"bytes,3,rep,name=derivative_markets,json=derivativeMarkets,proto3" json:"derivative_markets,omitempty"`
	// spot_orderbook defines the spot exchange limit orderbook active at genesis.
	SpotOrderbook []SpotOrderBook `protobuf:"bytes,4,rep,name=spot_orderbook,json=spotOrderbook,proto3" json:"spot_orderbook"`
	// derivative_orderbook defines the derivative exchange limit orderbook active
	// at genesis.
	DerivativeOrderbook []DerivativeOrderBook `protobuf:"bytes,5,rep,name=derivative_orderbook,json=derivativeOrderbook,proto3" json:"derivative_orderbook"`
	// balances defines the exchange users balances active at genesis.
	Balances []Balance `protobuf:"bytes,6,rep,name=balances,proto3" json:"balances"`
	// positions defines the exchange derivative positions at genesis
	Positions []DerivativePosition `protobuf:"bytes,7,rep,name=positions,proto3" json:"positions"`
	// subaccount_trade_nonces defines the subaccount trade nonces for the
	// subaccounts at genesis
	SubaccountTradeNonces []SubaccountNonce `protobuf:"bytes,8,rep,name=subaccount_trade_nonces,json=subaccountTradeNonces,proto3" json:"subaccount_trade_nonces"`
	// expiry_futures_market_info defines the market info for the expiry futures
	// markets at genesis
	ExpiryFuturesMarketInfoState []ExpiryFuturesMarketInfoState `` /* 141-byte string literal not displayed */
	// perpetual_market_info defines the market info for the perpetual derivative
	// markets at genesis
	PerpetualMarketInfo []PerpetualMarketInfo `protobuf:"bytes,10,rep,name=perpetual_market_info,json=perpetualMarketInfo,proto3" json:"perpetual_market_info"`
	// perpetual_market_funding_state defines the funding state for the perpetual
	// derivative markets at genesis
	PerpetualMarketFundingState []PerpetualMarketFundingState `` /* 137-byte string literal not displayed */
	// derivative_market_settlement_scheduled defines the scheduled markets for
	// settlement at genesis
	DerivativeMarketSettlementScheduled []DerivativeMarketSettlementInfo `` /* 161-byte string literal not displayed */
	// sets spot markets as enabled
	IsSpotExchangeEnabled bool `` /* 130-byte string literal not displayed */
	// sets derivative markets as enabled
	IsDerivativesExchangeEnabled bool `` /* 151-byte string literal not displayed */
	// the current trading reward campaign info
	TradingRewardCampaignInfo *TradingRewardCampaignInfo `` /* 141-byte string literal not displayed */
	// the current and upcoming trading reward campaign pools
	TradingRewardPoolCampaignSchedule []*CampaignRewardPool `` /* 167-byte string literal not displayed */
	// the current trading reward account points
	TradingRewardCampaignAccountPoints []*TradingRewardCampaignAccountPoints `` /* 170-byte string literal not displayed */
	// the fee discount schedule
	FeeDiscountSchedule *FeeDiscountSchedule `protobuf:"bytes,18,opt,name=fee_discount_schedule,json=feeDiscountSchedule,proto3" json:"fee_discount_schedule,omitempty"`
	// the cached fee discount account tiers with TTL
	FeeDiscountAccountTierTtl []*FeeDiscountAccountTierTTL `` /* 143-byte string literal not displayed */
	// the fee discount paid by accounts in all buckets
	FeeDiscountBucketVolumeAccounts []*FeeDiscountBucketVolumeAccounts `` /* 161-byte string literal not displayed */
	// sets the first fee cycle as finished
	IsFirstFeeCycleFinished bool `` /* 138-byte string literal not displayed */
	// the current and upcoming trading reward campaign pending pools
	PendingTradingRewardPoolCampaignSchedule []*CampaignRewardPool `` /* 190-byte string literal not displayed */
	// the pending trading reward account points
	PendingTradingRewardCampaignAccountPoints []*TradingRewardCampaignAccountPendingPoints `` /* 193-byte string literal not displayed */
	// the addresses opting out of trading rewards
	RewardsOptOutAddresses []string        `` /* 132-byte string literal not displayed */
	HistoricalTradeRecords []*TradeRecords `` /* 130-byte string literal not displayed */
	// binary_options_markets is an array containing the genesis binary options
	// markets
	BinaryOptionsMarkets []*BinaryOptionsMarket `protobuf:"bytes,26,rep,name=binary_options_markets,json=binaryOptionsMarkets,proto3" json:"binary_options_markets,omitempty"`
	// binary_options_markets_scheduled_for_settlement contains the marketIDs of
	// binary options markets scheduled for next-block settlement
	BinaryOptionsMarketIdsScheduledForSettlement []string `` /* 204-byte string literal not displayed */
	// spot_market_ids_scheduled_to_force_close defines the scheduled markets for
	// forced closings at genesis
	SpotMarketIdsScheduledToForceClose []string `` /* 174-byte string literal not displayed */
	// denom_decimals defines the denom decimals for the exchange.
	DenomDecimals []DenomDecimals `protobuf:"bytes,29,rep,name=denom_decimals,json=denomDecimals,proto3" json:"denom_decimals"`
	// conditional_derivative_orderbook contains conditional orderbooks for all
	// markets (both lmit and market conditional orders)
	ConditionalDerivativeOrderbooks []*ConditionalDerivativeOrderBook `` /* 157-byte string literal not displayed */
	// market_fee_multipliers contains any non-default atomic order fee
	// multipliers
	MarketFeeMultipliers []*MarketFeeMultiplier             `protobuf:"bytes,31,rep,name=market_fee_multipliers,json=marketFeeMultipliers,proto3" json:"market_fee_multipliers,omitempty"`
	OrderbookSequences   []*OrderbookSequence               `protobuf:"bytes,32,rep,name=orderbook_sequences,json=orderbookSequences,proto3" json:"orderbook_sequences,omitempty"`
	SubaccountVolumes    []*AggregateSubaccountVolumeRecord `protobuf:"bytes,33,rep,name=subaccount_volumes,json=subaccountVolumes,proto3" json:"subaccount_volumes,omitempty"`
	MarketVolumes        []*MarketVolume                    `protobuf:"bytes,34,rep,name=market_volumes,json=marketVolumes,proto3" json:"market_volumes,omitempty"`
}

GenesisState defines the exchange module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

func NewGenesisState

func NewGenesisState() GenesisState

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetBalances

func (m *GenesisState) GetBalances() []Balance

func (*GenesisState) GetBinaryOptionsMarketIdsScheduledForSettlement added in v1.39.5

func (m *GenesisState) GetBinaryOptionsMarketIdsScheduledForSettlement() []string

func (*GenesisState) GetBinaryOptionsMarkets added in v1.39.5

func (m *GenesisState) GetBinaryOptionsMarkets() []*BinaryOptionsMarket

func (*GenesisState) GetConditionalDerivativeOrderbooks added in v1.40.8

func (m *GenesisState) GetConditionalDerivativeOrderbooks() []*ConditionalDerivativeOrderBook

func (*GenesisState) GetDenomDecimals added in v1.40.0

func (m *GenesisState) GetDenomDecimals() []DenomDecimals

func (*GenesisState) GetDerivativeMarketSettlementScheduled

func (m *GenesisState) GetDerivativeMarketSettlementScheduled() []DerivativeMarketSettlementInfo

func (*GenesisState) GetDerivativeMarkets

func (m *GenesisState) GetDerivativeMarkets() []*DerivativeMarket

func (*GenesisState) GetDerivativeOrderbook

func (m *GenesisState) GetDerivativeOrderbook() []DerivativeOrderBook

func (*GenesisState) GetExpiryFuturesMarketInfoState

func (m *GenesisState) GetExpiryFuturesMarketInfoState() []ExpiryFuturesMarketInfoState

func (*GenesisState) GetFeeDiscountAccountTierTtl added in v1.27.0

func (m *GenesisState) GetFeeDiscountAccountTierTtl() []*FeeDiscountAccountTierTTL

func (*GenesisState) GetFeeDiscountBucketVolumeAccounts added in v1.39.3

func (m *GenesisState) GetFeeDiscountBucketVolumeAccounts() []*FeeDiscountBucketVolumeAccounts

func (*GenesisState) GetFeeDiscountSchedule added in v1.27.0

func (m *GenesisState) GetFeeDiscountSchedule() *FeeDiscountSchedule

func (*GenesisState) GetHistoricalTradeRecords added in v1.39.0

func (m *GenesisState) GetHistoricalTradeRecords() []*TradeRecords

func (*GenesisState) GetIsDerivativesExchangeEnabled

func (m *GenesisState) GetIsDerivativesExchangeEnabled() bool

func (*GenesisState) GetIsFirstFeeCycleFinished added in v1.27.6

func (m *GenesisState) GetIsFirstFeeCycleFinished() bool

func (*GenesisState) GetIsSpotExchangeEnabled

func (m *GenesisState) GetIsSpotExchangeEnabled() bool

func (*GenesisState) GetMarketFeeMultipliers added in v1.42.6

func (m *GenesisState) GetMarketFeeMultipliers() []*MarketFeeMultiplier

func (*GenesisState) GetMarketVolumes added in v1.45.0

func (m *GenesisState) GetMarketVolumes() []*MarketVolume

func (*GenesisState) GetOrderbookSequences added in v1.43.1

func (m *GenesisState) GetOrderbookSequences() []*OrderbookSequence

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPendingTradingRewardCampaignAccountPoints added in v1.30.0

func (m *GenesisState) GetPendingTradingRewardCampaignAccountPoints() []*TradingRewardCampaignAccountPendingPoints

func (*GenesisState) GetPendingTradingRewardPoolCampaignSchedule added in v1.30.0

func (m *GenesisState) GetPendingTradingRewardPoolCampaignSchedule() []*CampaignRewardPool

func (*GenesisState) GetPerpetualMarketFundingState

func (m *GenesisState) GetPerpetualMarketFundingState() []PerpetualMarketFundingState

func (*GenesisState) GetPerpetualMarketInfo

func (m *GenesisState) GetPerpetualMarketInfo() []PerpetualMarketInfo

func (*GenesisState) GetPositions

func (m *GenesisState) GetPositions() []DerivativePosition

func (*GenesisState) GetRewardsOptOutAddresses added in v1.40.3

func (m *GenesisState) GetRewardsOptOutAddresses() []string

func (*GenesisState) GetSpotMarketIdsScheduledToForceClose added in v1.39.5

func (m *GenesisState) GetSpotMarketIdsScheduledToForceClose() []string

func (*GenesisState) GetSpotMarkets

func (m *GenesisState) GetSpotMarkets() []*SpotMarket

func (*GenesisState) GetSpotOrderbook

func (m *GenesisState) GetSpotOrderbook() []SpotOrderBook

func (*GenesisState) GetSubaccountTradeNonces

func (m *GenesisState) GetSubaccountTradeNonces() []SubaccountNonce

func (*GenesisState) GetSubaccountVolumes added in v1.45.0

func (m *GenesisState) GetSubaccountVolumes() []*AggregateSubaccountVolumeRecord

func (*GenesisState) GetTradingRewardCampaignAccountPoints added in v1.27.0

func (m *GenesisState) GetTradingRewardCampaignAccountPoints() []*TradingRewardCampaignAccountPoints

func (*GenesisState) GetTradingRewardCampaignInfo added in v1.27.0

func (m *GenesisState) GetTradingRewardCampaignInfo() *TradingRewardCampaignInfo

func (*GenesisState) GetTradingRewardPoolCampaignSchedule added in v1.27.0

func (m *GenesisState) GetTradingRewardPoolCampaignSchedule() []*CampaignRewardPool

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type GovKeeper

type GovKeeper interface {
	IterateActiveProposalsQueue(ctx sdk.Context, endTime time.Time, cb func(proposal v1.Proposal) (stop bool))
	GetParams(ctx sdk.Context) v1.Params
}

type IDerivativeOrder added in v1.40.2

type IDerivativeOrder interface {
	IOrder
	GetMargin() sdk.Dec
	IsReduceOnly() bool
	IsVanilla() bool
}

IDerivativeOrder proto interface for wrapping all different variations of representations of derivative orders. Methods can be added as needed (make sure to add to every implementor)

type IMutableDerivativeOrder added in v1.40.2

type IMutableDerivativeOrder interface {
	IDerivativeOrder
	SetPrice(sdk.Dec)
	SetQuantity(sdk.Dec)
	SetMargin(sdk.Dec)
}

type IOrder added in v1.40.2

type IOrder interface {
	GetPrice() sdk.Dec
	GetQuantity() sdk.Dec
	GetFillable() sdk.Dec
	IsBuy() bool
	GetSubaccountID() common.Hash
}

type InjectiveAction added in v1.39.0

type InjectiveAction interface {
	// ValidateBasic does a simple validation check that
	// doesn't require access to any other information.
	ValidateBasic() error
}

func ParseRequest added in v1.39.0

func ParseRequest(data []byte) (InjectiveAction, error)

type InsuranceKeeper

type InsuranceKeeper interface {
	// HasInsuranceFund returns true if InsuranceFund for the given marketID exists.
	HasInsuranceFund(ctx sdk.Context, marketID common.Hash) bool
	// GetInsuranceFund returns the insurance fund corresponding to the given marketID.
	GetInsuranceFund(ctx sdk.Context, marketID common.Hash) *insurancetypes.InsuranceFund
	// DepositIntoInsuranceFund increments the insurance fund balance by amount.
	DepositIntoInsuranceFund(ctx sdk.Context, marketID common.Hash, amount sdkmath.Int) error
	// WithdrawFromInsuranceFund decrements the insurance fund balance by amount and sends
	WithdrawFromInsuranceFund(ctx sdk.Context, marketID common.Hash, amount sdkmath.Int) error
	// UpdateInsuranceFundOracleParams updates the insurance fund's oracle parameters
	UpdateInsuranceFundOracleParams(ctx sdk.Context, marketID common.Hash, oracleParams *OracleParams) error
}

InsuranceKeeper defines the expected insurance keeper methods.

type Level added in v1.42.6

type Level struct {
	// price
	P github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=p,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"p"`
	// quantity
	Q github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=q,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"q"`
}

func NewLevel added in v1.42.6

func NewLevel(price, quantity sdk.Dec) *Level

func (*Level) Descriptor added in v1.42.6

func (*Level) Descriptor() ([]byte, []int)

func (*Level) GetPrice added in v1.43.1

func (l *Level) GetPrice() sdk.Dec

func (*Level) GetQuantity added in v1.43.1

func (l *Level) GetQuantity() sdk.Dec

func (*Level) Marshal added in v1.42.6

func (m *Level) Marshal() (dAtA []byte, err error)

func (*Level) MarshalTo added in v1.42.6

func (m *Level) MarshalTo(dAtA []byte) (int, error)

func (*Level) MarshalToSizedBuffer added in v1.42.6

func (m *Level) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Level) ProtoMessage added in v1.42.6

func (*Level) ProtoMessage()

func (*Level) Reset added in v1.42.6

func (m *Level) Reset()

func (*Level) Size added in v1.42.6

func (m *Level) Size() (n int)

func (*Level) String added in v1.42.6

func (m *Level) String() string

func (*Level) Unmarshal added in v1.42.6

func (m *Level) Unmarshal(dAtA []byte) error

func (*Level) XXX_DiscardUnknown added in v1.42.6

func (m *Level) XXX_DiscardUnknown()

func (*Level) XXX_Marshal added in v1.42.6

func (m *Level) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Level) XXX_Merge added in v1.42.6

func (m *Level) XXX_Merge(src proto.Message)

func (*Level) XXX_Size added in v1.42.6

func (m *Level) XXX_Size() int

func (*Level) XXX_Unmarshal added in v1.42.6

func (m *Level) XXX_Unmarshal(b []byte) error

type MarketFeeMultiplier added in v1.42.6

type MarketFeeMultiplier struct {
	MarketId      string                                 `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	FeeMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
}

func (*MarketFeeMultiplier) Descriptor added in v1.42.6

func (*MarketFeeMultiplier) Descriptor() ([]byte, []int)

func (*MarketFeeMultiplier) Marshal added in v1.42.6

func (m *MarketFeeMultiplier) Marshal() (dAtA []byte, err error)

func (*MarketFeeMultiplier) MarshalTo added in v1.42.6

func (m *MarketFeeMultiplier) MarshalTo(dAtA []byte) (int, error)

func (*MarketFeeMultiplier) MarshalToSizedBuffer added in v1.42.6

func (m *MarketFeeMultiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MarketFeeMultiplier) ProtoMessage added in v1.42.6

func (*MarketFeeMultiplier) ProtoMessage()

func (*MarketFeeMultiplier) Reset added in v1.42.6

func (m *MarketFeeMultiplier) Reset()

func (*MarketFeeMultiplier) Size added in v1.42.6

func (m *MarketFeeMultiplier) Size() (n int)

func (*MarketFeeMultiplier) String added in v1.42.6

func (m *MarketFeeMultiplier) String() string

func (*MarketFeeMultiplier) Unmarshal added in v1.42.6

func (m *MarketFeeMultiplier) Unmarshal(dAtA []byte) error

func (*MarketFeeMultiplier) XXX_DiscardUnknown added in v1.42.6

func (m *MarketFeeMultiplier) XXX_DiscardUnknown()

func (*MarketFeeMultiplier) XXX_Marshal added in v1.42.6

func (m *MarketFeeMultiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarketFeeMultiplier) XXX_Merge added in v1.42.6

func (m *MarketFeeMultiplier) XXX_Merge(src proto.Message)

func (*MarketFeeMultiplier) XXX_Size added in v1.42.6

func (m *MarketFeeMultiplier) XXX_Size() int

func (*MarketFeeMultiplier) XXX_Unmarshal added in v1.42.6

func (m *MarketFeeMultiplier) XXX_Unmarshal(b []byte) error

type MarketForcedSettlementProposal added in v1.39.5

type MarketForcedSettlementProposal struct {
	Title           string                                  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description     string                                  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MarketId        string                                  `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 156-byte string literal not displayed */
}

func NewMarketForcedSettlementProposal added in v1.39.5

func NewMarketForcedSettlementProposal(
	title, description string, marketID string,
	settlementPrice *sdk.Dec,
) *MarketForcedSettlementProposal

NewMarketForcedSettlementProposal returns new instance of MarketForcedSettlementProposal

func (*MarketForcedSettlementProposal) Descriptor added in v1.39.5

func (*MarketForcedSettlementProposal) Descriptor() ([]byte, []int)

func (*MarketForcedSettlementProposal) GetDescription added in v1.39.5

func (p *MarketForcedSettlementProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*MarketForcedSettlementProposal) GetTitle added in v1.39.5

func (p *MarketForcedSettlementProposal) GetTitle() string

GetTitle returns the title of this proposal

func (*MarketForcedSettlementProposal) Marshal added in v1.39.5

func (m *MarketForcedSettlementProposal) Marshal() (dAtA []byte, err error)

func (*MarketForcedSettlementProposal) MarshalTo added in v1.39.5

func (m *MarketForcedSettlementProposal) MarshalTo(dAtA []byte) (int, error)

func (*MarketForcedSettlementProposal) MarshalToSizedBuffer added in v1.39.5

func (m *MarketForcedSettlementProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MarketForcedSettlementProposal) ProposalRoute added in v1.39.5

func (p *MarketForcedSettlementProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*MarketForcedSettlementProposal) ProposalType added in v1.39.5

func (p *MarketForcedSettlementProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*MarketForcedSettlementProposal) ProtoMessage added in v1.39.5

func (*MarketForcedSettlementProposal) ProtoMessage()

func (*MarketForcedSettlementProposal) Reset added in v1.39.5

func (m *MarketForcedSettlementProposal) Reset()

func (*MarketForcedSettlementProposal) Size added in v1.39.5

func (m *MarketForcedSettlementProposal) Size() (n int)

func (*MarketForcedSettlementProposal) String added in v1.39.5

func (*MarketForcedSettlementProposal) Unmarshal added in v1.39.5

func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error

func (*MarketForcedSettlementProposal) ValidateBasic added in v1.39.5

func (p *MarketForcedSettlementProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*MarketForcedSettlementProposal) XXX_DiscardUnknown added in v1.39.5

func (m *MarketForcedSettlementProposal) XXX_DiscardUnknown()

func (*MarketForcedSettlementProposal) XXX_Marshal added in v1.39.5

func (m *MarketForcedSettlementProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarketForcedSettlementProposal) XXX_Merge added in v1.39.5

func (m *MarketForcedSettlementProposal) XXX_Merge(src proto.Message)

func (*MarketForcedSettlementProposal) XXX_Size added in v1.39.5

func (m *MarketForcedSettlementProposal) XXX_Size() int

func (*MarketForcedSettlementProposal) XXX_Unmarshal added in v1.39.5

func (m *MarketForcedSettlementProposal) XXX_Unmarshal(b []byte) error

type MarketOrderIndicator

type MarketOrderIndicator struct {
	// market_id represents the unique ID of the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsBuy    bool   `protobuf:"varint,2,opt,name=isBuy,proto3" json:"isBuy,omitempty"`
}

func (*MarketOrderIndicator) Descriptor

func (*MarketOrderIndicator) Descriptor() ([]byte, []int)

func (*MarketOrderIndicator) GetIsBuy

func (m *MarketOrderIndicator) GetIsBuy() bool

func (*MarketOrderIndicator) GetMarketId

func (m *MarketOrderIndicator) GetMarketId() string

func (*MarketOrderIndicator) Marshal

func (m *MarketOrderIndicator) Marshal() (dAtA []byte, err error)

func (*MarketOrderIndicator) MarshalTo

func (m *MarketOrderIndicator) MarshalTo(dAtA []byte) (int, error)

func (*MarketOrderIndicator) MarshalToSizedBuffer

func (m *MarketOrderIndicator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MarketOrderIndicator) ProtoMessage

func (*MarketOrderIndicator) ProtoMessage()

func (*MarketOrderIndicator) Reset

func (m *MarketOrderIndicator) Reset()

func (*MarketOrderIndicator) Size

func (m *MarketOrderIndicator) Size() (n int)

func (*MarketOrderIndicator) String

func (m *MarketOrderIndicator) String() string

func (*MarketOrderIndicator) Unmarshal

func (m *MarketOrderIndicator) Unmarshal(dAtA []byte) error

func (*MarketOrderIndicator) XXX_DiscardUnknown

func (m *MarketOrderIndicator) XXX_DiscardUnknown()

func (*MarketOrderIndicator) XXX_Marshal

func (m *MarketOrderIndicator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarketOrderIndicator) XXX_Merge

func (m *MarketOrderIndicator) XXX_Merge(src proto.Message)

func (*MarketOrderIndicator) XXX_Size

func (m *MarketOrderIndicator) XXX_Size() int

func (*MarketOrderIndicator) XXX_Unmarshal

func (m *MarketOrderIndicator) XXX_Unmarshal(b []byte) error

type MarketStatus

type MarketStatus int32
const (
	MarketStatus_Unspecified MarketStatus = 0
	MarketStatus_Active      MarketStatus = 1
	MarketStatus_Paused      MarketStatus = 2
	MarketStatus_Demolished  MarketStatus = 3
	MarketStatus_Expired     MarketStatus = 4
)

func (MarketStatus) EnumDescriptor

func (MarketStatus) EnumDescriptor() ([]byte, []int)

func (MarketStatus) String

func (x MarketStatus) String() string

func (MarketStatus) SupportsOrderCancellations added in v1.39.5

func (s MarketStatus) SupportsOrderCancellations() bool

func (*MarketStatus) UnmarshalJSON

func (m *MarketStatus) UnmarshalJSON(data []byte) error

type MarketSummary added in v1.39.0

type MarketSummary struct {
	TotalUserQuantity     sdk.Dec
	TotalContractQuantity sdk.Dec
	TotalUserMargin       sdk.Dec
	TotalContractMargin   sdk.Dec
	// contains filtered or unexported fields
}

func NewMarketSummary added in v1.39.0

func NewMarketSummary() *MarketSummary

type MarketType added in v1.39.5

type MarketType byte
const (
	MarketType_Spot MarketType = iota
	MarketType_Perpetual
	MarketType_Expiry
	MarketType_BinaryOption
)

nolint:all

func (MarketType) IsBinaryOptions added in v1.40.8

func (m MarketType) IsBinaryOptions() bool

func (MarketType) IsExpiry added in v1.40.8

func (m MarketType) IsExpiry() bool

func (MarketType) IsPerpetual added in v1.40.8

func (m MarketType) IsPerpetual() bool

func (MarketType) IsSpot added in v1.40.8

func (m MarketType) IsSpot() bool

type MarketVolume added in v1.45.0

type MarketVolume struct {
	MarketId string       `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Volume   VolumeRecord `protobuf:"bytes,2,opt,name=volume,proto3" json:"volume"`
}

func (*MarketVolume) Descriptor added in v1.45.0

func (*MarketVolume) Descriptor() ([]byte, []int)

func (*MarketVolume) GetMarketId added in v1.45.0

func (m *MarketVolume) GetMarketId() string

func (*MarketVolume) GetVolume added in v1.45.0

func (m *MarketVolume) GetVolume() VolumeRecord

func (*MarketVolume) Marshal added in v1.45.0

func (m *MarketVolume) Marshal() (dAtA []byte, err error)

func (*MarketVolume) MarshalTo added in v1.45.0

func (m *MarketVolume) MarshalTo(dAtA []byte) (int, error)

func (*MarketVolume) MarshalToSizedBuffer added in v1.45.0

func (m *MarketVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MarketVolume) ProtoMessage added in v1.45.0

func (*MarketVolume) ProtoMessage()

func (*MarketVolume) Reset added in v1.45.0

func (m *MarketVolume) Reset()

func (*MarketVolume) Size added in v1.45.0

func (m *MarketVolume) Size() (n int)

func (*MarketVolume) String added in v1.45.0

func (m *MarketVolume) String() string

func (*MarketVolume) Unmarshal added in v1.45.0

func (m *MarketVolume) Unmarshal(dAtA []byte) error

func (*MarketVolume) XXX_DiscardUnknown added in v1.45.0

func (m *MarketVolume) XXX_DiscardUnknown()

func (*MarketVolume) XXX_Marshal added in v1.45.0

func (m *MarketVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarketVolume) XXX_Merge added in v1.45.0

func (m *MarketVolume) XXX_Merge(src proto.Message)

func (*MarketVolume) XXX_Size added in v1.45.0

func (m *MarketVolume) XXX_Size() int

func (*MarketVolume) XXX_Unmarshal added in v1.45.0

func (m *MarketVolume) XXX_Unmarshal(b []byte) error

type MatchedMarketDirection

type MatchedMarketDirection struct {
	MarketId    common.Hash
	BuysExists  bool
	SellsExists bool
}

type MidPriceAndTOB added in v1.47.1

type MidPriceAndTOB struct {
	// mid price of the market
	MidPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 135-byte string literal not displayed */
	// best buy price of the market
	BestBuyPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// best sell price of the market
	BestSellPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */
}

func (*MidPriceAndTOB) Descriptor added in v1.47.1

func (*MidPriceAndTOB) Descriptor() ([]byte, []int)

func (*MidPriceAndTOB) Marshal added in v1.47.1

func (m *MidPriceAndTOB) Marshal() (dAtA []byte, err error)

func (*MidPriceAndTOB) MarshalTo added in v1.47.1

func (m *MidPriceAndTOB) MarshalTo(dAtA []byte) (int, error)

func (*MidPriceAndTOB) MarshalToSizedBuffer added in v1.47.1

func (m *MidPriceAndTOB) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MidPriceAndTOB) ProtoMessage added in v1.47.1

func (*MidPriceAndTOB) ProtoMessage()

func (*MidPriceAndTOB) Reset added in v1.47.1

func (m *MidPriceAndTOB) Reset()

func (*MidPriceAndTOB) Size added in v1.47.1

func (m *MidPriceAndTOB) Size() (n int)

func (*MidPriceAndTOB) String added in v1.47.1

func (m *MidPriceAndTOB) String() string

func (*MidPriceAndTOB) Unmarshal added in v1.47.1

func (m *MidPriceAndTOB) Unmarshal(dAtA []byte) error

func (*MidPriceAndTOB) XXX_DiscardUnknown added in v1.47.1

func (m *MidPriceAndTOB) XXX_DiscardUnknown()

func (*MidPriceAndTOB) XXX_Marshal added in v1.47.1

func (m *MidPriceAndTOB) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MidPriceAndTOB) XXX_Merge added in v1.47.1

func (m *MidPriceAndTOB) XXX_Merge(src proto.Message)

func (*MidPriceAndTOB) XXX_Size added in v1.47.1

func (m *MidPriceAndTOB) XXX_Size() int

func (*MidPriceAndTOB) XXX_Unmarshal added in v1.47.1

func (m *MidPriceAndTOB) XXX_Unmarshal(b []byte) error

type MintToUser added in v1.33.14

type MintToUser struct {
	SubaccountIDSender string `json:"subaccount_id_sender"`
	Amount             string `json:"amount"`
}

type MintToUserMsg added in v1.33.14

type MintToUserMsg struct {
	MintToUser MintToUser `json:"mint_to_user"`
}

func NewMintToUserMsg added in v1.33.14

func NewMintToUserMsg(subaccountIDSender string, amount sdk.Int) MintToUserMsg

type MitoVaultInfosRequest added in v1.45.0

type MitoVaultInfosRequest struct {
}

MitoVaultInfosRequest is the request type for the Query/MitoVaultInfos RPC method.

func (*MitoVaultInfosRequest) Descriptor added in v1.45.0

func (*MitoVaultInfosRequest) Descriptor() ([]byte, []int)

func (*MitoVaultInfosRequest) Marshal added in v1.45.0

func (m *MitoVaultInfosRequest) Marshal() (dAtA []byte, err error)

func (*MitoVaultInfosRequest) MarshalTo added in v1.45.0

func (m *MitoVaultInfosRequest) MarshalTo(dAtA []byte) (int, error)

func (*MitoVaultInfosRequest) MarshalToSizedBuffer added in v1.45.0

func (m *MitoVaultInfosRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MitoVaultInfosRequest) ProtoMessage added in v1.45.0

func (*MitoVaultInfosRequest) ProtoMessage()

func (*MitoVaultInfosRequest) Reset added in v1.45.0

func (m *MitoVaultInfosRequest) Reset()

func (*MitoVaultInfosRequest) Size added in v1.45.0

func (m *MitoVaultInfosRequest) Size() (n int)

func (*MitoVaultInfosRequest) String added in v1.45.0

func (m *MitoVaultInfosRequest) String() string

func (*MitoVaultInfosRequest) Unmarshal added in v1.45.0

func (m *MitoVaultInfosRequest) Unmarshal(dAtA []byte) error

func (*MitoVaultInfosRequest) XXX_DiscardUnknown added in v1.45.0

func (m *MitoVaultInfosRequest) XXX_DiscardUnknown()

func (*MitoVaultInfosRequest) XXX_Marshal added in v1.45.0

func (m *MitoVaultInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MitoVaultInfosRequest) XXX_Merge added in v1.45.0

func (m *MitoVaultInfosRequest) XXX_Merge(src proto.Message)

func (*MitoVaultInfosRequest) XXX_Size added in v1.45.0

func (m *MitoVaultInfosRequest) XXX_Size() int

func (*MitoVaultInfosRequest) XXX_Unmarshal added in v1.45.0

func (m *MitoVaultInfosRequest) XXX_Unmarshal(b []byte) error

type MitoVaultInfosResponse added in v1.45.0

type MitoVaultInfosResponse struct {
	MasterAddresses     []string `protobuf:"bytes,1,rep,name=master_addresses,json=masterAddresses,proto3" json:"master_addresses,omitempty"`
	DerivativeAddresses []string `protobuf:"bytes,2,rep,name=derivative_addresses,json=derivativeAddresses,proto3" json:"derivative_addresses,omitempty"`
	SpotAddresses       []string `protobuf:"bytes,3,rep,name=spot_addresses,json=spotAddresses,proto3" json:"spot_addresses,omitempty"`
	Cw20Addresses       []string `protobuf:"bytes,4,rep,name=cw20_addresses,json=cw20Addresses,proto3" json:"cw20_addresses,omitempty"`
}

MitoVaultInfosResponse is the response type for the Query/MitoVaultInfos RPC method.

func (*MitoVaultInfosResponse) Descriptor added in v1.45.0

func (*MitoVaultInfosResponse) Descriptor() ([]byte, []int)

func (*MitoVaultInfosResponse) GetCw20Addresses added in v1.45.0

func (m *MitoVaultInfosResponse) GetCw20Addresses() []string

func (*MitoVaultInfosResponse) GetDerivativeAddresses added in v1.45.0

func (m *MitoVaultInfosResponse) GetDerivativeAddresses() []string

func (*MitoVaultInfosResponse) GetMasterAddresses added in v1.45.0

func (m *MitoVaultInfosResponse) GetMasterAddresses() []string

func (*MitoVaultInfosResponse) GetSpotAddresses added in v1.45.0

func (m *MitoVaultInfosResponse) GetSpotAddresses() []string

func (*MitoVaultInfosResponse) Marshal added in v1.45.0

func (m *MitoVaultInfosResponse) Marshal() (dAtA []byte, err error)

func (*MitoVaultInfosResponse) MarshalTo added in v1.45.0

func (m *MitoVaultInfosResponse) MarshalTo(dAtA []byte) (int, error)

func (*MitoVaultInfosResponse) MarshalToSizedBuffer added in v1.45.0

func (m *MitoVaultInfosResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MitoVaultInfosResponse) ProtoMessage added in v1.45.0

func (*MitoVaultInfosResponse) ProtoMessage()

func (*MitoVaultInfosResponse) Reset added in v1.45.0

func (m *MitoVaultInfosResponse) Reset()

func (*MitoVaultInfosResponse) Size added in v1.45.0

func (m *MitoVaultInfosResponse) Size() (n int)

func (*MitoVaultInfosResponse) String added in v1.45.0

func (m *MitoVaultInfosResponse) String() string

func (*MitoVaultInfosResponse) Unmarshal added in v1.45.0

func (m *MitoVaultInfosResponse) Unmarshal(dAtA []byte) error

func (*MitoVaultInfosResponse) XXX_DiscardUnknown added in v1.45.0

func (m *MitoVaultInfosResponse) XXX_DiscardUnknown()

func (*MitoVaultInfosResponse) XXX_Marshal added in v1.45.0

func (m *MitoVaultInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MitoVaultInfosResponse) XXX_Merge added in v1.45.0

func (m *MitoVaultInfosResponse) XXX_Merge(src proto.Message)

func (*MitoVaultInfosResponse) XXX_Size added in v1.45.0

func (m *MitoVaultInfosResponse) XXX_Size() int

func (*MitoVaultInfosResponse) XXX_Unmarshal added in v1.45.0

func (m *MitoVaultInfosResponse) XXX_Unmarshal(b []byte) error

type MsgAdminUpdateBinaryOptionsMarket added in v1.39.5

type MsgAdminUpdateBinaryOptionsMarket struct {
	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// new price at which market will be settled
	SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 156-byte string literal not displayed */
	// expiration timestamp
	ExpirationTimestamp int64 `protobuf:"varint,4,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
	// expiration timestamp
	SettlementTimestamp int64 `protobuf:"varint,5,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
	// Status of the market
	Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
}

MsgAdminUpdateBinaryOptionsMarket is used by the market Admin to operate the market

func (*MsgAdminUpdateBinaryOptionsMarket) Descriptor added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) Descriptor() ([]byte, []int)

func (*MsgAdminUpdateBinaryOptionsMarket) GetExpirationTimestamp added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) GetExpirationTimestamp() int64

func (*MsgAdminUpdateBinaryOptionsMarket) GetMarketId added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) GetMarketId() string

func (*MsgAdminUpdateBinaryOptionsMarket) GetSender added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) GetSettlementTimestamp added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) GetSettlementTimestamp() int64

func (*MsgAdminUpdateBinaryOptionsMarket) GetSignBytes added in v1.39.5

func (msg *MsgAdminUpdateBinaryOptionsMarket) GetSignBytes() []byte

func (*MsgAdminUpdateBinaryOptionsMarket) GetSigners added in v1.39.5

func (msg *MsgAdminUpdateBinaryOptionsMarket) GetSigners() []sdk.AccAddress

func (*MsgAdminUpdateBinaryOptionsMarket) GetStatus added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) Marshal added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) Marshal() (dAtA []byte, err error)

func (*MsgAdminUpdateBinaryOptionsMarket) MarshalTo added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalTo(dAtA []byte) (int, error)

func (*MsgAdminUpdateBinaryOptionsMarket) MarshalToSizedBuffer added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAdminUpdateBinaryOptionsMarket) ProtoMessage added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) ProtoMessage()

func (*MsgAdminUpdateBinaryOptionsMarket) Reset added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) Route added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) Size added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) Size() (n int)

func (*MsgAdminUpdateBinaryOptionsMarket) String added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) Type added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) Unmarshal added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) Unmarshal(dAtA []byte) error

func (*MsgAdminUpdateBinaryOptionsMarket) ValidateBasic added in v1.39.5

func (msg *MsgAdminUpdateBinaryOptionsMarket) ValidateBasic() error

func (*MsgAdminUpdateBinaryOptionsMarket) XXX_DiscardUnknown added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_DiscardUnknown()

func (*MsgAdminUpdateBinaryOptionsMarket) XXX_Marshal added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAdminUpdateBinaryOptionsMarket) XXX_Merge added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarket) XXX_Size added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Size() int

func (*MsgAdminUpdateBinaryOptionsMarket) XXX_Unmarshal added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Unmarshal(b []byte) error

type MsgAdminUpdateBinaryOptionsMarketResponse added in v1.39.5

type MsgAdminUpdateBinaryOptionsMarketResponse struct {
}

MsgAdminUpdateBinaryOptionsMarketResponse is the response for AdminUpdateBinaryOptionsMarket rpc method

func (*MsgAdminUpdateBinaryOptionsMarketResponse) Descriptor added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) Descriptor() ([]byte, []int)

func (*MsgAdminUpdateBinaryOptionsMarketResponse) Marshal added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Marshal() (dAtA []byte, err error)

func (*MsgAdminUpdateBinaryOptionsMarketResponse) MarshalTo added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAdminUpdateBinaryOptionsMarketResponse) MarshalToSizedBuffer added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAdminUpdateBinaryOptionsMarketResponse) ProtoMessage added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) Reset added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) Size added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) String added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) Unmarshal added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) XXX_DiscardUnknown added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_DiscardUnknown()

func (*MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Marshal added in v1.39.5

func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Merge added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Size added in v1.39.5

func (*MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Unmarshal added in v1.39.5

type MsgBatchCancelBinaryOptionsOrders added in v1.39.7

type MsgBatchCancelBinaryOptionsOrders struct {
	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Data   []OrderData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
}

MsgBatchCancelBinaryOptionsOrders defines the Msg/BatchCancelBinaryOptionsOrders response type.

func (*MsgBatchCancelBinaryOptionsOrders) Descriptor added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrders) Descriptor() ([]byte, []int)

func (*MsgBatchCancelBinaryOptionsOrders) GetSignBytes added in v1.39.7

func (msg *MsgBatchCancelBinaryOptionsOrders) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (*MsgBatchCancelBinaryOptionsOrders) GetSigners added in v1.39.7

func (msg *MsgBatchCancelBinaryOptionsOrders) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgBatchCancelBinaryOptionsOrders) Marshal added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) Marshal() (dAtA []byte, err error)

func (*MsgBatchCancelBinaryOptionsOrders) MarshalTo added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCancelBinaryOptionsOrders) MarshalToSizedBuffer added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCancelBinaryOptionsOrders) ProtoMessage added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrders) ProtoMessage()

func (*MsgBatchCancelBinaryOptionsOrders) Reset added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrders) Route added in v1.39.9

func (*MsgBatchCancelBinaryOptionsOrders) Size added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) Size() (n int)

func (*MsgBatchCancelBinaryOptionsOrders) String added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrders) Type added in v1.39.7

Type implements the sdk.Msg interface. It should return the action.

func (*MsgBatchCancelBinaryOptionsOrders) Unmarshal added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) Unmarshal(dAtA []byte) error

func (*MsgBatchCancelBinaryOptionsOrders) ValidateBasic added in v1.39.7

func (msg *MsgBatchCancelBinaryOptionsOrders) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgBatchCancelBinaryOptionsOrders) XXX_DiscardUnknown added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) XXX_DiscardUnknown()

func (*MsgBatchCancelBinaryOptionsOrders) XXX_Marshal added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCancelBinaryOptionsOrders) XXX_Merge added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrders) XXX_Size added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Size() int

func (*MsgBatchCancelBinaryOptionsOrders) XXX_Unmarshal added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrders) XXX_Unmarshal(b []byte) error

type MsgBatchCancelBinaryOptionsOrdersResponse added in v1.39.7

type MsgBatchCancelBinaryOptionsOrdersResponse struct {
	Success []bool `protobuf:"varint,1,rep,packed,name=success,proto3" json:"success,omitempty"`
}

BatchCancelBinaryOptionsOrdersResponse defines the Msg/BatchCancelBinaryOptionsOrders response type.

func (*MsgBatchCancelBinaryOptionsOrdersResponse) Descriptor added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) Descriptor() ([]byte, []int)

func (*MsgBatchCancelBinaryOptionsOrdersResponse) Marshal added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Marshal() (dAtA []byte, err error)

func (*MsgBatchCancelBinaryOptionsOrdersResponse) MarshalTo added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCancelBinaryOptionsOrdersResponse) MarshalToSizedBuffer added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCancelBinaryOptionsOrdersResponse) ProtoMessage added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) Reset added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) Size added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) String added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) Unmarshal added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) XXX_DiscardUnknown added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_DiscardUnknown()

func (*MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Marshal added in v1.39.7

func (m *MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Merge added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Size added in v1.39.7

func (*MsgBatchCancelBinaryOptionsOrdersResponse) XXX_Unmarshal added in v1.39.7

type MsgBatchCancelDerivativeOrders

type MsgBatchCancelDerivativeOrders struct {
	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Data   []OrderData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
}

MsgBatchCancelDerivativeOrders defines the Msg/CancelDerivativeOrders response type.

func (*MsgBatchCancelDerivativeOrders) Descriptor

func (*MsgBatchCancelDerivativeOrders) Descriptor() ([]byte, []int)

func (*MsgBatchCancelDerivativeOrders) GetSignBytes

func (msg *MsgBatchCancelDerivativeOrders) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (*MsgBatchCancelDerivativeOrders) GetSigners

func (msg *MsgBatchCancelDerivativeOrders) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgBatchCancelDerivativeOrders) Marshal

func (m *MsgBatchCancelDerivativeOrders) Marshal() (dAtA []byte, err error)

func (*MsgBatchCancelDerivativeOrders) MarshalTo

func (m *MsgBatchCancelDerivativeOrders) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCancelDerivativeOrders) MarshalToSizedBuffer

func (m *MsgBatchCancelDerivativeOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCancelDerivativeOrders) ProtoMessage

func (*MsgBatchCancelDerivativeOrders) ProtoMessage()

func (*MsgBatchCancelDerivativeOrders) Reset

func (m *MsgBatchCancelDerivativeOrders) Reset()

func (*MsgBatchCancelDerivativeOrders) Route

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgBatchCancelDerivativeOrders) Size

func (m *MsgBatchCancelDerivativeOrders) Size() (n int)

func (*MsgBatchCancelDerivativeOrders) String

func (*MsgBatchCancelDerivativeOrders) Type

Type implements the sdk.Msg interface. It should return the action.

func (*MsgBatchCancelDerivativeOrders) Unmarshal

func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error

func (*MsgBatchCancelDerivativeOrders) ValidateBasic

func (msg *MsgBatchCancelDerivativeOrders) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgBatchCancelDerivativeOrders) XXX_DiscardUnknown

func (m *MsgBatchCancelDerivativeOrders) XXX_DiscardUnknown()

func (*MsgBatchCancelDerivativeOrders) XXX_Marshal

func (m *MsgBatchCancelDerivativeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCancelDerivativeOrders) XXX_Merge

func (m *MsgBatchCancelDerivativeOrders) XXX_Merge(src proto.Message)

func (*MsgBatchCancelDerivativeOrders) XXX_Size

func (m *MsgBatchCancelDerivativeOrders) XXX_Size() int

func (*MsgBatchCancelDerivativeOrders) XXX_Unmarshal

func (m *MsgBatchCancelDerivativeOrders) XXX_Unmarshal(b []byte) error

type MsgBatchCancelDerivativeOrdersResponse

type MsgBatchCancelDerivativeOrdersResponse struct {
	Success []bool `protobuf:"varint,1,rep,packed,name=success,proto3" json:"success,omitempty"`
}

MsgBatchCancelDerivativeOrdersResponse defines the Msg/CancelDerivativeOrderResponse response type.

func (*MsgBatchCancelDerivativeOrdersResponse) Descriptor

func (*MsgBatchCancelDerivativeOrdersResponse) Descriptor() ([]byte, []int)

func (*MsgBatchCancelDerivativeOrdersResponse) Marshal

func (m *MsgBatchCancelDerivativeOrdersResponse) Marshal() (dAtA []byte, err error)

func (*MsgBatchCancelDerivativeOrdersResponse) MarshalTo

func (m *MsgBatchCancelDerivativeOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCancelDerivativeOrdersResponse) MarshalToSizedBuffer

func (m *MsgBatchCancelDerivativeOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCancelDerivativeOrdersResponse) ProtoMessage

func (*MsgBatchCancelDerivativeOrdersResponse) Reset

func (*MsgBatchCancelDerivativeOrdersResponse) Size

func (*MsgBatchCancelDerivativeOrdersResponse) String

func (*MsgBatchCancelDerivativeOrdersResponse) Unmarshal

func (m *MsgBatchCancelDerivativeOrdersResponse) Unmarshal(dAtA []byte) error

func (*MsgBatchCancelDerivativeOrdersResponse) XXX_DiscardUnknown

func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_DiscardUnknown()

func (*MsgBatchCancelDerivativeOrdersResponse) XXX_Marshal

func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCancelDerivativeOrdersResponse) XXX_Merge

func (*MsgBatchCancelDerivativeOrdersResponse) XXX_Size

func (*MsgBatchCancelDerivativeOrdersResponse) XXX_Unmarshal

func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Unmarshal(b []byte) error

type MsgBatchCancelSpotOrders

type MsgBatchCancelSpotOrders struct {
	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Data   []OrderData `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
}

MsgBatchCancelSpotOrders defines the Msg/BatchCancelSpotOrders response type.

func (*MsgBatchCancelSpotOrders) Descriptor

func (*MsgBatchCancelSpotOrders) Descriptor() ([]byte, []int)

func (*MsgBatchCancelSpotOrders) GetSignBytes

func (msg *MsgBatchCancelSpotOrders) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (*MsgBatchCancelSpotOrders) GetSigners

func (msg *MsgBatchCancelSpotOrders) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgBatchCancelSpotOrders) Marshal

func (m *MsgBatchCancelSpotOrders) Marshal() (dAtA []byte, err error)

func (*MsgBatchCancelSpotOrders) MarshalTo

func (m *MsgBatchCancelSpotOrders) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCancelSpotOrders) MarshalToSizedBuffer

func (m *MsgBatchCancelSpotOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCancelSpotOrders) ProtoMessage

func (*MsgBatchCancelSpotOrders) ProtoMessage()

func (*MsgBatchCancelSpotOrders) Reset

func (m *MsgBatchCancelSpotOrders) Reset()

func (*MsgBatchCancelSpotOrders) Route

func (msg *MsgBatchCancelSpotOrders) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgBatchCancelSpotOrders) Size

func (m *MsgBatchCancelSpotOrders) Size() (n int)

func (*MsgBatchCancelSpotOrders) String

func (m *MsgBatchCancelSpotOrders) String() string

func (*MsgBatchCancelSpotOrders) Type

func (msg *MsgBatchCancelSpotOrders) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgBatchCancelSpotOrders) Unmarshal

func (m *MsgBatchCancelSpotOrders) Unmarshal(dAtA []byte) error

func (*MsgBatchCancelSpotOrders) ValidateBasic

func (msg *MsgBatchCancelSpotOrders) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgBatchCancelSpotOrders) XXX_DiscardUnknown

func (m *MsgBatchCancelSpotOrders) XXX_DiscardUnknown()

func (*MsgBatchCancelSpotOrders) XXX_Marshal

func (m *MsgBatchCancelSpotOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCancelSpotOrders) XXX_Merge

func (m *MsgBatchCancelSpotOrders) XXX_Merge(src proto.Message)

func (*MsgBatchCancelSpotOrders) XXX_Size

func (m *MsgBatchCancelSpotOrders) XXX_Size() int

func (*MsgBatchCancelSpotOrders) XXX_Unmarshal

func (m *MsgBatchCancelSpotOrders) XXX_Unmarshal(b []byte) error

type MsgBatchCancelSpotOrdersResponse

type MsgBatchCancelSpotOrdersResponse struct {
	Success []bool `protobuf:"varint,1,rep,packed,name=success,proto3" json:"success,omitempty"`
}

MsgBatchCancelSpotOrdersResponse defines the Msg/BatchCancelSpotOrders response type.

func (*MsgBatchCancelSpotOrdersResponse) Descriptor

func (*MsgBatchCancelSpotOrdersResponse) Descriptor() ([]byte, []int)

func (*MsgBatchCancelSpotOrdersResponse) Marshal

func (m *MsgBatchCancelSpotOrdersResponse) Marshal() (dAtA []byte, err error)

func (*MsgBatchCancelSpotOrdersResponse) MarshalTo

func (m *MsgBatchCancelSpotOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCancelSpotOrdersResponse) MarshalToSizedBuffer

func (m *MsgBatchCancelSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCancelSpotOrdersResponse) ProtoMessage

func (*MsgBatchCancelSpotOrdersResponse) ProtoMessage()

func (*MsgBatchCancelSpotOrdersResponse) Reset

func (*MsgBatchCancelSpotOrdersResponse) Size

func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int)

func (*MsgBatchCancelSpotOrdersResponse) String

func (*MsgBatchCancelSpotOrdersResponse) Unmarshal

func (m *MsgBatchCancelSpotOrdersResponse) Unmarshal(dAtA []byte) error

func (*MsgBatchCancelSpotOrdersResponse) XXX_DiscardUnknown

func (m *MsgBatchCancelSpotOrdersResponse) XXX_DiscardUnknown()

func (*MsgBatchCancelSpotOrdersResponse) XXX_Marshal

func (m *MsgBatchCancelSpotOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCancelSpotOrdersResponse) XXX_Merge

func (*MsgBatchCancelSpotOrdersResponse) XXX_Size

func (m *MsgBatchCancelSpotOrdersResponse) XXX_Size() int

func (*MsgBatchCancelSpotOrdersResponse) XXX_Unmarshal

func (m *MsgBatchCancelSpotOrdersResponse) XXX_Unmarshal(b []byte) error

type MsgBatchCreateDerivativeLimitOrders

type MsgBatchCreateDerivativeLimitOrders struct {
	Sender string            `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Orders []DerivativeOrder `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders"`
}

A Cosmos-SDK MsgBatchCreateDerivativeLimitOrders

func (*MsgBatchCreateDerivativeLimitOrders) Descriptor

func (*MsgBatchCreateDerivativeLimitOrders) Descriptor() ([]byte, []int)

func (*MsgBatchCreateDerivativeLimitOrders) GetSignBytes

func (msg *MsgBatchCreateDerivativeLimitOrders) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgBatchCreateDerivativeLimitOrders) GetSigners

GetSigners defines whose signature is required

func (*MsgBatchCreateDerivativeLimitOrders) Marshal

func (m *MsgBatchCreateDerivativeLimitOrders) Marshal() (dAtA []byte, err error)

func (*MsgBatchCreateDerivativeLimitOrders) MarshalTo

func (m *MsgBatchCreateDerivativeLimitOrders) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCreateDerivativeLimitOrders) MarshalToSizedBuffer

func (m *MsgBatchCreateDerivativeLimitOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCreateDerivativeLimitOrders) ProtoMessage

func (*MsgBatchCreateDerivativeLimitOrders) ProtoMessage()

func (*MsgBatchCreateDerivativeLimitOrders) Reset

func (MsgBatchCreateDerivativeLimitOrders) Route

Route should return the name of the module

func (*MsgBatchCreateDerivativeLimitOrders) Size

func (*MsgBatchCreateDerivativeLimitOrders) String

func (MsgBatchCreateDerivativeLimitOrders) Type

Type should return the action

func (*MsgBatchCreateDerivativeLimitOrders) Unmarshal

func (m *MsgBatchCreateDerivativeLimitOrders) Unmarshal(dAtA []byte) error

func (MsgBatchCreateDerivativeLimitOrders) ValidateBasic

func (msg MsgBatchCreateDerivativeLimitOrders) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgBatchCreateDerivativeLimitOrders) XXX_DiscardUnknown

func (m *MsgBatchCreateDerivativeLimitOrders) XXX_DiscardUnknown()

func (*MsgBatchCreateDerivativeLimitOrders) XXX_Marshal

func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCreateDerivativeLimitOrders) XXX_Merge

func (*MsgBatchCreateDerivativeLimitOrders) XXX_Size

func (*MsgBatchCreateDerivativeLimitOrders) XXX_Unmarshal

func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Unmarshal(b []byte) error

type MsgBatchCreateDerivativeLimitOrdersResponse

type MsgBatchCreateDerivativeLimitOrdersResponse struct {
	OrderHashes []string `protobuf:"bytes,1,rep,name=order_hashes,json=orderHashes,proto3" json:"order_hashes,omitempty"`
}

MsgBatchCreateDerivativeLimitOrdersResponse defines the Msg/BatchCreateDerivativeLimitOrders response type.

func (*MsgBatchCreateDerivativeLimitOrdersResponse) Descriptor

func (*MsgBatchCreateDerivativeLimitOrdersResponse) Marshal

func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Marshal() (dAtA []byte, err error)

func (*MsgBatchCreateDerivativeLimitOrdersResponse) MarshalTo

func (*MsgBatchCreateDerivativeLimitOrdersResponse) MarshalToSizedBuffer

func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCreateDerivativeLimitOrdersResponse) ProtoMessage

func (*MsgBatchCreateDerivativeLimitOrdersResponse) Reset

func (*MsgBatchCreateDerivativeLimitOrdersResponse) Size

func (*MsgBatchCreateDerivativeLimitOrdersResponse) String

func (*MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal

func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_DiscardUnknown

func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_DiscardUnknown()

func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Marshal

func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Merge

func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Size

func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Unmarshal

type MsgBatchCreateSpotLimitOrders

type MsgBatchCreateSpotLimitOrders struct {
	Sender string      `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Orders []SpotOrder `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders"`
}

MsgBatchCreateSpotLimitOrders defines a SDK message for creating a new batch of spot limit orders.

func (*MsgBatchCreateSpotLimitOrders) Descriptor

func (*MsgBatchCreateSpotLimitOrders) Descriptor() ([]byte, []int)

func (*MsgBatchCreateSpotLimitOrders) GetSignBytes

func (msg *MsgBatchCreateSpotLimitOrders) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgBatchCreateSpotLimitOrders) GetSigners

func (msg MsgBatchCreateSpotLimitOrders) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgBatchCreateSpotLimitOrders) Marshal

func (m *MsgBatchCreateSpotLimitOrders) Marshal() (dAtA []byte, err error)

func (*MsgBatchCreateSpotLimitOrders) MarshalTo

func (m *MsgBatchCreateSpotLimitOrders) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCreateSpotLimitOrders) MarshalToSizedBuffer

func (m *MsgBatchCreateSpotLimitOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCreateSpotLimitOrders) ProtoMessage

func (*MsgBatchCreateSpotLimitOrders) ProtoMessage()

func (*MsgBatchCreateSpotLimitOrders) Reset

func (m *MsgBatchCreateSpotLimitOrders) Reset()

func (MsgBatchCreateSpotLimitOrders) Route

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgBatchCreateSpotLimitOrders) Size

func (m *MsgBatchCreateSpotLimitOrders) Size() (n int)

func (*MsgBatchCreateSpotLimitOrders) String

func (MsgBatchCreateSpotLimitOrders) Type

Type implements the sdk.Msg interface. It should return the action.

func (*MsgBatchCreateSpotLimitOrders) Unmarshal

func (m *MsgBatchCreateSpotLimitOrders) Unmarshal(dAtA []byte) error

func (MsgBatchCreateSpotLimitOrders) ValidateBasic

func (msg MsgBatchCreateSpotLimitOrders) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgBatchCreateSpotLimitOrders) XXX_DiscardUnknown

func (m *MsgBatchCreateSpotLimitOrders) XXX_DiscardUnknown()

func (*MsgBatchCreateSpotLimitOrders) XXX_Marshal

func (m *MsgBatchCreateSpotLimitOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCreateSpotLimitOrders) XXX_Merge

func (m *MsgBatchCreateSpotLimitOrders) XXX_Merge(src proto.Message)

func (*MsgBatchCreateSpotLimitOrders) XXX_Size

func (m *MsgBatchCreateSpotLimitOrders) XXX_Size() int

func (*MsgBatchCreateSpotLimitOrders) XXX_Unmarshal

func (m *MsgBatchCreateSpotLimitOrders) XXX_Unmarshal(b []byte) error

type MsgBatchCreateSpotLimitOrdersResponse

type MsgBatchCreateSpotLimitOrdersResponse struct {
	OrderHashes []string `protobuf:"bytes,1,rep,name=order_hashes,json=orderHashes,proto3" json:"order_hashes,omitempty"`
}

MsgBatchCreateSpotLimitOrdersResponse defines the Msg/BatchCreateSpotLimitOrders response type.

func (*MsgBatchCreateSpotLimitOrdersResponse) Descriptor

func (*MsgBatchCreateSpotLimitOrdersResponse) Descriptor() ([]byte, []int)

func (*MsgBatchCreateSpotLimitOrdersResponse) Marshal

func (m *MsgBatchCreateSpotLimitOrdersResponse) Marshal() (dAtA []byte, err error)

func (*MsgBatchCreateSpotLimitOrdersResponse) MarshalTo

func (m *MsgBatchCreateSpotLimitOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchCreateSpotLimitOrdersResponse) MarshalToSizedBuffer

func (m *MsgBatchCreateSpotLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchCreateSpotLimitOrdersResponse) ProtoMessage

func (*MsgBatchCreateSpotLimitOrdersResponse) ProtoMessage()

func (*MsgBatchCreateSpotLimitOrdersResponse) Reset

func (*MsgBatchCreateSpotLimitOrdersResponse) Size

func (*MsgBatchCreateSpotLimitOrdersResponse) String

func (*MsgBatchCreateSpotLimitOrdersResponse) Unmarshal

func (m *MsgBatchCreateSpotLimitOrdersResponse) Unmarshal(dAtA []byte) error

func (*MsgBatchCreateSpotLimitOrdersResponse) XXX_DiscardUnknown

func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_DiscardUnknown()

func (*MsgBatchCreateSpotLimitOrdersResponse) XXX_Marshal

func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchCreateSpotLimitOrdersResponse) XXX_Merge

func (*MsgBatchCreateSpotLimitOrdersResponse) XXX_Size

func (*MsgBatchCreateSpotLimitOrdersResponse) XXX_Unmarshal

func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Unmarshal(b []byte) error

type MsgBatchUpdateOrders added in v1.28.4

type MsgBatchUpdateOrders struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// subaccount_id only used for the spot_market_ids_to_cancel_all and
	// derivative_market_ids_to_cancel_all.
	SubaccountId                      string             `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	SpotMarketIdsToCancelAll          []string           `` /* 141-byte string literal not displayed */
	DerivativeMarketIdsToCancelAll    []string           `` /* 159-byte string literal not displayed */
	SpotOrdersToCancel                []*OrderData       `protobuf:"bytes,5,rep,name=spot_orders_to_cancel,json=spotOrdersToCancel,proto3" json:"spot_orders_to_cancel,omitempty"`
	DerivativeOrdersToCancel          []*OrderData       `` /* 137-byte string literal not displayed */
	SpotOrdersToCreate                []*SpotOrder       `protobuf:"bytes,7,rep,name=spot_orders_to_create,json=spotOrdersToCreate,proto3" json:"spot_orders_to_create,omitempty"`
	DerivativeOrdersToCreate          []*DerivativeOrder `` /* 137-byte string literal not displayed */
	BinaryOptionsOrdersToCancel       []*OrderData       `` /* 148-byte string literal not displayed */
	BinaryOptionsMarketIdsToCancelAll []string           `` /* 171-byte string literal not displayed */
	BinaryOptionsOrdersToCreate       []*DerivativeOrder `` /* 149-byte string literal not displayed */
}

MsgBatchUpdateOrders defines the Msg/BatchUpdateOrders response type.

func (*MsgBatchUpdateOrders) Descriptor added in v1.28.4

func (*MsgBatchUpdateOrders) Descriptor() ([]byte, []int)

func (*MsgBatchUpdateOrders) GetSignBytes added in v1.28.4

func (msg *MsgBatchUpdateOrders) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgBatchUpdateOrders) GetSigners added in v1.28.4

func (msg MsgBatchUpdateOrders) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgBatchUpdateOrders) Marshal added in v1.28.4

func (m *MsgBatchUpdateOrders) Marshal() (dAtA []byte, err error)

func (*MsgBatchUpdateOrders) MarshalTo added in v1.28.4

func (m *MsgBatchUpdateOrders) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchUpdateOrders) MarshalToSizedBuffer added in v1.28.4

func (m *MsgBatchUpdateOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchUpdateOrders) ProtoMessage added in v1.28.4

func (*MsgBatchUpdateOrders) ProtoMessage()

func (*MsgBatchUpdateOrders) Reset added in v1.28.4

func (m *MsgBatchUpdateOrders) Reset()

func (MsgBatchUpdateOrders) Route added in v1.28.4

func (msg MsgBatchUpdateOrders) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgBatchUpdateOrders) Size added in v1.28.4

func (m *MsgBatchUpdateOrders) Size() (n int)

func (*MsgBatchUpdateOrders) String added in v1.28.4

func (m *MsgBatchUpdateOrders) String() string

func (MsgBatchUpdateOrders) Type added in v1.28.4

func (msg MsgBatchUpdateOrders) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgBatchUpdateOrders) Unmarshal added in v1.28.4

func (m *MsgBatchUpdateOrders) Unmarshal(dAtA []byte) error

func (MsgBatchUpdateOrders) ValidateBasic added in v1.28.4

func (msg MsgBatchUpdateOrders) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgBatchUpdateOrders) XXX_DiscardUnknown added in v1.28.4

func (m *MsgBatchUpdateOrders) XXX_DiscardUnknown()

func (*MsgBatchUpdateOrders) XXX_Marshal added in v1.28.4

func (m *MsgBatchUpdateOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchUpdateOrders) XXX_Merge added in v1.28.4

func (m *MsgBatchUpdateOrders) XXX_Merge(src proto.Message)

func (*MsgBatchUpdateOrders) XXX_Size added in v1.28.4

func (m *MsgBatchUpdateOrders) XXX_Size() int

func (*MsgBatchUpdateOrders) XXX_Unmarshal added in v1.28.4

func (m *MsgBatchUpdateOrders) XXX_Unmarshal(b []byte) error

type MsgBatchUpdateOrdersResponse added in v1.28.4

type MsgBatchUpdateOrdersResponse struct {
	SpotCancelSuccess          []bool   `protobuf:"varint,1,rep,packed,name=spot_cancel_success,json=spotCancelSuccess,proto3" json:"spot_cancel_success,omitempty"`
	DerivativeCancelSuccess    []bool   `` /* 140-byte string literal not displayed */
	SpotOrderHashes            []string `protobuf:"bytes,3,rep,name=spot_order_hashes,json=spotOrderHashes,proto3" json:"spot_order_hashes,omitempty"`
	DerivativeOrderHashes      []string `` /* 126-byte string literal not displayed */
	BinaryOptionsCancelSuccess []bool   `` /* 151-byte string literal not displayed */
	BinaryOptionsOrderHashes   []string `` /* 137-byte string literal not displayed */
}

MsgBatchUpdateOrdersResponse defines the Msg/BatchUpdateOrders response type.

func (*MsgBatchUpdateOrdersResponse) Descriptor added in v1.28.4

func (*MsgBatchUpdateOrdersResponse) Descriptor() ([]byte, []int)

func (*MsgBatchUpdateOrdersResponse) Marshal added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) Marshal() (dAtA []byte, err error)

func (*MsgBatchUpdateOrdersResponse) MarshalTo added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBatchUpdateOrdersResponse) MarshalToSizedBuffer added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBatchUpdateOrdersResponse) ProtoMessage added in v1.28.4

func (*MsgBatchUpdateOrdersResponse) ProtoMessage()

func (*MsgBatchUpdateOrdersResponse) Reset added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) Reset()

func (*MsgBatchUpdateOrdersResponse) Size added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) Size() (n int)

func (*MsgBatchUpdateOrdersResponse) String added in v1.28.4

func (*MsgBatchUpdateOrdersResponse) Unmarshal added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error

func (*MsgBatchUpdateOrdersResponse) XXX_DiscardUnknown added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) XXX_DiscardUnknown()

func (*MsgBatchUpdateOrdersResponse) XXX_Marshal added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBatchUpdateOrdersResponse) XXX_Merge added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) XXX_Merge(src proto.Message)

func (*MsgBatchUpdateOrdersResponse) XXX_Size added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) XXX_Size() int

func (*MsgBatchUpdateOrdersResponse) XXX_Unmarshal added in v1.28.4

func (m *MsgBatchUpdateOrdersResponse) XXX_Unmarshal(b []byte) error

type MsgCancelBinaryOptionsOrder added in v1.39.5

type MsgCancelBinaryOptionsOrder struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	OrderHash    string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	OrderMask    int32  `protobuf:"varint,5,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
}

MsgCancelBinaryOptionsOrder defines the Msg/CancelBinaryOptionsOrder response type.

func (*MsgCancelBinaryOptionsOrder) Descriptor added in v1.39.5

func (*MsgCancelBinaryOptionsOrder) Descriptor() ([]byte, []int)

func (*MsgCancelBinaryOptionsOrder) GetSignBytes added in v1.39.5

func (msg *MsgCancelBinaryOptionsOrder) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (*MsgCancelBinaryOptionsOrder) GetSigners added in v1.39.5

func (msg *MsgCancelBinaryOptionsOrder) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgCancelBinaryOptionsOrder) Marshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) Marshal() (dAtA []byte, err error)

func (*MsgCancelBinaryOptionsOrder) MarshalTo added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelBinaryOptionsOrder) MarshalToSizedBuffer added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelBinaryOptionsOrder) ProtoMessage added in v1.39.5

func (*MsgCancelBinaryOptionsOrder) ProtoMessage()

func (*MsgCancelBinaryOptionsOrder) Reset added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) Reset()

func (*MsgCancelBinaryOptionsOrder) Route added in v1.39.5

func (msg *MsgCancelBinaryOptionsOrder) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgCancelBinaryOptionsOrder) Size added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) Size() (n int)

func (*MsgCancelBinaryOptionsOrder) String added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) String() string

func (*MsgCancelBinaryOptionsOrder) Type added in v1.39.5

func (msg *MsgCancelBinaryOptionsOrder) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgCancelBinaryOptionsOrder) Unmarshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error

func (*MsgCancelBinaryOptionsOrder) ValidateBasic added in v1.39.5

func (msg *MsgCancelBinaryOptionsOrder) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgCancelBinaryOptionsOrder) XXX_DiscardUnknown added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) XXX_DiscardUnknown()

func (*MsgCancelBinaryOptionsOrder) XXX_Marshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelBinaryOptionsOrder) XXX_Merge added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) XXX_Merge(src proto.Message)

func (*MsgCancelBinaryOptionsOrder) XXX_Size added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) XXX_Size() int

func (*MsgCancelBinaryOptionsOrder) XXX_Unmarshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrder) XXX_Unmarshal(b []byte) error

type MsgCancelBinaryOptionsOrderResponse added in v1.39.5

type MsgCancelBinaryOptionsOrderResponse struct {
}

MsgCancelBinaryOptionsOrderResponse defines the Msg/CancelBinaryOptionsOrderResponse response type.

func (*MsgCancelBinaryOptionsOrderResponse) Descriptor added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCancelBinaryOptionsOrderResponse) Marshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelBinaryOptionsOrderResponse) MarshalTo added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelBinaryOptionsOrderResponse) MarshalToSizedBuffer added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelBinaryOptionsOrderResponse) ProtoMessage added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) ProtoMessage()

func (*MsgCancelBinaryOptionsOrderResponse) Reset added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) Size added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) String added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) Unmarshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelBinaryOptionsOrderResponse) XXX_DiscardUnknown added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) XXX_DiscardUnknown()

func (*MsgCancelBinaryOptionsOrderResponse) XXX_Marshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelBinaryOptionsOrderResponse) XXX_Merge added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) XXX_Size added in v1.39.5

func (*MsgCancelBinaryOptionsOrderResponse) XXX_Unmarshal added in v1.39.5

func (m *MsgCancelBinaryOptionsOrderResponse) XXX_Unmarshal(b []byte) error

type MsgCancelDerivativeOrder

type MsgCancelDerivativeOrder struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	OrderHash    string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	OrderMask    int32  `protobuf:"varint,5,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
}

MsgCancelDerivativeOrder defines the Msg/CancelDerivativeOrder response type.

func (*MsgCancelDerivativeOrder) Descriptor

func (*MsgCancelDerivativeOrder) Descriptor() ([]byte, []int)

func (*MsgCancelDerivativeOrder) GetSignBytes

func (msg *MsgCancelDerivativeOrder) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (*MsgCancelDerivativeOrder) GetSigners

func (msg *MsgCancelDerivativeOrder) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgCancelDerivativeOrder) Marshal

func (m *MsgCancelDerivativeOrder) Marshal() (dAtA []byte, err error)

func (*MsgCancelDerivativeOrder) MarshalTo

func (m *MsgCancelDerivativeOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelDerivativeOrder) MarshalToSizedBuffer

func (m *MsgCancelDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelDerivativeOrder) ProtoMessage

func (*MsgCancelDerivativeOrder) ProtoMessage()

func (*MsgCancelDerivativeOrder) Reset

func (m *MsgCancelDerivativeOrder) Reset()

func (*MsgCancelDerivativeOrder) Route

func (msg *MsgCancelDerivativeOrder) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgCancelDerivativeOrder) Size

func (m *MsgCancelDerivativeOrder) Size() (n int)

func (*MsgCancelDerivativeOrder) String

func (m *MsgCancelDerivativeOrder) String() string

func (*MsgCancelDerivativeOrder) Type

func (msg *MsgCancelDerivativeOrder) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgCancelDerivativeOrder) Unmarshal

func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error

func (*MsgCancelDerivativeOrder) ValidateBasic

func (msg *MsgCancelDerivativeOrder) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgCancelDerivativeOrder) XXX_DiscardUnknown

func (m *MsgCancelDerivativeOrder) XXX_DiscardUnknown()

func (*MsgCancelDerivativeOrder) XXX_Marshal

func (m *MsgCancelDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelDerivativeOrder) XXX_Merge

func (m *MsgCancelDerivativeOrder) XXX_Merge(src proto.Message)

func (*MsgCancelDerivativeOrder) XXX_Size

func (m *MsgCancelDerivativeOrder) XXX_Size() int

func (*MsgCancelDerivativeOrder) XXX_Unmarshal

func (m *MsgCancelDerivativeOrder) XXX_Unmarshal(b []byte) error

type MsgCancelDerivativeOrderResponse

type MsgCancelDerivativeOrderResponse struct {
}

MsgCancelDerivativeOrderResponse defines the Msg/CancelDerivativeOrderResponse response type.

func (*MsgCancelDerivativeOrderResponse) Descriptor

func (*MsgCancelDerivativeOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCancelDerivativeOrderResponse) Marshal

func (m *MsgCancelDerivativeOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelDerivativeOrderResponse) MarshalTo

func (m *MsgCancelDerivativeOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelDerivativeOrderResponse) MarshalToSizedBuffer

func (m *MsgCancelDerivativeOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelDerivativeOrderResponse) ProtoMessage

func (*MsgCancelDerivativeOrderResponse) ProtoMessage()

func (*MsgCancelDerivativeOrderResponse) Reset

func (*MsgCancelDerivativeOrderResponse) Size

func (m *MsgCancelDerivativeOrderResponse) Size() (n int)

func (*MsgCancelDerivativeOrderResponse) String

func (*MsgCancelDerivativeOrderResponse) Unmarshal

func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelDerivativeOrderResponse) XXX_DiscardUnknown

func (m *MsgCancelDerivativeOrderResponse) XXX_DiscardUnknown()

func (*MsgCancelDerivativeOrderResponse) XXX_Marshal

func (m *MsgCancelDerivativeOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelDerivativeOrderResponse) XXX_Merge

func (*MsgCancelDerivativeOrderResponse) XXX_Size

func (m *MsgCancelDerivativeOrderResponse) XXX_Size() int

func (*MsgCancelDerivativeOrderResponse) XXX_Unmarshal

func (m *MsgCancelDerivativeOrderResponse) XXX_Unmarshal(b []byte) error

type MsgCancelSpotOrder

type MsgCancelSpotOrder struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	OrderHash    string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

MsgCancelSpotOrder defines the Msg/CancelSpotOrder response type.

func (*MsgCancelSpotOrder) Descriptor

func (*MsgCancelSpotOrder) Descriptor() ([]byte, []int)

func (*MsgCancelSpotOrder) GetSignBytes

func (msg *MsgCancelSpotOrder) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (*MsgCancelSpotOrder) GetSigners

func (msg *MsgCancelSpotOrder) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgCancelSpotOrder) Marshal

func (m *MsgCancelSpotOrder) Marshal() (dAtA []byte, err error)

func (*MsgCancelSpotOrder) MarshalTo

func (m *MsgCancelSpotOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelSpotOrder) MarshalToSizedBuffer

func (m *MsgCancelSpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelSpotOrder) ProtoMessage

func (*MsgCancelSpotOrder) ProtoMessage()

func (*MsgCancelSpotOrder) Reset

func (m *MsgCancelSpotOrder) Reset()

func (*MsgCancelSpotOrder) Route

func (msg *MsgCancelSpotOrder) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgCancelSpotOrder) Size

func (m *MsgCancelSpotOrder) Size() (n int)

func (*MsgCancelSpotOrder) String

func (m *MsgCancelSpotOrder) String() string

func (*MsgCancelSpotOrder) Type

func (msg *MsgCancelSpotOrder) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgCancelSpotOrder) Unmarshal

func (m *MsgCancelSpotOrder) Unmarshal(dAtA []byte) error

func (*MsgCancelSpotOrder) ValidateBasic

func (msg *MsgCancelSpotOrder) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgCancelSpotOrder) XXX_DiscardUnknown

func (m *MsgCancelSpotOrder) XXX_DiscardUnknown()

func (*MsgCancelSpotOrder) XXX_Marshal

func (m *MsgCancelSpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelSpotOrder) XXX_Merge

func (m *MsgCancelSpotOrder) XXX_Merge(src proto.Message)

func (*MsgCancelSpotOrder) XXX_Size

func (m *MsgCancelSpotOrder) XXX_Size() int

func (*MsgCancelSpotOrder) XXX_Unmarshal

func (m *MsgCancelSpotOrder) XXX_Unmarshal(b []byte) error

type MsgCancelSpotOrderResponse

type MsgCancelSpotOrderResponse struct {
}

MsgCancelSpotOrderResponse defines the Msg/CancelSpotOrder response type.

func (*MsgCancelSpotOrderResponse) Descriptor

func (*MsgCancelSpotOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCancelSpotOrderResponse) Marshal

func (m *MsgCancelSpotOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelSpotOrderResponse) MarshalTo

func (m *MsgCancelSpotOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelSpotOrderResponse) MarshalToSizedBuffer

func (m *MsgCancelSpotOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelSpotOrderResponse) ProtoMessage

func (*MsgCancelSpotOrderResponse) ProtoMessage()

func (*MsgCancelSpotOrderResponse) Reset

func (m *MsgCancelSpotOrderResponse) Reset()

func (*MsgCancelSpotOrderResponse) Size

func (m *MsgCancelSpotOrderResponse) Size() (n int)

func (*MsgCancelSpotOrderResponse) String

func (m *MsgCancelSpotOrderResponse) String() string

func (*MsgCancelSpotOrderResponse) Unmarshal

func (m *MsgCancelSpotOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelSpotOrderResponse) XXX_DiscardUnknown

func (m *MsgCancelSpotOrderResponse) XXX_DiscardUnknown()

func (*MsgCancelSpotOrderResponse) XXX_Marshal

func (m *MsgCancelSpotOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelSpotOrderResponse) XXX_Merge

func (m *MsgCancelSpotOrderResponse) XXX_Merge(src proto.Message)

func (*MsgCancelSpotOrderResponse) XXX_Size

func (m *MsgCancelSpotOrderResponse) XXX_Size() int

func (*MsgCancelSpotOrderResponse) XXX_Unmarshal

func (m *MsgCancelSpotOrderResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// Deposit defines a method for transferring coins from the sender's bank
	// balance into the subaccount's exchange deposits
	Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error)
	// Withdraw defines a method for withdrawing coins from a subaccount's
	// deposits to the user's bank balance
	Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
	// InstantSpotMarketLaunch defines method for creating a spot market by paying
	// listing fee without governance
	InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error)
	// InstantPerpetualMarketLaunch defines a method for creating a new perpetual
	// futures market by paying listing fee without governance
	InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error)
	// InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
	// futures market by paying listing fee without governance
	InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
	// CreateSpotLimitOrder defines a method for creating a new spot limit order.
	CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error)
	// BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
	// limit orders.
	BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error)
	// CreateSpotMarketOrder defines a method for creating a new spot market
	// order.
	CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error)
	// MsgCancelSpotOrder defines a method for cancelling a spot order.
	CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error)
	// BatchCancelSpotOrders defines a method for cancelling a batch of spot
	// orders in a given market.
	BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error)
	// BatchUpdateOrders defines a method for updating a batch of orders.
	BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error)
	// PrivilegedExecuteContract defines a method for executing a Cosmwasm
	// contract from the exchange module with privileged capabilities.
	PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error)
	// CreateDerivativeLimitOrder defines a method for creating a new derivative
	// limit order.
	CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error)
	// BatchCreateDerivativeLimitOrders defines a method for creating a new batch
	// of derivative limit orders.
	BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
	// MsgCreateDerivativeLimitOrder defines a method for creating a new
	// derivative market order.
	CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error)
	// MsgCancelDerivativeOrder defines a method for cancelling a derivative
	// order.
	CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error)
	// MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
	// derivative limit orders.
	BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error)
	// InstantBinaryOptionsMarketLaunch defines method for creating a binary
	// options market by paying listing fee without governance
	InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
	// CreateBinaryOptionsLimitOrder defines a method for creating a new binary
	// options limit order.
	CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
	// CreateBinaryOptionsMarketOrder defines a method for creating a new binary
	// options market order.
	CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
	// MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
	// options order.
	CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error)
	// BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
	// binary options limit orders.
	BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
	// SubaccountTransfer defines a method for transfer between subaccounts
	SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error)
	// ExternalTransfer defines a method for transfer between external accounts
	ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error)
	// LiquidatePosition defines a method for liquidating a position
	LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error)
	// IncreasePositionMargin defines a method for increasing margin of a position
	IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error)
	// RewardsOptOut defines a method for opting out of rewards
	RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error)
	// AdminUpdateBinaryOptionsMarket defines method for updating a binary options
	// market by admin
	AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
	//
	ReclaimLockedFunds(ctx context.Context, in *MsgReclaimLockedFunds, opts ...grpc.CallOption) (*MsgReclaimLockedFundsResponse, error)
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateBinaryOptionsLimitOrder added in v1.39.5

type MsgCreateBinaryOptionsLimitOrder struct {
	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

A Cosmos-SDK MsgCreateBinaryOptionsLimitOrder

func NewMsgCreateBinaryOptionsLimitOrder added in v1.39.5

func NewMsgCreateBinaryOptionsLimitOrder(
	sender sdk.AccAddress,
	market *BinaryOptionsMarket,
	subaccountID string,
	feeRecipient string,
	price, quantity sdk.Dec,
	orderType OrderType,
	isReduceOnly bool,
) *MsgCreateBinaryOptionsLimitOrder

func (*MsgCreateBinaryOptionsLimitOrder) Descriptor added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrder) Descriptor() ([]byte, []int)

func (*MsgCreateBinaryOptionsLimitOrder) GetSignBytes added in v1.39.5

func (msg *MsgCreateBinaryOptionsLimitOrder) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateBinaryOptionsLimitOrder) GetSigners added in v1.39.5

func (msg MsgCreateBinaryOptionsLimitOrder) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgCreateBinaryOptionsLimitOrder) Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) Marshal() (dAtA []byte, err error)

func (*MsgCreateBinaryOptionsLimitOrder) MarshalTo added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsLimitOrder) MarshalToSizedBuffer added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsLimitOrder) ProtoMessage added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrder) ProtoMessage()

func (*MsgCreateBinaryOptionsLimitOrder) Reset added in v1.39.5

func (MsgCreateBinaryOptionsLimitOrder) Route added in v1.39.5

Route should return the name of the module

func (*MsgCreateBinaryOptionsLimitOrder) Size added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) Size() (n int)

func (*MsgCreateBinaryOptionsLimitOrder) String added in v1.39.5

func (MsgCreateBinaryOptionsLimitOrder) Type added in v1.39.5

Type should return the action

func (*MsgCreateBinaryOptionsLimitOrder) Unmarshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) Unmarshal(dAtA []byte) error

func (MsgCreateBinaryOptionsLimitOrder) ValidateBasic added in v1.39.5

func (msg MsgCreateBinaryOptionsLimitOrder) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgCreateBinaryOptionsLimitOrder) XXX_DiscardUnknown added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) XXX_DiscardUnknown()

func (*MsgCreateBinaryOptionsLimitOrder) XXX_Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateBinaryOptionsLimitOrder) XXX_Merge added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrder) XXX_Size added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Size() int

func (*MsgCreateBinaryOptionsLimitOrder) XXX_Unmarshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrder) XXX_Unmarshal(b []byte) error

type MsgCreateBinaryOptionsLimitOrderResponse added in v1.39.5

type MsgCreateBinaryOptionsLimitOrderResponse struct {
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

MsgCreateBinaryOptionsLimitOrderResponse defines the Msg/CreateBinaryOptionsLimitOrder response type.

func (*MsgCreateBinaryOptionsLimitOrderResponse) Descriptor added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCreateBinaryOptionsLimitOrderResponse) Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateBinaryOptionsLimitOrderResponse) MarshalTo added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsLimitOrderResponse) MarshalToSizedBuffer added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsLimitOrderResponse) ProtoMessage added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) Reset added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) Size added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) String added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) Unmarshal added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) XXX_DiscardUnknown added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateBinaryOptionsLimitOrderResponse) XXX_Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateBinaryOptionsLimitOrderResponse) XXX_Merge added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) XXX_Size added in v1.39.5

func (*MsgCreateBinaryOptionsLimitOrderResponse) XXX_Unmarshal added in v1.39.5

func (m *MsgCreateBinaryOptionsLimitOrderResponse) XXX_Unmarshal(b []byte) error

type MsgCreateBinaryOptionsMarketOrder added in v1.39.5

type MsgCreateBinaryOptionsMarketOrder struct {
	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

A Cosmos-SDK MsgCreateBinaryOptionsMarketOrder

func NewMsgCreateBinaryOptionsMarketOrder added in v1.39.5

func NewMsgCreateBinaryOptionsMarketOrder(
	sender sdk.AccAddress,
	market *BinaryOptionsMarket,
	subaccountID string,
	feeRecipient string,
	price, quantity sdk.Dec,
	orderType OrderType,
	isReduceOnly bool,
) *MsgCreateBinaryOptionsMarketOrder

func (*MsgCreateBinaryOptionsMarketOrder) Descriptor added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrder) Descriptor() ([]byte, []int)

func (*MsgCreateBinaryOptionsMarketOrder) GetSignBytes added in v1.39.5

func (msg *MsgCreateBinaryOptionsMarketOrder) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateBinaryOptionsMarketOrder) GetSigners added in v1.39.5

GetSigners defines whose signature is required

func (*MsgCreateBinaryOptionsMarketOrder) Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) Marshal() (dAtA []byte, err error)

func (*MsgCreateBinaryOptionsMarketOrder) MarshalTo added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsMarketOrder) MarshalToSizedBuffer added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsMarketOrder) ProtoMessage added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrder) ProtoMessage()

func (*MsgCreateBinaryOptionsMarketOrder) Reset added in v1.39.5

func (MsgCreateBinaryOptionsMarketOrder) Route added in v1.39.5

Route should return the name of the module

func (*MsgCreateBinaryOptionsMarketOrder) Size added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) Size() (n int)

func (*MsgCreateBinaryOptionsMarketOrder) String added in v1.39.5

func (MsgCreateBinaryOptionsMarketOrder) Type added in v1.39.5

Type should return the action

func (*MsgCreateBinaryOptionsMarketOrder) Unmarshal added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) Unmarshal(dAtA []byte) error

func (MsgCreateBinaryOptionsMarketOrder) ValidateBasic added in v1.39.5

func (msg MsgCreateBinaryOptionsMarketOrder) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgCreateBinaryOptionsMarketOrder) XXX_DiscardUnknown added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) XXX_DiscardUnknown()

func (*MsgCreateBinaryOptionsMarketOrder) XXX_Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateBinaryOptionsMarketOrder) XXX_Merge added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrder) XXX_Size added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Size() int

func (*MsgCreateBinaryOptionsMarketOrder) XXX_Unmarshal added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrder) XXX_Unmarshal(b []byte) error

type MsgCreateBinaryOptionsMarketOrderResponse added in v1.39.5

type MsgCreateBinaryOptionsMarketOrderResponse struct {
	OrderHash string                        `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	Results   *DerivativeMarketOrderResults `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
}

MsgCreateBinaryOptionsMarketOrderResponse defines the Msg/CreateBinaryOptionsMarketOrder response type.

func (*MsgCreateBinaryOptionsMarketOrderResponse) Descriptor added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCreateBinaryOptionsMarketOrderResponse) Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateBinaryOptionsMarketOrderResponse) MarshalTo added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsMarketOrderResponse) MarshalToSizedBuffer added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateBinaryOptionsMarketOrderResponse) ProtoMessage added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) Reset added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) Size added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) String added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) XXX_DiscardUnknown added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateBinaryOptionsMarketOrderResponse) XXX_Marshal added in v1.39.5

func (m *MsgCreateBinaryOptionsMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateBinaryOptionsMarketOrderResponse) XXX_Merge added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) XXX_Size added in v1.39.5

func (*MsgCreateBinaryOptionsMarketOrderResponse) XXX_Unmarshal added in v1.39.5

type MsgCreateDerivativeLimitOrder

type MsgCreateDerivativeLimitOrder struct {
	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

A Cosmos-SDK MsgCreateDerivativeLimitOrder

func (*MsgCreateDerivativeLimitOrder) Descriptor

func (*MsgCreateDerivativeLimitOrder) Descriptor() ([]byte, []int)

func (*MsgCreateDerivativeLimitOrder) GetSignBytes

func (msg *MsgCreateDerivativeLimitOrder) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateDerivativeLimitOrder) GetSigners

func (msg MsgCreateDerivativeLimitOrder) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgCreateDerivativeLimitOrder) Marshal

func (m *MsgCreateDerivativeLimitOrder) Marshal() (dAtA []byte, err error)

func (*MsgCreateDerivativeLimitOrder) MarshalTo

func (m *MsgCreateDerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateDerivativeLimitOrder) MarshalToSizedBuffer

func (m *MsgCreateDerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateDerivativeLimitOrder) ProtoMessage

func (*MsgCreateDerivativeLimitOrder) ProtoMessage()

func (*MsgCreateDerivativeLimitOrder) Reset

func (m *MsgCreateDerivativeLimitOrder) Reset()

func (MsgCreateDerivativeLimitOrder) Route

Route should return the name of the module

func (*MsgCreateDerivativeLimitOrder) Size

func (m *MsgCreateDerivativeLimitOrder) Size() (n int)

func (*MsgCreateDerivativeLimitOrder) String

func (MsgCreateDerivativeLimitOrder) Type

Type should return the action

func (*MsgCreateDerivativeLimitOrder) Unmarshal

func (m *MsgCreateDerivativeLimitOrder) Unmarshal(dAtA []byte) error

func (MsgCreateDerivativeLimitOrder) ValidateBasic

func (msg MsgCreateDerivativeLimitOrder) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgCreateDerivativeLimitOrder) XXX_DiscardUnknown

func (m *MsgCreateDerivativeLimitOrder) XXX_DiscardUnknown()

func (*MsgCreateDerivativeLimitOrder) XXX_Marshal

func (m *MsgCreateDerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateDerivativeLimitOrder) XXX_Merge

func (m *MsgCreateDerivativeLimitOrder) XXX_Merge(src proto.Message)

func (*MsgCreateDerivativeLimitOrder) XXX_Size

func (m *MsgCreateDerivativeLimitOrder) XXX_Size() int

func (*MsgCreateDerivativeLimitOrder) XXX_Unmarshal

func (m *MsgCreateDerivativeLimitOrder) XXX_Unmarshal(b []byte) error

type MsgCreateDerivativeLimitOrderResponse

type MsgCreateDerivativeLimitOrderResponse struct {
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

MsgCreateDerivativeLimitOrderResponse defines the Msg/CreateDerivativeMarketOrder response type.

func (*MsgCreateDerivativeLimitOrderResponse) Descriptor

func (*MsgCreateDerivativeLimitOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCreateDerivativeLimitOrderResponse) Marshal

func (m *MsgCreateDerivativeLimitOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateDerivativeLimitOrderResponse) MarshalTo

func (m *MsgCreateDerivativeLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateDerivativeLimitOrderResponse) MarshalToSizedBuffer

func (m *MsgCreateDerivativeLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateDerivativeLimitOrderResponse) ProtoMessage

func (*MsgCreateDerivativeLimitOrderResponse) ProtoMessage()

func (*MsgCreateDerivativeLimitOrderResponse) Reset

func (*MsgCreateDerivativeLimitOrderResponse) Size

func (*MsgCreateDerivativeLimitOrderResponse) String

func (*MsgCreateDerivativeLimitOrderResponse) Unmarshal

func (m *MsgCreateDerivativeLimitOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateDerivativeLimitOrderResponse) XXX_DiscardUnknown

func (m *MsgCreateDerivativeLimitOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateDerivativeLimitOrderResponse) XXX_Marshal

func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateDerivativeLimitOrderResponse) XXX_Merge

func (*MsgCreateDerivativeLimitOrderResponse) XXX_Size

func (*MsgCreateDerivativeLimitOrderResponse) XXX_Unmarshal

func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Unmarshal(b []byte) error

type MsgCreateDerivativeMarketOrder

type MsgCreateDerivativeMarketOrder struct {
	Sender string          `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Order  DerivativeOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

A Cosmos-SDK MsgCreateDerivativeMarketOrder

func (*MsgCreateDerivativeMarketOrder) Descriptor

func (*MsgCreateDerivativeMarketOrder) Descriptor() ([]byte, []int)

func (*MsgCreateDerivativeMarketOrder) GetSignBytes

func (msg *MsgCreateDerivativeMarketOrder) GetSignBytes() []byte

GetSignBytes encodes the message for signing

func (MsgCreateDerivativeMarketOrder) GetSigners

func (msg MsgCreateDerivativeMarketOrder) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required

func (*MsgCreateDerivativeMarketOrder) Marshal

func (m *MsgCreateDerivativeMarketOrder) Marshal() (dAtA []byte, err error)

func (*MsgCreateDerivativeMarketOrder) MarshalTo

func (m *MsgCreateDerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer

func (m *MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateDerivativeMarketOrder) ProtoMessage

func (*MsgCreateDerivativeMarketOrder) ProtoMessage()

func (*MsgCreateDerivativeMarketOrder) Reset

func (m *MsgCreateDerivativeMarketOrder) Reset()

func (MsgCreateDerivativeMarketOrder) Route

Route should return the name of the module

func (*MsgCreateDerivativeMarketOrder) Size

func (m *MsgCreateDerivativeMarketOrder) Size() (n int)

func (*MsgCreateDerivativeMarketOrder) String

func (MsgCreateDerivativeMarketOrder) Type

Type should return the action

func (*MsgCreateDerivativeMarketOrder) Unmarshal

func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error

func (MsgCreateDerivativeMarketOrder) ValidateBasic

func (msg MsgCreateDerivativeMarketOrder) ValidateBasic() error

ValidateBasic runs stateless checks on the message

func (*MsgCreateDerivativeMarketOrder) XXX_DiscardUnknown

func (m *MsgCreateDerivativeMarketOrder) XXX_DiscardUnknown()

func (*MsgCreateDerivativeMarketOrder) XXX_Marshal

func (m *MsgCreateDerivativeMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateDerivativeMarketOrder) XXX_Merge

func (m *MsgCreateDerivativeMarketOrder) XXX_Merge(src proto.Message)

func (*MsgCreateDerivativeMarketOrder) XXX_Size

func (m *MsgCreateDerivativeMarketOrder) XXX_Size() int

func (*MsgCreateDerivativeMarketOrder) XXX_Unmarshal

func (m *MsgCreateDerivativeMarketOrder) XXX_Unmarshal(b []byte) error

type MsgCreateDerivativeMarketOrderResponse

type MsgCreateDerivativeMarketOrderResponse struct {
	OrderHash string                        `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	Results   *DerivativeMarketOrderResults `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
}

MsgCreateDerivativeMarketOrderResponse defines the Msg/CreateDerivativeMarketOrder response type.

func (*MsgCreateDerivativeMarketOrderResponse) Descriptor

func (*MsgCreateDerivativeMarketOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCreateDerivativeMarketOrderResponse) Marshal

func (m *MsgCreateDerivativeMarketOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateDerivativeMarketOrderResponse) MarshalTo

func (m *MsgCreateDerivativeMarketOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateDerivativeMarketOrderResponse) MarshalToSizedBuffer

func (m *MsgCreateDerivativeMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateDerivativeMarketOrderResponse) ProtoMessage

func (*MsgCreateDerivativeMarketOrderResponse) Reset

func (*MsgCreateDerivativeMarketOrderResponse) Size

func (*MsgCreateDerivativeMarketOrderResponse) String

func (*MsgCreateDerivativeMarketOrderResponse) Unmarshal

func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateDerivativeMarketOrderResponse) XXX_DiscardUnknown

func (m *MsgCreateDerivativeMarketOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateDerivativeMarketOrderResponse) XXX_Marshal

func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateDerivativeMarketOrderResponse) XXX_Merge

func (*MsgCreateDerivativeMarketOrderResponse) XXX_Size

func (*MsgCreateDerivativeMarketOrderResponse) XXX_Unmarshal

func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Unmarshal(b []byte) error

type MsgCreateSpotLimitOrder

type MsgCreateSpotLimitOrder struct {
	Sender string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Order  SpotOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

MsgCreateSpotLimitOrder defines a SDK message for creating a new spot limit order.

func (*MsgCreateSpotLimitOrder) Descriptor

func (*MsgCreateSpotLimitOrder) Descriptor() ([]byte, []int)

func (*MsgCreateSpotLimitOrder) GetSignBytes

func (msg *MsgCreateSpotLimitOrder) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgCreateSpotLimitOrder) GetSigners

func (msg MsgCreateSpotLimitOrder) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgCreateSpotLimitOrder) Marshal

func (m *MsgCreateSpotLimitOrder) Marshal() (dAtA []byte, err error)

func (*MsgCreateSpotLimitOrder) MarshalTo

func (m *MsgCreateSpotLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateSpotLimitOrder) MarshalToSizedBuffer

func (m *MsgCreateSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateSpotLimitOrder) ProtoMessage

func (*MsgCreateSpotLimitOrder) ProtoMessage()

func (*MsgCreateSpotLimitOrder) Reset

func (m *MsgCreateSpotLimitOrder) Reset()

func (MsgCreateSpotLimitOrder) Route

func (msg MsgCreateSpotLimitOrder) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgCreateSpotLimitOrder) Size

func (m *MsgCreateSpotLimitOrder) Size() (n int)

func (*MsgCreateSpotLimitOrder) String

func (m *MsgCreateSpotLimitOrder) String() string

func (MsgCreateSpotLimitOrder) Type

func (msg MsgCreateSpotLimitOrder) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgCreateSpotLimitOrder) Unmarshal

func (m *MsgCreateSpotLimitOrder) Unmarshal(dAtA []byte) error

func (MsgCreateSpotLimitOrder) ValidateBasic

func (msg MsgCreateSpotLimitOrder) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgCreateSpotLimitOrder) XXX_DiscardUnknown

func (m *MsgCreateSpotLimitOrder) XXX_DiscardUnknown()

func (*MsgCreateSpotLimitOrder) XXX_Marshal

func (m *MsgCreateSpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateSpotLimitOrder) XXX_Merge

func (m *MsgCreateSpotLimitOrder) XXX_Merge(src proto.Message)

func (*MsgCreateSpotLimitOrder) XXX_Size

func (m *MsgCreateSpotLimitOrder) XXX_Size() int

func (*MsgCreateSpotLimitOrder) XXX_Unmarshal

func (m *MsgCreateSpotLimitOrder) XXX_Unmarshal(b []byte) error

type MsgCreateSpotLimitOrderResponse

type MsgCreateSpotLimitOrderResponse struct {
	OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

MsgCreateSpotLimitOrderResponse defines the Msg/CreateSpotOrder response type.

func (*MsgCreateSpotLimitOrderResponse) Descriptor

func (*MsgCreateSpotLimitOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCreateSpotLimitOrderResponse) Marshal

func (m *MsgCreateSpotLimitOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateSpotLimitOrderResponse) MarshalTo

func (m *MsgCreateSpotLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateSpotLimitOrderResponse) MarshalToSizedBuffer

func (m *MsgCreateSpotLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateSpotLimitOrderResponse) ProtoMessage

func (*MsgCreateSpotLimitOrderResponse) ProtoMessage()

func (*MsgCreateSpotLimitOrderResponse) Reset

func (*MsgCreateSpotLimitOrderResponse) Size

func (m *MsgCreateSpotLimitOrderResponse) Size() (n int)

func (*MsgCreateSpotLimitOrderResponse) String

func (*MsgCreateSpotLimitOrderResponse) Unmarshal

func (m *MsgCreateSpotLimitOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateSpotLimitOrderResponse) XXX_DiscardUnknown

func (m *MsgCreateSpotLimitOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateSpotLimitOrderResponse) XXX_Marshal

func (m *MsgCreateSpotLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateSpotLimitOrderResponse) XXX_Merge

func (m *MsgCreateSpotLimitOrderResponse) XXX_Merge(src proto.Message)

func (*MsgCreateSpotLimitOrderResponse) XXX_Size

func (m *MsgCreateSpotLimitOrderResponse) XXX_Size() int

func (*MsgCreateSpotLimitOrderResponse) XXX_Unmarshal

func (m *MsgCreateSpotLimitOrderResponse) XXX_Unmarshal(b []byte) error

type MsgCreateSpotMarketOrder

type MsgCreateSpotMarketOrder struct {
	Sender string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Order  SpotOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
}

MsgCreateSpotMarketOrder defines a SDK message for creating a new spot market order.

func (*MsgCreateSpotMarketOrder) Descriptor

func (*MsgCreateSpotMarketOrder) Descriptor() ([]byte, []int)

func (*MsgCreateSpotMarketOrder) GetSignBytes

func (msg *MsgCreateSpotMarketOrder) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgCreateSpotMarketOrder) GetSigners

func (msg MsgCreateSpotMarketOrder) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgCreateSpotMarketOrder) Marshal

func (m *MsgCreateSpotMarketOrder) Marshal() (dAtA []byte, err error)

func (*MsgCreateSpotMarketOrder) MarshalTo

func (m *MsgCreateSpotMarketOrder) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateSpotMarketOrder) MarshalToSizedBuffer

func (m *MsgCreateSpotMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateSpotMarketOrder) ProtoMessage

func (*MsgCreateSpotMarketOrder) ProtoMessage()

func (*MsgCreateSpotMarketOrder) Reset

func (m *MsgCreateSpotMarketOrder) Reset()

func (MsgCreateSpotMarketOrder) Route

func (msg MsgCreateSpotMarketOrder) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgCreateSpotMarketOrder) Size

func (m *MsgCreateSpotMarketOrder) Size() (n int)

func (*MsgCreateSpotMarketOrder) String

func (m *MsgCreateSpotMarketOrder) String() string

func (MsgCreateSpotMarketOrder) Type

func (msg MsgCreateSpotMarketOrder) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgCreateSpotMarketOrder) Unmarshal

func (m *MsgCreateSpotMarketOrder) Unmarshal(dAtA []byte) error

func (MsgCreateSpotMarketOrder) ValidateBasic

func (msg MsgCreateSpotMarketOrder) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgCreateSpotMarketOrder) XXX_DiscardUnknown

func (m *MsgCreateSpotMarketOrder) XXX_DiscardUnknown()

func (*MsgCreateSpotMarketOrder) XXX_Marshal

func (m *MsgCreateSpotMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateSpotMarketOrder) XXX_Merge

func (m *MsgCreateSpotMarketOrder) XXX_Merge(src proto.Message)

func (*MsgCreateSpotMarketOrder) XXX_Size

func (m *MsgCreateSpotMarketOrder) XXX_Size() int

func (*MsgCreateSpotMarketOrder) XXX_Unmarshal

func (m *MsgCreateSpotMarketOrder) XXX_Unmarshal(b []byte) error

type MsgCreateSpotMarketOrderResponse

type MsgCreateSpotMarketOrderResponse struct {
	OrderHash string                  `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	Results   *SpotMarketOrderResults `protobuf:"bytes,2,opt,name=results,proto3" json:"results,omitempty"`
}

MsgCreateSpotMarketOrderResponse defines the Msg/CreateSpotMarketLimitOrder response type.

func (*MsgCreateSpotMarketOrderResponse) Descriptor

func (*MsgCreateSpotMarketOrderResponse) Descriptor() ([]byte, []int)

func (*MsgCreateSpotMarketOrderResponse) Marshal

func (m *MsgCreateSpotMarketOrderResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateSpotMarketOrderResponse) MarshalTo

func (m *MsgCreateSpotMarketOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateSpotMarketOrderResponse) MarshalToSizedBuffer

func (m *MsgCreateSpotMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateSpotMarketOrderResponse) ProtoMessage

func (*MsgCreateSpotMarketOrderResponse) ProtoMessage()

func (*MsgCreateSpotMarketOrderResponse) Reset

func (*MsgCreateSpotMarketOrderResponse) Size

func (m *MsgCreateSpotMarketOrderResponse) Size() (n int)

func (*MsgCreateSpotMarketOrderResponse) String

func (*MsgCreateSpotMarketOrderResponse) Unmarshal

func (m *MsgCreateSpotMarketOrderResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateSpotMarketOrderResponse) XXX_DiscardUnknown

func (m *MsgCreateSpotMarketOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateSpotMarketOrderResponse) XXX_Marshal

func (m *MsgCreateSpotMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateSpotMarketOrderResponse) XXX_Merge

func (*MsgCreateSpotMarketOrderResponse) XXX_Size

func (m *MsgCreateSpotMarketOrderResponse) XXX_Size() int

func (*MsgCreateSpotMarketOrderResponse) XXX_Unmarshal

func (m *MsgCreateSpotMarketOrderResponse) XXX_Unmarshal(b []byte) error

type MsgDeposit

type MsgDeposit struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// (Optional) bytes32 subaccount ID to deposit funds into. If empty, the coin
	// will be deposited to the sender's default subaccount address.
	SubaccountId string     `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Amount       types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgDeposit defines a SDK message for transferring coins from the sender's bank balance into the subaccount's exchange deposits

func (*MsgDeposit) Descriptor

func (*MsgDeposit) Descriptor() ([]byte, []int)

func (*MsgDeposit) GetSignBytes

func (msg *MsgDeposit) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgDeposit) GetSigners

func (msg MsgDeposit) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgDeposit) Marshal

func (m *MsgDeposit) Marshal() (dAtA []byte, err error)

func (*MsgDeposit) MarshalTo

func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeposit) MarshalToSizedBuffer

func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeposit) ProtoMessage

func (*MsgDeposit) ProtoMessage()

func (*MsgDeposit) Reset

func (m *MsgDeposit) Reset()

func (MsgDeposit) Route

func (msg MsgDeposit) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgDeposit) Size

func (m *MsgDeposit) Size() (n int)

func (*MsgDeposit) String

func (m *MsgDeposit) String() string

func (MsgDeposit) Type

func (msg MsgDeposit) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgDeposit) Unmarshal

func (m *MsgDeposit) Unmarshal(dAtA []byte) error

func (MsgDeposit) ValidateBasic

func (msg MsgDeposit) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgDeposit) XXX_DiscardUnknown

func (m *MsgDeposit) XXX_DiscardUnknown()

func (*MsgDeposit) XXX_Marshal

func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeposit) XXX_Merge

func (m *MsgDeposit) XXX_Merge(src proto.Message)

func (*MsgDeposit) XXX_Size

func (m *MsgDeposit) XXX_Size() int

func (*MsgDeposit) XXX_Unmarshal

func (m *MsgDeposit) XXX_Unmarshal(b []byte) error

type MsgDepositResponse

type MsgDepositResponse struct {
}

MsgDepositResponse defines the Msg/Deposit response type.

func (*MsgDepositResponse) Descriptor

func (*MsgDepositResponse) Descriptor() ([]byte, []int)

func (*MsgDepositResponse) Marshal

func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)

func (*MsgDepositResponse) MarshalTo

func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDepositResponse) MarshalToSizedBuffer

func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDepositResponse) ProtoMessage

func (*MsgDepositResponse) ProtoMessage()

func (*MsgDepositResponse) Reset

func (m *MsgDepositResponse) Reset()

func (*MsgDepositResponse) Size

func (m *MsgDepositResponse) Size() (n int)

func (*MsgDepositResponse) String

func (m *MsgDepositResponse) String() string

func (*MsgDepositResponse) Unmarshal

func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error

func (*MsgDepositResponse) XXX_DiscardUnknown

func (m *MsgDepositResponse) XXX_DiscardUnknown()

func (*MsgDepositResponse) XXX_Marshal

func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDepositResponse) XXX_Merge

func (m *MsgDepositResponse) XXX_Merge(src proto.Message)

func (*MsgDepositResponse) XXX_Size

func (m *MsgDepositResponse) XXX_Size() int

func (*MsgDepositResponse) XXX_Unmarshal

func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error

type MsgExternalTransfer

type MsgExternalTransfer struct {
	Sender                  string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	SourceSubaccountId      string     `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
	DestinationSubaccountId string     `` /* 132-byte string literal not displayed */
	Amount                  types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

A Cosmos-SDK MsgExternalTransfer

func (*MsgExternalTransfer) Descriptor

func (*MsgExternalTransfer) Descriptor() ([]byte, []int)

func (*MsgExternalTransfer) GetAmount

func (m *MsgExternalTransfer) GetAmount() types.Coin

func (*MsgExternalTransfer) GetDestinationSubaccountId

func (m *MsgExternalTransfer) GetDestinationSubaccountId() string

func (*MsgExternalTransfer) GetSender

func (m *MsgExternalTransfer) GetSender() string

func (*MsgExternalTransfer) GetSignBytes

func (msg *MsgExternalTransfer) GetSignBytes() []byte

func (*MsgExternalTransfer) GetSigners

func (msg *MsgExternalTransfer) GetSigners() []sdk.AccAddress

func (*MsgExternalTransfer) GetSourceSubaccountId

func (m *MsgExternalTransfer) GetSourceSubaccountId() string

func (*MsgExternalTransfer) Marshal

func (m *MsgExternalTransfer) Marshal() (dAtA []byte, err error)

func (*MsgExternalTransfer) MarshalTo

func (m *MsgExternalTransfer) MarshalTo(dAtA []byte) (int, error)

func (*MsgExternalTransfer) MarshalToSizedBuffer

func (m *MsgExternalTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExternalTransfer) ProtoMessage

func (*MsgExternalTransfer) ProtoMessage()

func (*MsgExternalTransfer) Reset

func (m *MsgExternalTransfer) Reset()

func (*MsgExternalTransfer) Route

func (msg *MsgExternalTransfer) Route() string

func (*MsgExternalTransfer) Size

func (m *MsgExternalTransfer) Size() (n int)

func (*MsgExternalTransfer) String

func (m *MsgExternalTransfer) String() string

func (*MsgExternalTransfer) Type

func (msg *MsgExternalTransfer) Type() string

func (*MsgExternalTransfer) Unmarshal

func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error

func (*MsgExternalTransfer) ValidateBasic

func (msg *MsgExternalTransfer) ValidateBasic() error

func (*MsgExternalTransfer) XXX_DiscardUnknown

func (m *MsgExternalTransfer) XXX_DiscardUnknown()

func (*MsgExternalTransfer) XXX_Marshal

func (m *MsgExternalTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExternalTransfer) XXX_Merge

func (m *MsgExternalTransfer) XXX_Merge(src proto.Message)

func (*MsgExternalTransfer) XXX_Size

func (m *MsgExternalTransfer) XXX_Size() int

func (*MsgExternalTransfer) XXX_Unmarshal

func (m *MsgExternalTransfer) XXX_Unmarshal(b []byte) error

type MsgExternalTransferResponse

type MsgExternalTransferResponse struct {
}

MsgExternalTransferResponse defines the Msg/ExternalTransfer response type.

func (*MsgExternalTransferResponse) Descriptor

func (*MsgExternalTransferResponse) Descriptor() ([]byte, []int)

func (*MsgExternalTransferResponse) Marshal

func (m *MsgExternalTransferResponse) Marshal() (dAtA []byte, err error)

func (*MsgExternalTransferResponse) MarshalTo

func (m *MsgExternalTransferResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgExternalTransferResponse) MarshalToSizedBuffer

func (m *MsgExternalTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgExternalTransferResponse) ProtoMessage

func (*MsgExternalTransferResponse) ProtoMessage()

func (*MsgExternalTransferResponse) Reset

func (m *MsgExternalTransferResponse) Reset()

func (*MsgExternalTransferResponse) Size

func (m *MsgExternalTransferResponse) Size() (n int)

func (*MsgExternalTransferResponse) String

func (m *MsgExternalTransferResponse) String() string

func (*MsgExternalTransferResponse) Unmarshal

func (m *MsgExternalTransferResponse) Unmarshal(dAtA []byte) error

func (*MsgExternalTransferResponse) XXX_DiscardUnknown

func (m *MsgExternalTransferResponse) XXX_DiscardUnknown()

func (*MsgExternalTransferResponse) XXX_Marshal

func (m *MsgExternalTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgExternalTransferResponse) XXX_Merge

func (m *MsgExternalTransferResponse) XXX_Merge(src proto.Message)

func (*MsgExternalTransferResponse) XXX_Size

func (m *MsgExternalTransferResponse) XXX_Size() int

func (*MsgExternalTransferResponse) XXX_Unmarshal

func (m *MsgExternalTransferResponse) XXX_Unmarshal(b []byte) error

type MsgIncreasePositionMargin

type MsgIncreasePositionMargin struct {
	Sender                  string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	SourceSubaccountId      string `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
	DestinationSubaccountId string `` /* 132-byte string literal not displayed */
	MarketId                string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// amount defines the amount of margin to add to the position
	Amount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"amount"`
}

A Cosmos-SDK MsgIncreasePositionMargin

func (*MsgIncreasePositionMargin) Descriptor

func (*MsgIncreasePositionMargin) Descriptor() ([]byte, []int)

func (*MsgIncreasePositionMargin) GetDestinationSubaccountId

func (m *MsgIncreasePositionMargin) GetDestinationSubaccountId() string

func (*MsgIncreasePositionMargin) GetMarketId

func (m *MsgIncreasePositionMargin) GetMarketId() string

func (*MsgIncreasePositionMargin) GetSender

func (m *MsgIncreasePositionMargin) GetSender() string

func (*MsgIncreasePositionMargin) GetSignBytes

func (msg *MsgIncreasePositionMargin) GetSignBytes() []byte

func (*MsgIncreasePositionMargin) GetSigners

func (msg *MsgIncreasePositionMargin) GetSigners() []sdk.AccAddress

func (*MsgIncreasePositionMargin) GetSourceSubaccountId

func (m *MsgIncreasePositionMargin) GetSourceSubaccountId() string

func (*MsgIncreasePositionMargin) Marshal

func (m *MsgIncreasePositionMargin) Marshal() (dAtA []byte, err error)

func (*MsgIncreasePositionMargin) MarshalTo

func (m *MsgIncreasePositionMargin) MarshalTo(dAtA []byte) (int, error)

func (*MsgIncreasePositionMargin) MarshalToSizedBuffer

func (m *MsgIncreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIncreasePositionMargin) ProtoMessage

func (*MsgIncreasePositionMargin) ProtoMessage()

func (*MsgIncreasePositionMargin) Reset

func (m *MsgIncreasePositionMargin) Reset()

func (*MsgIncreasePositionMargin) Route

func (msg *MsgIncreasePositionMargin) Route() string

func (*MsgIncreasePositionMargin) Size

func (m *MsgIncreasePositionMargin) Size() (n int)

func (*MsgIncreasePositionMargin) String

func (m *MsgIncreasePositionMargin) String() string

func (*MsgIncreasePositionMargin) Type

func (msg *MsgIncreasePositionMargin) Type() string

func (*MsgIncreasePositionMargin) Unmarshal

func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error

func (*MsgIncreasePositionMargin) ValidateBasic

func (msg *MsgIncreasePositionMargin) ValidateBasic() error

func (*MsgIncreasePositionMargin) XXX_DiscardUnknown

func (m *MsgIncreasePositionMargin) XXX_DiscardUnknown()

func (*MsgIncreasePositionMargin) XXX_Marshal

func (m *MsgIncreasePositionMargin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIncreasePositionMargin) XXX_Merge

func (m *MsgIncreasePositionMargin) XXX_Merge(src proto.Message)

func (*MsgIncreasePositionMargin) XXX_Size

func (m *MsgIncreasePositionMargin) XXX_Size() int

func (*MsgIncreasePositionMargin) XXX_Unmarshal

func (m *MsgIncreasePositionMargin) XXX_Unmarshal(b []byte) error

type MsgIncreasePositionMarginResponse

type MsgIncreasePositionMarginResponse struct {
}

MsgIncreasePositionMarginResponse defines the Msg/IncreasePositionMargin response type.

func (*MsgIncreasePositionMarginResponse) Descriptor

func (*MsgIncreasePositionMarginResponse) Descriptor() ([]byte, []int)

func (*MsgIncreasePositionMarginResponse) Marshal

func (m *MsgIncreasePositionMarginResponse) Marshal() (dAtA []byte, err error)

func (*MsgIncreasePositionMarginResponse) MarshalTo

func (m *MsgIncreasePositionMarginResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIncreasePositionMarginResponse) MarshalToSizedBuffer

func (m *MsgIncreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIncreasePositionMarginResponse) ProtoMessage

func (*MsgIncreasePositionMarginResponse) ProtoMessage()

func (*MsgIncreasePositionMarginResponse) Reset

func (*MsgIncreasePositionMarginResponse) Size

func (m *MsgIncreasePositionMarginResponse) Size() (n int)

func (*MsgIncreasePositionMarginResponse) String

func (*MsgIncreasePositionMarginResponse) Unmarshal

func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error

func (*MsgIncreasePositionMarginResponse) XXX_DiscardUnknown

func (m *MsgIncreasePositionMarginResponse) XXX_DiscardUnknown()

func (*MsgIncreasePositionMarginResponse) XXX_Marshal

func (m *MsgIncreasePositionMarginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIncreasePositionMarginResponse) XXX_Merge

func (*MsgIncreasePositionMarginResponse) XXX_Size

func (m *MsgIncreasePositionMarginResponse) XXX_Size() int

func (*MsgIncreasePositionMarginResponse) XXX_Unmarshal

func (m *MsgIncreasePositionMarginResponse) XXX_Unmarshal(b []byte) error

type MsgInstantBinaryOptionsMarketLaunch added in v1.39.5

type MsgInstantBinaryOptionsMarketLaunch struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// Ticker for the derivative contract.
	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// Oracle symbol
	OracleSymbol string `protobuf:"bytes,3,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"`
	// Oracle Provider
	OracleProvider string `protobuf:"bytes,4,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,6,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// maker_fee_rate defines the trade fee rate for makers on the perpetual
	// market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// taker_fee_rate defines the trade fee rate for takers on the perpetual
	// market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// expiration timestamp
	ExpirationTimestamp int64 `protobuf:"varint,9,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
	// expiration timestamp
	SettlementTimestamp int64 `protobuf:"varint,10,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
	// admin of the market
	Admin string `protobuf:"bytes,11,opt,name=admin,proto3" json:"admin,omitempty"`
	// Address of the quote currency denomination for the binary options contract
	QuoteDenom string `protobuf:"bytes,12,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// min_price_tick_size defines the minimum tick size that the price and margin
	// required for orders in the market
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the quantity
	// required for orders in the market
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

MsgInstantBinaryOptionsMarketLaunch defines a SDK message for creating a new perpetual futures market by paying listing fee without governance

func (*MsgInstantBinaryOptionsMarketLaunch) Descriptor added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunch) Descriptor() ([]byte, []int)

func (*MsgInstantBinaryOptionsMarketLaunch) GetSignBytes added in v1.39.5

func (msg *MsgInstantBinaryOptionsMarketLaunch) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgInstantBinaryOptionsMarketLaunch) GetSigners added in v1.39.5

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgInstantBinaryOptionsMarketLaunch) Marshal added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) Marshal() (dAtA []byte, err error)

func (*MsgInstantBinaryOptionsMarketLaunch) MarshalTo added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantBinaryOptionsMarketLaunch) MarshalToSizedBuffer added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantBinaryOptionsMarketLaunch) ProtoMessage added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunch) ProtoMessage()

func (*MsgInstantBinaryOptionsMarketLaunch) Reset added in v1.39.5

func (MsgInstantBinaryOptionsMarketLaunch) Route added in v1.39.5

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgInstantBinaryOptionsMarketLaunch) Size added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunch) String added in v1.39.5

func (MsgInstantBinaryOptionsMarketLaunch) Type added in v1.39.5

Type implements the sdk.Msg interface. It should return the action.

func (*MsgInstantBinaryOptionsMarketLaunch) Unmarshal added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) Unmarshal(dAtA []byte) error

func (MsgInstantBinaryOptionsMarketLaunch) ValidateBasic added in v1.39.5

func (msg MsgInstantBinaryOptionsMarketLaunch) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgInstantBinaryOptionsMarketLaunch) XXX_DiscardUnknown added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_DiscardUnknown()

func (*MsgInstantBinaryOptionsMarketLaunch) XXX_Marshal added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantBinaryOptionsMarketLaunch) XXX_Merge added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunch) XXX_Size added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunch) XXX_Unmarshal added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunch) XXX_Unmarshal(b []byte) error

type MsgInstantBinaryOptionsMarketLaunchResponse added in v1.39.5

type MsgInstantBinaryOptionsMarketLaunchResponse struct {
}

MsgInstantBinaryOptionsMarketLaunchResponse defines the Msg/InstantBinaryOptionsMarketLaunchResponse response type.

func (*MsgInstantBinaryOptionsMarketLaunchResponse) Descriptor added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) Marshal added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Marshal() (dAtA []byte, err error)

func (*MsgInstantBinaryOptionsMarketLaunchResponse) MarshalTo added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) MarshalToSizedBuffer added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantBinaryOptionsMarketLaunchResponse) ProtoMessage added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) Reset added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) Size added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) String added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) Unmarshal added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) XXX_DiscardUnknown added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_DiscardUnknown()

func (*MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Marshal added in v1.39.5

func (m *MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Merge added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Size added in v1.39.5

func (*MsgInstantBinaryOptionsMarketLaunchResponse) XXX_Unmarshal added in v1.39.5

type MsgInstantExpiryFuturesMarketLaunch

type MsgInstantExpiryFuturesMarketLaunch struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// Ticker for the derivative market.
	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// type of coin to use as the quote currency
	QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Oracle base currency
	OracleBase string `protobuf:"bytes,4,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
	// Oracle quote currency
	OracleQuote string `protobuf:"bytes,5,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Expiration time of the market
	Expiry int64 `protobuf:"varint,8,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// maker_fee_rate defines the trade fee rate for makers on the expiry futures
	// market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// taker_fee_rate defines the trade fee rate for takers on the expiry futures
	// market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// initial_margin_ratio defines the initial margin ratio for the derivative
	// market
	InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	// maintenance_margin_ratio defines the maintenance margin ratio for the
	// derivative market
	MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

MsgInstantExpiryFuturesMarketLaunch defines a SDK message for creating a new expiry futures market by paying listing fee without governance

func (*MsgInstantExpiryFuturesMarketLaunch) Descriptor

func (*MsgInstantExpiryFuturesMarketLaunch) Descriptor() ([]byte, []int)

func (*MsgInstantExpiryFuturesMarketLaunch) GetSignBytes

func (msg *MsgInstantExpiryFuturesMarketLaunch) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgInstantExpiryFuturesMarketLaunch) GetSigners

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgInstantExpiryFuturesMarketLaunch) Marshal

func (m *MsgInstantExpiryFuturesMarketLaunch) Marshal() (dAtA []byte, err error)

func (*MsgInstantExpiryFuturesMarketLaunch) MarshalTo

func (m *MsgInstantExpiryFuturesMarketLaunch) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantExpiryFuturesMarketLaunch) MarshalToSizedBuffer

func (m *MsgInstantExpiryFuturesMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantExpiryFuturesMarketLaunch) ProtoMessage

func (*MsgInstantExpiryFuturesMarketLaunch) ProtoMessage()

func (*MsgInstantExpiryFuturesMarketLaunch) Reset

func (MsgInstantExpiryFuturesMarketLaunch) Route

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgInstantExpiryFuturesMarketLaunch) Size

func (*MsgInstantExpiryFuturesMarketLaunch) String

func (MsgInstantExpiryFuturesMarketLaunch) Type

Type implements the sdk.Msg interface. It should return the action.

func (*MsgInstantExpiryFuturesMarketLaunch) Unmarshal

func (m *MsgInstantExpiryFuturesMarketLaunch) Unmarshal(dAtA []byte) error

func (MsgInstantExpiryFuturesMarketLaunch) ValidateBasic

func (msg MsgInstantExpiryFuturesMarketLaunch) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgInstantExpiryFuturesMarketLaunch) XXX_DiscardUnknown

func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_DiscardUnknown()

func (*MsgInstantExpiryFuturesMarketLaunch) XXX_Marshal

func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantExpiryFuturesMarketLaunch) XXX_Merge

func (*MsgInstantExpiryFuturesMarketLaunch) XXX_Size

func (*MsgInstantExpiryFuturesMarketLaunch) XXX_Unmarshal

func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Unmarshal(b []byte) error

type MsgInstantExpiryFuturesMarketLaunchResponse

type MsgInstantExpiryFuturesMarketLaunchResponse struct {
}

MsgInstantExpiryFuturesMarketLaunchResponse defines the Msg/InstantExpiryFuturesMarketLaunch response type.

func (*MsgInstantExpiryFuturesMarketLaunchResponse) Descriptor

func (*MsgInstantExpiryFuturesMarketLaunchResponse) Marshal

func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Marshal() (dAtA []byte, err error)

func (*MsgInstantExpiryFuturesMarketLaunchResponse) MarshalTo

func (*MsgInstantExpiryFuturesMarketLaunchResponse) MarshalToSizedBuffer

func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantExpiryFuturesMarketLaunchResponse) ProtoMessage

func (*MsgInstantExpiryFuturesMarketLaunchResponse) Reset

func (*MsgInstantExpiryFuturesMarketLaunchResponse) Size

func (*MsgInstantExpiryFuturesMarketLaunchResponse) String

func (*MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal

func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_DiscardUnknown

func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_DiscardUnknown()

func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Marshal

func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Merge

func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Size

func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Unmarshal

type MsgInstantPerpetualMarketLaunch

type MsgInstantPerpetualMarketLaunch struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// Ticker for the derivative market.
	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// type of coin to use as the base currency
	QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Oracle base currency
	OracleBase string `protobuf:"bytes,4,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
	// Oracle quote currency
	OracleQuote string `protobuf:"bytes,5,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,6,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// maker_fee_rate defines the trade fee rate for makers on the perpetual
	// market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// taker_fee_rate defines the trade fee rate for takers on the perpetual
	// market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// initial_margin_ratio defines the initial margin ratio for the perpetual
	// market
	InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 158-byte string literal not displayed */
	// maintenance_margin_ratio defines the maintenance margin ratio for the
	// perpetual market
	MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

MsgInstantPerpetualMarketLaunch defines a SDK message for creating a new perpetual futures market by paying listing fee without governance

func (*MsgInstantPerpetualMarketLaunch) Descriptor

func (*MsgInstantPerpetualMarketLaunch) Descriptor() ([]byte, []int)

func (*MsgInstantPerpetualMarketLaunch) GetSignBytes

func (msg *MsgInstantPerpetualMarketLaunch) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgInstantPerpetualMarketLaunch) GetSigners

func (msg MsgInstantPerpetualMarketLaunch) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgInstantPerpetualMarketLaunch) Marshal

func (m *MsgInstantPerpetualMarketLaunch) Marshal() (dAtA []byte, err error)

func (*MsgInstantPerpetualMarketLaunch) MarshalTo

func (m *MsgInstantPerpetualMarketLaunch) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantPerpetualMarketLaunch) MarshalToSizedBuffer

func (m *MsgInstantPerpetualMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantPerpetualMarketLaunch) ProtoMessage

func (*MsgInstantPerpetualMarketLaunch) ProtoMessage()

func (*MsgInstantPerpetualMarketLaunch) Reset

func (MsgInstantPerpetualMarketLaunch) Route

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgInstantPerpetualMarketLaunch) Size

func (m *MsgInstantPerpetualMarketLaunch) Size() (n int)

func (*MsgInstantPerpetualMarketLaunch) String

func (MsgInstantPerpetualMarketLaunch) Type

Type implements the sdk.Msg interface. It should return the action.

func (*MsgInstantPerpetualMarketLaunch) Unmarshal

func (m *MsgInstantPerpetualMarketLaunch) Unmarshal(dAtA []byte) error

func (MsgInstantPerpetualMarketLaunch) ValidateBasic

func (msg MsgInstantPerpetualMarketLaunch) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgInstantPerpetualMarketLaunch) XXX_DiscardUnknown

func (m *MsgInstantPerpetualMarketLaunch) XXX_DiscardUnknown()

func (*MsgInstantPerpetualMarketLaunch) XXX_Marshal

func (m *MsgInstantPerpetualMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantPerpetualMarketLaunch) XXX_Merge

func (m *MsgInstantPerpetualMarketLaunch) XXX_Merge(src proto.Message)

func (*MsgInstantPerpetualMarketLaunch) XXX_Size

func (m *MsgInstantPerpetualMarketLaunch) XXX_Size() int

func (*MsgInstantPerpetualMarketLaunch) XXX_Unmarshal

func (m *MsgInstantPerpetualMarketLaunch) XXX_Unmarshal(b []byte) error

type MsgInstantPerpetualMarketLaunchResponse

type MsgInstantPerpetualMarketLaunchResponse struct {
}

MsgInstantPerpetualMarketLaunchResponse defines the Msg/InstantPerpetualMarketLaunchResponse response type.

func (*MsgInstantPerpetualMarketLaunchResponse) Descriptor

func (*MsgInstantPerpetualMarketLaunchResponse) Descriptor() ([]byte, []int)

func (*MsgInstantPerpetualMarketLaunchResponse) Marshal

func (m *MsgInstantPerpetualMarketLaunchResponse) Marshal() (dAtA []byte, err error)

func (*MsgInstantPerpetualMarketLaunchResponse) MarshalTo

func (m *MsgInstantPerpetualMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantPerpetualMarketLaunchResponse) MarshalToSizedBuffer

func (m *MsgInstantPerpetualMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantPerpetualMarketLaunchResponse) ProtoMessage

func (*MsgInstantPerpetualMarketLaunchResponse) Reset

func (*MsgInstantPerpetualMarketLaunchResponse) Size

func (*MsgInstantPerpetualMarketLaunchResponse) String

func (*MsgInstantPerpetualMarketLaunchResponse) Unmarshal

func (m *MsgInstantPerpetualMarketLaunchResponse) Unmarshal(dAtA []byte) error

func (*MsgInstantPerpetualMarketLaunchResponse) XXX_DiscardUnknown

func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_DiscardUnknown()

func (*MsgInstantPerpetualMarketLaunchResponse) XXX_Marshal

func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantPerpetualMarketLaunchResponse) XXX_Merge

func (*MsgInstantPerpetualMarketLaunchResponse) XXX_Size

func (*MsgInstantPerpetualMarketLaunchResponse) XXX_Unmarshal

func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Unmarshal(b []byte) error

type MsgInstantSpotMarketLaunch

type MsgInstantSpotMarketLaunch struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// Ticker for the spot market.
	Ticker string `protobuf:"bytes,2,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// type of coin to use as the base currency
	BaseDenom string `protobuf:"bytes,3,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// type of coin to use as the quote currency
	QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// min_price_tick_size defines the minimum tick size of the order's price
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
}

MsgInstantSpotMarketLaunch defines a SDK message for creating a new spot market by paying listing fee without governance

func (*MsgInstantSpotMarketLaunch) Descriptor

func (*MsgInstantSpotMarketLaunch) Descriptor() ([]byte, []int)

func (*MsgInstantSpotMarketLaunch) GetSignBytes

func (msg *MsgInstantSpotMarketLaunch) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgInstantSpotMarketLaunch) GetSigners

func (msg MsgInstantSpotMarketLaunch) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgInstantSpotMarketLaunch) Marshal

func (m *MsgInstantSpotMarketLaunch) Marshal() (dAtA []byte, err error)

func (*MsgInstantSpotMarketLaunch) MarshalTo

func (m *MsgInstantSpotMarketLaunch) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantSpotMarketLaunch) MarshalToSizedBuffer

func (m *MsgInstantSpotMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantSpotMarketLaunch) ProtoMessage

func (*MsgInstantSpotMarketLaunch) ProtoMessage()

func (*MsgInstantSpotMarketLaunch) Reset

func (m *MsgInstantSpotMarketLaunch) Reset()

func (MsgInstantSpotMarketLaunch) Route

func (msg MsgInstantSpotMarketLaunch) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgInstantSpotMarketLaunch) Size

func (m *MsgInstantSpotMarketLaunch) Size() (n int)

func (*MsgInstantSpotMarketLaunch) String

func (m *MsgInstantSpotMarketLaunch) String() string

func (MsgInstantSpotMarketLaunch) Type

Type implements the sdk.Msg interface. It should return the action.

func (*MsgInstantSpotMarketLaunch) Unmarshal

func (m *MsgInstantSpotMarketLaunch) Unmarshal(dAtA []byte) error

func (MsgInstantSpotMarketLaunch) ValidateBasic

func (msg MsgInstantSpotMarketLaunch) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgInstantSpotMarketLaunch) XXX_DiscardUnknown

func (m *MsgInstantSpotMarketLaunch) XXX_DiscardUnknown()

func (*MsgInstantSpotMarketLaunch) XXX_Marshal

func (m *MsgInstantSpotMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantSpotMarketLaunch) XXX_Merge

func (m *MsgInstantSpotMarketLaunch) XXX_Merge(src proto.Message)

func (*MsgInstantSpotMarketLaunch) XXX_Size

func (m *MsgInstantSpotMarketLaunch) XXX_Size() int

func (*MsgInstantSpotMarketLaunch) XXX_Unmarshal

func (m *MsgInstantSpotMarketLaunch) XXX_Unmarshal(b []byte) error

type MsgInstantSpotMarketLaunchResponse

type MsgInstantSpotMarketLaunchResponse struct {
}

MsgInstantSpotMarketLaunchResponse defines the Msg/InstantSpotMarketLaunch response type.

func (*MsgInstantSpotMarketLaunchResponse) Descriptor

func (*MsgInstantSpotMarketLaunchResponse) Descriptor() ([]byte, []int)

func (*MsgInstantSpotMarketLaunchResponse) Marshal

func (m *MsgInstantSpotMarketLaunchResponse) Marshal() (dAtA []byte, err error)

func (*MsgInstantSpotMarketLaunchResponse) MarshalTo

func (m *MsgInstantSpotMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgInstantSpotMarketLaunchResponse) MarshalToSizedBuffer

func (m *MsgInstantSpotMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgInstantSpotMarketLaunchResponse) ProtoMessage

func (*MsgInstantSpotMarketLaunchResponse) ProtoMessage()

func (*MsgInstantSpotMarketLaunchResponse) Reset

func (*MsgInstantSpotMarketLaunchResponse) Size

func (*MsgInstantSpotMarketLaunchResponse) String

func (*MsgInstantSpotMarketLaunchResponse) Unmarshal

func (m *MsgInstantSpotMarketLaunchResponse) Unmarshal(dAtA []byte) error

func (*MsgInstantSpotMarketLaunchResponse) XXX_DiscardUnknown

func (m *MsgInstantSpotMarketLaunchResponse) XXX_DiscardUnknown()

func (*MsgInstantSpotMarketLaunchResponse) XXX_Marshal

func (m *MsgInstantSpotMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgInstantSpotMarketLaunchResponse) XXX_Merge

func (*MsgInstantSpotMarketLaunchResponse) XXX_Size

func (*MsgInstantSpotMarketLaunchResponse) XXX_Unmarshal

func (m *MsgInstantSpotMarketLaunchResponse) XXX_Unmarshal(b []byte) error

type MsgLiquidatePosition

type MsgLiquidatePosition struct {
	Sender       string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketId     string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// optional order to provide for liquidation
	Order *DerivativeOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"`
}

A Cosmos-SDK MsgLiquidatePosition

func (*MsgLiquidatePosition) Descriptor

func (*MsgLiquidatePosition) Descriptor() ([]byte, []int)

func (*MsgLiquidatePosition) GetMarketId

func (m *MsgLiquidatePosition) GetMarketId() string

func (*MsgLiquidatePosition) GetOrder

func (m *MsgLiquidatePosition) GetOrder() *DerivativeOrder

func (*MsgLiquidatePosition) GetSender

func (m *MsgLiquidatePosition) GetSender() string

func (*MsgLiquidatePosition) GetSignBytes

func (msg *MsgLiquidatePosition) GetSignBytes() []byte

func (*MsgLiquidatePosition) GetSigners

func (msg *MsgLiquidatePosition) GetSigners() []sdk.AccAddress

func (*MsgLiquidatePosition) GetSubaccountId

func (m *MsgLiquidatePosition) GetSubaccountId() string

func (*MsgLiquidatePosition) Marshal

func (m *MsgLiquidatePosition) Marshal() (dAtA []byte, err error)

func (*MsgLiquidatePosition) MarshalTo

func (m *MsgLiquidatePosition) MarshalTo(dAtA []byte) (int, error)

func (*MsgLiquidatePosition) MarshalToSizedBuffer

func (m *MsgLiquidatePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgLiquidatePosition) ProtoMessage

func (*MsgLiquidatePosition) ProtoMessage()

func (*MsgLiquidatePosition) Reset

func (m *MsgLiquidatePosition) Reset()

func (*MsgLiquidatePosition) Route

func (msg *MsgLiquidatePosition) Route() string

func (*MsgLiquidatePosition) Size

func (m *MsgLiquidatePosition) Size() (n int)

func (*MsgLiquidatePosition) String

func (m *MsgLiquidatePosition) String() string

func (*MsgLiquidatePosition) Type

func (msg *MsgLiquidatePosition) Type() string

func (*MsgLiquidatePosition) Unmarshal

func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error

func (*MsgLiquidatePosition) ValidateBasic

func (msg *MsgLiquidatePosition) ValidateBasic() error

func (*MsgLiquidatePosition) XXX_DiscardUnknown

func (m *MsgLiquidatePosition) XXX_DiscardUnknown()

func (*MsgLiquidatePosition) XXX_Marshal

func (m *MsgLiquidatePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgLiquidatePosition) XXX_Merge

func (m *MsgLiquidatePosition) XXX_Merge(src proto.Message)

func (*MsgLiquidatePosition) XXX_Size

func (m *MsgLiquidatePosition) XXX_Size() int

func (*MsgLiquidatePosition) XXX_Unmarshal

func (m *MsgLiquidatePosition) XXX_Unmarshal(b []byte) error

type MsgLiquidatePositionResponse

type MsgLiquidatePositionResponse struct {
}

MsgLiquidatePositionResponse defines the Msg/LiquidatePosition response type.

func (*MsgLiquidatePositionResponse) Descriptor

func (*MsgLiquidatePositionResponse) Descriptor() ([]byte, []int)

func (*MsgLiquidatePositionResponse) Marshal

func (m *MsgLiquidatePositionResponse) Marshal() (dAtA []byte, err error)

func (*MsgLiquidatePositionResponse) MarshalTo

func (m *MsgLiquidatePositionResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgLiquidatePositionResponse) MarshalToSizedBuffer

func (m *MsgLiquidatePositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgLiquidatePositionResponse) ProtoMessage

func (*MsgLiquidatePositionResponse) ProtoMessage()

func (*MsgLiquidatePositionResponse) Reset

func (m *MsgLiquidatePositionResponse) Reset()

func (*MsgLiquidatePositionResponse) Size

func (m *MsgLiquidatePositionResponse) Size() (n int)

func (*MsgLiquidatePositionResponse) String

func (*MsgLiquidatePositionResponse) Unmarshal

func (m *MsgLiquidatePositionResponse) Unmarshal(dAtA []byte) error

func (*MsgLiquidatePositionResponse) XXX_DiscardUnknown

func (m *MsgLiquidatePositionResponse) XXX_DiscardUnknown()

func (*MsgLiquidatePositionResponse) XXX_Marshal

func (m *MsgLiquidatePositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgLiquidatePositionResponse) XXX_Merge

func (m *MsgLiquidatePositionResponse) XXX_Merge(src proto.Message)

func (*MsgLiquidatePositionResponse) XXX_Size

func (m *MsgLiquidatePositionResponse) XXX_Size() int

func (*MsgLiquidatePositionResponse) XXX_Unmarshal

func (m *MsgLiquidatePositionResponse) XXX_Unmarshal(b []byte) error

type MsgPrivilegedExecuteContract added in v1.43.1

type MsgPrivilegedExecuteContract struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// funds defines the user's bank coins used to fund the execution (e.g.
	// 100inj).
	Funds string `protobuf:"bytes,2,opt,name=funds,proto3" json:"funds,omitempty"`
	// contract_address defines the contract address to execute
	ContractAddress string `protobuf:"bytes,3,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
	// data defines the call data used when executing the contract
	Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
}

MsgPrivilegedExecuteContract defines the Msg/Exec message type

func (*MsgPrivilegedExecuteContract) Descriptor added in v1.43.1

func (*MsgPrivilegedExecuteContract) Descriptor() ([]byte, []int)

func (*MsgPrivilegedExecuteContract) GetSignBytes added in v1.43.1

func (msg *MsgPrivilegedExecuteContract) GetSignBytes() []byte

func (*MsgPrivilegedExecuteContract) GetSigners added in v1.43.1

func (msg *MsgPrivilegedExecuteContract) GetSigners() []sdk.AccAddress

func (*MsgPrivilegedExecuteContract) HasEmptyFunds added in v1.43.1

func (msg *MsgPrivilegedExecuteContract) HasEmptyFunds() bool

func (*MsgPrivilegedExecuteContract) Marshal added in v1.43.1

func (m *MsgPrivilegedExecuteContract) Marshal() (dAtA []byte, err error)

func (*MsgPrivilegedExecuteContract) MarshalTo added in v1.43.1

func (m *MsgPrivilegedExecuteContract) MarshalTo(dAtA []byte) (int, error)

func (*MsgPrivilegedExecuteContract) MarshalToSizedBuffer added in v1.43.1

func (m *MsgPrivilegedExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPrivilegedExecuteContract) ProtoMessage added in v1.43.1

func (*MsgPrivilegedExecuteContract) ProtoMessage()

func (*MsgPrivilegedExecuteContract) Reset added in v1.43.1

func (m *MsgPrivilegedExecuteContract) Reset()

func (*MsgPrivilegedExecuteContract) Route added in v1.43.1

func (msg *MsgPrivilegedExecuteContract) Route() string

func (*MsgPrivilegedExecuteContract) Size added in v1.43.1

func (m *MsgPrivilegedExecuteContract) Size() (n int)

func (*MsgPrivilegedExecuteContract) String added in v1.43.1

func (*MsgPrivilegedExecuteContract) Type added in v1.43.1

func (*MsgPrivilegedExecuteContract) Unmarshal added in v1.43.1

func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error

func (*MsgPrivilegedExecuteContract) ValidateBasic added in v1.43.1

func (msg *MsgPrivilegedExecuteContract) ValidateBasic() error

func (*MsgPrivilegedExecuteContract) XXX_DiscardUnknown added in v1.43.1

func (m *MsgPrivilegedExecuteContract) XXX_DiscardUnknown()

func (*MsgPrivilegedExecuteContract) XXX_Marshal added in v1.43.1

func (m *MsgPrivilegedExecuteContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPrivilegedExecuteContract) XXX_Merge added in v1.43.1

func (m *MsgPrivilegedExecuteContract) XXX_Merge(src proto.Message)

func (*MsgPrivilegedExecuteContract) XXX_Size added in v1.43.1

func (m *MsgPrivilegedExecuteContract) XXX_Size() int

func (*MsgPrivilegedExecuteContract) XXX_Unmarshal added in v1.43.1

func (m *MsgPrivilegedExecuteContract) XXX_Unmarshal(b []byte) error

type MsgPrivilegedExecuteContractResponse added in v1.43.1

type MsgPrivilegedExecuteContractResponse struct {
	FundsDiff github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
}

MsgPrivilegedExecuteContractResponse defines the Msg/Exec response type.

func (*MsgPrivilegedExecuteContractResponse) Descriptor added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) Descriptor() ([]byte, []int)

func (*MsgPrivilegedExecuteContractResponse) Marshal added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) Marshal() (dAtA []byte, err error)

func (*MsgPrivilegedExecuteContractResponse) MarshalTo added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgPrivilegedExecuteContractResponse) MarshalToSizedBuffer added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgPrivilegedExecuteContractResponse) ProtoMessage added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) ProtoMessage()

func (*MsgPrivilegedExecuteContractResponse) Reset added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) Size added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) String added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) Unmarshal added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) Unmarshal(dAtA []byte) error

func (*MsgPrivilegedExecuteContractResponse) XXX_DiscardUnknown added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) XXX_DiscardUnknown()

func (*MsgPrivilegedExecuteContractResponse) XXX_Marshal added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgPrivilegedExecuteContractResponse) XXX_Merge added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) XXX_Size added in v1.43.1

func (*MsgPrivilegedExecuteContractResponse) XXX_Unmarshal added in v1.43.1

func (m *MsgPrivilegedExecuteContractResponse) XXX_Unmarshal(b []byte) error

type MsgReclaimLockedFunds added in v1.43.1

type MsgReclaimLockedFunds struct {
	Sender              string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	LockedAccountPubKey []byte `protobuf:"bytes,2,opt,name=lockedAccountPubKey,proto3" json:"lockedAccountPubKey,omitempty"`
	Signature           []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

A Cosmos-SDK MsgReclaimLockedFunds

func (*MsgReclaimLockedFunds) Descriptor added in v1.43.1

func (*MsgReclaimLockedFunds) Descriptor() ([]byte, []int)

func (*MsgReclaimLockedFunds) GetLockedAccountPubKey added in v1.43.1

func (m *MsgReclaimLockedFunds) GetLockedAccountPubKey() []byte

func (*MsgReclaimLockedFunds) GetSender added in v1.43.1

func (m *MsgReclaimLockedFunds) GetSender() string

func (*MsgReclaimLockedFunds) GetSignBytes added in v1.43.1

func (msg *MsgReclaimLockedFunds) GetSignBytes() []byte

func (*MsgReclaimLockedFunds) GetSignature added in v1.43.1

func (m *MsgReclaimLockedFunds) GetSignature() []byte

func (*MsgReclaimLockedFunds) GetSigners added in v1.43.1

func (msg *MsgReclaimLockedFunds) GetSigners() []sdk.AccAddress

func (*MsgReclaimLockedFunds) Marshal added in v1.43.1

func (m *MsgReclaimLockedFunds) Marshal() (dAtA []byte, err error)

func (*MsgReclaimLockedFunds) MarshalTo added in v1.43.1

func (m *MsgReclaimLockedFunds) MarshalTo(dAtA []byte) (int, error)

func (*MsgReclaimLockedFunds) MarshalToSizedBuffer added in v1.43.1

func (m *MsgReclaimLockedFunds) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgReclaimLockedFunds) ProtoMessage added in v1.43.1

func (*MsgReclaimLockedFunds) ProtoMessage()

func (*MsgReclaimLockedFunds) Reset added in v1.43.1

func (m *MsgReclaimLockedFunds) Reset()

func (*MsgReclaimLockedFunds) Route added in v1.43.1

func (msg *MsgReclaimLockedFunds) Route() string

func (*MsgReclaimLockedFunds) Size added in v1.43.1

func (m *MsgReclaimLockedFunds) Size() (n int)

func (*MsgReclaimLockedFunds) String added in v1.43.1

func (m *MsgReclaimLockedFunds) String() string

func (*MsgReclaimLockedFunds) Type added in v1.43.1

func (msg *MsgReclaimLockedFunds) Type() string

func (*MsgReclaimLockedFunds) Unmarshal added in v1.43.1

func (m *MsgReclaimLockedFunds) Unmarshal(dAtA []byte) error

func (*MsgReclaimLockedFunds) ValidateBasic added in v1.43.1

func (msg *MsgReclaimLockedFunds) ValidateBasic() error

func (*MsgReclaimLockedFunds) XXX_DiscardUnknown added in v1.43.1

func (m *MsgReclaimLockedFunds) XXX_DiscardUnknown()

func (*MsgReclaimLockedFunds) XXX_Marshal added in v1.43.1

func (m *MsgReclaimLockedFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgReclaimLockedFunds) XXX_Merge added in v1.43.1

func (m *MsgReclaimLockedFunds) XXX_Merge(src proto.Message)

func (*MsgReclaimLockedFunds) XXX_Size added in v1.43.1

func (m *MsgReclaimLockedFunds) XXX_Size() int

func (*MsgReclaimLockedFunds) XXX_Unmarshal added in v1.43.1

func (m *MsgReclaimLockedFunds) XXX_Unmarshal(b []byte) error

type MsgReclaimLockedFundsResponse added in v1.43.1

type MsgReclaimLockedFundsResponse struct {
}

MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response type.

func (*MsgReclaimLockedFundsResponse) Descriptor added in v1.43.1

func (*MsgReclaimLockedFundsResponse) Descriptor() ([]byte, []int)

func (*MsgReclaimLockedFundsResponse) Marshal added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) Marshal() (dAtA []byte, err error)

func (*MsgReclaimLockedFundsResponse) MarshalTo added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgReclaimLockedFundsResponse) MarshalToSizedBuffer added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgReclaimLockedFundsResponse) ProtoMessage added in v1.43.1

func (*MsgReclaimLockedFundsResponse) ProtoMessage()

func (*MsgReclaimLockedFundsResponse) Reset added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) Reset()

func (*MsgReclaimLockedFundsResponse) Size added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) Size() (n int)

func (*MsgReclaimLockedFundsResponse) String added in v1.43.1

func (*MsgReclaimLockedFundsResponse) Unmarshal added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) Unmarshal(dAtA []byte) error

func (*MsgReclaimLockedFundsResponse) XXX_DiscardUnknown added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) XXX_DiscardUnknown()

func (*MsgReclaimLockedFundsResponse) XXX_Marshal added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgReclaimLockedFundsResponse) XXX_Merge added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) XXX_Merge(src proto.Message)

func (*MsgReclaimLockedFundsResponse) XXX_Size added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) XXX_Size() int

func (*MsgReclaimLockedFundsResponse) XXX_Unmarshal added in v1.43.1

func (m *MsgReclaimLockedFundsResponse) XXX_Unmarshal(b []byte) error

type MsgRewardsOptOut added in v1.40.3

type MsgRewardsOptOut struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
}

A Cosmos-SDK MsgRewardsOptOut

func (*MsgRewardsOptOut) Descriptor added in v1.40.3

func (*MsgRewardsOptOut) Descriptor() ([]byte, []int)

func (*MsgRewardsOptOut) GetSender added in v1.40.3

func (m *MsgRewardsOptOut) GetSender() string

func (*MsgRewardsOptOut) GetSignBytes added in v1.40.3

func (msg *MsgRewardsOptOut) GetSignBytes() []byte

func (*MsgRewardsOptOut) GetSigners added in v1.40.3

func (msg *MsgRewardsOptOut) GetSigners() []sdk.AccAddress

func (*MsgRewardsOptOut) Marshal added in v1.40.3

func (m *MsgRewardsOptOut) Marshal() (dAtA []byte, err error)

func (*MsgRewardsOptOut) MarshalTo added in v1.40.3

func (m *MsgRewardsOptOut) MarshalTo(dAtA []byte) (int, error)

func (*MsgRewardsOptOut) MarshalToSizedBuffer added in v1.40.3

func (m *MsgRewardsOptOut) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRewardsOptOut) ProtoMessage added in v1.40.3

func (*MsgRewardsOptOut) ProtoMessage()

func (*MsgRewardsOptOut) Reset added in v1.40.3

func (m *MsgRewardsOptOut) Reset()

func (*MsgRewardsOptOut) Route added in v1.40.3

func (msg *MsgRewardsOptOut) Route() string

func (*MsgRewardsOptOut) Size added in v1.40.3

func (m *MsgRewardsOptOut) Size() (n int)

func (*MsgRewardsOptOut) String added in v1.40.3

func (m *MsgRewardsOptOut) String() string

func (*MsgRewardsOptOut) Type added in v1.40.3

func (msg *MsgRewardsOptOut) Type() string

func (*MsgRewardsOptOut) Unmarshal added in v1.40.3

func (m *MsgRewardsOptOut) Unmarshal(dAtA []byte) error

func (*MsgRewardsOptOut) ValidateBasic added in v1.40.3

func (msg *MsgRewardsOptOut) ValidateBasic() error

func (*MsgRewardsOptOut) XXX_DiscardUnknown added in v1.40.3

func (m *MsgRewardsOptOut) XXX_DiscardUnknown()

func (*MsgRewardsOptOut) XXX_Marshal added in v1.40.3

func (m *MsgRewardsOptOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRewardsOptOut) XXX_Merge added in v1.40.3

func (m *MsgRewardsOptOut) XXX_Merge(src proto.Message)

func (*MsgRewardsOptOut) XXX_Size added in v1.40.3

func (m *MsgRewardsOptOut) XXX_Size() int

func (*MsgRewardsOptOut) XXX_Unmarshal added in v1.40.3

func (m *MsgRewardsOptOut) XXX_Unmarshal(b []byte) error

type MsgRewardsOptOutResponse added in v1.40.3

type MsgRewardsOptOutResponse struct {
}

MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type.

func (*MsgRewardsOptOutResponse) Descriptor added in v1.40.3

func (*MsgRewardsOptOutResponse) Descriptor() ([]byte, []int)

func (*MsgRewardsOptOutResponse) Marshal added in v1.40.3

func (m *MsgRewardsOptOutResponse) Marshal() (dAtA []byte, err error)

func (*MsgRewardsOptOutResponse) MarshalTo added in v1.40.3

func (m *MsgRewardsOptOutResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRewardsOptOutResponse) MarshalToSizedBuffer added in v1.40.3

func (m *MsgRewardsOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRewardsOptOutResponse) ProtoMessage added in v1.40.3

func (*MsgRewardsOptOutResponse) ProtoMessage()

func (*MsgRewardsOptOutResponse) Reset added in v1.40.3

func (m *MsgRewardsOptOutResponse) Reset()

func (*MsgRewardsOptOutResponse) Size added in v1.40.3

func (m *MsgRewardsOptOutResponse) Size() (n int)

func (*MsgRewardsOptOutResponse) String added in v1.40.3

func (m *MsgRewardsOptOutResponse) String() string

func (*MsgRewardsOptOutResponse) Unmarshal added in v1.40.3

func (m *MsgRewardsOptOutResponse) Unmarshal(dAtA []byte) error

func (*MsgRewardsOptOutResponse) XXX_DiscardUnknown added in v1.40.3

func (m *MsgRewardsOptOutResponse) XXX_DiscardUnknown()

func (*MsgRewardsOptOutResponse) XXX_Marshal added in v1.40.3

func (m *MsgRewardsOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRewardsOptOutResponse) XXX_Merge added in v1.40.3

func (m *MsgRewardsOptOutResponse) XXX_Merge(src proto.Message)

func (*MsgRewardsOptOutResponse) XXX_Size added in v1.40.3

func (m *MsgRewardsOptOutResponse) XXX_Size() int

func (*MsgRewardsOptOutResponse) XXX_Unmarshal added in v1.40.3

func (m *MsgRewardsOptOutResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// Deposit defines a method for transferring coins from the sender's bank
	// balance into the subaccount's exchange deposits
	Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error)
	// Withdraw defines a method for withdrawing coins from a subaccount's
	// deposits to the user's bank balance
	Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error)
	// InstantSpotMarketLaunch defines method for creating a spot market by paying
	// listing fee without governance
	InstantSpotMarketLaunch(context.Context, *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error)
	// InstantPerpetualMarketLaunch defines a method for creating a new perpetual
	// futures market by paying listing fee without governance
	InstantPerpetualMarketLaunch(context.Context, *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error)
	// InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
	// futures market by paying listing fee without governance
	InstantExpiryFuturesMarketLaunch(context.Context, *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
	// CreateSpotLimitOrder defines a method for creating a new spot limit order.
	CreateSpotLimitOrder(context.Context, *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error)
	// BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
	// limit orders.
	BatchCreateSpotLimitOrders(context.Context, *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error)
	// CreateSpotMarketOrder defines a method for creating a new spot market
	// order.
	CreateSpotMarketOrder(context.Context, *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error)
	// MsgCancelSpotOrder defines a method for cancelling a spot order.
	CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
	// BatchCancelSpotOrders defines a method for cancelling a batch of spot
	// orders in a given market.
	BatchCancelSpotOrders(context.Context, *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error)
	// BatchUpdateOrders defines a method for updating a batch of orders.
	BatchUpdateOrders(context.Context, *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error)
	// PrivilegedExecuteContract defines a method for executing a Cosmwasm
	// contract from the exchange module with privileged capabilities.
	PrivilegedExecuteContract(context.Context, *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error)
	// CreateDerivativeLimitOrder defines a method for creating a new derivative
	// limit order.
	CreateDerivativeLimitOrder(context.Context, *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error)
	// BatchCreateDerivativeLimitOrders defines a method for creating a new batch
	// of derivative limit orders.
	BatchCreateDerivativeLimitOrders(context.Context, *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
	// MsgCreateDerivativeLimitOrder defines a method for creating a new
	// derivative market order.
	CreateDerivativeMarketOrder(context.Context, *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error)
	// MsgCancelDerivativeOrder defines a method for cancelling a derivative
	// order.
	CancelDerivativeOrder(context.Context, *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error)
	// MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
	// derivative limit orders.
	BatchCancelDerivativeOrders(context.Context, *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error)
	// InstantBinaryOptionsMarketLaunch defines method for creating a binary
	// options market by paying listing fee without governance
	InstantBinaryOptionsMarketLaunch(context.Context, *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
	// CreateBinaryOptionsLimitOrder defines a method for creating a new binary
	// options limit order.
	CreateBinaryOptionsLimitOrder(context.Context, *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
	// CreateBinaryOptionsMarketOrder defines a method for creating a new binary
	// options market order.
	CreateBinaryOptionsMarketOrder(context.Context, *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
	// MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
	// options order.
	CancelBinaryOptionsOrder(context.Context, *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error)
	// BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
	// binary options limit orders.
	BatchCancelBinaryOptionsOrders(context.Context, *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
	// SubaccountTransfer defines a method for transfer between subaccounts
	SubaccountTransfer(context.Context, *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error)
	// ExternalTransfer defines a method for transfer between external accounts
	ExternalTransfer(context.Context, *MsgExternalTransfer) (*MsgExternalTransferResponse, error)
	// LiquidatePosition defines a method for liquidating a position
	LiquidatePosition(context.Context, *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error)
	// IncreasePositionMargin defines a method for increasing margin of a position
	IncreasePositionMargin(context.Context, *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error)
	// RewardsOptOut defines a method for opting out of rewards
	RewardsOptOut(context.Context, *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error)
	// AdminUpdateBinaryOptionsMarket defines method for updating a binary options
	// market by admin
	AdminUpdateBinaryOptionsMarket(context.Context, *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
	//
	ReclaimLockedFunds(context.Context, *MsgReclaimLockedFunds) (*MsgReclaimLockedFundsResponse, error)
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSignData added in v1.43.1

type MsgSignData struct {
	// Signer is the sdk.AccAddress of the message signer
	Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=Signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer"`
	// Data represents the raw bytes of the content that is signed (text, json,
	// etc)
	Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"data"`
}

MsgSignData defines an arbitrary, general-purpose, off-chain message

func (*MsgSignData) Descriptor added in v1.43.1

func (*MsgSignData) Descriptor() ([]byte, []int)

func (*MsgSignData) GetData added in v1.43.1

func (m *MsgSignData) GetData() []byte

func (*MsgSignData) GetSignBytes added in v1.43.1

func (m *MsgSignData) GetSignBytes() []byte

func (*MsgSignData) GetSigner added in v1.43.1

func (*MsgSignData) GetSigners added in v1.43.1

func (msg *MsgSignData) GetSigners() []sdk.AccAddress

func (*MsgSignData) Marshal added in v1.43.1

func (m *MsgSignData) Marshal() (dAtA []byte, err error)

func (*MsgSignData) MarshalTo added in v1.43.1

func (m *MsgSignData) MarshalTo(dAtA []byte) (int, error)

func (*MsgSignData) MarshalToSizedBuffer added in v1.43.1

func (m *MsgSignData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSignData) ProtoMessage added in v1.43.1

func (*MsgSignData) ProtoMessage()

func (*MsgSignData) Reset added in v1.43.1

func (m *MsgSignData) Reset()

func (*MsgSignData) Route added in v1.43.1

func (m *MsgSignData) Route() string

func (*MsgSignData) Size added in v1.43.1

func (m *MsgSignData) Size() (n int)

func (*MsgSignData) String added in v1.43.1

func (m *MsgSignData) String() string

func (*MsgSignData) Type added in v1.43.1

func (m *MsgSignData) Type() string

func (*MsgSignData) Unmarshal added in v1.43.1

func (m *MsgSignData) Unmarshal(dAtA []byte) error

func (*MsgSignData) ValidateBasic added in v1.43.1

func (msg *MsgSignData) ValidateBasic() error

func (*MsgSignData) XXX_DiscardUnknown added in v1.43.1

func (m *MsgSignData) XXX_DiscardUnknown()

func (*MsgSignData) XXX_Marshal added in v1.43.1

func (m *MsgSignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSignData) XXX_Merge added in v1.43.1

func (m *MsgSignData) XXX_Merge(src proto.Message)

func (*MsgSignData) XXX_Size added in v1.43.1

func (m *MsgSignData) XXX_Size() int

func (*MsgSignData) XXX_Unmarshal added in v1.43.1

func (m *MsgSignData) XXX_Unmarshal(b []byte) error

type MsgSignDoc added in v1.43.1

type MsgSignDoc struct {
	SignType string      `protobuf:"bytes,1,opt,name=sign_type,json=signType,proto3" json:"type"`
	Value    MsgSignData `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
}

MsgSignDoc defines an arbitrary, general-purpose, off-chain message

func (*MsgSignDoc) Descriptor added in v1.43.1

func (*MsgSignDoc) Descriptor() ([]byte, []int)

func (*MsgSignDoc) GetSignBytes added in v1.43.1

func (m *MsgSignDoc) GetSignBytes() []byte

func (*MsgSignDoc) GetSignType added in v1.43.1

func (m *MsgSignDoc) GetSignType() string

func (*MsgSignDoc) GetSigners added in v1.43.1

func (msg *MsgSignDoc) GetSigners() []sdk.AccAddress

func (*MsgSignDoc) GetValue added in v1.43.1

func (m *MsgSignDoc) GetValue() MsgSignData

func (*MsgSignDoc) Marshal added in v1.43.1

func (m *MsgSignDoc) Marshal() (dAtA []byte, err error)

func (*MsgSignDoc) MarshalTo added in v1.43.1

func (m *MsgSignDoc) MarshalTo(dAtA []byte) (int, error)

func (*MsgSignDoc) MarshalToSizedBuffer added in v1.43.1

func (m *MsgSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSignDoc) ProtoMessage added in v1.43.1

func (*MsgSignDoc) ProtoMessage()

func (*MsgSignDoc) Reset added in v1.43.1

func (m *MsgSignDoc) Reset()

func (*MsgSignDoc) Route added in v1.43.1

func (m *MsgSignDoc) Route() string

func (*MsgSignDoc) Size added in v1.43.1

func (m *MsgSignDoc) Size() (n int)

func (*MsgSignDoc) String added in v1.43.1

func (m *MsgSignDoc) String() string

func (*MsgSignDoc) Type added in v1.43.1

func (m *MsgSignDoc) Type() string

func (*MsgSignDoc) Unmarshal added in v1.43.1

func (m *MsgSignDoc) Unmarshal(dAtA []byte) error

func (*MsgSignDoc) ValidateBasic added in v1.43.1

func (msg *MsgSignDoc) ValidateBasic() error

func (*MsgSignDoc) XXX_DiscardUnknown added in v1.43.1

func (m *MsgSignDoc) XXX_DiscardUnknown()

func (*MsgSignDoc) XXX_Marshal added in v1.43.1

func (m *MsgSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSignDoc) XXX_Merge added in v1.43.1

func (m *MsgSignDoc) XXX_Merge(src proto.Message)

func (*MsgSignDoc) XXX_Size added in v1.43.1

func (m *MsgSignDoc) XXX_Size() int

func (*MsgSignDoc) XXX_Unmarshal added in v1.43.1

func (m *MsgSignDoc) XXX_Unmarshal(b []byte) error

type MsgSubaccountTransfer

type MsgSubaccountTransfer struct {
	Sender                  string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	SourceSubaccountId      string     `protobuf:"bytes,2,opt,name=source_subaccount_id,json=sourceSubaccountId,proto3" json:"source_subaccount_id,omitempty"`
	DestinationSubaccountId string     `` /* 132-byte string literal not displayed */
	Amount                  types.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount"`
}

A Cosmos-SDK MsgSubaccountTransfer

func (*MsgSubaccountTransfer) Descriptor

func (*MsgSubaccountTransfer) Descriptor() ([]byte, []int)

func (*MsgSubaccountTransfer) GetAmount

func (m *MsgSubaccountTransfer) GetAmount() types.Coin

func (*MsgSubaccountTransfer) GetDestinationSubaccountId

func (m *MsgSubaccountTransfer) GetDestinationSubaccountId() string

func (*MsgSubaccountTransfer) GetSender

func (m *MsgSubaccountTransfer) GetSender() string

func (*MsgSubaccountTransfer) GetSignBytes

func (msg *MsgSubaccountTransfer) GetSignBytes() []byte

func (*MsgSubaccountTransfer) GetSigners

func (msg *MsgSubaccountTransfer) GetSigners() []sdk.AccAddress

func (*MsgSubaccountTransfer) GetSourceSubaccountId

func (m *MsgSubaccountTransfer) GetSourceSubaccountId() string

func (*MsgSubaccountTransfer) Marshal

func (m *MsgSubaccountTransfer) Marshal() (dAtA []byte, err error)

func (*MsgSubaccountTransfer) MarshalTo

func (m *MsgSubaccountTransfer) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubaccountTransfer) MarshalToSizedBuffer

func (m *MsgSubaccountTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubaccountTransfer) ProtoMessage

func (*MsgSubaccountTransfer) ProtoMessage()

func (*MsgSubaccountTransfer) Reset

func (m *MsgSubaccountTransfer) Reset()

func (*MsgSubaccountTransfer) Route

func (msg *MsgSubaccountTransfer) Route() string

func (*MsgSubaccountTransfer) Size

func (m *MsgSubaccountTransfer) Size() (n int)

func (*MsgSubaccountTransfer) String

func (m *MsgSubaccountTransfer) String() string

func (*MsgSubaccountTransfer) Type

func (msg *MsgSubaccountTransfer) Type() string

func (*MsgSubaccountTransfer) Unmarshal

func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error

func (*MsgSubaccountTransfer) ValidateBasic

func (msg *MsgSubaccountTransfer) ValidateBasic() error

func (*MsgSubaccountTransfer) XXX_DiscardUnknown

func (m *MsgSubaccountTransfer) XXX_DiscardUnknown()

func (*MsgSubaccountTransfer) XXX_Marshal

func (m *MsgSubaccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubaccountTransfer) XXX_Merge

func (m *MsgSubaccountTransfer) XXX_Merge(src proto.Message)

func (*MsgSubaccountTransfer) XXX_Size

func (m *MsgSubaccountTransfer) XXX_Size() int

func (*MsgSubaccountTransfer) XXX_Unmarshal

func (m *MsgSubaccountTransfer) XXX_Unmarshal(b []byte) error

type MsgSubaccountTransferResponse

type MsgSubaccountTransferResponse struct {
}

MsgSubaccountTransferResponse defines the Msg/SubaccountTransfer response type.

func (*MsgSubaccountTransferResponse) Descriptor

func (*MsgSubaccountTransferResponse) Descriptor() ([]byte, []int)

func (*MsgSubaccountTransferResponse) Marshal

func (m *MsgSubaccountTransferResponse) Marshal() (dAtA []byte, err error)

func (*MsgSubaccountTransferResponse) MarshalTo

func (m *MsgSubaccountTransferResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSubaccountTransferResponse) MarshalToSizedBuffer

func (m *MsgSubaccountTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSubaccountTransferResponse) ProtoMessage

func (*MsgSubaccountTransferResponse) ProtoMessage()

func (*MsgSubaccountTransferResponse) Reset

func (m *MsgSubaccountTransferResponse) Reset()

func (*MsgSubaccountTransferResponse) Size

func (m *MsgSubaccountTransferResponse) Size() (n int)

func (*MsgSubaccountTransferResponse) String

func (*MsgSubaccountTransferResponse) Unmarshal

func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error

func (*MsgSubaccountTransferResponse) XXX_DiscardUnknown

func (m *MsgSubaccountTransferResponse) XXX_DiscardUnknown()

func (*MsgSubaccountTransferResponse) XXX_Marshal

func (m *MsgSubaccountTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSubaccountTransferResponse) XXX_Merge

func (m *MsgSubaccountTransferResponse) XXX_Merge(src proto.Message)

func (*MsgSubaccountTransferResponse) XXX_Size

func (m *MsgSubaccountTransferResponse) XXX_Size() int

func (*MsgSubaccountTransferResponse) XXX_Unmarshal

func (m *MsgSubaccountTransferResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateParams added in v1.47.1

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params defines the exchange parameters to update.
	//
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor added in v1.47.1

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

func (*MsgUpdateParams) GetAuthority added in v1.47.1

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams added in v1.47.1

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes added in v1.47.1

func (msg *MsgUpdateParams) GetSignBytes() []byte

func (MsgUpdateParams) GetSigners added in v1.47.1

func (msg MsgUpdateParams) GetSigners() []sdk.AccAddress

func (*MsgUpdateParams) Marshal added in v1.47.1

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo added in v1.47.1

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer added in v1.47.1

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage added in v1.47.1

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset added in v1.47.1

func (m *MsgUpdateParams) Reset()

func (MsgUpdateParams) Route added in v1.47.1

func (msg MsgUpdateParams) Route() string

func (*MsgUpdateParams) Size added in v1.47.1

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String added in v1.47.1

func (m *MsgUpdateParams) String() string

func (MsgUpdateParams) Type added in v1.47.1

func (msg MsgUpdateParams) Type() string

func (*MsgUpdateParams) Unmarshal added in v1.47.1

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (MsgUpdateParams) ValidateBasic added in v1.47.1

func (msg MsgUpdateParams) ValidateBasic() error

func (*MsgUpdateParams) XXX_DiscardUnknown added in v1.47.1

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal added in v1.47.1

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge added in v1.47.1

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size added in v1.47.1

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal added in v1.47.1

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse added in v1.47.1

type MsgUpdateParamsResponse struct {
}

func (*MsgUpdateParamsResponse) Descriptor added in v1.47.1

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateParamsResponse) Marshal added in v1.47.1

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo added in v1.47.1

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v1.47.1

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage added in v1.47.1

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v1.47.1

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v1.47.1

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String added in v1.47.1

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v1.47.1

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v1.47.1

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type MsgWithdraw

type MsgWithdraw struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// bytes32 subaccount ID to withdraw funds from
	SubaccountId string     `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Amount       types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
}

MsgWithdraw defines a SDK message for withdrawing coins from a subaccount's deposits to the user's bank balance

func (*MsgWithdraw) Descriptor

func (*MsgWithdraw) Descriptor() ([]byte, []int)

func (*MsgWithdraw) GetSignBytes

func (msg *MsgWithdraw) GetSignBytes() []byte

GetSignBytes implements the sdk.Msg interface. It encodes the message for signing

func (MsgWithdraw) GetSigners

func (msg MsgWithdraw) GetSigners() []sdk.AccAddress

GetSigners implements the sdk.Msg interface. It defines whose signature is required

func (*MsgWithdraw) Marshal

func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)

func (*MsgWithdraw) MarshalTo

func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdraw) MarshalToSizedBuffer

func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdraw) ProtoMessage

func (*MsgWithdraw) ProtoMessage()

func (*MsgWithdraw) Reset

func (m *MsgWithdraw) Reset()

func (MsgWithdraw) Route

func (msg MsgWithdraw) Route() string

Route implements the sdk.Msg interface. It should return the name of the module

func (*MsgWithdraw) Size

func (m *MsgWithdraw) Size() (n int)

func (*MsgWithdraw) String

func (m *MsgWithdraw) String() string

func (MsgWithdraw) Type

func (msg MsgWithdraw) Type() string

Type implements the sdk.Msg interface. It should return the action.

func (*MsgWithdraw) Unmarshal

func (m *MsgWithdraw) Unmarshal(dAtA []byte) error

func (MsgWithdraw) ValidateBasic

func (msg MsgWithdraw) ValidateBasic() error

ValidateBasic implements the sdk.Msg interface. It runs stateless checks on the message

func (*MsgWithdraw) XXX_DiscardUnknown

func (m *MsgWithdraw) XXX_DiscardUnknown()

func (*MsgWithdraw) XXX_Marshal

func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdraw) XXX_Merge

func (m *MsgWithdraw) XXX_Merge(src proto.Message)

func (*MsgWithdraw) XXX_Size

func (m *MsgWithdraw) XXX_Size() int

func (*MsgWithdraw) XXX_Unmarshal

func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error

type MsgWithdrawResponse

type MsgWithdrawResponse struct {
}

MsgWithdraw defines the Msg/Withdraw response type.

func (*MsgWithdrawResponse) Descriptor

func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)

func (*MsgWithdrawResponse) Marshal

func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawResponse) MarshalTo

func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawResponse) MarshalToSizedBuffer

func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawResponse) ProtoMessage

func (*MsgWithdrawResponse) ProtoMessage()

func (*MsgWithdrawResponse) Reset

func (m *MsgWithdrawResponse) Reset()

func (*MsgWithdrawResponse) Size

func (m *MsgWithdrawResponse) Size() (n int)

func (*MsgWithdrawResponse) String

func (m *MsgWithdrawResponse) String() string

func (*MsgWithdrawResponse) Unmarshal

func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawResponse) XXX_DiscardUnknown

func (m *MsgWithdrawResponse) XXX_DiscardUnknown()

func (*MsgWithdrawResponse) XXX_Marshal

func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawResponse) XXX_Merge

func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)

func (*MsgWithdrawResponse) XXX_Size

func (m *MsgWithdrawResponse) XXX_Size() int

func (*MsgWithdrawResponse) XXX_Unmarshal

func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error

type NextFundingTimestamp

type NextFundingTimestamp struct {
	NextTimestamp int64 `protobuf:"varint,1,opt,name=next_timestamp,json=nextTimestamp,proto3" json:"next_timestamp,omitempty"`
}

func (*NextFundingTimestamp) Descriptor

func (*NextFundingTimestamp) Descriptor() ([]byte, []int)

func (*NextFundingTimestamp) GetNextTimestamp

func (m *NextFundingTimestamp) GetNextTimestamp() int64

func (*NextFundingTimestamp) Marshal

func (m *NextFundingTimestamp) Marshal() (dAtA []byte, err error)

func (*NextFundingTimestamp) MarshalTo

func (m *NextFundingTimestamp) MarshalTo(dAtA []byte) (int, error)

func (*NextFundingTimestamp) MarshalToSizedBuffer

func (m *NextFundingTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NextFundingTimestamp) ProtoMessage

func (*NextFundingTimestamp) ProtoMessage()

func (*NextFundingTimestamp) Reset

func (m *NextFundingTimestamp) Reset()

func (*NextFundingTimestamp) Size

func (m *NextFundingTimestamp) Size() (n int)

func (*NextFundingTimestamp) String

func (m *NextFundingTimestamp) String() string

func (*NextFundingTimestamp) Unmarshal

func (m *NextFundingTimestamp) Unmarshal(dAtA []byte) error

func (*NextFundingTimestamp) XXX_DiscardUnknown

func (m *NextFundingTimestamp) XXX_DiscardUnknown()

func (*NextFundingTimestamp) XXX_Marshal

func (m *NextFundingTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NextFundingTimestamp) XXX_Merge

func (m *NextFundingTimestamp) XXX_Merge(src proto.Message)

func (*NextFundingTimestamp) XXX_Size

func (m *NextFundingTimestamp) XXX_Size() int

func (*NextFundingTimestamp) XXX_Unmarshal

func (m *NextFundingTimestamp) XXX_Unmarshal(b []byte) error

type OracleKeeper

type OracleKeeper interface {
	GetPrice(ctx sdk.Context, oracletype oracletypes.OracleType, base string, quote string) *sdk.Dec
	GetCumulativePrice(ctx sdk.Context, oracleType oracletypes.OracleType, base string, quote string) *sdk.Dec
	GetHistoricalPriceRecords(ctx sdk.Context, oracleType oracletypes.OracleType, symbol string, from int64) (entry *oracletypes.PriceRecords, omitted bool)
	GetMixedHistoricalPriceRecords(ctx sdk.Context, baseOracleType, quoteOracleType oracletypes.OracleType, baseSymbol, quoteSymbol string, from int64) (mixed *oracletypes.PriceRecords, ok bool)
	GetStandardDeviationForPriceRecords(priceRecords []*oracletypes.PriceRecord) *sdk.Dec
	GetProviderInfo(ctx sdk.Context, provider string) *oracletypes.ProviderInfo
	GetProviderPrice(ctx sdk.Context, provider, symbol string) *sdk.Dec
	GetProviderPriceState(ctx sdk.Context, provider, symbol string) *oracletypes.ProviderPriceState
}

OracleKeeper defines the expected oracle keeper methods.

type OracleParams added in v1.27.2

type OracleParams struct {
	// Oracle base currency
	OracleBase string `protobuf:"bytes,1,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
	// Oracle quote currency
	OracleQuote string `protobuf:"bytes,2,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,3,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
}

func NewOracleParams added in v1.27.2

func NewOracleParams(
	oracleBase string,
	oracleQuote string,
	oracleScaleFactor uint32,
	oracleType oracletypes.OracleType,
) *OracleParams

func (*OracleParams) Descriptor added in v1.27.2

func (*OracleParams) Descriptor() ([]byte, []int)

func (*OracleParams) GetOracleBase added in v1.27.2

func (m *OracleParams) GetOracleBase() string

func (*OracleParams) GetOracleQuote added in v1.27.2

func (m *OracleParams) GetOracleQuote() string

func (*OracleParams) GetOracleScaleFactor added in v1.27.2

func (m *OracleParams) GetOracleScaleFactor() uint32

func (*OracleParams) GetOracleType added in v1.27.2

func (m *OracleParams) GetOracleType() types1.OracleType

func (*OracleParams) Marshal added in v1.27.2

func (m *OracleParams) Marshal() (dAtA []byte, err error)

func (*OracleParams) MarshalTo added in v1.27.2

func (m *OracleParams) MarshalTo(dAtA []byte) (int, error)

func (*OracleParams) MarshalToSizedBuffer added in v1.27.2

func (m *OracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OracleParams) ProtoMessage added in v1.27.2

func (*OracleParams) ProtoMessage()

func (*OracleParams) Reset added in v1.27.2

func (m *OracleParams) Reset()

func (*OracleParams) Size added in v1.27.2

func (m *OracleParams) Size() (n int)

func (*OracleParams) String added in v1.27.2

func (m *OracleParams) String() string

func (*OracleParams) Unmarshal added in v1.27.2

func (m *OracleParams) Unmarshal(dAtA []byte) error

func (*OracleParams) ValidateBasic added in v1.27.2

func (p *OracleParams) ValidateBasic() error

func (*OracleParams) XXX_DiscardUnknown added in v1.27.2

func (m *OracleParams) XXX_DiscardUnknown()

func (*OracleParams) XXX_Marshal added in v1.27.2

func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OracleParams) XXX_Merge added in v1.27.2

func (m *OracleParams) XXX_Merge(src proto.Message)

func (*OracleParams) XXX_Size added in v1.27.2

func (m *OracleParams) XXX_Size() int

func (*OracleParams) XXX_Unmarshal added in v1.27.2

func (m *OracleParams) XXX_Unmarshal(b []byte) error

type OrderData

type OrderData struct {
	MarketId     string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	OrderHash    string `protobuf:"bytes,3,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	OrderMask    int32  `protobuf:"varint,4,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
}

func (*OrderData) Descriptor

func (*OrderData) Descriptor() ([]byte, []int)

func (*OrderData) GetMarketId

func (m *OrderData) GetMarketId() string

func (*OrderData) GetOrderHash

func (m *OrderData) GetOrderHash() string

func (*OrderData) GetOrderMask added in v1.40.8

func (m *OrderData) GetOrderMask() int32

func (*OrderData) GetSubaccountId

func (m *OrderData) GetSubaccountId() string

func (*OrderData) Marshal

func (m *OrderData) Marshal() (dAtA []byte, err error)

func (*OrderData) MarshalTo

func (m *OrderData) MarshalTo(dAtA []byte) (int, error)

func (*OrderData) MarshalToSizedBuffer

func (m *OrderData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrderData) ProtoMessage

func (*OrderData) ProtoMessage()

func (*OrderData) Reset

func (m *OrderData) Reset()

func (*OrderData) Size

func (m *OrderData) Size() (n int)

func (*OrderData) String

func (m *OrderData) String() string

func (*OrderData) Unmarshal

func (m *OrderData) Unmarshal(dAtA []byte) error

func (*OrderData) ValidateBasic

func (o *OrderData) ValidateBasic(senderAddr sdk.AccAddress) error

func (*OrderData) XXX_DiscardUnknown

func (m *OrderData) XXX_DiscardUnknown()

func (*OrderData) XXX_Marshal

func (m *OrderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrderData) XXX_Merge

func (m *OrderData) XXX_Merge(src proto.Message)

func (*OrderData) XXX_Size

func (m *OrderData) XXX_Size() int

func (*OrderData) XXX_Unmarshal

func (m *OrderData) XXX_Unmarshal(b []byte) error

type OrderInfo

type OrderInfo struct {
	// bytes32 subaccount ID that created the order
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// address fee_recipient address that will receive fees for the order
	FeeRecipient string `protobuf:"bytes,2,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
	// price of the order
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// quantity of the order
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
}

func (*OrderInfo) Descriptor

func (*OrderInfo) Descriptor() ([]byte, []int)

func (*OrderInfo) FeeRecipientAddress added in v1.23.7

func (o *OrderInfo) FeeRecipientAddress() common.Address

func (*OrderInfo) GetFeeAmount

func (m *OrderInfo) GetFeeAmount(fee sdk.Dec) sdk.Dec

func (*OrderInfo) GetFeeRecipient

func (m *OrderInfo) GetFeeRecipient() string

func (*OrderInfo) GetNotional

func (m *OrderInfo) GetNotional() sdk.Dec

func (*OrderInfo) GetSubaccountId

func (m *OrderInfo) GetSubaccountId() string

func (*OrderInfo) IsFromDefaultSubaccount added in v1.45.0

func (m *OrderInfo) IsFromDefaultSubaccount() bool

func (*OrderInfo) Marshal

func (m *OrderInfo) Marshal() (dAtA []byte, err error)

func (*OrderInfo) MarshalTo

func (m *OrderInfo) MarshalTo(dAtA []byte) (int, error)

func (*OrderInfo) MarshalToSizedBuffer

func (m *OrderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrderInfo) ProtoMessage

func (*OrderInfo) ProtoMessage()

func (*OrderInfo) Reset

func (m *OrderInfo) Reset()

func (*OrderInfo) Size

func (m *OrderInfo) Size() (n int)

func (*OrderInfo) String

func (m *OrderInfo) String() string

func (*OrderInfo) SubaccountID

func (o *OrderInfo) SubaccountID() common.Hash

func (*OrderInfo) Unmarshal

func (m *OrderInfo) Unmarshal(dAtA []byte) error

func (*OrderInfo) ValidateBasic

func (o *OrderInfo) ValidateBasic(senderAddr sdk.AccAddress, hasBinaryPriceBand, isDerivative bool) error

func (*OrderInfo) XXX_DiscardUnknown

func (m *OrderInfo) XXX_DiscardUnknown()

func (*OrderInfo) XXX_Marshal

func (m *OrderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrderInfo) XXX_Merge

func (m *OrderInfo) XXX_Merge(src proto.Message)

func (*OrderInfo) XXX_Size

func (m *OrderInfo) XXX_Size() int

func (*OrderInfo) XXX_Unmarshal

func (m *OrderInfo) XXX_Unmarshal(b []byte) error

type OrderMask added in v1.40.8

type OrderMask int32
const (
	OrderMask_UNUSED        OrderMask = 0
	OrderMask_ANY           OrderMask = 1
	OrderMask_REGULAR       OrderMask = 2
	OrderMask_CONDITIONAL   OrderMask = 4
	OrderMask_BUY_OR_HIGHER OrderMask = 8
	OrderMask_SELL_OR_LOWER OrderMask = 16
	OrderMask_MARKET        OrderMask = 32
	OrderMask_LIMIT         OrderMask = 64
)

func (OrderMask) EnumDescriptor added in v1.40.8

func (OrderMask) EnumDescriptor() ([]byte, []int)

func (OrderMask) String added in v1.40.8

func (x OrderMask) String() string

type OrderSide added in v1.47.4

type OrderSide int32
const (
	// will return both
	OrderSide_Side_Unspecified OrderSide = 0
	OrderSide_Buy              OrderSide = 1
	OrderSide_Sell             OrderSide = 2
)

func (OrderSide) EnumDescriptor added in v1.47.4

func (OrderSide) EnumDescriptor() ([]byte, []int)

func (OrderSide) String added in v1.47.4

func (x OrderSide) String() string

type OrderType

type OrderType int32
const (
	OrderType_UNSPECIFIED OrderType = 0
	OrderType_BUY         OrderType = 1
	OrderType_SELL        OrderType = 2
	OrderType_STOP_BUY    OrderType = 3
	OrderType_STOP_SELL   OrderType = 4
	OrderType_TAKE_BUY    OrderType = 5
	OrderType_TAKE_SELL   OrderType = 6
	OrderType_BUY_PO      OrderType = 7
	OrderType_SELL_PO     OrderType = 8
	OrderType_BUY_ATOMIC  OrderType = 9
	OrderType_SELL_ATOMIC OrderType = 10
)

func (OrderType) EnumDescriptor

func (OrderType) EnumDescriptor() ([]byte, []int)

func (OrderType) IsAtomic added in v1.42.6

func (t OrderType) IsAtomic() bool

func (OrderType) IsBuy

func (t OrderType) IsBuy() bool

func (OrderType) IsConditional added in v1.40.8

func (t OrderType) IsConditional() bool

func (OrderType) IsPostOnly added in v1.32.1

func (t OrderType) IsPostOnly() bool

func (OrderType) String

func (x OrderType) String() string

func (*OrderType) UnmarshalJSON

func (m *OrderType) UnmarshalJSON(data []byte) error

type Orderbook added in v1.42.6

type Orderbook struct {
	MarketId   []byte   `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	BuyLevels  []*Level `protobuf:"bytes,2,rep,name=buy_levels,json=buyLevels,proto3" json:"buy_levels,omitempty"`
	SellLevels []*Level `protobuf:"bytes,3,rep,name=sell_levels,json=sellLevels,proto3" json:"sell_levels,omitempty"`
}

func NewOrderbook added in v1.42.6

func NewOrderbook(marketID common.Hash) *Orderbook

func NewOrderbookWithLevels added in v1.43.1

func NewOrderbookWithLevels(marketID common.Hash, buyLevels, sellLevels []*Level) *Orderbook

func (*Orderbook) AppendLevel added in v1.42.6

func (o *Orderbook) AppendLevel(isBuy bool, level *Level)

func (*Orderbook) Descriptor added in v1.42.6

func (*Orderbook) Descriptor() ([]byte, []int)

func (*Orderbook) Equals added in v1.43.1

func (o *Orderbook) Equals(other *Orderbook) bool

func (*Orderbook) GetBuyLevels added in v1.42.6

func (m *Orderbook) GetBuyLevels() []*Level

func (*Orderbook) GetMarketId added in v1.42.6

func (m *Orderbook) GetMarketId() []byte

func (*Orderbook) GetSellLevels added in v1.42.6

func (m *Orderbook) GetSellLevels() []*Level

func (*Orderbook) IsCrossed added in v1.42.6

func (o *Orderbook) IsCrossed() bool

func (*Orderbook) Marshal added in v1.42.6

func (m *Orderbook) Marshal() (dAtA []byte, err error)

func (*Orderbook) MarshalTo added in v1.42.6

func (m *Orderbook) MarshalTo(dAtA []byte) (int, error)

func (*Orderbook) MarshalToSizedBuffer added in v1.42.6

func (m *Orderbook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Orderbook) PrintDisplay added in v1.42.6

func (o *Orderbook) PrintDisplay()

PrintDisplay is a helper function to print the orderbook in a human readable format for debugging purposes

func (*Orderbook) ProtoMessage added in v1.42.6

func (*Orderbook) ProtoMessage()

func (*Orderbook) Reset added in v1.42.6

func (m *Orderbook) Reset()

func (*Orderbook) Size added in v1.42.6

func (m *Orderbook) Size() (n int)

func (*Orderbook) String added in v1.42.6

func (m *Orderbook) String() string

func (*Orderbook) Unmarshal added in v1.42.6

func (m *Orderbook) Unmarshal(dAtA []byte) error

func (*Orderbook) XXX_DiscardUnknown added in v1.42.6

func (m *Orderbook) XXX_DiscardUnknown()

func (*Orderbook) XXX_Marshal added in v1.42.6

func (m *Orderbook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Orderbook) XXX_Merge added in v1.42.6

func (m *Orderbook) XXX_Merge(src proto.Message)

func (*Orderbook) XXX_Size added in v1.42.6

func (m *Orderbook) XXX_Size() int

func (*Orderbook) XXX_Unmarshal added in v1.42.6

func (m *Orderbook) XXX_Unmarshal(b []byte) error

type OrderbookSequence added in v1.43.1

type OrderbookSequence struct {
	Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
	MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

func (*OrderbookSequence) Descriptor added in v1.43.1

func (*OrderbookSequence) Descriptor() ([]byte, []int)

func (*OrderbookSequence) GetMarketId added in v1.43.1

func (m *OrderbookSequence) GetMarketId() string

func (*OrderbookSequence) GetSequence added in v1.43.1

func (m *OrderbookSequence) GetSequence() uint64

func (*OrderbookSequence) Marshal added in v1.43.1

func (m *OrderbookSequence) Marshal() (dAtA []byte, err error)

func (*OrderbookSequence) MarshalTo added in v1.43.1

func (m *OrderbookSequence) MarshalTo(dAtA []byte) (int, error)

func (*OrderbookSequence) MarshalToSizedBuffer added in v1.43.1

func (m *OrderbookSequence) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrderbookSequence) ProtoMessage added in v1.43.1

func (*OrderbookSequence) ProtoMessage()

func (*OrderbookSequence) Reset added in v1.43.1

func (m *OrderbookSequence) Reset()

func (*OrderbookSequence) Size added in v1.43.1

func (m *OrderbookSequence) Size() (n int)

func (*OrderbookSequence) String added in v1.43.1

func (m *OrderbookSequence) String() string

func (*OrderbookSequence) Unmarshal added in v1.43.1

func (m *OrderbookSequence) Unmarshal(dAtA []byte) error

func (*OrderbookSequence) XXX_DiscardUnknown added in v1.43.1

func (m *OrderbookSequence) XXX_DiscardUnknown()

func (*OrderbookSequence) XXX_Marshal added in v1.43.1

func (m *OrderbookSequence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrderbookSequence) XXX_Merge added in v1.43.1

func (m *OrderbookSequence) XXX_Merge(src proto.Message)

func (*OrderbookSequence) XXX_Size added in v1.43.1

func (m *OrderbookSequence) XXX_Size() int

func (*OrderbookSequence) XXX_Unmarshal added in v1.43.1

func (m *OrderbookSequence) XXX_Unmarshal(b []byte) error

type OrderbookUpdate added in v1.43.1

type OrderbookUpdate struct {
	Seq       uint64     `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	Orderbook *Orderbook `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
}

func (*OrderbookUpdate) Descriptor added in v1.43.1

func (*OrderbookUpdate) Descriptor() ([]byte, []int)

func (*OrderbookUpdate) GetOrderbook added in v1.43.1

func (m *OrderbookUpdate) GetOrderbook() *Orderbook

func (*OrderbookUpdate) GetSeq added in v1.43.1

func (m *OrderbookUpdate) GetSeq() uint64

func (*OrderbookUpdate) Marshal added in v1.43.1

func (m *OrderbookUpdate) Marshal() (dAtA []byte, err error)

func (*OrderbookUpdate) MarshalTo added in v1.43.1

func (m *OrderbookUpdate) MarshalTo(dAtA []byte) (int, error)

func (*OrderbookUpdate) MarshalToSizedBuffer added in v1.43.1

func (m *OrderbookUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrderbookUpdate) ProtoMessage added in v1.43.1

func (*OrderbookUpdate) ProtoMessage()

func (*OrderbookUpdate) Reset added in v1.43.1

func (m *OrderbookUpdate) Reset()

func (*OrderbookUpdate) Size added in v1.43.1

func (m *OrderbookUpdate) Size() (n int)

func (*OrderbookUpdate) String added in v1.43.1

func (m *OrderbookUpdate) String() string

func (*OrderbookUpdate) Unmarshal added in v1.43.1

func (m *OrderbookUpdate) Unmarshal(dAtA []byte) error

func (*OrderbookUpdate) XXX_DiscardUnknown added in v1.43.1

func (m *OrderbookUpdate) XXX_DiscardUnknown()

func (*OrderbookUpdate) XXX_Marshal added in v1.43.1

func (m *OrderbookUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrderbookUpdate) XXX_Merge added in v1.43.1

func (m *OrderbookUpdate) XXX_Merge(src proto.Message)

func (*OrderbookUpdate) XXX_Size added in v1.43.1

func (m *OrderbookUpdate) XXX_Size() int

func (*OrderbookUpdate) XXX_Unmarshal added in v1.43.1

func (m *OrderbookUpdate) XXX_Unmarshal(b []byte) error

type ParamSet

type ParamSet interface {
	ParamSetPairs() ParamSetPairs
}

ParamSet defines an interface for structs containing parameters for a module

type ParamSetPair

type ParamSetPair struct {
	Key         []byte
	Value       interface{}
	ValidatorFn ValueValidatorFn
}

ParamSetPair is used for associating paramsubspace key and field of param structs.

func NewParamSetPair

func NewParamSetPair(key []byte, value interface{}, vfn ValueValidatorFn) ParamSetPair

NewParamSetPair creates a new ParamSetPair instance.

type ParamSetPairs

type ParamSetPairs []ParamSetPair

ParamSetPairs Slice of KeyFieldPair

type Params

type Params struct {
	// spot_market_instant_listing_fee defines the expedited fee in INJ required
	// to create a spot market by bypassing governance
	SpotMarketInstantListingFee types.Coin `` /* 138-byte string literal not displayed */
	// derivative_market_instant_listing_fee defines the expedited fee in INJ
	// required to create a derivative market by bypassing governance
	DerivativeMarketInstantListingFee types.Coin `` /* 156-byte string literal not displayed */
	// default_spot_maker_fee defines the default exchange trade fee for makers on
	// a spot market
	DefaultSpotMakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 176-byte string literal not displayed */
	// default_spot_taker_fee_rate defines the default exchange trade fee rate for
	// takers on a new spot market
	DefaultSpotTakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 176-byte string literal not displayed */
	// default_derivative_maker_fee defines the default exchange trade fee for
	// makers on a new derivative market
	DefaultDerivativeMakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 194-byte string literal not displayed */
	// default_derivative_taker_fee defines the default exchange trade fee for
	// takers on a new derivative market
	DefaultDerivativeTakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 194-byte string literal not displayed */
	// default_initial_margin_ratio defines the default initial margin ratio on a
	// new derivative market
	DefaultInitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 180-byte string literal not displayed */
	// default_maintenance_margin_ratio defines the default maintenance margin
	// ratio on a new derivative market
	DefaultMaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 192-byte string literal not displayed */
	// default_funding_interval defines the default funding interval on a
	// derivative market
	DefaultFundingInterval int64 `` /* 130-byte string literal not displayed */
	// funding_multiple defines the timestamp multiple that the funding timestamp
	// should be a multiple of
	FundingMultiple int64 `protobuf:"varint,10,opt,name=funding_multiple,json=fundingMultiple,proto3" json:"funding_multiple,omitempty"`
	// relayer_fee_share_rate defines the trade fee share percentage that goes to
	// relayers
	RelayerFeeShareRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// default_hourly_funding_rate_cap defines the default maximum absolute value
	// of the hourly funding rate
	DefaultHourlyFundingRateCap github_com_cosmos_cosmos_sdk_types.Dec `` /* 189-byte string literal not displayed */
	// hourly_interest_rate defines the hourly interest rate
	DefaultHourlyInterestRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 181-byte string literal not displayed */
	// max_derivative_order_side_count defines the maximum number of derivative
	// active orders a subaccount can have for a given orderbook side
	MaxDerivativeOrderSideCount uint32 `` /* 150-byte string literal not displayed */
	// inj_reward_staked_requirement_threshold defines the threshold on INJ
	// rewards after which one also needs staked INJ to receive more
	InjRewardStakedRequirementThreshold github_com_cosmos_cosmos_sdk_types.Int `` /* 213-byte string literal not displayed */
	// the trading_rewards_vesting_duration defines the vesting times for trading
	// rewards
	TradingRewardsVestingDuration int64 `` /* 154-byte string literal not displayed */
	// liquidator_reward_share_rate defines the ratio of the split of the surplus
	// collateral that goes to the liquidator
	LiquidatorRewardShareRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 181-byte string literal not displayed */
	// binary_options_market_instant_listing_fee defines the expedited fee in INJ
	// required to create a derivative market by bypassing governance
	BinaryOptionsMarketInstantListingFee types.Coin `` /* 168-byte string literal not displayed */
	// atomic_market_order_access_level defines the required access permissions
	// for executing atomic market orders
	AtomicMarketOrderAccessLevel AtomicMarketOrderAccessLevel `` /* 214-byte string literal not displayed */
	// spot_atomic_market_order_fee_multiplier defines the default multiplier for
	// executing atomic market orders in spot markets
	SpotAtomicMarketOrderFeeMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 212-byte string literal not displayed */
	// derivative_atomic_market_order_fee_multiplier defines the default
	// multiplier for executing atomic market orders in derivative markets
	DerivativeAtomicMarketOrderFeeMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 230-byte string literal not displayed */
	// binary_options_atomic_market_order_fee_multiplier defines the default
	// multiplier for executing atomic market orders in binary markets
	BinaryOptionsAtomicMarketOrderFeeMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 241-byte string literal not displayed */
	// minimal_protocol_fee_rate defines the minimal protocol fee rate
	MinimalProtocolFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// is_instant_derivative_market_launch_enabled defines whether instant
	// derivative market launch is enabled
	IsInstantDerivativeMarketLaunchEnabled bool `` /* 185-byte string literal not displayed */
}

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func NewParams

func NewParams(
	spotMarketInstantListingFee sdk.Coin,
	derivativeMarketInstantListingFee sdk.Coin,
	defaultSpotMakerFee sdk.Dec,
	defaultSpotTakerFee sdk.Dec,
	defaultDerivativeMakerFee sdk.Dec,
	defaultDerivativeTakerFee sdk.Dec,
	defaultInitialMarginRatio sdk.Dec,
	defaultMaintenanceMarginRatio sdk.Dec,
	defaultFundingInterval int64,
	fundingMultiple int64,
	relayerFeeShare sdk.Dec,
	defaultHourlyFundingRateCap sdk.Dec,
	defaultHourlyInterestRate sdk.Dec,
	maxDerivativeSideOrderCount uint32,
	injRewardStakedRequirementThreshold sdkmath.Int,
	tradingRewardsVestingDuration int64,
	liquidatorRewardShareRate sdk.Dec,
	binaryOptionsMarketInstantListingFee sdk.Coin,
	atomicMarketOrderAccessLevel AtomicMarketOrderAccessLevel,
	spotAtomicMarketOrderFeeMultiplier sdk.Dec,
	derivativeAtomicMarketOrderFeeMultiplier sdk.Dec,
	binaryOptionsAtomicMarketOrderFeeMultiplier sdk.Dec,
	minimalProtocolFeeRate sdk.Dec,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetAtomicMarketOrderAccessLevel added in v1.42.6

func (m *Params) GetAtomicMarketOrderAccessLevel() AtomicMarketOrderAccessLevel

func (*Params) GetBinaryOptionsMarketInstantListingFee added in v1.39.5

func (m *Params) GetBinaryOptionsMarketInstantListingFee() types.Coin

func (*Params) GetDefaultFundingInterval

func (m *Params) GetDefaultFundingInterval() int64

func (*Params) GetDerivativeMarketInstantListingFee

func (m *Params) GetDerivativeMarketInstantListingFee() types.Coin

func (*Params) GetFundingMultiple

func (m *Params) GetFundingMultiple() int64

func (*Params) GetIsInstantDerivativeMarketLaunchEnabled added in v1.45.0

func (m *Params) GetIsInstantDerivativeMarketLaunchEnabled() bool

func (*Params) GetMaxDerivativeOrderSideCount

func (m *Params) GetMaxDerivativeOrderSideCount() uint32

func (*Params) GetSpotMarketInstantListingFee

func (m *Params) GetSpotMarketInstantListingFee() types.Coin

func (*Params) GetTradingRewardsVestingDuration added in v1.30.0

func (m *Params) GetTradingRewardsVestingDuration() int64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs returns the parameter set pairs.

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate performs basic validation on exchange parameters.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type PerpetualMarketFunding

type PerpetualMarketFunding struct {
	// cumulative_funding defines the cumulative funding of a perpetual market.
	CumulativeFunding github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */
	// cumulative_price defines the cumulative price for the current hour up to
	// the last timestamp
	CumulativePrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
	LastTimestamp   int64                                  `protobuf:"varint,3,opt,name=last_timestamp,json=lastTimestamp,proto3" json:"last_timestamp,omitempty"`
}

func (*PerpetualMarketFunding) Descriptor

func (*PerpetualMarketFunding) Descriptor() ([]byte, []int)

func (*PerpetualMarketFunding) GetLastTimestamp

func (m *PerpetualMarketFunding) GetLastTimestamp() int64

func (*PerpetualMarketFunding) Marshal

func (m *PerpetualMarketFunding) Marshal() (dAtA []byte, err error)

func (*PerpetualMarketFunding) MarshalTo

func (m *PerpetualMarketFunding) MarshalTo(dAtA []byte) (int, error)

func (*PerpetualMarketFunding) MarshalToSizedBuffer

func (m *PerpetualMarketFunding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerpetualMarketFunding) ProtoMessage

func (*PerpetualMarketFunding) ProtoMessage()

func (*PerpetualMarketFunding) Reset

func (m *PerpetualMarketFunding) Reset()

func (*PerpetualMarketFunding) Size

func (m *PerpetualMarketFunding) Size() (n int)

func (*PerpetualMarketFunding) String

func (m *PerpetualMarketFunding) String() string

func (*PerpetualMarketFunding) Unmarshal

func (m *PerpetualMarketFunding) Unmarshal(dAtA []byte) error

func (*PerpetualMarketFunding) XXX_DiscardUnknown

func (m *PerpetualMarketFunding) XXX_DiscardUnknown()

func (*PerpetualMarketFunding) XXX_Marshal

func (m *PerpetualMarketFunding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PerpetualMarketFunding) XXX_Merge

func (m *PerpetualMarketFunding) XXX_Merge(src proto.Message)

func (*PerpetualMarketFunding) XXX_Size

func (m *PerpetualMarketFunding) XXX_Size() int

func (*PerpetualMarketFunding) XXX_Unmarshal

func (m *PerpetualMarketFunding) XXX_Unmarshal(b []byte) error

type PerpetualMarketFundingState

type PerpetualMarketFundingState struct {
	MarketId string                  `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Funding  *PerpetualMarketFunding `protobuf:"bytes,2,opt,name=funding,proto3" json:"funding,omitempty"`
}

func (*PerpetualMarketFundingState) Descriptor

func (*PerpetualMarketFundingState) Descriptor() ([]byte, []int)

func (*PerpetualMarketFundingState) GetFunding

func (*PerpetualMarketFundingState) GetMarketId

func (m *PerpetualMarketFundingState) GetMarketId() string

func (*PerpetualMarketFundingState) Marshal

func (m *PerpetualMarketFundingState) Marshal() (dAtA []byte, err error)

func (*PerpetualMarketFundingState) MarshalTo

func (m *PerpetualMarketFundingState) MarshalTo(dAtA []byte) (int, error)

func (*PerpetualMarketFundingState) MarshalToSizedBuffer

func (m *PerpetualMarketFundingState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerpetualMarketFundingState) ProtoMessage

func (*PerpetualMarketFundingState) ProtoMessage()

func (*PerpetualMarketFundingState) Reset

func (m *PerpetualMarketFundingState) Reset()

func (*PerpetualMarketFundingState) Size

func (m *PerpetualMarketFundingState) Size() (n int)

func (*PerpetualMarketFundingState) String

func (m *PerpetualMarketFundingState) String() string

func (*PerpetualMarketFundingState) Unmarshal

func (m *PerpetualMarketFundingState) Unmarshal(dAtA []byte) error

func (*PerpetualMarketFundingState) XXX_DiscardUnknown

func (m *PerpetualMarketFundingState) XXX_DiscardUnknown()

func (*PerpetualMarketFundingState) XXX_Marshal

func (m *PerpetualMarketFundingState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PerpetualMarketFundingState) XXX_Merge

func (m *PerpetualMarketFundingState) XXX_Merge(src proto.Message)

func (*PerpetualMarketFundingState) XXX_Size

func (m *PerpetualMarketFundingState) XXX_Size() int

func (*PerpetualMarketFundingState) XXX_Unmarshal

func (m *PerpetualMarketFundingState) XXX_Unmarshal(b []byte) error

type PerpetualMarketInfo

type PerpetualMarketInfo struct {
	// market ID.
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// hourly_funding_rate_cap defines the maximum absolute value of the hourly
	// funding rate
	HourlyFundingRateCap github_com_cosmos_cosmos_sdk_types.Dec `` /* 165-byte string literal not displayed */
	// hourly_interest_rate defines the hourly interest rate
	HourlyInterestRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */
	// next_funding_timestamp defines the next funding timestamp in seconds of a
	// perpetual market
	NextFundingTimestamp int64 `protobuf:"varint,4,opt,name=next_funding_timestamp,json=nextFundingTimestamp,proto3" json:"next_funding_timestamp,omitempty"`
	// funding_interval defines the next funding interval in seconds of a
	// perpetual market.
	FundingInterval int64 `protobuf:"varint,5,opt,name=funding_interval,json=fundingInterval,proto3" json:"funding_interval,omitempty"`
}

func (*PerpetualMarketInfo) Descriptor

func (*PerpetualMarketInfo) Descriptor() ([]byte, []int)

func (*PerpetualMarketInfo) GetFundingInterval

func (m *PerpetualMarketInfo) GetFundingInterval() int64

func (*PerpetualMarketInfo) GetMarketId

func (m *PerpetualMarketInfo) GetMarketId() string

func (*PerpetualMarketInfo) GetNextFundingTimestamp

func (m *PerpetualMarketInfo) GetNextFundingTimestamp() int64

func (*PerpetualMarketInfo) Marshal

func (m *PerpetualMarketInfo) Marshal() (dAtA []byte, err error)

func (*PerpetualMarketInfo) MarshalTo

func (m *PerpetualMarketInfo) MarshalTo(dAtA []byte) (int, error)

func (*PerpetualMarketInfo) MarshalToSizedBuffer

func (m *PerpetualMarketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerpetualMarketInfo) ProtoMessage

func (*PerpetualMarketInfo) ProtoMessage()

func (*PerpetualMarketInfo) Reset

func (m *PerpetualMarketInfo) Reset()

func (*PerpetualMarketInfo) Size

func (m *PerpetualMarketInfo) Size() (n int)

func (*PerpetualMarketInfo) String

func (m *PerpetualMarketInfo) String() string

func (*PerpetualMarketInfo) Unmarshal

func (m *PerpetualMarketInfo) Unmarshal(dAtA []byte) error

func (*PerpetualMarketInfo) XXX_DiscardUnknown

func (m *PerpetualMarketInfo) XXX_DiscardUnknown()

func (*PerpetualMarketInfo) XXX_Marshal

func (m *PerpetualMarketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PerpetualMarketInfo) XXX_Merge

func (m *PerpetualMarketInfo) XXX_Merge(src proto.Message)

func (*PerpetualMarketInfo) XXX_Size

func (m *PerpetualMarketInfo) XXX_Size() int

func (*PerpetualMarketInfo) XXX_Unmarshal

func (m *PerpetualMarketInfo) XXX_Unmarshal(b []byte) error

type PerpetualMarketLaunchProposal

type PerpetualMarketLaunchProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Ticker for the derivative market.
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// type of coin to use as the base currency
	QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// Oracle base currency
	OracleBase string `protobuf:"bytes,5,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
	// Oracle quote currency
	OracleQuote string `protobuf:"bytes,6,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
	// initial_margin_ratio defines the initial margin ratio for the derivative
	// market
	InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 157-byte string literal not displayed */
	// maintenance_margin_ratio defines the maintenance margin ratio for the
	// derivative market
	MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */
	// maker_fee_rate defines the exchange trade fee for makers for the derivative
	// market
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// taker_fee_rate defines the exchange trade fee for takers for the derivative
	// market
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 154-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

PerpetualMarketLaunchProposal defines a SDK message for proposing a new perpetual futures market through governance

func NewPerpetualMarketLaunchProposal

func NewPerpetualMarketLaunchProposal(
	title, description, ticker, quoteDenom,
	oracleBase, oracleQuote string, oracleScaleFactor uint32, oracleType oracletypes.OracleType,
	initialMarginRatio, maintenanceMarginRatio, makerFeeRate, takerFeeRate, minPriceTickSize, minQuantityTickSize sdk.Dec,
) *PerpetualMarketLaunchProposal

NewPerpetualMarketLaunchProposal returns new instance of PerpetualMarketLaunchProposal

func (*PerpetualMarketLaunchProposal) Descriptor

func (*PerpetualMarketLaunchProposal) Descriptor() ([]byte, []int)

func (*PerpetualMarketLaunchProposal) GetDescription

func (p *PerpetualMarketLaunchProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*PerpetualMarketLaunchProposal) GetTitle

func (p *PerpetualMarketLaunchProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*PerpetualMarketLaunchProposal) Marshal

func (m *PerpetualMarketLaunchProposal) Marshal() (dAtA []byte, err error)

func (*PerpetualMarketLaunchProposal) MarshalTo

func (m *PerpetualMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)

func (*PerpetualMarketLaunchProposal) MarshalToSizedBuffer

func (m *PerpetualMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerpetualMarketLaunchProposal) ProposalRoute

func (p *PerpetualMarketLaunchProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*PerpetualMarketLaunchProposal) ProposalType

func (p *PerpetualMarketLaunchProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*PerpetualMarketLaunchProposal) ProtoMessage

func (*PerpetualMarketLaunchProposal) ProtoMessage()

func (*PerpetualMarketLaunchProposal) Reset

func (m *PerpetualMarketLaunchProposal) Reset()

func (*PerpetualMarketLaunchProposal) Size

func (m *PerpetualMarketLaunchProposal) Size() (n int)

func (*PerpetualMarketLaunchProposal) String

func (*PerpetualMarketLaunchProposal) Unmarshal

func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error

func (*PerpetualMarketLaunchProposal) ValidateBasic

func (p *PerpetualMarketLaunchProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of a perpetual market launch proposal.

func (*PerpetualMarketLaunchProposal) XXX_DiscardUnknown

func (m *PerpetualMarketLaunchProposal) XXX_DiscardUnknown()

func (*PerpetualMarketLaunchProposal) XXX_Marshal

func (m *PerpetualMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PerpetualMarketLaunchProposal) XXX_Merge

func (m *PerpetualMarketLaunchProposal) XXX_Merge(src proto.Message)

func (*PerpetualMarketLaunchProposal) XXX_Size

func (m *PerpetualMarketLaunchProposal) XXX_Size() int

func (*PerpetualMarketLaunchProposal) XXX_Unmarshal

func (m *PerpetualMarketLaunchProposal) XXX_Unmarshal(b []byte) error

type PerpetualMarketState

type PerpetualMarketState struct {
	MarketInfo  *PerpetualMarketInfo    `protobuf:"bytes,1,opt,name=market_info,json=marketInfo,proto3" json:"market_info,omitempty"`
	FundingInfo *PerpetualMarketFunding `protobuf:"bytes,2,opt,name=funding_info,json=fundingInfo,proto3" json:"funding_info,omitempty"`
}

func (*PerpetualMarketState) Descriptor

func (*PerpetualMarketState) Descriptor() ([]byte, []int)

func (*PerpetualMarketState) GetFundingInfo

func (m *PerpetualMarketState) GetFundingInfo() *PerpetualMarketFunding

func (*PerpetualMarketState) GetMarketInfo

func (m *PerpetualMarketState) GetMarketInfo() *PerpetualMarketInfo

func (*PerpetualMarketState) Marshal

func (m *PerpetualMarketState) Marshal() (dAtA []byte, err error)

func (*PerpetualMarketState) MarshalTo

func (m *PerpetualMarketState) MarshalTo(dAtA []byte) (int, error)

func (*PerpetualMarketState) MarshalToSizedBuffer

func (m *PerpetualMarketState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PerpetualMarketState) ProtoMessage

func (*PerpetualMarketState) ProtoMessage()

func (*PerpetualMarketState) Reset

func (m *PerpetualMarketState) Reset()

func (*PerpetualMarketState) Size

func (m *PerpetualMarketState) Size() (n int)

func (*PerpetualMarketState) String

func (m *PerpetualMarketState) String() string

func (*PerpetualMarketState) Unmarshal

func (m *PerpetualMarketState) Unmarshal(dAtA []byte) error

func (*PerpetualMarketState) XXX_DiscardUnknown

func (m *PerpetualMarketState) XXX_DiscardUnknown()

func (*PerpetualMarketState) XXX_Marshal

func (m *PerpetualMarketState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PerpetualMarketState) XXX_Merge

func (m *PerpetualMarketState) XXX_Merge(src proto.Message)

func (*PerpetualMarketState) XXX_Size

func (m *PerpetualMarketState) XXX_Size() int

func (*PerpetualMarketState) XXX_Unmarshal

func (m *PerpetualMarketState) XXX_Unmarshal(b []byte) error

type PointsMultiplier added in v1.27.0

type PointsMultiplier struct {
	MakerPointsMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 166-byte string literal not displayed */
	TakerPointsMultiplier github_com_cosmos_cosmos_sdk_types.Dec `` /* 166-byte string literal not displayed */
}

func (*PointsMultiplier) Descriptor added in v1.27.0

func (*PointsMultiplier) Descriptor() ([]byte, []int)

func (*PointsMultiplier) GetMultiplier added in v1.27.0

func (p *PointsMultiplier) GetMultiplier(e ExecutionType) sdk.Dec

func (*PointsMultiplier) Marshal added in v1.27.0

func (m *PointsMultiplier) Marshal() (dAtA []byte, err error)

func (*PointsMultiplier) MarshalTo added in v1.27.0

func (m *PointsMultiplier) MarshalTo(dAtA []byte) (int, error)

func (*PointsMultiplier) MarshalToSizedBuffer added in v1.27.0

func (m *PointsMultiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PointsMultiplier) ProtoMessage added in v1.27.0

func (*PointsMultiplier) ProtoMessage()

func (*PointsMultiplier) Reset added in v1.27.0

func (m *PointsMultiplier) Reset()

func (*PointsMultiplier) Size added in v1.27.0

func (m *PointsMultiplier) Size() (n int)

func (*PointsMultiplier) String added in v1.27.0

func (m *PointsMultiplier) String() string

func (*PointsMultiplier) Unmarshal added in v1.27.0

func (m *PointsMultiplier) Unmarshal(dAtA []byte) error

func (*PointsMultiplier) XXX_DiscardUnknown added in v1.27.0

func (m *PointsMultiplier) XXX_DiscardUnknown()

func (*PointsMultiplier) XXX_Marshal added in v1.27.0

func (m *PointsMultiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PointsMultiplier) XXX_Merge added in v1.27.0

func (m *PointsMultiplier) XXX_Merge(src proto.Message)

func (*PointsMultiplier) XXX_Size added in v1.27.0

func (m *PointsMultiplier) XXX_Size() int

func (*PointsMultiplier) XXX_Unmarshal added in v1.27.0

func (m *PointsMultiplier) XXX_Unmarshal(b []byte) error

type Position

type Position struct {
	IsLong                 bool                                   `protobuf:"varint,1,opt,name=isLong,proto3" json:"isLong,omitempty"`
	Quantity               github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	EntryPrice             github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	Margin                 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
	CumulativeFundingEntry github_com_cosmos_cosmos_sdk_types.Dec `` /* 169-byte string literal not displayed */
}

func NewPosition

func NewPosition(isLong bool, cumulativeFundingEntry sdk.Dec) *Position

NewPosition initializes a new position with a given cumulativeFundingEntry (should be nil for non-perpetual markets)

func (*Position) ApplyFunding added in v1.39.0

func (p *Position) ApplyFunding(funding *PerpetualMarketFunding)

ApplyFunding updates the position to account for any funding payment.

func (*Position) ApplyPositionDelta

func (p *Position) ApplyPositionDelta(delta *PositionDelta, tradingFeeForReduceOnly sdk.Dec) (
	payout, closeExecutionMargin, collateralizationMargin sdk.Dec,
)

func (*Position) ApplyProfitHaircutForBinaryOptions added in v1.45.0

func (p *Position) ApplyProfitHaircutForBinaryOptions(deficitAmount, totalAssets sdk.Dec, oracleScaleFactor uint32)

func (*Position) ApplyProfitHaircutForDerivatives added in v1.45.0

func (p *Position) ApplyProfitHaircutForDerivatives(deficitAmount, totalProfits, settlementPrice sdk.Dec)

ApplyProfitHaircutForDerivatives results in reducing the payout (pnl * quantity) by the given rate (e.g. 0.1=10%) by modifying the entry price. Formula for adjustment: newPayoutFromPnl = oldPayoutFromPnl * (1 - missingFundsRate) => Entry price adjustment for buys (newEntryPrice - settlementPrice) * quantity = (entryPrice - settlementPrice) * quantity * (1 - missingFundsRate) newEntryPrice = entryPrice - entryPrice * haircutPercentage + settlementPrice * haircutPercentage => Entry price adjustment for sells (settlementPrice - newEntryPrice) * quantity = (settlementPrice - entryPrice) * quantity * (1 - missingFundsRate) newEntryPrice = entryPrice - entryPrice * haircutPercentage + settlementPrice * haircutPercentage

func (*Position) ApplyTotalPositionPayoutHaircut added in v1.45.6

func (p *Position) ApplyTotalPositionPayoutHaircut(deficitAmount, totalPayouts, settlementPrice sdk.Dec)

func (*Position) CheckValidPositionToReduce

func (p *Position) CheckValidPositionToReduce(
	marketType MarketType,
	reducePrice sdk.Dec,
	isBuyOrder bool,
	tradeFeeRate sdk.Dec,
	funding *PerpetualMarketFunding,
	orderMargin sdk.Dec,
) error

func (*Position) ClosePositionByRefunding added in v1.39.5

func (p *Position) ClosePositionByRefunding(closingFeeRate sdk.Dec) (payout, closeTradingFee sdk.Dec, positionDelta *PositionDelta)

func (*Position) ClosePositionWithSettlePrice

func (p *Position) ClosePositionWithSettlePrice(settlementPrice, closingFeeRate sdk.Dec) (payout, closeTradingFee sdk.Dec, positionDelta *PositionDelta)

func (*Position) ClosePositionWithoutPayouts added in v1.45.6

func (p *Position) ClosePositionWithoutPayouts()

func (*Position) Copy added in v1.45.0

func (p *Position) Copy() *Position

func (*Position) Descriptor

func (*Position) Descriptor() ([]byte, []int)

func (*Position) GetAverageWeightedEntryPrice

func (p *Position) GetAverageWeightedEntryPrice(executionQuantity, executionPrice sdk.Dec) sdk.Dec

func (*Position) GetBankruptcyPrice

func (p *Position) GetBankruptcyPrice(funding *PerpetualMarketFunding) (bankruptcyPrice sdk.Dec)

func (*Position) GetBankruptcyPriceWithAddedMargin added in v1.42.6

func (p *Position) GetBankruptcyPriceWithAddedMargin(funding *PerpetualMarketFunding, addedMargin sdk.Dec) (bankruptcyPrice sdk.Dec)

func (*Position) GetDirectionString

func (p *Position) GetDirectionString() string

func (*Position) GetEffectiveMargin added in v1.39.0

func (p *Position) GetEffectiveMargin(funding *PerpetualMarketFunding, closingPrice sdk.Dec) sdk.Dec

func (*Position) GetEffectiveMarginRatio added in v1.39.0

func (p *Position) GetEffectiveMarginRatio(closingPrice, closingFee sdk.Dec) (marginRatio sdk.Dec)

GetEffectiveMarginRatio returns the effective margin ratio of the position, based on the input closing price. CONTRACT: position must already be funding-adjusted (if perpetual) and have positive quantity.

func (*Position) GetIsLong

func (m *Position) GetIsLong() bool

func (*Position) GetLiquidationPrice

func (p *Position) GetLiquidationPrice(maintenanceMarginRatio sdk.Dec, funding *PerpetualMarketFunding) sdk.Dec

func (*Position) GetPayoutFromPnl

func (p *Position) GetPayoutFromPnl(closingPrice, closingQuantity sdk.Dec) sdk.Dec

func (*Position) GetPayoutIfFullyClosing

func (p *Position) GetPayoutIfFullyClosing(closingPrice, closingFeeRate sdk.Dec) *positionPayout

func (*Position) IsShort

func (p *Position) IsShort() bool

func (*Position) Marshal

func (m *Position) Marshal() (dAtA []byte, err error)

func (*Position) MarshalTo

func (m *Position) MarshalTo(dAtA []byte) (int, error)

func (*Position) MarshalToSizedBuffer

func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) Reset

func (m *Position) Reset()

func (*Position) Size

func (m *Position) Size() (n int)

func (*Position) String

func (m *Position) String() string

func (*Position) Unmarshal

func (m *Position) Unmarshal(dAtA []byte) error

func (*Position) XXX_DiscardUnknown

func (m *Position) XXX_DiscardUnknown()

func (*Position) XXX_Marshal

func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Position) XXX_Merge

func (m *Position) XXX_Merge(src proto.Message)

func (*Position) XXX_Size

func (m *Position) XXX_Size() int

func (*Position) XXX_Unmarshal

func (m *Position) XXX_Unmarshal(b []byte) error

type PositionDelta

type PositionDelta struct {
	IsLong            bool                                   `protobuf:"varint,1,opt,name=is_long,json=isLong,proto3" json:"is_long,omitempty"`
	ExecutionQuantity github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */
	ExecutionMargin   github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
	ExecutionPrice    github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
}

func (*PositionDelta) Descriptor

func (*PositionDelta) Descriptor() ([]byte, []int)

func (*PositionDelta) GetIsLong

func (m *PositionDelta) GetIsLong() bool

func (*PositionDelta) IsShort

func (m *PositionDelta) IsShort() bool

func (*PositionDelta) Marshal

func (m *PositionDelta) Marshal() (dAtA []byte, err error)

func (*PositionDelta) MarshalTo

func (m *PositionDelta) MarshalTo(dAtA []byte) (int, error)

func (*PositionDelta) MarshalToSizedBuffer

func (m *PositionDelta) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PositionDelta) ProtoMessage

func (*PositionDelta) ProtoMessage()

func (*PositionDelta) Reset

func (m *PositionDelta) Reset()

func (*PositionDelta) Size

func (m *PositionDelta) Size() (n int)

func (*PositionDelta) String

func (m *PositionDelta) String() string

func (*PositionDelta) Unmarshal

func (m *PositionDelta) Unmarshal(dAtA []byte) error

func (*PositionDelta) XXX_DiscardUnknown

func (m *PositionDelta) XXX_DiscardUnknown()

func (*PositionDelta) XXX_Marshal

func (m *PositionDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PositionDelta) XXX_Merge

func (m *PositionDelta) XXX_Merge(src proto.Message)

func (*PositionDelta) XXX_Size

func (m *PositionDelta) XXX_Size() int

func (*PositionDelta) XXX_Unmarshal

func (m *PositionDelta) XXX_Unmarshal(b []byte) error

type PositionTransfer added in v1.39.0

type PositionTransfer struct {
	MarketID                common.Hash `json:"market_id"`
	SourceSubaccountID      common.Hash `json:"source_subaccount_id"`
	DestinationSubaccountID common.Hash `json:"destination_subaccount_id"`
	Quantity                sdk.Dec     `json:"quantity"`
}

func (*PositionTransfer) ValidateBasic added in v1.39.0

func (p *PositionTransfer) ValidateBasic() error

type PriceLevel

type PriceLevel struct {
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// quantity
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
}

func (*PriceLevel) Descriptor

func (*PriceLevel) Descriptor() ([]byte, []int)

func (*PriceLevel) Marshal

func (m *PriceLevel) Marshal() (dAtA []byte, err error)

func (*PriceLevel) MarshalTo

func (m *PriceLevel) MarshalTo(dAtA []byte) (int, error)

func (*PriceLevel) MarshalToSizedBuffer

func (m *PriceLevel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PriceLevel) ProtoMessage

func (*PriceLevel) ProtoMessage()

func (*PriceLevel) Reset

func (m *PriceLevel) Reset()

func (*PriceLevel) Size

func (m *PriceLevel) Size() (n int)

func (*PriceLevel) String

func (m *PriceLevel) String() string

func (*PriceLevel) Unmarshal

func (m *PriceLevel) Unmarshal(dAtA []byte) error

func (*PriceLevel) XXX_DiscardUnknown

func (m *PriceLevel) XXX_DiscardUnknown()

func (*PriceLevel) XXX_Marshal

func (m *PriceLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PriceLevel) XXX_Merge

func (m *PriceLevel) XXX_Merge(src proto.Message)

func (*PriceLevel) XXX_Size

func (m *PriceLevel) XXX_Size() int

func (*PriceLevel) XXX_Unmarshal

func (m *PriceLevel) XXX_Unmarshal(b []byte) error

type PrivilegedAction added in v1.39.0

type PrivilegedAction struct {
	SyntheticTrade   *SyntheticTradeAction `json:"synthetic_trade"`
	PositionTransfer *PositionTransfer     `json:"position_transfer"`
}

type ProviderOracleParams added in v1.39.5

type ProviderOracleParams struct {
	// Oracle base currency
	Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	// Oracle quote currency
	Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	// Scale factor for oracle prices.
	OracleScaleFactor uint32 `protobuf:"varint,3,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
	// Oracle type
	OracleType types1.OracleType `` /* 133-byte string literal not displayed */
}

func NewProviderOracleParams added in v1.39.5

func NewProviderOracleParams(
	symbol string,
	oracleProvider string,
	oracleScaleFactor uint32,
	oracleType oracletypes.OracleType,
) *ProviderOracleParams

func (*ProviderOracleParams) Descriptor added in v1.39.5

func (*ProviderOracleParams) Descriptor() ([]byte, []int)

func (*ProviderOracleParams) GetOracleScaleFactor added in v1.39.5

func (m *ProviderOracleParams) GetOracleScaleFactor() uint32

func (*ProviderOracleParams) GetOracleType added in v1.39.5

func (m *ProviderOracleParams) GetOracleType() types1.OracleType

func (*ProviderOracleParams) GetProvider added in v1.39.5

func (m *ProviderOracleParams) GetProvider() string

func (*ProviderOracleParams) GetSymbol added in v1.39.5

func (m *ProviderOracleParams) GetSymbol() string

func (*ProviderOracleParams) Marshal added in v1.39.5

func (m *ProviderOracleParams) Marshal() (dAtA []byte, err error)

func (*ProviderOracleParams) MarshalTo added in v1.39.5

func (m *ProviderOracleParams) MarshalTo(dAtA []byte) (int, error)

func (*ProviderOracleParams) MarshalToSizedBuffer added in v1.39.5

func (m *ProviderOracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderOracleParams) ProtoMessage added in v1.39.5

func (*ProviderOracleParams) ProtoMessage()

func (*ProviderOracleParams) Reset added in v1.39.5

func (m *ProviderOracleParams) Reset()

func (*ProviderOracleParams) Size added in v1.39.5

func (m *ProviderOracleParams) Size() (n int)

func (*ProviderOracleParams) String added in v1.39.5

func (m *ProviderOracleParams) String() string

func (*ProviderOracleParams) Unmarshal added in v1.39.5

func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error

func (*ProviderOracleParams) ValidateBasic added in v1.39.5

func (p *ProviderOracleParams) ValidateBasic() error

func (*ProviderOracleParams) XXX_DiscardUnknown added in v1.39.5

func (m *ProviderOracleParams) XXX_DiscardUnknown()

func (*ProviderOracleParams) XXX_Marshal added in v1.39.5

func (m *ProviderOracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderOracleParams) XXX_Merge added in v1.39.5

func (m *ProviderOracleParams) XXX_Merge(src proto.Message)

func (*ProviderOracleParams) XXX_Size added in v1.39.5

func (m *ProviderOracleParams) XXX_Size() int

func (*ProviderOracleParams) XXX_Unmarshal added in v1.39.5

func (m *ProviderOracleParams) XXX_Unmarshal(b []byte) error

type QueryAccountAddressDerivativeOrdersRequest added in v1.47.1

type QueryAccountAddressDerivativeOrdersRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Account address of the trader
	AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
}

QueryAccountAddressSpotOrdersRequest is the request type for the Query/AccountAddressDerivativeOrders RPC method.

func (*QueryAccountAddressDerivativeOrdersRequest) Descriptor added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) GetAccountAddress added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersRequest) GetAccountAddress() string

func (*QueryAccountAddressDerivativeOrdersRequest) GetMarketId added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) Marshal added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersRequest) Marshal() (dAtA []byte, err error)

func (*QueryAccountAddressDerivativeOrdersRequest) MarshalTo added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccountAddressDerivativeOrdersRequest) MarshalToSizedBuffer added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccountAddressDerivativeOrdersRequest) ProtoMessage added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) Reset added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) Size added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) String added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) Unmarshal added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) XXX_DiscardUnknown added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersRequest) XXX_DiscardUnknown()

func (*QueryAccountAddressDerivativeOrdersRequest) XXX_Marshal added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccountAddressDerivativeOrdersRequest) XXX_Merge added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) XXX_Size added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersRequest) XXX_Unmarshal added in v1.47.1

type QueryAccountAddressDerivativeOrdersResponse added in v1.47.1

type QueryAccountAddressDerivativeOrdersResponse struct {
	Orders []*TrimmedDerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QueryAccountAddressDerivativeOrdersResponse is the response type for the Query/AccountAddressDerivativeOrders RPC method.

func (*QueryAccountAddressDerivativeOrdersResponse) Descriptor added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) GetOrders added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) Marshal added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersResponse) Marshal() (dAtA []byte, err error)

func (*QueryAccountAddressDerivativeOrdersResponse) MarshalTo added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) MarshalToSizedBuffer added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccountAddressDerivativeOrdersResponse) ProtoMessage added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) Reset added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) Size added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) String added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) Unmarshal added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) XXX_DiscardUnknown added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersResponse) XXX_DiscardUnknown()

func (*QueryAccountAddressDerivativeOrdersResponse) XXX_Marshal added in v1.47.1

func (m *QueryAccountAddressDerivativeOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccountAddressDerivativeOrdersResponse) XXX_Merge added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) XXX_Size added in v1.47.1

func (*QueryAccountAddressDerivativeOrdersResponse) XXX_Unmarshal added in v1.47.1

type QueryAccountAddressSpotOrdersRequest added in v1.47.1

type QueryAccountAddressSpotOrdersRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Account address of the trader
	AccountAddress string `protobuf:"bytes,2,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
}

QueryAccountAddressSpotOrdersRequest is the request type for the Query/AccountAddressSpotOrders RPC method.

func (*QueryAccountAddressSpotOrdersRequest) Descriptor added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) Descriptor() ([]byte, []int)

func (*QueryAccountAddressSpotOrdersRequest) GetAccountAddress added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) GetAccountAddress() string

func (*QueryAccountAddressSpotOrdersRequest) GetMarketId added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) Marshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) Marshal() (dAtA []byte, err error)

func (*QueryAccountAddressSpotOrdersRequest) MarshalTo added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccountAddressSpotOrdersRequest) MarshalToSizedBuffer added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccountAddressSpotOrdersRequest) ProtoMessage added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) ProtoMessage()

func (*QueryAccountAddressSpotOrdersRequest) Reset added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) Size added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) String added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) Unmarshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) Unmarshal(dAtA []byte) error

func (*QueryAccountAddressSpotOrdersRequest) XXX_DiscardUnknown added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) XXX_DiscardUnknown()

func (*QueryAccountAddressSpotOrdersRequest) XXX_Marshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccountAddressSpotOrdersRequest) XXX_Merge added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) XXX_Size added in v1.47.1

func (*QueryAccountAddressSpotOrdersRequest) XXX_Unmarshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersRequest) XXX_Unmarshal(b []byte) error

type QueryAccountAddressSpotOrdersResponse added in v1.47.1

type QueryAccountAddressSpotOrdersResponse struct {
	Orders []*TrimmedSpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QueryAccountAddressSpotOrdersResponse is the response type for the Query/AccountAddressSpotOrders RPC method.

func (*QueryAccountAddressSpotOrdersResponse) Descriptor added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) Descriptor() ([]byte, []int)

func (*QueryAccountAddressSpotOrdersResponse) GetOrders added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) Marshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) Marshal() (dAtA []byte, err error)

func (*QueryAccountAddressSpotOrdersResponse) MarshalTo added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccountAddressSpotOrdersResponse) MarshalToSizedBuffer added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccountAddressSpotOrdersResponse) ProtoMessage added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) ProtoMessage()

func (*QueryAccountAddressSpotOrdersResponse) Reset added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) Size added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) String added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) Unmarshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) Unmarshal(dAtA []byte) error

func (*QueryAccountAddressSpotOrdersResponse) XXX_DiscardUnknown added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) XXX_DiscardUnknown()

func (*QueryAccountAddressSpotOrdersResponse) XXX_Marshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccountAddressSpotOrdersResponse) XXX_Merge added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) XXX_Size added in v1.47.1

func (*QueryAccountAddressSpotOrdersResponse) XXX_Unmarshal added in v1.47.1

func (m *QueryAccountAddressSpotOrdersResponse) XXX_Unmarshal(b []byte) error

type QueryAggregateMarketVolumeRequest added in v1.45.0

type QueryAggregateMarketVolumeRequest struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryAggregateMarketVolumeRequest is the request type for the Query/AggregateMarketVolume RPC method.

func (*QueryAggregateMarketVolumeRequest) Descriptor added in v1.45.0

func (*QueryAggregateMarketVolumeRequest) Descriptor() ([]byte, []int)

func (*QueryAggregateMarketVolumeRequest) GetMarketId added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) GetMarketId() string

func (*QueryAggregateMarketVolumeRequest) Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) Marshal() (dAtA []byte, err error)

func (*QueryAggregateMarketVolumeRequest) MarshalTo added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumeRequest) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumeRequest) ProtoMessage added in v1.45.0

func (*QueryAggregateMarketVolumeRequest) ProtoMessage()

func (*QueryAggregateMarketVolumeRequest) Reset added in v1.45.0

func (*QueryAggregateMarketVolumeRequest) Size added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) Size() (n int)

func (*QueryAggregateMarketVolumeRequest) String added in v1.45.0

func (*QueryAggregateMarketVolumeRequest) Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) Unmarshal(dAtA []byte) error

func (*QueryAggregateMarketVolumeRequest) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) XXX_DiscardUnknown()

func (*QueryAggregateMarketVolumeRequest) XXX_Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateMarketVolumeRequest) XXX_Merge added in v1.45.0

func (*QueryAggregateMarketVolumeRequest) XXX_Size added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) XXX_Size() int

func (*QueryAggregateMarketVolumeRequest) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumeRequest) XXX_Unmarshal(b []byte) error

type QueryAggregateMarketVolumeResponse added in v1.45.0

type QueryAggregateMarketVolumeResponse struct {
	Volume VolumeRecord `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume"`
}

QueryAggregateMarketVolumeResponse is the response type for the Query/AggregateMarketVolume RPC method.

func (*QueryAggregateMarketVolumeResponse) Descriptor added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) Descriptor() ([]byte, []int)

func (*QueryAggregateMarketVolumeResponse) GetVolume added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) Marshal() (dAtA []byte, err error)

func (*QueryAggregateMarketVolumeResponse) MarshalTo added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumeResponse) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumeResponse) ProtoMessage added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) ProtoMessage()

func (*QueryAggregateMarketVolumeResponse) Reset added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) Size added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) String added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) Unmarshal(dAtA []byte) error

func (*QueryAggregateMarketVolumeResponse) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) XXX_DiscardUnknown()

func (*QueryAggregateMarketVolumeResponse) XXX_Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateMarketVolumeResponse) XXX_Merge added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) XXX_Size added in v1.45.0

func (*QueryAggregateMarketVolumeResponse) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumeResponse) XXX_Unmarshal(b []byte) error

type QueryAggregateMarketVolumesRequest added in v1.45.0

type QueryAggregateMarketVolumesRequest struct {
	MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

QueryAggregateMarketVolumesRequest is the request type for the Query/AggregateMarketVolumes RPC method.

func (*QueryAggregateMarketVolumesRequest) Descriptor added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) Descriptor() ([]byte, []int)

func (*QueryAggregateMarketVolumesRequest) GetMarketIds added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) GetMarketIds() []string

func (*QueryAggregateMarketVolumesRequest) Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAggregateMarketVolumesRequest) MarshalTo added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumesRequest) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumesRequest) ProtoMessage added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) ProtoMessage()

func (*QueryAggregateMarketVolumesRequest) Reset added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) Size added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) String added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) Unmarshal(dAtA []byte) error

func (*QueryAggregateMarketVolumesRequest) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) XXX_DiscardUnknown()

func (*QueryAggregateMarketVolumesRequest) XXX_Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateMarketVolumesRequest) XXX_Merge added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) XXX_Size added in v1.45.0

func (*QueryAggregateMarketVolumesRequest) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumesRequest) XXX_Unmarshal(b []byte) error

type QueryAggregateMarketVolumesResponse added in v1.45.0

type QueryAggregateMarketVolumesResponse struct {
	// the aggregate volumes for the entire market
	Volumes []*MarketVolume `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
}

QueryAggregateMarketVolumesResponse is the response type for the Query/AggregateMarketVolumes RPC method.

func (*QueryAggregateMarketVolumesResponse) Descriptor added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) Descriptor() ([]byte, []int)

func (*QueryAggregateMarketVolumesResponse) GetVolumes added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAggregateMarketVolumesResponse) MarshalTo added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumesResponse) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateMarketVolumesResponse) ProtoMessage added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) ProtoMessage()

func (*QueryAggregateMarketVolumesResponse) Reset added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) Size added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) String added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) Unmarshal(dAtA []byte) error

func (*QueryAggregateMarketVolumesResponse) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) XXX_DiscardUnknown()

func (*QueryAggregateMarketVolumesResponse) XXX_Marshal added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateMarketVolumesResponse) XXX_Merge added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) XXX_Size added in v1.45.0

func (*QueryAggregateMarketVolumesResponse) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateMarketVolumesResponse) XXX_Unmarshal(b []byte) error

type QueryAggregateVolumeRequest added in v1.45.0

type QueryAggregateVolumeRequest struct {
	// can either be an address or a subaccount
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

QueryAggregateVolumeRequest is the request type for the Query/AggregateVolume RPC method.

func (*QueryAggregateVolumeRequest) Descriptor added in v1.45.0

func (*QueryAggregateVolumeRequest) Descriptor() ([]byte, []int)

func (*QueryAggregateVolumeRequest) GetAccount added in v1.45.0

func (m *QueryAggregateVolumeRequest) GetAccount() string

func (*QueryAggregateVolumeRequest) Marshal added in v1.45.0

func (m *QueryAggregateVolumeRequest) Marshal() (dAtA []byte, err error)

func (*QueryAggregateVolumeRequest) MarshalTo added in v1.45.0

func (m *QueryAggregateVolumeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateVolumeRequest) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateVolumeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateVolumeRequest) ProtoMessage added in v1.45.0

func (*QueryAggregateVolumeRequest) ProtoMessage()

func (*QueryAggregateVolumeRequest) Reset added in v1.45.0

func (m *QueryAggregateVolumeRequest) Reset()

func (*QueryAggregateVolumeRequest) Size added in v1.45.0

func (m *QueryAggregateVolumeRequest) Size() (n int)

func (*QueryAggregateVolumeRequest) String added in v1.45.0

func (m *QueryAggregateVolumeRequest) String() string

func (*QueryAggregateVolumeRequest) Unmarshal added in v1.45.0

func (m *QueryAggregateVolumeRequest) Unmarshal(dAtA []byte) error

func (*QueryAggregateVolumeRequest) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateVolumeRequest) XXX_DiscardUnknown()

func (*QueryAggregateVolumeRequest) XXX_Marshal added in v1.45.0

func (m *QueryAggregateVolumeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateVolumeRequest) XXX_Merge added in v1.45.0

func (m *QueryAggregateVolumeRequest) XXX_Merge(src proto.Message)

func (*QueryAggregateVolumeRequest) XXX_Size added in v1.45.0

func (m *QueryAggregateVolumeRequest) XXX_Size() int

func (*QueryAggregateVolumeRequest) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateVolumeRequest) XXX_Unmarshal(b []byte) error

type QueryAggregateVolumeResponse added in v1.45.0

type QueryAggregateVolumeResponse struct {
	// if an address is specified, then the aggregate_volumes will aggregate the
	// volumes across all subaccounts for the address
	AggregateVolumes []*MarketVolume `protobuf:"bytes,1,rep,name=aggregate_volumes,json=aggregateVolumes,proto3" json:"aggregate_volumes,omitempty"`
}

QueryAggregateVolumeResponse is the response type for the Query/AggregateVolume RPC method.

func (*QueryAggregateVolumeResponse) Descriptor added in v1.45.0

func (*QueryAggregateVolumeResponse) Descriptor() ([]byte, []int)

func (*QueryAggregateVolumeResponse) GetAggregateVolumes added in v1.45.0

func (m *QueryAggregateVolumeResponse) GetAggregateVolumes() []*MarketVolume

func (*QueryAggregateVolumeResponse) Marshal added in v1.45.0

func (m *QueryAggregateVolumeResponse) Marshal() (dAtA []byte, err error)

func (*QueryAggregateVolumeResponse) MarshalTo added in v1.45.0

func (m *QueryAggregateVolumeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateVolumeResponse) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateVolumeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateVolumeResponse) ProtoMessage added in v1.45.0

func (*QueryAggregateVolumeResponse) ProtoMessage()

func (*QueryAggregateVolumeResponse) Reset added in v1.45.0

func (m *QueryAggregateVolumeResponse) Reset()

func (*QueryAggregateVolumeResponse) Size added in v1.45.0

func (m *QueryAggregateVolumeResponse) Size() (n int)

func (*QueryAggregateVolumeResponse) String added in v1.45.0

func (*QueryAggregateVolumeResponse) Unmarshal added in v1.45.0

func (m *QueryAggregateVolumeResponse) Unmarshal(dAtA []byte) error

func (*QueryAggregateVolumeResponse) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateVolumeResponse) XXX_DiscardUnknown()

func (*QueryAggregateVolumeResponse) XXX_Marshal added in v1.45.0

func (m *QueryAggregateVolumeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateVolumeResponse) XXX_Merge added in v1.45.0

func (m *QueryAggregateVolumeResponse) XXX_Merge(src proto.Message)

func (*QueryAggregateVolumeResponse) XXX_Size added in v1.45.0

func (m *QueryAggregateVolumeResponse) XXX_Size() int

func (*QueryAggregateVolumeResponse) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateVolumeResponse) XXX_Unmarshal(b []byte) error

type QueryAggregateVolumesRequest added in v1.45.0

type QueryAggregateVolumesRequest struct {
	Accounts  []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

QueryAggregateVolumesRequest is the request type for the Query/AggregateVolumes RPC method.

func (*QueryAggregateVolumesRequest) Descriptor added in v1.45.0

func (*QueryAggregateVolumesRequest) Descriptor() ([]byte, []int)

func (*QueryAggregateVolumesRequest) GetAccounts added in v1.45.0

func (m *QueryAggregateVolumesRequest) GetAccounts() []string

func (*QueryAggregateVolumesRequest) GetMarketIds added in v1.45.0

func (m *QueryAggregateVolumesRequest) GetMarketIds() []string

func (*QueryAggregateVolumesRequest) Marshal added in v1.45.0

func (m *QueryAggregateVolumesRequest) Marshal() (dAtA []byte, err error)

func (*QueryAggregateVolumesRequest) MarshalTo added in v1.45.0

func (m *QueryAggregateVolumesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateVolumesRequest) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateVolumesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateVolumesRequest) ProtoMessage added in v1.45.0

func (*QueryAggregateVolumesRequest) ProtoMessage()

func (*QueryAggregateVolumesRequest) Reset added in v1.45.0

func (m *QueryAggregateVolumesRequest) Reset()

func (*QueryAggregateVolumesRequest) Size added in v1.45.0

func (m *QueryAggregateVolumesRequest) Size() (n int)

func (*QueryAggregateVolumesRequest) String added in v1.45.0

func (*QueryAggregateVolumesRequest) Unmarshal added in v1.45.0

func (m *QueryAggregateVolumesRequest) Unmarshal(dAtA []byte) error

func (*QueryAggregateVolumesRequest) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateVolumesRequest) XXX_DiscardUnknown()

func (*QueryAggregateVolumesRequest) XXX_Marshal added in v1.45.0

func (m *QueryAggregateVolumesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateVolumesRequest) XXX_Merge added in v1.45.0

func (m *QueryAggregateVolumesRequest) XXX_Merge(src proto.Message)

func (*QueryAggregateVolumesRequest) XXX_Size added in v1.45.0

func (m *QueryAggregateVolumesRequest) XXX_Size() int

func (*QueryAggregateVolumesRequest) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateVolumesRequest) XXX_Unmarshal(b []byte) error

type QueryAggregateVolumesResponse added in v1.45.0

type QueryAggregateVolumesResponse struct {
	// the aggregate volume records for the accounts specified
	AggregateAccountVolumes []*AggregateAccountVolumeRecord `` /* 132-byte string literal not displayed */
	// the aggregate volumes for the markets specified
	AggregateMarketVolumes []*MarketVolume `` /* 129-byte string literal not displayed */
}

QueryAggregateVolumesResponse is the response type for the Query/AggregateVolumes RPC method.

func (*QueryAggregateVolumesResponse) Descriptor added in v1.45.0

func (*QueryAggregateVolumesResponse) Descriptor() ([]byte, []int)

func (*QueryAggregateVolumesResponse) GetAggregateAccountVolumes added in v1.45.0

func (m *QueryAggregateVolumesResponse) GetAggregateAccountVolumes() []*AggregateAccountVolumeRecord

func (*QueryAggregateVolumesResponse) GetAggregateMarketVolumes added in v1.45.0

func (m *QueryAggregateVolumesResponse) GetAggregateMarketVolumes() []*MarketVolume

func (*QueryAggregateVolumesResponse) Marshal added in v1.45.0

func (m *QueryAggregateVolumesResponse) Marshal() (dAtA []byte, err error)

func (*QueryAggregateVolumesResponse) MarshalTo added in v1.45.0

func (m *QueryAggregateVolumesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAggregateVolumesResponse) MarshalToSizedBuffer added in v1.45.0

func (m *QueryAggregateVolumesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAggregateVolumesResponse) ProtoMessage added in v1.45.0

func (*QueryAggregateVolumesResponse) ProtoMessage()

func (*QueryAggregateVolumesResponse) Reset added in v1.45.0

func (m *QueryAggregateVolumesResponse) Reset()

func (*QueryAggregateVolumesResponse) Size added in v1.45.0

func (m *QueryAggregateVolumesResponse) Size() (n int)

func (*QueryAggregateVolumesResponse) String added in v1.45.0

func (*QueryAggregateVolumesResponse) Unmarshal added in v1.45.0

func (m *QueryAggregateVolumesResponse) Unmarshal(dAtA []byte) error

func (*QueryAggregateVolumesResponse) XXX_DiscardUnknown added in v1.45.0

func (m *QueryAggregateVolumesResponse) XXX_DiscardUnknown()

func (*QueryAggregateVolumesResponse) XXX_Marshal added in v1.45.0

func (m *QueryAggregateVolumesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAggregateVolumesResponse) XXX_Merge added in v1.45.0

func (m *QueryAggregateVolumesResponse) XXX_Merge(src proto.Message)

func (*QueryAggregateVolumesResponse) XXX_Size added in v1.45.0

func (m *QueryAggregateVolumesResponse) XXX_Size() int

func (*QueryAggregateVolumesResponse) XXX_Unmarshal added in v1.45.0

func (m *QueryAggregateVolumesResponse) XXX_Unmarshal(b []byte) error

type QueryBalanceMismatchesRequest added in v1.30.0

type QueryBalanceMismatchesRequest struct {
	DustFactor int64 `protobuf:"varint,1,opt,name=dust_factor,json=dustFactor,proto3" json:"dust_factor,omitempty"`
}

QueryBalanceMismatchesRequest is the request type for the Query/QueryBalanceMismatches RPC method.

func (*QueryBalanceMismatchesRequest) Descriptor added in v1.30.0

func (*QueryBalanceMismatchesRequest) Descriptor() ([]byte, []int)

func (*QueryBalanceMismatchesRequest) GetDustFactor added in v1.30.0

func (m *QueryBalanceMismatchesRequest) GetDustFactor() int64

func (*QueryBalanceMismatchesRequest) Marshal added in v1.30.0

func (m *QueryBalanceMismatchesRequest) Marshal() (dAtA []byte, err error)

func (*QueryBalanceMismatchesRequest) MarshalTo added in v1.30.0

func (m *QueryBalanceMismatchesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceMismatchesRequest) MarshalToSizedBuffer added in v1.30.0

func (m *QueryBalanceMismatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceMismatchesRequest) ProtoMessage added in v1.30.0

func (*QueryBalanceMismatchesRequest) ProtoMessage()

func (*QueryBalanceMismatchesRequest) Reset added in v1.30.0

func (m *QueryBalanceMismatchesRequest) Reset()

func (*QueryBalanceMismatchesRequest) Size added in v1.30.0

func (m *QueryBalanceMismatchesRequest) Size() (n int)

func (*QueryBalanceMismatchesRequest) String added in v1.30.0

func (*QueryBalanceMismatchesRequest) Unmarshal added in v1.30.0

func (m *QueryBalanceMismatchesRequest) Unmarshal(dAtA []byte) error

func (*QueryBalanceMismatchesRequest) XXX_DiscardUnknown added in v1.30.0

func (m *QueryBalanceMismatchesRequest) XXX_DiscardUnknown()

func (*QueryBalanceMismatchesRequest) XXX_Marshal added in v1.30.0

func (m *QueryBalanceMismatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceMismatchesRequest) XXX_Merge added in v1.30.0

func (m *QueryBalanceMismatchesRequest) XXX_Merge(src proto.Message)

func (*QueryBalanceMismatchesRequest) XXX_Size added in v1.30.0

func (m *QueryBalanceMismatchesRequest) XXX_Size() int

func (*QueryBalanceMismatchesRequest) XXX_Unmarshal added in v1.30.0

func (m *QueryBalanceMismatchesRequest) XXX_Unmarshal(b []byte) error

type QueryBalanceMismatchesResponse added in v1.30.0

type QueryBalanceMismatchesResponse struct {
	BalanceMismatches []*BalanceMismatch `protobuf:"bytes,1,rep,name=balance_mismatches,json=balanceMismatches,proto3" json:"balance_mismatches,omitempty"`
}

QueryBalanceMismatchesResponse is the response type for the Query/QueryBalanceMismatches RPC method.

func (*QueryBalanceMismatchesResponse) Descriptor added in v1.30.0

func (*QueryBalanceMismatchesResponse) Descriptor() ([]byte, []int)

func (*QueryBalanceMismatchesResponse) GetBalanceMismatches added in v1.30.0

func (m *QueryBalanceMismatchesResponse) GetBalanceMismatches() []*BalanceMismatch

func (*QueryBalanceMismatchesResponse) Marshal added in v1.30.0

func (m *QueryBalanceMismatchesResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalanceMismatchesResponse) MarshalTo added in v1.30.0

func (m *QueryBalanceMismatchesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceMismatchesResponse) MarshalToSizedBuffer added in v1.30.0

func (m *QueryBalanceMismatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceMismatchesResponse) ProtoMessage added in v1.30.0

func (*QueryBalanceMismatchesResponse) ProtoMessage()

func (*QueryBalanceMismatchesResponse) Reset added in v1.30.0

func (m *QueryBalanceMismatchesResponse) Reset()

func (*QueryBalanceMismatchesResponse) Size added in v1.30.0

func (m *QueryBalanceMismatchesResponse) Size() (n int)

func (*QueryBalanceMismatchesResponse) String added in v1.30.0

func (*QueryBalanceMismatchesResponse) Unmarshal added in v1.30.0

func (m *QueryBalanceMismatchesResponse) Unmarshal(dAtA []byte) error

func (*QueryBalanceMismatchesResponse) XXX_DiscardUnknown added in v1.30.0

func (m *QueryBalanceMismatchesResponse) XXX_DiscardUnknown()

func (*QueryBalanceMismatchesResponse) XXX_Marshal added in v1.30.0

func (m *QueryBalanceMismatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceMismatchesResponse) XXX_Merge added in v1.30.0

func (m *QueryBalanceMismatchesResponse) XXX_Merge(src proto.Message)

func (*QueryBalanceMismatchesResponse) XXX_Size added in v1.30.0

func (m *QueryBalanceMismatchesResponse) XXX_Size() int

func (*QueryBalanceMismatchesResponse) XXX_Unmarshal added in v1.30.0

func (m *QueryBalanceMismatchesResponse) XXX_Unmarshal(b []byte) error

type QueryBalanceWithBalanceHoldsRequest added in v1.30.0

type QueryBalanceWithBalanceHoldsRequest struct {
}

QueryBalanceWithBalanceHoldsRequest is the request type for the Query/QueryBalanceWithBalanceHolds RPC method.

func (*QueryBalanceWithBalanceHoldsRequest) Descriptor added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) Descriptor() ([]byte, []int)

func (*QueryBalanceWithBalanceHoldsRequest) Marshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) Marshal() (dAtA []byte, err error)

func (*QueryBalanceWithBalanceHoldsRequest) MarshalTo added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceWithBalanceHoldsRequest) MarshalToSizedBuffer added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceWithBalanceHoldsRequest) ProtoMessage added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) ProtoMessage()

func (*QueryBalanceWithBalanceHoldsRequest) Reset added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) Size added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) String added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) Unmarshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) Unmarshal(dAtA []byte) error

func (*QueryBalanceWithBalanceHoldsRequest) XXX_DiscardUnknown added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) XXX_DiscardUnknown()

func (*QueryBalanceWithBalanceHoldsRequest) XXX_Marshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceWithBalanceHoldsRequest) XXX_Merge added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) XXX_Size added in v1.30.0

func (*QueryBalanceWithBalanceHoldsRequest) XXX_Unmarshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Unmarshal(b []byte) error

type QueryBalanceWithBalanceHoldsResponse added in v1.30.0

type QueryBalanceWithBalanceHoldsResponse struct {
	BalanceWithBalanceHolds []*BalanceWithMarginHold `` /* 134-byte string literal not displayed */
}

QueryBalanceWithBalanceHoldsResponse is the response type for the Query/QueryBalanceWithBalanceHolds RPC method.

func (*QueryBalanceWithBalanceHoldsResponse) Descriptor added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) Descriptor() ([]byte, []int)

func (*QueryBalanceWithBalanceHoldsResponse) GetBalanceWithBalanceHolds added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) GetBalanceWithBalanceHolds() []*BalanceWithMarginHold

func (*QueryBalanceWithBalanceHoldsResponse) Marshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) Marshal() (dAtA []byte, err error)

func (*QueryBalanceWithBalanceHoldsResponse) MarshalTo added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBalanceWithBalanceHoldsResponse) MarshalToSizedBuffer added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBalanceWithBalanceHoldsResponse) ProtoMessage added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) ProtoMessage()

func (*QueryBalanceWithBalanceHoldsResponse) Reset added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) Size added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) String added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) Unmarshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) Unmarshal(dAtA []byte) error

func (*QueryBalanceWithBalanceHoldsResponse) XXX_DiscardUnknown added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) XXX_DiscardUnknown()

func (*QueryBalanceWithBalanceHoldsResponse) XXX_Marshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBalanceWithBalanceHoldsResponse) XXX_Merge added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) XXX_Size added in v1.30.0

func (*QueryBalanceWithBalanceHoldsResponse) XXX_Unmarshal added in v1.30.0

func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Unmarshal(b []byte) error

type QueryBinaryMarketsRequest added in v1.39.5

type QueryBinaryMarketsRequest struct {
	// Status of the market, for convenience it is set to string - not enum
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
}

QuerBinaryMarketsRequest is the request type for the Query/BinaryMarkets RPC method.

func (*QueryBinaryMarketsRequest) Descriptor added in v1.39.5

func (*QueryBinaryMarketsRequest) Descriptor() ([]byte, []int)

func (*QueryBinaryMarketsRequest) GetStatus added in v1.39.5

func (m *QueryBinaryMarketsRequest) GetStatus() string

func (*QueryBinaryMarketsRequest) Marshal added in v1.39.5

func (m *QueryBinaryMarketsRequest) Marshal() (dAtA []byte, err error)

func (*QueryBinaryMarketsRequest) MarshalTo added in v1.39.5

func (m *QueryBinaryMarketsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryBinaryMarketsRequest) MarshalToSizedBuffer added in v1.39.5

func (m *QueryBinaryMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBinaryMarketsRequest) ProtoMessage added in v1.39.5

func (*QueryBinaryMarketsRequest) ProtoMessage()

func (*QueryBinaryMarketsRequest) Reset added in v1.39.5

func (m *QueryBinaryMarketsRequest) Reset()

func (*QueryBinaryMarketsRequest) Size added in v1.39.5

func (m *QueryBinaryMarketsRequest) Size() (n int)

func (*QueryBinaryMarketsRequest) String added in v1.39.5

func (m *QueryBinaryMarketsRequest) String() string

func (*QueryBinaryMarketsRequest) Unmarshal added in v1.39.5

func (m *QueryBinaryMarketsRequest) Unmarshal(dAtA []byte) error

func (*QueryBinaryMarketsRequest) XXX_DiscardUnknown added in v1.39.5

func (m *QueryBinaryMarketsRequest) XXX_DiscardUnknown()

func (*QueryBinaryMarketsRequest) XXX_Marshal added in v1.39.5

func (m *QueryBinaryMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBinaryMarketsRequest) XXX_Merge added in v1.39.5

func (m *QueryBinaryMarketsRequest) XXX_Merge(src proto.Message)

func (*QueryBinaryMarketsRequest) XXX_Size added in v1.39.5

func (m *QueryBinaryMarketsRequest) XXX_Size() int

func (*QueryBinaryMarketsRequest) XXX_Unmarshal added in v1.39.5

func (m *QueryBinaryMarketsRequest) XXX_Unmarshal(b []byte) error

type QueryBinaryMarketsResponse added in v1.39.5

type QueryBinaryMarketsResponse struct {
	Markets []*BinaryOptionsMarket `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
}

QueryBinaryMarketsResponse is the response type for the Query/BinaryMarkets RPC method.

func (*QueryBinaryMarketsResponse) Descriptor added in v1.39.5

func (*QueryBinaryMarketsResponse) Descriptor() ([]byte, []int)

func (*QueryBinaryMarketsResponse) GetMarkets added in v1.39.5

func (*QueryBinaryMarketsResponse) Marshal added in v1.39.5

func (m *QueryBinaryMarketsResponse) Marshal() (dAtA []byte, err error)

func (*QueryBinaryMarketsResponse) MarshalTo added in v1.39.5

func (m *QueryBinaryMarketsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryBinaryMarketsResponse) MarshalToSizedBuffer added in v1.39.5

func (m *QueryBinaryMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryBinaryMarketsResponse) ProtoMessage added in v1.39.5

func (*QueryBinaryMarketsResponse) ProtoMessage()

func (*QueryBinaryMarketsResponse) Reset added in v1.39.5

func (m *QueryBinaryMarketsResponse) Reset()

func (*QueryBinaryMarketsResponse) Size added in v1.39.5

func (m *QueryBinaryMarketsResponse) Size() (n int)

func (*QueryBinaryMarketsResponse) String added in v1.39.5

func (m *QueryBinaryMarketsResponse) String() string

func (*QueryBinaryMarketsResponse) Unmarshal added in v1.39.5

func (m *QueryBinaryMarketsResponse) Unmarshal(dAtA []byte) error

func (*QueryBinaryMarketsResponse) XXX_DiscardUnknown added in v1.39.5

func (m *QueryBinaryMarketsResponse) XXX_DiscardUnknown()

func (*QueryBinaryMarketsResponse) XXX_Marshal added in v1.39.5

func (m *QueryBinaryMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryBinaryMarketsResponse) XXX_Merge added in v1.39.5

func (m *QueryBinaryMarketsResponse) XXX_Merge(src proto.Message)

func (*QueryBinaryMarketsResponse) XXX_Size added in v1.39.5

func (m *QueryBinaryMarketsResponse) XXX_Size() int

func (*QueryBinaryMarketsResponse) XXX_Unmarshal added in v1.39.5

func (m *QueryBinaryMarketsResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Retrieves exchange params
	QueryExchangeParams(ctx context.Context, in *QueryExchangeParamsRequest, opts ...grpc.CallOption) (*QueryExchangeParamsResponse, error)
	// Retrieves a Subaccount's Deposits
	SubaccountDeposits(ctx context.Context, in *QuerySubaccountDepositsRequest, opts ...grpc.CallOption) (*QuerySubaccountDepositsResponse, error)
	// Retrieves a Subaccount's Deposits
	SubaccountDeposit(ctx context.Context, in *QuerySubaccountDepositRequest, opts ...grpc.CallOption) (*QuerySubaccountDepositResponse, error)
	// Retrieves all of the balances of all users on the exchange.
	ExchangeBalances(ctx context.Context, in *QueryExchangeBalancesRequest, opts ...grpc.CallOption) (*QueryExchangeBalancesResponse, error)
	// Retrieves the aggregate volumes for the specified account or subaccount
	AggregateVolume(ctx context.Context, in *QueryAggregateVolumeRequest, opts ...grpc.CallOption) (*QueryAggregateVolumeResponse, error)
	// Retrieves the aggregate volumes for specified accounts
	AggregateVolumes(ctx context.Context, in *QueryAggregateVolumesRequest, opts ...grpc.CallOption) (*QueryAggregateVolumesResponse, error)
	// Retrieves the aggregate volume for the specified market
	AggregateMarketVolume(ctx context.Context, in *QueryAggregateMarketVolumeRequest, opts ...grpc.CallOption) (*QueryAggregateMarketVolumeResponse, error)
	// Retrieves the aggregate market volumes for specified markets
	AggregateMarketVolumes(ctx context.Context, in *QueryAggregateMarketVolumesRequest, opts ...grpc.CallOption) (*QueryAggregateMarketVolumesResponse, error)
	// Retrieves the denom decimals for a denom.
	DenomDecimal(ctx context.Context, in *QueryDenomDecimalRequest, opts ...grpc.CallOption) (*QueryDenomDecimalResponse, error)
	// Retrieves the denom decimals for multiple denoms. Returns all denom
	// decimals if unspecified.
	DenomDecimals(ctx context.Context, in *QueryDenomDecimalsRequest, opts ...grpc.CallOption) (*QueryDenomDecimalsResponse, error)
	// Retrieves a list of spot markets.
	SpotMarkets(ctx context.Context, in *QuerySpotMarketsRequest, opts ...grpc.CallOption) (*QuerySpotMarketsResponse, error)
	// Retrieves a spot market by ticker
	SpotMarket(ctx context.Context, in *QuerySpotMarketRequest, opts ...grpc.CallOption) (*QuerySpotMarketResponse, error)
	// Retrieves a list of spot markets with extra information.
	FullSpotMarkets(ctx context.Context, in *QueryFullSpotMarketsRequest, opts ...grpc.CallOption) (*QueryFullSpotMarketsResponse, error)
	// Retrieves a spot market with extra information.
	FullSpotMarket(ctx context.Context, in *QueryFullSpotMarketRequest, opts ...grpc.CallOption) (*QueryFullSpotMarketResponse, error)
	// Retrieves a spot market's orderbook by marketID
	SpotOrderbook(ctx context.Context, in *QuerySpotOrderbookRequest, opts ...grpc.CallOption) (*QuerySpotOrderbookResponse, error)
	// Retrieves a trader's spot orders
	TraderSpotOrders(ctx context.Context, in *QueryTraderSpotOrdersRequest, opts ...grpc.CallOption) (*QueryTraderSpotOrdersResponse, error)
	// Retrieves all account address spot orders
	AccountAddressSpotOrders(ctx context.Context, in *QueryAccountAddressSpotOrdersRequest, opts ...grpc.CallOption) (*QueryAccountAddressSpotOrdersResponse, error)
	// Retrieves spot orders corresponding to specified order hashes for a given
	// subaccountID and marketID
	SpotOrdersByHashes(ctx context.Context, in *QuerySpotOrdersByHashesRequest, opts ...grpc.CallOption) (*QuerySpotOrdersByHashesResponse, error)
	// Retrieves subaccount's orders
	SubaccountOrders(ctx context.Context, in *QuerySubaccountOrdersRequest, opts ...grpc.CallOption) (*QuerySubaccountOrdersResponse, error)
	// Retrieves a trader's transient spot orders
	TraderSpotTransientOrders(ctx context.Context, in *QueryTraderSpotOrdersRequest, opts ...grpc.CallOption) (*QueryTraderSpotOrdersResponse, error)
	// Retrieves a spot market's mid-price
	SpotMidPriceAndTOB(ctx context.Context, in *QuerySpotMidPriceAndTOBRequest, opts ...grpc.CallOption) (*QuerySpotMidPriceAndTOBResponse, error)
	// Retrieves a derivative market's mid-price
	DerivativeMidPriceAndTOB(ctx context.Context, in *QueryDerivativeMidPriceAndTOBRequest, opts ...grpc.CallOption) (*QueryDerivativeMidPriceAndTOBResponse, error)
	// Retrieves a derivative market's orderbook by marketID
	DerivativeOrderbook(ctx context.Context, in *QueryDerivativeOrderbookRequest, opts ...grpc.CallOption) (*QueryDerivativeOrderbookResponse, error)
	// Retrieves a trader's derivative orders
	TraderDerivativeOrders(ctx context.Context, in *QueryTraderDerivativeOrdersRequest, opts ...grpc.CallOption) (*QueryTraderDerivativeOrdersResponse, error)
	// Retrieves all account address derivative orders
	AccountAddressDerivativeOrders(ctx context.Context, in *QueryAccountAddressDerivativeOrdersRequest, opts ...grpc.CallOption) (*QueryAccountAddressDerivativeOrdersResponse, error)
	// Retrieves a trader's derivative orders
	DerivativeOrdersByHashes(ctx context.Context, in *QueryDerivativeOrdersByHashesRequest, opts ...grpc.CallOption) (*QueryDerivativeOrdersByHashesResponse, error)
	// Retrieves a trader's transient derivative orders
	TraderDerivativeTransientOrders(ctx context.Context, in *QueryTraderDerivativeOrdersRequest, opts ...grpc.CallOption) (*QueryTraderDerivativeOrdersResponse, error)
	// Retrieves a list of derivative markets.
	DerivativeMarkets(ctx context.Context, in *QueryDerivativeMarketsRequest, opts ...grpc.CallOption) (*QueryDerivativeMarketsResponse, error)
	// Retrieves a derivative market by ticker
	DerivativeMarket(ctx context.Context, in *QueryDerivativeMarketRequest, opts ...grpc.CallOption) (*QueryDerivativeMarketResponse, error)
	// Retrieves a derivative market's corresponding address for fees that
	// contribute to the market's insurance fund
	DerivativeMarketAddress(ctx context.Context, in *QueryDerivativeMarketAddressRequest, opts ...grpc.CallOption) (*QueryDerivativeMarketAddressResponse, error)
	// Retrieves a subaccount's trade nonce
	SubaccountTradeNonce(ctx context.Context, in *QuerySubaccountTradeNonceRequest, opts ...grpc.CallOption) (*QuerySubaccountTradeNonceResponse, error)
	// Retrieves the entire exchange module's state
	ExchangeModuleState(ctx context.Context, in *QueryModuleStateRequest, opts ...grpc.CallOption) (*QueryModuleStateResponse, error)
	// Retrieves the entire exchange module's positions
	Positions(ctx context.Context, in *QueryPositionsRequest, opts ...grpc.CallOption) (*QueryPositionsResponse, error)
	// Retrieves subaccount's positions
	SubaccountPositions(ctx context.Context, in *QuerySubaccountPositionsRequest, opts ...grpc.CallOption) (*QuerySubaccountPositionsResponse, error)
	// Retrieves subaccount's position in market
	SubaccountPositionInMarket(ctx context.Context, in *QuerySubaccountPositionInMarketRequest, opts ...grpc.CallOption) (*QuerySubaccountPositionInMarketResponse, error)
	// Retrieves subaccount's position in market
	SubaccountEffectivePositionInMarket(ctx context.Context, in *QuerySubaccountEffectivePositionInMarketRequest, opts ...grpc.CallOption) (*QuerySubaccountEffectivePositionInMarketResponse, error)
	// Retrieves perpetual market info
	PerpetualMarketInfo(ctx context.Context, in *QueryPerpetualMarketInfoRequest, opts ...grpc.CallOption) (*QueryPerpetualMarketInfoResponse, error)
	// Retrieves expiry market info
	ExpiryFuturesMarketInfo(ctx context.Context, in *QueryExpiryFuturesMarketInfoRequest, opts ...grpc.CallOption) (*QueryExpiryFuturesMarketInfoResponse, error)
	// Retrieves perpetual market funding
	PerpetualMarketFunding(ctx context.Context, in *QueryPerpetualMarketFundingRequest, opts ...grpc.CallOption) (*QueryPerpetualMarketFundingResponse, error)
	// Retrieves subaccount's order metadata
	SubaccountOrderMetadata(ctx context.Context, in *QuerySubaccountOrderMetadataRequest, opts ...grpc.CallOption) (*QuerySubaccountOrderMetadataResponse, error)
	// Retrieves the account and total trade rewards points
	TradeRewardPoints(ctx context.Context, in *QueryTradeRewardPointsRequest, opts ...grpc.CallOption) (*QueryTradeRewardPointsResponse, error)
	// Retrieves the pending account and total trade rewards points
	PendingTradeRewardPoints(ctx context.Context, in *QueryTradeRewardPointsRequest, opts ...grpc.CallOption) (*QueryTradeRewardPointsResponse, error)
	// Retrieves the trade reward campaign
	TradeRewardCampaign(ctx context.Context, in *QueryTradeRewardCampaignRequest, opts ...grpc.CallOption) (*QueryTradeRewardCampaignResponse, error)
	// Retrieves the account's fee discount info
	FeeDiscountAccountInfo(ctx context.Context, in *QueryFeeDiscountAccountInfoRequest, opts ...grpc.CallOption) (*QueryFeeDiscountAccountInfoResponse, error)
	// Retrieves the fee discount schedule
	FeeDiscountSchedule(ctx context.Context, in *QueryFeeDiscountScheduleRequest, opts ...grpc.CallOption) (*QueryFeeDiscountScheduleResponse, error)
	// Retrieves mismatches between available vs. total balance
	BalanceMismatches(ctx context.Context, in *QueryBalanceMismatchesRequest, opts ...grpc.CallOption) (*QueryBalanceMismatchesResponse, error)
	// Retrieves available and total balances with balance holds
	BalanceWithBalanceHolds(ctx context.Context, in *QueryBalanceWithBalanceHoldsRequest, opts ...grpc.CallOption) (*QueryBalanceWithBalanceHoldsResponse, error)
	// Retrieves fee discount tier stats
	FeeDiscountTierStatistics(ctx context.Context, in *QueryFeeDiscountTierStatisticsRequest, opts ...grpc.CallOption) (*QueryFeeDiscountTierStatisticsResponse, error)
	// Retrieves market making pool info
	MitoVaultInfos(ctx context.Context, in *MitoVaultInfosRequest, opts ...grpc.CallOption) (*MitoVaultInfosResponse, error)
	// QueryMarketIDFromVault returns the market ID for a given vault subaccount ID
	QueryMarketIDFromVault(ctx context.Context, in *QueryMarketIDFromVaultRequest, opts ...grpc.CallOption) (*QueryMarketIDFromVaultResponse, error)
	// Retrieves historical trade records for a given market ID
	HistoricalTradeRecords(ctx context.Context, in *QueryHistoricalTradeRecordsRequest, opts ...grpc.CallOption) (*QueryHistoricalTradeRecordsResponse, error)
	// Retrieves if the account is opted out of rewards
	IsOptedOutOfRewards(ctx context.Context, in *QueryIsOptedOutOfRewardsRequest, opts ...grpc.CallOption) (*QueryIsOptedOutOfRewardsResponse, error)
	// Retrieves all accounts opted out of rewards
	OptedOutOfRewardsAccounts(ctx context.Context, in *QueryOptedOutOfRewardsAccountsRequest, opts ...grpc.CallOption) (*QueryOptedOutOfRewardsAccountsResponse, error)
	// MarketVolatility computes the volatility for spot and derivative markets
	// trading history.
	MarketVolatility(ctx context.Context, in *QueryMarketVolatilityRequest, opts ...grpc.CallOption) (*QueryMarketVolatilityResponse, error)
	// Retrieves a spot market's orderbook by marketID
	BinaryOptionsMarkets(ctx context.Context, in *QueryBinaryMarketsRequest, opts ...grpc.CallOption) (*QueryBinaryMarketsResponse, error)
	// Retrieves a trader's derivative conditional orders
	TraderDerivativeConditionalOrders(ctx context.Context, in *QueryTraderDerivativeConditionalOrdersRequest, opts ...grpc.CallOption) (*QueryTraderDerivativeConditionalOrdersResponse, error)
	MarketAtomicExecutionFeeMultiplier(ctx context.Context, in *QueryMarketAtomicExecutionFeeMultiplierRequest, opts ...grpc.CallOption) (*QueryMarketAtomicExecutionFeeMultiplierResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDenomDecimalRequest added in v1.45.6

type QueryDenomDecimalRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

QueryDenomDecimalRequest is the request type for the Query/DenomDecimal RPC method.

func (*QueryDenomDecimalRequest) Descriptor added in v1.45.6

func (*QueryDenomDecimalRequest) Descriptor() ([]byte, []int)

func (*QueryDenomDecimalRequest) GetDenom added in v1.45.6

func (m *QueryDenomDecimalRequest) GetDenom() string

func (*QueryDenomDecimalRequest) Marshal added in v1.45.6

func (m *QueryDenomDecimalRequest) Marshal() (dAtA []byte, err error)

func (*QueryDenomDecimalRequest) MarshalTo added in v1.45.6

func (m *QueryDenomDecimalRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomDecimalRequest) MarshalToSizedBuffer added in v1.45.6

func (m *QueryDenomDecimalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomDecimalRequest) ProtoMessage added in v1.45.6

func (*QueryDenomDecimalRequest) ProtoMessage()

func (*QueryDenomDecimalRequest) Reset added in v1.45.6

func (m *QueryDenomDecimalRequest) Reset()

func (*QueryDenomDecimalRequest) Size added in v1.45.6

func (m *QueryDenomDecimalRequest) Size() (n int)

func (*QueryDenomDecimalRequest) String added in v1.45.6

func (m *QueryDenomDecimalRequest) String() string

func (*QueryDenomDecimalRequest) Unmarshal added in v1.45.6

func (m *QueryDenomDecimalRequest) Unmarshal(dAtA []byte) error

func (*QueryDenomDecimalRequest) XXX_DiscardUnknown added in v1.45.6

func (m *QueryDenomDecimalRequest) XXX_DiscardUnknown()

func (*QueryDenomDecimalRequest) XXX_Marshal added in v1.45.6

func (m *QueryDenomDecimalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomDecimalRequest) XXX_Merge added in v1.45.6

func (m *QueryDenomDecimalRequest) XXX_Merge(src proto.Message)

func (*QueryDenomDecimalRequest) XXX_Size added in v1.45.6

func (m *QueryDenomDecimalRequest) XXX_Size() int

func (*QueryDenomDecimalRequest) XXX_Unmarshal added in v1.45.6

func (m *QueryDenomDecimalRequest) XXX_Unmarshal(b []byte) error

type QueryDenomDecimalResponse added in v1.45.6

type QueryDenomDecimalResponse struct {
	Decimal uint64 `protobuf:"varint,1,opt,name=decimal,proto3" json:"decimal,omitempty"`
}

QueryDenomDecimalResponse is the response type for the Query/DenomDecimal RPC method.

func (*QueryDenomDecimalResponse) Descriptor added in v1.45.6

func (*QueryDenomDecimalResponse) Descriptor() ([]byte, []int)

func (*QueryDenomDecimalResponse) GetDecimal added in v1.45.6

func (m *QueryDenomDecimalResponse) GetDecimal() uint64

func (*QueryDenomDecimalResponse) Marshal added in v1.45.6

func (m *QueryDenomDecimalResponse) Marshal() (dAtA []byte, err error)

func (*QueryDenomDecimalResponse) MarshalTo added in v1.45.6

func (m *QueryDenomDecimalResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomDecimalResponse) MarshalToSizedBuffer added in v1.45.6

func (m *QueryDenomDecimalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomDecimalResponse) ProtoMessage added in v1.45.6

func (*QueryDenomDecimalResponse) ProtoMessage()

func (*QueryDenomDecimalResponse) Reset added in v1.45.6

func (m *QueryDenomDecimalResponse) Reset()

func (*QueryDenomDecimalResponse) Size added in v1.45.6

func (m *QueryDenomDecimalResponse) Size() (n int)

func (*QueryDenomDecimalResponse) String added in v1.45.6

func (m *QueryDenomDecimalResponse) String() string

func (*QueryDenomDecimalResponse) Unmarshal added in v1.45.6

func (m *QueryDenomDecimalResponse) Unmarshal(dAtA []byte) error

func (*QueryDenomDecimalResponse) XXX_DiscardUnknown added in v1.45.6

func (m *QueryDenomDecimalResponse) XXX_DiscardUnknown()

func (*QueryDenomDecimalResponse) XXX_Marshal added in v1.45.6

func (m *QueryDenomDecimalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomDecimalResponse) XXX_Merge added in v1.45.6

func (m *QueryDenomDecimalResponse) XXX_Merge(src proto.Message)

func (*QueryDenomDecimalResponse) XXX_Size added in v1.45.6

func (m *QueryDenomDecimalResponse) XXX_Size() int

func (*QueryDenomDecimalResponse) XXX_Unmarshal added in v1.45.6

func (m *QueryDenomDecimalResponse) XXX_Unmarshal(b []byte) error

type QueryDenomDecimalsRequest added in v1.45.6

type QueryDenomDecimalsRequest struct {
	// denoms can be empty to query all denom decimals
	Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
}

QueryDenomDecimalsRequest is the request type for the Query/DenomDecimals RPC method.

func (*QueryDenomDecimalsRequest) Descriptor added in v1.45.6

func (*QueryDenomDecimalsRequest) Descriptor() ([]byte, []int)

func (*QueryDenomDecimalsRequest) GetDenoms added in v1.45.6

func (m *QueryDenomDecimalsRequest) GetDenoms() []string

func (*QueryDenomDecimalsRequest) Marshal added in v1.45.6

func (m *QueryDenomDecimalsRequest) Marshal() (dAtA []byte, err error)

func (*QueryDenomDecimalsRequest) MarshalTo added in v1.45.6

func (m *QueryDenomDecimalsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomDecimalsRequest) MarshalToSizedBuffer added in v1.45.6

func (m *QueryDenomDecimalsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomDecimalsRequest) ProtoMessage added in v1.45.6

func (*QueryDenomDecimalsRequest) ProtoMessage()

func (*QueryDenomDecimalsRequest) Reset added in v1.45.6

func (m *QueryDenomDecimalsRequest) Reset()

func (*QueryDenomDecimalsRequest) Size added in v1.45.6

func (m *QueryDenomDecimalsRequest) Size() (n int)

func (*QueryDenomDecimalsRequest) String added in v1.45.6

func (m *QueryDenomDecimalsRequest) String() string

func (*QueryDenomDecimalsRequest) Unmarshal added in v1.45.6

func (m *QueryDenomDecimalsRequest) Unmarshal(dAtA []byte) error

func (*QueryDenomDecimalsRequest) XXX_DiscardUnknown added in v1.45.6

func (m *QueryDenomDecimalsRequest) XXX_DiscardUnknown()

func (*QueryDenomDecimalsRequest) XXX_Marshal added in v1.45.6

func (m *QueryDenomDecimalsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomDecimalsRequest) XXX_Merge added in v1.45.6

func (m *QueryDenomDecimalsRequest) XXX_Merge(src proto.Message)

func (*QueryDenomDecimalsRequest) XXX_Size added in v1.45.6

func (m *QueryDenomDecimalsRequest) XXX_Size() int

func (*QueryDenomDecimalsRequest) XXX_Unmarshal added in v1.45.6

func (m *QueryDenomDecimalsRequest) XXX_Unmarshal(b []byte) error

type QueryDenomDecimalsResponse added in v1.45.6

type QueryDenomDecimalsResponse struct {
	DenomDecimals []DenomDecimals `protobuf:"bytes,1,rep,name=denom_decimals,json=denomDecimals,proto3" json:"denom_decimals"`
}

QueryDenomDecimalsRequest is the response type for the Query/DenomDecimals RPC method.

func (*QueryDenomDecimalsResponse) Descriptor added in v1.45.6

func (*QueryDenomDecimalsResponse) Descriptor() ([]byte, []int)

func (*QueryDenomDecimalsResponse) GetDenomDecimals added in v1.45.6

func (m *QueryDenomDecimalsResponse) GetDenomDecimals() []DenomDecimals

func (*QueryDenomDecimalsResponse) Marshal added in v1.45.6

func (m *QueryDenomDecimalsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDenomDecimalsResponse) MarshalTo added in v1.45.6

func (m *QueryDenomDecimalsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomDecimalsResponse) MarshalToSizedBuffer added in v1.45.6

func (m *QueryDenomDecimalsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomDecimalsResponse) ProtoMessage added in v1.45.6

func (*QueryDenomDecimalsResponse) ProtoMessage()

func (*QueryDenomDecimalsResponse) Reset added in v1.45.6

func (m *QueryDenomDecimalsResponse) Reset()

func (*QueryDenomDecimalsResponse) Size added in v1.45.6

func (m *QueryDenomDecimalsResponse) Size() (n int)

func (*QueryDenomDecimalsResponse) String added in v1.45.6

func (m *QueryDenomDecimalsResponse) String() string

func (*QueryDenomDecimalsResponse) Unmarshal added in v1.45.6

func (m *QueryDenomDecimalsResponse) Unmarshal(dAtA []byte) error

func (*QueryDenomDecimalsResponse) XXX_DiscardUnknown added in v1.45.6

func (m *QueryDenomDecimalsResponse) XXX_DiscardUnknown()

func (*QueryDenomDecimalsResponse) XXX_Marshal added in v1.45.6

func (m *QueryDenomDecimalsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomDecimalsResponse) XXX_Merge added in v1.45.6

func (m *QueryDenomDecimalsResponse) XXX_Merge(src proto.Message)

func (*QueryDenomDecimalsResponse) XXX_Size added in v1.45.6

func (m *QueryDenomDecimalsResponse) XXX_Size() int

func (*QueryDenomDecimalsResponse) XXX_Unmarshal added in v1.45.6

func (m *QueryDenomDecimalsResponse) XXX_Unmarshal(b []byte) error

type QueryDerivativeMarketAddressRequest added in v1.28.3

type QueryDerivativeMarketAddressRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryDerivativeMarketAddressRequest is the request type for the Query/DerivativeMarketAddress RPC method.

func (*QueryDerivativeMarketAddressRequest) Descriptor added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) Descriptor() ([]byte, []int)

func (*QueryDerivativeMarketAddressRequest) GetMarketId added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) Marshal added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMarketAddressRequest) MarshalTo added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMarketAddressRequest) MarshalToSizedBuffer added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMarketAddressRequest) ProtoMessage added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) ProtoMessage()

func (*QueryDerivativeMarketAddressRequest) Reset added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) Size added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) String added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) Unmarshal added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMarketAddressRequest) XXX_DiscardUnknown added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) XXX_DiscardUnknown()

func (*QueryDerivativeMarketAddressRequest) XXX_Marshal added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMarketAddressRequest) XXX_Merge added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) XXX_Size added in v1.28.3

func (*QueryDerivativeMarketAddressRequest) XXX_Unmarshal added in v1.28.3

func (m *QueryDerivativeMarketAddressRequest) XXX_Unmarshal(b []byte) error

type QueryDerivativeMarketAddressResponse added in v1.28.3

type QueryDerivativeMarketAddressResponse struct {
	// address for the market
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// subaccountID for the market
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

QueryDerivativeMarketAddressResponse is the response type for the Query/DerivativeMarketAddress RPC method.

func (*QueryDerivativeMarketAddressResponse) Descriptor added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) Descriptor() ([]byte, []int)

func (*QueryDerivativeMarketAddressResponse) GetAddress added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) GetSubaccountId added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) GetSubaccountId() string

func (*QueryDerivativeMarketAddressResponse) Marshal added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMarketAddressResponse) MarshalTo added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMarketAddressResponse) MarshalToSizedBuffer added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMarketAddressResponse) ProtoMessage added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) ProtoMessage()

func (*QueryDerivativeMarketAddressResponse) Reset added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) Size added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) String added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) Unmarshal added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMarketAddressResponse) XXX_DiscardUnknown added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) XXX_DiscardUnknown()

func (*QueryDerivativeMarketAddressResponse) XXX_Marshal added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMarketAddressResponse) XXX_Merge added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) XXX_Size added in v1.28.3

func (*QueryDerivativeMarketAddressResponse) XXX_Unmarshal added in v1.28.3

func (m *QueryDerivativeMarketAddressResponse) XXX_Unmarshal(b []byte) error

type QueryDerivativeMarketRequest

type QueryDerivativeMarketRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryDerivativeMarketRequest is the request type for the Query/DerivativeMarket RPC method.

func (*QueryDerivativeMarketRequest) Descriptor

func (*QueryDerivativeMarketRequest) Descriptor() ([]byte, []int)

func (*QueryDerivativeMarketRequest) GetMarketId

func (m *QueryDerivativeMarketRequest) GetMarketId() string

func (*QueryDerivativeMarketRequest) Marshal

func (m *QueryDerivativeMarketRequest) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMarketRequest) MarshalTo

func (m *QueryDerivativeMarketRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMarketRequest) MarshalToSizedBuffer

func (m *QueryDerivativeMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMarketRequest) ProtoMessage

func (*QueryDerivativeMarketRequest) ProtoMessage()

func (*QueryDerivativeMarketRequest) Reset

func (m *QueryDerivativeMarketRequest) Reset()

func (*QueryDerivativeMarketRequest) Size

func (m *QueryDerivativeMarketRequest) Size() (n int)

func (*QueryDerivativeMarketRequest) String

func (*QueryDerivativeMarketRequest) Unmarshal

func (m *QueryDerivativeMarketRequest) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMarketRequest) XXX_DiscardUnknown

func (m *QueryDerivativeMarketRequest) XXX_DiscardUnknown()

func (*QueryDerivativeMarketRequest) XXX_Marshal

func (m *QueryDerivativeMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMarketRequest) XXX_Merge

func (m *QueryDerivativeMarketRequest) XXX_Merge(src proto.Message)

func (*QueryDerivativeMarketRequest) XXX_Size

func (m *QueryDerivativeMarketRequest) XXX_Size() int

func (*QueryDerivativeMarketRequest) XXX_Unmarshal

func (m *QueryDerivativeMarketRequest) XXX_Unmarshal(b []byte) error

type QueryDerivativeMarketResponse

type QueryDerivativeMarketResponse struct {
	Market *FullDerivativeMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
}

QueryDerivativeMarketResponse is the response type for the Query/DerivativeMarket RPC method.

func (*QueryDerivativeMarketResponse) Descriptor

func (*QueryDerivativeMarketResponse) Descriptor() ([]byte, []int)

func (*QueryDerivativeMarketResponse) GetMarket

func (*QueryDerivativeMarketResponse) Marshal

func (m *QueryDerivativeMarketResponse) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMarketResponse) MarshalTo

func (m *QueryDerivativeMarketResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMarketResponse) MarshalToSizedBuffer

func (m *QueryDerivativeMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMarketResponse) ProtoMessage

func (*QueryDerivativeMarketResponse) ProtoMessage()

func (*QueryDerivativeMarketResponse) Reset

func (m *QueryDerivativeMarketResponse) Reset()

func (*QueryDerivativeMarketResponse) Size

func (m *QueryDerivativeMarketResponse) Size() (n int)

func (*QueryDerivativeMarketResponse) String

func (*QueryDerivativeMarketResponse) Unmarshal

func (m *QueryDerivativeMarketResponse) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMarketResponse) XXX_DiscardUnknown

func (m *QueryDerivativeMarketResponse) XXX_DiscardUnknown()

func (*QueryDerivativeMarketResponse) XXX_Marshal

func (m *QueryDerivativeMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMarketResponse) XXX_Merge

func (m *QueryDerivativeMarketResponse) XXX_Merge(src proto.Message)

func (*QueryDerivativeMarketResponse) XXX_Size

func (m *QueryDerivativeMarketResponse) XXX_Size() int

func (*QueryDerivativeMarketResponse) XXX_Unmarshal

func (m *QueryDerivativeMarketResponse) XXX_Unmarshal(b []byte) error

type QueryDerivativeMarketsRequest

type QueryDerivativeMarketsRequest struct {
	// Status of the market, for convenience it is set to string - not enum
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Filter by market IDs
	MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Flag to return the markets mid price and top of the book buy and sell
	// orders.
	WithMidPriceAndTob bool `protobuf:"varint,3,opt,name=with_mid_price_and_tob,json=withMidPriceAndTob,proto3" json:"with_mid_price_and_tob,omitempty"`
}

QueryDerivativeMarketsRequest is the request type for the Query/DerivativeMarkets RPC method.

func (*QueryDerivativeMarketsRequest) Descriptor

func (*QueryDerivativeMarketsRequest) Descriptor() ([]byte, []int)

func (*QueryDerivativeMarketsRequest) GetMarketIds added in v1.47.1

func (m *QueryDerivativeMarketsRequest) GetMarketIds() []string

func (*QueryDerivativeMarketsRequest) GetStatus

func (m *QueryDerivativeMarketsRequest) GetStatus() string

func (*QueryDerivativeMarketsRequest) GetWithMidPriceAndTob added in v1.47.1

func (m *QueryDerivativeMarketsRequest) GetWithMidPriceAndTob() bool

func (*QueryDerivativeMarketsRequest) Marshal

func (m *QueryDerivativeMarketsRequest) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMarketsRequest) MarshalTo

func (m *QueryDerivativeMarketsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMarketsRequest) MarshalToSizedBuffer

func (m *QueryDerivativeMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMarketsRequest) ProtoMessage

func (*QueryDerivativeMarketsRequest) ProtoMessage()

func (*QueryDerivativeMarketsRequest) Reset

func (m *QueryDerivativeMarketsRequest) Reset()

func (*QueryDerivativeMarketsRequest) Size

func (m *QueryDerivativeMarketsRequest) Size() (n int)

func (*QueryDerivativeMarketsRequest) String

func (*QueryDerivativeMarketsRequest) Unmarshal

func (m *QueryDerivativeMarketsRequest) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMarketsRequest) XXX_DiscardUnknown

func (m *QueryDerivativeMarketsRequest) XXX_DiscardUnknown()

func (*QueryDerivativeMarketsRequest) XXX_Marshal

func (m *QueryDerivativeMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMarketsRequest) XXX_Merge

func (m *QueryDerivativeMarketsRequest) XXX_Merge(src proto.Message)

func (*QueryDerivativeMarketsRequest) XXX_Size

func (m *QueryDerivativeMarketsRequest) XXX_Size() int

func (*QueryDerivativeMarketsRequest) XXX_Unmarshal

func (m *QueryDerivativeMarketsRequest) XXX_Unmarshal(b []byte) error

type QueryDerivativeMarketsResponse

type QueryDerivativeMarketsResponse struct {
	Markets []*FullDerivativeMarket `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
}

QueryDerivativeMarketsResponse is the response type for the Query/DerivativeMarkets RPC method.

func (*QueryDerivativeMarketsResponse) Descriptor

func (*QueryDerivativeMarketsResponse) Descriptor() ([]byte, []int)

func (*QueryDerivativeMarketsResponse) GetMarkets

func (*QueryDerivativeMarketsResponse) Marshal

func (m *QueryDerivativeMarketsResponse) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMarketsResponse) MarshalTo

func (m *QueryDerivativeMarketsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMarketsResponse) MarshalToSizedBuffer

func (m *QueryDerivativeMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMarketsResponse) ProtoMessage

func (*QueryDerivativeMarketsResponse) ProtoMessage()

func (*QueryDerivativeMarketsResponse) Reset

func (m *QueryDerivativeMarketsResponse) Reset()

func (*QueryDerivativeMarketsResponse) Size

func (m *QueryDerivativeMarketsResponse) Size() (n int)

func (*QueryDerivativeMarketsResponse) String

func (*QueryDerivativeMarketsResponse) Unmarshal

func (m *QueryDerivativeMarketsResponse) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMarketsResponse) XXX_DiscardUnknown

func (m *QueryDerivativeMarketsResponse) XXX_DiscardUnknown()

func (*QueryDerivativeMarketsResponse) XXX_Marshal

func (m *QueryDerivativeMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMarketsResponse) XXX_Merge

func (m *QueryDerivativeMarketsResponse) XXX_Merge(src proto.Message)

func (*QueryDerivativeMarketsResponse) XXX_Size

func (m *QueryDerivativeMarketsResponse) XXX_Size() int

func (*QueryDerivativeMarketsResponse) XXX_Unmarshal

func (m *QueryDerivativeMarketsResponse) XXX_Unmarshal(b []byte) error

type QueryDerivativeMidPriceAndTOBRequest added in v1.39.5

type QueryDerivativeMidPriceAndTOBRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryDerivativeMidPriceAndTOBRequest is the request type for the Query/GetDerivativeMidPriceAndTOB RPC method.

func (*QueryDerivativeMidPriceAndTOBRequest) Descriptor added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) Descriptor() ([]byte, []int)

func (*QueryDerivativeMidPriceAndTOBRequest) GetMarketId added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) Marshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMidPriceAndTOBRequest) MarshalTo added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMidPriceAndTOBRequest) MarshalToSizedBuffer added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMidPriceAndTOBRequest) ProtoMessage added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) ProtoMessage()

func (*QueryDerivativeMidPriceAndTOBRequest) Reset added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) Size added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) String added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) Unmarshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMidPriceAndTOBRequest) XXX_DiscardUnknown added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) XXX_DiscardUnknown()

func (*QueryDerivativeMidPriceAndTOBRequest) XXX_Marshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMidPriceAndTOBRequest) XXX_Merge added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) XXX_Size added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBRequest) XXX_Unmarshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBRequest) XXX_Unmarshal(b []byte) error

type QueryDerivativeMidPriceAndTOBResponse added in v1.39.5

type QueryDerivativeMidPriceAndTOBResponse struct {
	// mid price of the market
	MidPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 135-byte string literal not displayed */
	// best buy price of the market
	BestBuyPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// best sell price of the market
	BestSellPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */
}

QueryDerivativeMidPriceAndTOBResponse is the response type for the Query/GetDerivativeMidPriceAndTOB RPC method.

func (*QueryDerivativeMidPriceAndTOBResponse) Descriptor added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) Descriptor() ([]byte, []int)

func (*QueryDerivativeMidPriceAndTOBResponse) Marshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeMidPriceAndTOBResponse) MarshalTo added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeMidPriceAndTOBResponse) MarshalToSizedBuffer added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeMidPriceAndTOBResponse) ProtoMessage added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) ProtoMessage()

func (*QueryDerivativeMidPriceAndTOBResponse) Reset added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) Size added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) String added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) Unmarshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) Unmarshal(dAtA []byte) error

func (*QueryDerivativeMidPriceAndTOBResponse) XXX_DiscardUnknown added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) XXX_DiscardUnknown()

func (*QueryDerivativeMidPriceAndTOBResponse) XXX_Marshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeMidPriceAndTOBResponse) XXX_Merge added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) XXX_Size added in v1.39.5

func (*QueryDerivativeMidPriceAndTOBResponse) XXX_Unmarshal added in v1.39.5

func (m *QueryDerivativeMidPriceAndTOBResponse) XXX_Unmarshal(b []byte) error

type QueryDerivativeOrderbookRequest

type QueryDerivativeOrderbookRequest struct {
	// Market ID for the market
	MarketId                string                                  `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Limit                   uint64                                  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	LimitCumulativeNotional *github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */
}

QueryDerivativeOrderbookRequest is the request type for the Query/DerivativeOrderbook RPC method.

func (*QueryDerivativeOrderbookRequest) Descriptor

func (*QueryDerivativeOrderbookRequest) Descriptor() ([]byte, []int)

func (*QueryDerivativeOrderbookRequest) GetLimit

func (*QueryDerivativeOrderbookRequest) GetMarketId

func (m *QueryDerivativeOrderbookRequest) GetMarketId() string

func (*QueryDerivativeOrderbookRequest) Marshal

func (m *QueryDerivativeOrderbookRequest) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeOrderbookRequest) MarshalTo

func (m *QueryDerivativeOrderbookRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeOrderbookRequest) MarshalToSizedBuffer

func (m *QueryDerivativeOrderbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeOrderbookRequest) ProtoMessage

func (*QueryDerivativeOrderbookRequest) ProtoMessage()

func (*QueryDerivativeOrderbookRequest) Reset

func (*QueryDerivativeOrderbookRequest) Size

func (m *QueryDerivativeOrderbookRequest) Size() (n int)

func (*QueryDerivativeOrderbookRequest) String

func (*QueryDerivativeOrderbookRequest) Unmarshal

func (m *QueryDerivativeOrderbookRequest) Unmarshal(dAtA []byte) error

func (*QueryDerivativeOrderbookRequest) XXX_DiscardUnknown

func (m *QueryDerivativeOrderbookRequest) XXX_DiscardUnknown()

func (*QueryDerivativeOrderbookRequest) XXX_Marshal

func (m *QueryDerivativeOrderbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeOrderbookRequest) XXX_Merge

func (m *QueryDerivativeOrderbookRequest) XXX_Merge(src proto.Message)

func (*QueryDerivativeOrderbookRequest) XXX_Size

func (m *QueryDerivativeOrderbookRequest) XXX_Size() int

func (*QueryDerivativeOrderbookRequest) XXX_Unmarshal

func (m *QueryDerivativeOrderbookRequest) XXX_Unmarshal(b []byte) error

type QueryDerivativeOrderbookResponse

type QueryDerivativeOrderbookResponse struct {
	BuysPriceLevel  []*Level `protobuf:"bytes,1,rep,name=buys_price_level,json=buysPriceLevel,proto3" json:"buys_price_level,omitempty"`
	SellsPriceLevel []*Level `protobuf:"bytes,2,rep,name=sells_price_level,json=sellsPriceLevel,proto3" json:"sells_price_level,omitempty"`
}

QueryDerivativeOrderbookResponse is the response type for the Query/DerivativeOrderbook RPC method.

func (*QueryDerivativeOrderbookResponse) Descriptor

func (*QueryDerivativeOrderbookResponse) Descriptor() ([]byte, []int)

func (*QueryDerivativeOrderbookResponse) GetBuysPriceLevel

func (m *QueryDerivativeOrderbookResponse) GetBuysPriceLevel() []*Level

func (*QueryDerivativeOrderbookResponse) GetSellsPriceLevel

func (m *QueryDerivativeOrderbookResponse) GetSellsPriceLevel() []*Level

func (*QueryDerivativeOrderbookResponse) Marshal

func (m *QueryDerivativeOrderbookResponse) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeOrderbookResponse) MarshalTo

func (m *QueryDerivativeOrderbookResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeOrderbookResponse) MarshalToSizedBuffer

func (m *QueryDerivativeOrderbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeOrderbookResponse) ProtoMessage

func (*QueryDerivativeOrderbookResponse) ProtoMessage()

func (*QueryDerivativeOrderbookResponse) Reset

func (*QueryDerivativeOrderbookResponse) Size

func (m *QueryDerivativeOrderbookResponse) Size() (n int)

func (*QueryDerivativeOrderbookResponse) String

func (*QueryDerivativeOrderbookResponse) Unmarshal

func (m *QueryDerivativeOrderbookResponse) Unmarshal(dAtA []byte) error

func (*QueryDerivativeOrderbookResponse) XXX_DiscardUnknown

func (m *QueryDerivativeOrderbookResponse) XXX_DiscardUnknown()

func (*QueryDerivativeOrderbookResponse) XXX_Marshal

func (m *QueryDerivativeOrderbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeOrderbookResponse) XXX_Merge

func (*QueryDerivativeOrderbookResponse) XXX_Size

func (m *QueryDerivativeOrderbookResponse) XXX_Size() int

func (*QueryDerivativeOrderbookResponse) XXX_Unmarshal

func (m *QueryDerivativeOrderbookResponse) XXX_Unmarshal(b []byte) error

type QueryDerivativeOrdersByHashesRequest added in v1.42.3

type QueryDerivativeOrdersByHashesRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// SubaccountID of the trader
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// the order hashes
	OrderHashes []string `protobuf:"bytes,3,rep,name=order_hashes,json=orderHashes,proto3" json:"order_hashes,omitempty"`
}

QueryTraderDerivativeOrdersRequest is the request type for the Query/TraderDerivativeOrders RPC method.

func (*QueryDerivativeOrdersByHashesRequest) Descriptor added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) Descriptor() ([]byte, []int)

func (*QueryDerivativeOrdersByHashesRequest) GetMarketId added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) GetOrderHashes added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) GetOrderHashes() []string

func (*QueryDerivativeOrdersByHashesRequest) GetSubaccountId added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) GetSubaccountId() string

func (*QueryDerivativeOrdersByHashesRequest) Marshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeOrdersByHashesRequest) MarshalTo added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeOrdersByHashesRequest) MarshalToSizedBuffer added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeOrdersByHashesRequest) ProtoMessage added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) ProtoMessage()

func (*QueryDerivativeOrdersByHashesRequest) Reset added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) Size added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) String added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) Unmarshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) Unmarshal(dAtA []byte) error

func (*QueryDerivativeOrdersByHashesRequest) XXX_DiscardUnknown added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) XXX_DiscardUnknown()

func (*QueryDerivativeOrdersByHashesRequest) XXX_Marshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeOrdersByHashesRequest) XXX_Merge added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) XXX_Size added in v1.42.3

func (*QueryDerivativeOrdersByHashesRequest) XXX_Unmarshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesRequest) XXX_Unmarshal(b []byte) error

type QueryDerivativeOrdersByHashesResponse added in v1.42.3

type QueryDerivativeOrdersByHashesResponse struct {
	Orders []*TrimmedDerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QueryDerivativeOrdersByHashesResponse is the response type for the Query/DerivativeOrdersByHashes RPC method.

func (*QueryDerivativeOrdersByHashesResponse) Descriptor added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) Descriptor() ([]byte, []int)

func (*QueryDerivativeOrdersByHashesResponse) GetOrders added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) Marshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) Marshal() (dAtA []byte, err error)

func (*QueryDerivativeOrdersByHashesResponse) MarshalTo added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDerivativeOrdersByHashesResponse) MarshalToSizedBuffer added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDerivativeOrdersByHashesResponse) ProtoMessage added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) ProtoMessage()

func (*QueryDerivativeOrdersByHashesResponse) Reset added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) Size added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) String added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) Unmarshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) Unmarshal(dAtA []byte) error

func (*QueryDerivativeOrdersByHashesResponse) XXX_DiscardUnknown added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) XXX_DiscardUnknown()

func (*QueryDerivativeOrdersByHashesResponse) XXX_Marshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDerivativeOrdersByHashesResponse) XXX_Merge added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) XXX_Size added in v1.42.3

func (*QueryDerivativeOrdersByHashesResponse) XXX_Unmarshal added in v1.42.3

func (m *QueryDerivativeOrdersByHashesResponse) XXX_Unmarshal(b []byte) error

type QueryExchangeBalancesRequest

type QueryExchangeBalancesRequest struct {
}

QueryExchangeBalancesRequest is the request type for the Query/ExchangeBalances RPC method.

func (*QueryExchangeBalancesRequest) Descriptor

func (*QueryExchangeBalancesRequest) Descriptor() ([]byte, []int)

func (*QueryExchangeBalancesRequest) Marshal

func (m *QueryExchangeBalancesRequest) Marshal() (dAtA []byte, err error)

func (*QueryExchangeBalancesRequest) MarshalTo

func (m *QueryExchangeBalancesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryExchangeBalancesRequest) MarshalToSizedBuffer

func (m *QueryExchangeBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryExchangeBalancesRequest) ProtoMessage

func (*QueryExchangeBalancesRequest) ProtoMessage()

func (*QueryExchangeBalancesRequest) Reset

func (m *QueryExchangeBalancesRequest) Reset()

func (*QueryExchangeBalancesRequest) Size

func (m *QueryExchangeBalancesRequest) Size() (n int)

func (*QueryExchangeBalancesRequest) String

func (*QueryExchangeBalancesRequest) Unmarshal

func (m *QueryExchangeBalancesRequest) Unmarshal(dAtA []byte) error

func (*QueryExchangeBalancesRequest) XXX_DiscardUnknown

func (m *QueryExchangeBalancesRequest) XXX_DiscardUnknown()

func (*QueryExchangeBalancesRequest) XXX_Marshal

func (m *QueryExchangeBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExchangeBalancesRequest) XXX_Merge

func (m *QueryExchangeBalancesRequest) XXX_Merge(src proto.Message)

func (*QueryExchangeBalancesRequest) XXX_Size

func (m *QueryExchangeBalancesRequest) XXX_Size() int

func (*QueryExchangeBalancesRequest) XXX_Unmarshal

func (m *QueryExchangeBalancesRequest) XXX_Unmarshal(b []byte) error

type QueryExchangeBalancesResponse

type QueryExchangeBalancesResponse struct {
	Balances []Balance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances"`
}

QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method.

func (*QueryExchangeBalancesResponse) Descriptor

func (*QueryExchangeBalancesResponse) Descriptor() ([]byte, []int)

func (*QueryExchangeBalancesResponse) GetBalances

func (m *QueryExchangeBalancesResponse) GetBalances() []Balance

func (*QueryExchangeBalancesResponse) Marshal

func (m *QueryExchangeBalancesResponse) Marshal() (dAtA []byte, err error)

func (*QueryExchangeBalancesResponse) MarshalTo

func (m *QueryExchangeBalancesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryExchangeBalancesResponse) MarshalToSizedBuffer

func (m *QueryExchangeBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryExchangeBalancesResponse) ProtoMessage

func (*QueryExchangeBalancesResponse) ProtoMessage()

func (*QueryExchangeBalancesResponse) Reset

func (m *QueryExchangeBalancesResponse) Reset()

func (*QueryExchangeBalancesResponse) Size

func (m *QueryExchangeBalancesResponse) Size() (n int)

func (*QueryExchangeBalancesResponse) String

func (*QueryExchangeBalancesResponse) Unmarshal

func (m *QueryExchangeBalancesResponse) Unmarshal(dAtA []byte) error

func (*QueryExchangeBalancesResponse) XXX_DiscardUnknown

func (m *QueryExchangeBalancesResponse) XXX_DiscardUnknown()

func (*QueryExchangeBalancesResponse) XXX_Marshal

func (m *QueryExchangeBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExchangeBalancesResponse) XXX_Merge

func (m *QueryExchangeBalancesResponse) XXX_Merge(src proto.Message)

func (*QueryExchangeBalancesResponse) XXX_Size

func (m *QueryExchangeBalancesResponse) XXX_Size() int

func (*QueryExchangeBalancesResponse) XXX_Unmarshal

func (m *QueryExchangeBalancesResponse) XXX_Unmarshal(b []byte) error

type QueryExchangeParamsRequest

type QueryExchangeParamsRequest struct {
}

QueryExchangeParamsRequest is the request type for the Query/ExchangeParams RPC method.

func (*QueryExchangeParamsRequest) Descriptor

func (*QueryExchangeParamsRequest) Descriptor() ([]byte, []int)

func (*QueryExchangeParamsRequest) Marshal

func (m *QueryExchangeParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryExchangeParamsRequest) MarshalTo

func (m *QueryExchangeParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryExchangeParamsRequest) MarshalToSizedBuffer

func (m *QueryExchangeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryExchangeParamsRequest) ProtoMessage

func (*QueryExchangeParamsRequest) ProtoMessage()

func (*QueryExchangeParamsRequest) Reset

func (m *QueryExchangeParamsRequest) Reset()

func (*QueryExchangeParamsRequest) Size

func (m *QueryExchangeParamsRequest) Size() (n int)

func (*QueryExchangeParamsRequest) String

func (m *QueryExchangeParamsRequest) String() string

func (*QueryExchangeParamsRequest) Unmarshal

func (m *QueryExchangeParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryExchangeParamsRequest) XXX_DiscardUnknown

func (m *QueryExchangeParamsRequest) XXX_DiscardUnknown()

func (*QueryExchangeParamsRequest) XXX_Marshal

func (m *QueryExchangeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExchangeParamsRequest) XXX_Merge

func (m *QueryExchangeParamsRequest) XXX_Merge(src proto.Message)

func (*QueryExchangeParamsRequest) XXX_Size

func (m *QueryExchangeParamsRequest) XXX_Size() int

func (*QueryExchangeParamsRequest) XXX_Unmarshal

func (m *QueryExchangeParamsRequest) XXX_Unmarshal(b []byte) error

type QueryExchangeParamsResponse

type QueryExchangeParamsResponse struct {
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryExchangeParamsRequest is the response type for the Query/ExchangeParams RPC method.

func (*QueryExchangeParamsResponse) Descriptor

func (*QueryExchangeParamsResponse) Descriptor() ([]byte, []int)

func (*QueryExchangeParamsResponse) GetParams

func (m *QueryExchangeParamsResponse) GetParams() Params

func (*QueryExchangeParamsResponse) Marshal

func (m *QueryExchangeParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryExchangeParamsResponse) MarshalTo

func (m *QueryExchangeParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryExchangeParamsResponse) MarshalToSizedBuffer

func (m *QueryExchangeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryExchangeParamsResponse) ProtoMessage

func (*QueryExchangeParamsResponse) ProtoMessage()

func (*QueryExchangeParamsResponse) Reset

func (m *QueryExchangeParamsResponse) Reset()

func (*QueryExchangeParamsResponse) Size

func (m *QueryExchangeParamsResponse) Size() (n int)

func (*QueryExchangeParamsResponse) String

func (m *QueryExchangeParamsResponse) String() string

func (*QueryExchangeParamsResponse) Unmarshal

func (m *QueryExchangeParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryExchangeParamsResponse) XXX_DiscardUnknown

func (m *QueryExchangeParamsResponse) XXX_DiscardUnknown()

func (*QueryExchangeParamsResponse) XXX_Marshal

func (m *QueryExchangeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExchangeParamsResponse) XXX_Merge

func (m *QueryExchangeParamsResponse) XXX_Merge(src proto.Message)

func (*QueryExchangeParamsResponse) XXX_Size

func (m *QueryExchangeParamsResponse) XXX_Size() int

func (*QueryExchangeParamsResponse) XXX_Unmarshal

func (m *QueryExchangeParamsResponse) XXX_Unmarshal(b []byte) error

type QueryExpiryFuturesMarketInfoRequest added in v1.33.5

type QueryExpiryFuturesMarketInfoRequest struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryExpiryFuturesMarketInfoRequest is the request type for the Query/ ExpiryFuturesMarketInfo RPC method.

func (*QueryExpiryFuturesMarketInfoRequest) Descriptor added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) Descriptor() ([]byte, []int)

func (*QueryExpiryFuturesMarketInfoRequest) GetMarketId added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) Marshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryExpiryFuturesMarketInfoRequest) MarshalTo added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryExpiryFuturesMarketInfoRequest) MarshalToSizedBuffer added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryExpiryFuturesMarketInfoRequest) ProtoMessage added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) ProtoMessage()

func (*QueryExpiryFuturesMarketInfoRequest) Reset added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) Size added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) String added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) Unmarshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryExpiryFuturesMarketInfoRequest) XXX_DiscardUnknown added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) XXX_DiscardUnknown()

func (*QueryExpiryFuturesMarketInfoRequest) XXX_Marshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExpiryFuturesMarketInfoRequest) XXX_Merge added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) XXX_Size added in v1.33.5

func (*QueryExpiryFuturesMarketInfoRequest) XXX_Unmarshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Unmarshal(b []byte) error

type QueryExpiryFuturesMarketInfoResponse added in v1.33.5

type QueryExpiryFuturesMarketInfoResponse struct {
	Info ExpiryFuturesMarketInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}

QueryExpiryFuturesMarketInfoResponse is the response type for the Query/ ExpiryFuturesMarketInfo RPC method.

func (*QueryExpiryFuturesMarketInfoResponse) Descriptor added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) Descriptor() ([]byte, []int)

func (*QueryExpiryFuturesMarketInfoResponse) GetInfo added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) Marshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryExpiryFuturesMarketInfoResponse) MarshalTo added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryExpiryFuturesMarketInfoResponse) MarshalToSizedBuffer added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryExpiryFuturesMarketInfoResponse) ProtoMessage added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) ProtoMessage()

func (*QueryExpiryFuturesMarketInfoResponse) Reset added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) Size added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) String added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) Unmarshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryExpiryFuturesMarketInfoResponse) XXX_DiscardUnknown added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) XXX_DiscardUnknown()

func (*QueryExpiryFuturesMarketInfoResponse) XXX_Marshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryExpiryFuturesMarketInfoResponse) XXX_Merge added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) XXX_Size added in v1.33.5

func (*QueryExpiryFuturesMarketInfoResponse) XXX_Unmarshal added in v1.33.5

func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Unmarshal(b []byte) error

type QueryFeeDiscountAccountInfoRequest added in v1.27.0

type QueryFeeDiscountAccountInfoRequest struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

QueryFeeDiscountAccountInfoRequest is the request type for the Query/FeeDiscountAccountInfo RPC method.

func (*QueryFeeDiscountAccountInfoRequest) Descriptor added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) Descriptor() ([]byte, []int)

func (*QueryFeeDiscountAccountInfoRequest) GetAccount added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) Marshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryFeeDiscountAccountInfoRequest) MarshalTo added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeDiscountAccountInfoRequest) MarshalToSizedBuffer added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeDiscountAccountInfoRequest) ProtoMessage added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) ProtoMessage()

func (*QueryFeeDiscountAccountInfoRequest) Reset added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) Size added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) String added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) Unmarshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryFeeDiscountAccountInfoRequest) XXX_DiscardUnknown added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) XXX_DiscardUnknown()

func (*QueryFeeDiscountAccountInfoRequest) XXX_Marshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeDiscountAccountInfoRequest) XXX_Merge added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) XXX_Size added in v1.27.0

func (*QueryFeeDiscountAccountInfoRequest) XXX_Unmarshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoRequest) XXX_Unmarshal(b []byte) error

type QueryFeeDiscountAccountInfoResponse added in v1.27.0

type QueryFeeDiscountAccountInfoResponse struct {
	TierLevel   uint64               `protobuf:"varint,1,opt,name=tier_level,json=tierLevel,proto3" json:"tier_level,omitempty"`
	AccountInfo *FeeDiscountTierInfo `protobuf:"bytes,2,opt,name=account_info,json=accountInfo,proto3" json:"account_info,omitempty"`
	AccountTtl  *FeeDiscountTierTTL  `protobuf:"bytes,3,opt,name=account_ttl,json=accountTtl,proto3" json:"account_ttl,omitempty"`
}

QueryFeeDiscountAccountInfoResponse is the response type for the Query/FeeDiscountAccountInfo RPC method.

func (*QueryFeeDiscountAccountInfoResponse) Descriptor added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) Descriptor() ([]byte, []int)

func (*QueryFeeDiscountAccountInfoResponse) GetAccountInfo added in v1.27.2

func (*QueryFeeDiscountAccountInfoResponse) GetAccountTtl added in v1.28.3

func (*QueryFeeDiscountAccountInfoResponse) GetTierLevel added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) GetTierLevel() uint64

func (*QueryFeeDiscountAccountInfoResponse) Marshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryFeeDiscountAccountInfoResponse) MarshalTo added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeDiscountAccountInfoResponse) MarshalToSizedBuffer added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeDiscountAccountInfoResponse) ProtoMessage added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) ProtoMessage()

func (*QueryFeeDiscountAccountInfoResponse) Reset added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) Size added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) String added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) Unmarshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryFeeDiscountAccountInfoResponse) XXX_DiscardUnknown added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) XXX_DiscardUnknown()

func (*QueryFeeDiscountAccountInfoResponse) XXX_Marshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeDiscountAccountInfoResponse) XXX_Merge added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) XXX_Size added in v1.27.0

func (*QueryFeeDiscountAccountInfoResponse) XXX_Unmarshal added in v1.27.0

func (m *QueryFeeDiscountAccountInfoResponse) XXX_Unmarshal(b []byte) error

type QueryFeeDiscountScheduleRequest added in v1.27.0

type QueryFeeDiscountScheduleRequest struct {
}

QueryFeeDiscountScheduleRequest is the request type for the Query/FeeDiscountSchedule RPC method.

func (*QueryFeeDiscountScheduleRequest) Descriptor added in v1.27.0

func (*QueryFeeDiscountScheduleRequest) Descriptor() ([]byte, []int)

func (*QueryFeeDiscountScheduleRequest) Marshal added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) Marshal() (dAtA []byte, err error)

func (*QueryFeeDiscountScheduleRequest) MarshalTo added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeDiscountScheduleRequest) MarshalToSizedBuffer added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeDiscountScheduleRequest) ProtoMessage added in v1.27.0

func (*QueryFeeDiscountScheduleRequest) ProtoMessage()

func (*QueryFeeDiscountScheduleRequest) Reset added in v1.27.0

func (*QueryFeeDiscountScheduleRequest) Size added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) Size() (n int)

func (*QueryFeeDiscountScheduleRequest) String added in v1.27.0

func (*QueryFeeDiscountScheduleRequest) Unmarshal added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) Unmarshal(dAtA []byte) error

func (*QueryFeeDiscountScheduleRequest) XXX_DiscardUnknown added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) XXX_DiscardUnknown()

func (*QueryFeeDiscountScheduleRequest) XXX_Marshal added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeDiscountScheduleRequest) XXX_Merge added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) XXX_Merge(src proto.Message)

func (*QueryFeeDiscountScheduleRequest) XXX_Size added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) XXX_Size() int

func (*QueryFeeDiscountScheduleRequest) XXX_Unmarshal added in v1.27.0

func (m *QueryFeeDiscountScheduleRequest) XXX_Unmarshal(b []byte) error

type QueryFeeDiscountScheduleResponse added in v1.27.0

type QueryFeeDiscountScheduleResponse struct {
	FeeDiscountSchedule *FeeDiscountSchedule `protobuf:"bytes,1,opt,name=fee_discount_schedule,json=feeDiscountSchedule,proto3" json:"fee_discount_schedule,omitempty"`
}

QueryFeeDiscountScheduleResponse is the response type for the Query/FeeDiscountSchedule RPC method.

func (*QueryFeeDiscountScheduleResponse) Descriptor added in v1.27.0

func (*QueryFeeDiscountScheduleResponse) Descriptor() ([]byte, []int)

func (*QueryFeeDiscountScheduleResponse) GetFeeDiscountSchedule added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) GetFeeDiscountSchedule() *FeeDiscountSchedule

func (*QueryFeeDiscountScheduleResponse) Marshal added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) Marshal() (dAtA []byte, err error)

func (*QueryFeeDiscountScheduleResponse) MarshalTo added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeDiscountScheduleResponse) MarshalToSizedBuffer added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeDiscountScheduleResponse) ProtoMessage added in v1.27.0

func (*QueryFeeDiscountScheduleResponse) ProtoMessage()

func (*QueryFeeDiscountScheduleResponse) Reset added in v1.27.0

func (*QueryFeeDiscountScheduleResponse) Size added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) Size() (n int)

func (*QueryFeeDiscountScheduleResponse) String added in v1.27.0

func (*QueryFeeDiscountScheduleResponse) Unmarshal added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) Unmarshal(dAtA []byte) error

func (*QueryFeeDiscountScheduleResponse) XXX_DiscardUnknown added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) XXX_DiscardUnknown()

func (*QueryFeeDiscountScheduleResponse) XXX_Marshal added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeDiscountScheduleResponse) XXX_Merge added in v1.27.0

func (*QueryFeeDiscountScheduleResponse) XXX_Size added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) XXX_Size() int

func (*QueryFeeDiscountScheduleResponse) XXX_Unmarshal added in v1.27.0

func (m *QueryFeeDiscountScheduleResponse) XXX_Unmarshal(b []byte) error

type QueryFeeDiscountTierStatisticsRequest added in v1.32.1

type QueryFeeDiscountTierStatisticsRequest struct {
}

QueryFeeDiscountTierStatisticsRequest is the request type for the Query/QueryFeeDiscountTierStatistics RPC method.

func (*QueryFeeDiscountTierStatisticsRequest) Descriptor added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) Descriptor() ([]byte, []int)

func (*QueryFeeDiscountTierStatisticsRequest) Marshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) Marshal() (dAtA []byte, err error)

func (*QueryFeeDiscountTierStatisticsRequest) MarshalTo added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeDiscountTierStatisticsRequest) MarshalToSizedBuffer added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeDiscountTierStatisticsRequest) ProtoMessage added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) ProtoMessage()

func (*QueryFeeDiscountTierStatisticsRequest) Reset added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) Size added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) String added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) Unmarshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) Unmarshal(dAtA []byte) error

func (*QueryFeeDiscountTierStatisticsRequest) XXX_DiscardUnknown added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) XXX_DiscardUnknown()

func (*QueryFeeDiscountTierStatisticsRequest) XXX_Marshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeDiscountTierStatisticsRequest) XXX_Merge added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) XXX_Size added in v1.32.1

func (*QueryFeeDiscountTierStatisticsRequest) XXX_Unmarshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Unmarshal(b []byte) error

type QueryFeeDiscountTierStatisticsResponse added in v1.32.1

type QueryFeeDiscountTierStatisticsResponse struct {
	Statistics []*TierStatistic `protobuf:"bytes,1,rep,name=statistics,proto3" json:"statistics,omitempty"`
}

QueryFeeDiscountTierStatisticsResponse is the response type for the Query/QueryFeeDiscountTierStatistics RPC method.

func (*QueryFeeDiscountTierStatisticsResponse) Descriptor added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) Descriptor() ([]byte, []int)

func (*QueryFeeDiscountTierStatisticsResponse) GetStatistics added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) Marshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) Marshal() (dAtA []byte, err error)

func (*QueryFeeDiscountTierStatisticsResponse) MarshalTo added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFeeDiscountTierStatisticsResponse) MarshalToSizedBuffer added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFeeDiscountTierStatisticsResponse) ProtoMessage added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) Reset added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) Size added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) String added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) Unmarshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) Unmarshal(dAtA []byte) error

func (*QueryFeeDiscountTierStatisticsResponse) XXX_DiscardUnknown added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) XXX_DiscardUnknown()

func (*QueryFeeDiscountTierStatisticsResponse) XXX_Marshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFeeDiscountTierStatisticsResponse) XXX_Merge added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) XXX_Size added in v1.32.1

func (*QueryFeeDiscountTierStatisticsResponse) XXX_Unmarshal added in v1.32.1

func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Unmarshal(b []byte) error

type QueryFullSpotMarketRequest added in v1.47.1

type QueryFullSpotMarketRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Flag to return the markets mid price and top of the book buy and sell
	// orders.
	WithMidPriceAndTob bool `protobuf:"varint,2,opt,name=with_mid_price_and_tob,json=withMidPriceAndTob,proto3" json:"with_mid_price_and_tob,omitempty"`
}

QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC method.

func (*QueryFullSpotMarketRequest) Descriptor added in v1.47.1

func (*QueryFullSpotMarketRequest) Descriptor() ([]byte, []int)

func (*QueryFullSpotMarketRequest) GetMarketId added in v1.47.1

func (m *QueryFullSpotMarketRequest) GetMarketId() string

func (*QueryFullSpotMarketRequest) GetWithMidPriceAndTob added in v1.47.1

func (m *QueryFullSpotMarketRequest) GetWithMidPriceAndTob() bool

func (*QueryFullSpotMarketRequest) Marshal added in v1.47.1

func (m *QueryFullSpotMarketRequest) Marshal() (dAtA []byte, err error)

func (*QueryFullSpotMarketRequest) MarshalTo added in v1.47.1

func (m *QueryFullSpotMarketRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFullSpotMarketRequest) MarshalToSizedBuffer added in v1.47.1

func (m *QueryFullSpotMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFullSpotMarketRequest) ProtoMessage added in v1.47.1

func (*QueryFullSpotMarketRequest) ProtoMessage()

func (*QueryFullSpotMarketRequest) Reset added in v1.47.1

func (m *QueryFullSpotMarketRequest) Reset()

func (*QueryFullSpotMarketRequest) Size added in v1.47.1

func (m *QueryFullSpotMarketRequest) Size() (n int)

func (*QueryFullSpotMarketRequest) String added in v1.47.1

func (m *QueryFullSpotMarketRequest) String() string

func (*QueryFullSpotMarketRequest) Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketRequest) Unmarshal(dAtA []byte) error

func (*QueryFullSpotMarketRequest) XXX_DiscardUnknown added in v1.47.1

func (m *QueryFullSpotMarketRequest) XXX_DiscardUnknown()

func (*QueryFullSpotMarketRequest) XXX_Marshal added in v1.47.1

func (m *QueryFullSpotMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFullSpotMarketRequest) XXX_Merge added in v1.47.1

func (m *QueryFullSpotMarketRequest) XXX_Merge(src proto.Message)

func (*QueryFullSpotMarketRequest) XXX_Size added in v1.47.1

func (m *QueryFullSpotMarketRequest) XXX_Size() int

func (*QueryFullSpotMarketRequest) XXX_Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketRequest) XXX_Unmarshal(b []byte) error

type QueryFullSpotMarketResponse added in v1.47.1

type QueryFullSpotMarketResponse struct {
	Market *FullSpotMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
}

QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC method.

func (*QueryFullSpotMarketResponse) Descriptor added in v1.47.1

func (*QueryFullSpotMarketResponse) Descriptor() ([]byte, []int)

func (*QueryFullSpotMarketResponse) GetMarket added in v1.47.1

func (*QueryFullSpotMarketResponse) Marshal added in v1.47.1

func (m *QueryFullSpotMarketResponse) Marshal() (dAtA []byte, err error)

func (*QueryFullSpotMarketResponse) MarshalTo added in v1.47.1

func (m *QueryFullSpotMarketResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFullSpotMarketResponse) MarshalToSizedBuffer added in v1.47.1

func (m *QueryFullSpotMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFullSpotMarketResponse) ProtoMessage added in v1.47.1

func (*QueryFullSpotMarketResponse) ProtoMessage()

func (*QueryFullSpotMarketResponse) Reset added in v1.47.1

func (m *QueryFullSpotMarketResponse) Reset()

func (*QueryFullSpotMarketResponse) Size added in v1.47.1

func (m *QueryFullSpotMarketResponse) Size() (n int)

func (*QueryFullSpotMarketResponse) String added in v1.47.1

func (m *QueryFullSpotMarketResponse) String() string

func (*QueryFullSpotMarketResponse) Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketResponse) Unmarshal(dAtA []byte) error

func (*QueryFullSpotMarketResponse) XXX_DiscardUnknown added in v1.47.1

func (m *QueryFullSpotMarketResponse) XXX_DiscardUnknown()

func (*QueryFullSpotMarketResponse) XXX_Marshal added in v1.47.1

func (m *QueryFullSpotMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFullSpotMarketResponse) XXX_Merge added in v1.47.1

func (m *QueryFullSpotMarketResponse) XXX_Merge(src proto.Message)

func (*QueryFullSpotMarketResponse) XXX_Size added in v1.47.1

func (m *QueryFullSpotMarketResponse) XXX_Size() int

func (*QueryFullSpotMarketResponse) XXX_Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketResponse) XXX_Unmarshal(b []byte) error

type QueryFullSpotMarketsRequest added in v1.47.1

type QueryFullSpotMarketsRequest struct {
	// Status of the market, for convenience it is set to string - not enum
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Filter by market IDs
	MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
	// Flag to return the markets mid price and top of the book buy and sell
	// orders.
	WithMidPriceAndTob bool `protobuf:"varint,3,opt,name=with_mid_price_and_tob,json=withMidPriceAndTob,proto3" json:"with_mid_price_and_tob,omitempty"`
}

QueryFullSpotMarketsRequest is the request type for the Query/FullSpotMarkets RPC method.

func (*QueryFullSpotMarketsRequest) Descriptor added in v1.47.1

func (*QueryFullSpotMarketsRequest) Descriptor() ([]byte, []int)

func (*QueryFullSpotMarketsRequest) GetMarketIds added in v1.47.1

func (m *QueryFullSpotMarketsRequest) GetMarketIds() []string

func (*QueryFullSpotMarketsRequest) GetStatus added in v1.47.1

func (m *QueryFullSpotMarketsRequest) GetStatus() string

func (*QueryFullSpotMarketsRequest) GetWithMidPriceAndTob added in v1.47.1

func (m *QueryFullSpotMarketsRequest) GetWithMidPriceAndTob() bool

func (*QueryFullSpotMarketsRequest) Marshal added in v1.47.1

func (m *QueryFullSpotMarketsRequest) Marshal() (dAtA []byte, err error)

func (*QueryFullSpotMarketsRequest) MarshalTo added in v1.47.1

func (m *QueryFullSpotMarketsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryFullSpotMarketsRequest) MarshalToSizedBuffer added in v1.47.1

func (m *QueryFullSpotMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFullSpotMarketsRequest) ProtoMessage added in v1.47.1

func (*QueryFullSpotMarketsRequest) ProtoMessage()

func (*QueryFullSpotMarketsRequest) Reset added in v1.47.1

func (m *QueryFullSpotMarketsRequest) Reset()

func (*QueryFullSpotMarketsRequest) Size added in v1.47.1

func (m *QueryFullSpotMarketsRequest) Size() (n int)

func (*QueryFullSpotMarketsRequest) String added in v1.47.1

func (m *QueryFullSpotMarketsRequest) String() string

func (*QueryFullSpotMarketsRequest) Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketsRequest) Unmarshal(dAtA []byte) error

func (*QueryFullSpotMarketsRequest) XXX_DiscardUnknown added in v1.47.1

func (m *QueryFullSpotMarketsRequest) XXX_DiscardUnknown()

func (*QueryFullSpotMarketsRequest) XXX_Marshal added in v1.47.1

func (m *QueryFullSpotMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFullSpotMarketsRequest) XXX_Merge added in v1.47.1

func (m *QueryFullSpotMarketsRequest) XXX_Merge(src proto.Message)

func (*QueryFullSpotMarketsRequest) XXX_Size added in v1.47.1

func (m *QueryFullSpotMarketsRequest) XXX_Size() int

func (*QueryFullSpotMarketsRequest) XXX_Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketsRequest) XXX_Unmarshal(b []byte) error

type QueryFullSpotMarketsResponse added in v1.47.1

type QueryFullSpotMarketsResponse struct {
	Markets []*FullSpotMarket `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
}

QueryFullSpotMarketsResponse is the response type for the Query/FullSpotMarkets RPC method.

func (*QueryFullSpotMarketsResponse) Descriptor added in v1.47.1

func (*QueryFullSpotMarketsResponse) Descriptor() ([]byte, []int)

func (*QueryFullSpotMarketsResponse) GetMarkets added in v1.47.1

func (m *QueryFullSpotMarketsResponse) GetMarkets() []*FullSpotMarket

func (*QueryFullSpotMarketsResponse) Marshal added in v1.47.1

func (m *QueryFullSpotMarketsResponse) Marshal() (dAtA []byte, err error)

func (*QueryFullSpotMarketsResponse) MarshalTo added in v1.47.1

func (m *QueryFullSpotMarketsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryFullSpotMarketsResponse) MarshalToSizedBuffer added in v1.47.1

func (m *QueryFullSpotMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryFullSpotMarketsResponse) ProtoMessage added in v1.47.1

func (*QueryFullSpotMarketsResponse) ProtoMessage()

func (*QueryFullSpotMarketsResponse) Reset added in v1.47.1

func (m *QueryFullSpotMarketsResponse) Reset()

func (*QueryFullSpotMarketsResponse) Size added in v1.47.1

func (m *QueryFullSpotMarketsResponse) Size() (n int)

func (*QueryFullSpotMarketsResponse) String added in v1.47.1

func (*QueryFullSpotMarketsResponse) Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketsResponse) Unmarshal(dAtA []byte) error

func (*QueryFullSpotMarketsResponse) XXX_DiscardUnknown added in v1.47.1

func (m *QueryFullSpotMarketsResponse) XXX_DiscardUnknown()

func (*QueryFullSpotMarketsResponse) XXX_Marshal added in v1.47.1

func (m *QueryFullSpotMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryFullSpotMarketsResponse) XXX_Merge added in v1.47.1

func (m *QueryFullSpotMarketsResponse) XXX_Merge(src proto.Message)

func (*QueryFullSpotMarketsResponse) XXX_Size added in v1.47.1

func (m *QueryFullSpotMarketsResponse) XXX_Size() int

func (*QueryFullSpotMarketsResponse) XXX_Unmarshal added in v1.47.1

func (m *QueryFullSpotMarketsResponse) XXX_Unmarshal(b []byte) error

type QueryHistoricalTradeRecordsRequest added in v1.39.0

type QueryHistoricalTradeRecordsRequest struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

func (*QueryHistoricalTradeRecordsRequest) Descriptor added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) Descriptor() ([]byte, []int)

func (*QueryHistoricalTradeRecordsRequest) GetMarketId added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) GetMarketId() string

func (*QueryHistoricalTradeRecordsRequest) Marshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) Marshal() (dAtA []byte, err error)

func (*QueryHistoricalTradeRecordsRequest) MarshalTo added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryHistoricalTradeRecordsRequest) MarshalToSizedBuffer added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHistoricalTradeRecordsRequest) ProtoMessage added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) ProtoMessage()

func (*QueryHistoricalTradeRecordsRequest) Reset added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) Size added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) String added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) Unmarshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) Unmarshal(dAtA []byte) error

func (*QueryHistoricalTradeRecordsRequest) XXX_DiscardUnknown added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) XXX_DiscardUnknown()

func (*QueryHistoricalTradeRecordsRequest) XXX_Marshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHistoricalTradeRecordsRequest) XXX_Merge added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) XXX_Size added in v1.39.0

func (*QueryHistoricalTradeRecordsRequest) XXX_Unmarshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsRequest) XXX_Unmarshal(b []byte) error

type QueryHistoricalTradeRecordsResponse added in v1.39.0

type QueryHistoricalTradeRecordsResponse struct {
	TradeRecords []*TradeRecords `protobuf:"bytes,1,rep,name=trade_records,json=tradeRecords,proto3" json:"trade_records,omitempty"`
}

func (*QueryHistoricalTradeRecordsResponse) Descriptor added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) Descriptor() ([]byte, []int)

func (*QueryHistoricalTradeRecordsResponse) GetTradeRecords added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) GetTradeRecords() []*TradeRecords

func (*QueryHistoricalTradeRecordsResponse) Marshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) Marshal() (dAtA []byte, err error)

func (*QueryHistoricalTradeRecordsResponse) MarshalTo added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryHistoricalTradeRecordsResponse) MarshalToSizedBuffer added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHistoricalTradeRecordsResponse) ProtoMessage added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) ProtoMessage()

func (*QueryHistoricalTradeRecordsResponse) Reset added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) Size added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) String added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) Unmarshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) Unmarshal(dAtA []byte) error

func (*QueryHistoricalTradeRecordsResponse) XXX_DiscardUnknown added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) XXX_DiscardUnknown()

func (*QueryHistoricalTradeRecordsResponse) XXX_Marshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHistoricalTradeRecordsResponse) XXX_Merge added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) XXX_Size added in v1.39.0

func (*QueryHistoricalTradeRecordsResponse) XXX_Unmarshal added in v1.39.0

func (m *QueryHistoricalTradeRecordsResponse) XXX_Unmarshal(b []byte) error

type QueryIsOptedOutOfRewardsRequest added in v1.40.3

type QueryIsOptedOutOfRewardsRequest struct {
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

QueryIsRegisteredDMMRequest is the request type for the Query/IsRegisteredDMM RPC method.

func (*QueryIsOptedOutOfRewardsRequest) Descriptor added in v1.40.3

func (*QueryIsOptedOutOfRewardsRequest) Descriptor() ([]byte, []int)

func (*QueryIsOptedOutOfRewardsRequest) GetAccount added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) GetAccount() string

func (*QueryIsOptedOutOfRewardsRequest) Marshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) Marshal() (dAtA []byte, err error)

func (*QueryIsOptedOutOfRewardsRequest) MarshalTo added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryIsOptedOutOfRewardsRequest) MarshalToSizedBuffer added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryIsOptedOutOfRewardsRequest) ProtoMessage added in v1.40.3

func (*QueryIsOptedOutOfRewardsRequest) ProtoMessage()

func (*QueryIsOptedOutOfRewardsRequest) Reset added in v1.40.3

func (*QueryIsOptedOutOfRewardsRequest) Size added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) Size() (n int)

func (*QueryIsOptedOutOfRewardsRequest) String added in v1.40.3

func (*QueryIsOptedOutOfRewardsRequest) Unmarshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) Unmarshal(dAtA []byte) error

func (*QueryIsOptedOutOfRewardsRequest) XXX_DiscardUnknown added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) XXX_DiscardUnknown()

func (*QueryIsOptedOutOfRewardsRequest) XXX_Marshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryIsOptedOutOfRewardsRequest) XXX_Merge added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) XXX_Merge(src proto.Message)

func (*QueryIsOptedOutOfRewardsRequest) XXX_Size added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) XXX_Size() int

func (*QueryIsOptedOutOfRewardsRequest) XXX_Unmarshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsRequest) XXX_Unmarshal(b []byte) error

type QueryIsOptedOutOfRewardsResponse added in v1.40.3

type QueryIsOptedOutOfRewardsResponse struct {
	IsOptedOut bool `protobuf:"varint,1,opt,name=is_opted_out,json=isOptedOut,proto3" json:"is_opted_out,omitempty"`
}

QueryIsRegisteredDMMResponse is the response type for the Query/IsRegisteredDMM RPC method.

func (*QueryIsOptedOutOfRewardsResponse) Descriptor added in v1.40.3

func (*QueryIsOptedOutOfRewardsResponse) Descriptor() ([]byte, []int)

func (*QueryIsOptedOutOfRewardsResponse) GetIsOptedOut added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) GetIsOptedOut() bool

func (*QueryIsOptedOutOfRewardsResponse) Marshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) Marshal() (dAtA []byte, err error)

func (*QueryIsOptedOutOfRewardsResponse) MarshalTo added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryIsOptedOutOfRewardsResponse) MarshalToSizedBuffer added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryIsOptedOutOfRewardsResponse) ProtoMessage added in v1.40.3

func (*QueryIsOptedOutOfRewardsResponse) ProtoMessage()

func (*QueryIsOptedOutOfRewardsResponse) Reset added in v1.40.3

func (*QueryIsOptedOutOfRewardsResponse) Size added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) Size() (n int)

func (*QueryIsOptedOutOfRewardsResponse) String added in v1.40.3

func (*QueryIsOptedOutOfRewardsResponse) Unmarshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) Unmarshal(dAtA []byte) error

func (*QueryIsOptedOutOfRewardsResponse) XXX_DiscardUnknown added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) XXX_DiscardUnknown()

func (*QueryIsOptedOutOfRewardsResponse) XXX_Marshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryIsOptedOutOfRewardsResponse) XXX_Merge added in v1.40.3

func (*QueryIsOptedOutOfRewardsResponse) XXX_Size added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) XXX_Size() int

func (*QueryIsOptedOutOfRewardsResponse) XXX_Unmarshal added in v1.40.3

func (m *QueryIsOptedOutOfRewardsResponse) XXX_Unmarshal(b []byte) error

type QueryMarketAtomicExecutionFeeMultiplierRequest added in v1.42.6

type QueryMarketAtomicExecutionFeeMultiplierRequest struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) Descriptor added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) GetMarketId added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) Marshal added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierRequest) Marshal() (dAtA []byte, err error)

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) MarshalTo added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) MarshalToSizedBuffer added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) ProtoMessage added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) Reset added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) Size added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) String added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) Unmarshal added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_DiscardUnknown added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_DiscardUnknown()

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_Marshal added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_Merge added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_Size added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierRequest) XXX_Unmarshal added in v1.42.6

type QueryMarketAtomicExecutionFeeMultiplierResponse added in v1.42.6

type QueryMarketAtomicExecutionFeeMultiplierResponse struct {
	Multiplier github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=multiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"multiplier"`
}

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) Descriptor added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) Marshal added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierResponse) Marshal() (dAtA []byte, err error)

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) MarshalTo added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) MarshalToSizedBuffer added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) ProtoMessage added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) Reset added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) Size added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) String added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) Unmarshal added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_DiscardUnknown added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_DiscardUnknown()

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_Marshal added in v1.42.6

func (m *QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_Merge added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_Size added in v1.42.6

func (*QueryMarketAtomicExecutionFeeMultiplierResponse) XXX_Unmarshal added in v1.42.6

type QueryMarketIDFromVaultRequest added in v1.39.0

type QueryMarketIDFromVaultRequest struct {
	VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
}

QueryMarketIDFromVaultRequest is the request type for the Query/QueryMarketIDFromVault RPC method.

func (*QueryMarketIDFromVaultRequest) Descriptor added in v1.39.0

func (*QueryMarketIDFromVaultRequest) Descriptor() ([]byte, []int)

func (*QueryMarketIDFromVaultRequest) GetVaultAddress added in v1.47.4

func (m *QueryMarketIDFromVaultRequest) GetVaultAddress() string

func (*QueryMarketIDFromVaultRequest) Marshal added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) Marshal() (dAtA []byte, err error)

func (*QueryMarketIDFromVaultRequest) MarshalTo added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryMarketIDFromVaultRequest) MarshalToSizedBuffer added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarketIDFromVaultRequest) ProtoMessage added in v1.39.0

func (*QueryMarketIDFromVaultRequest) ProtoMessage()

func (*QueryMarketIDFromVaultRequest) Reset added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) Reset()

func (*QueryMarketIDFromVaultRequest) Size added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) Size() (n int)

func (*QueryMarketIDFromVaultRequest) String added in v1.39.0

func (*QueryMarketIDFromVaultRequest) Unmarshal added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) Unmarshal(dAtA []byte) error

func (*QueryMarketIDFromVaultRequest) XXX_DiscardUnknown added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) XXX_DiscardUnknown()

func (*QueryMarketIDFromVaultRequest) XXX_Marshal added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarketIDFromVaultRequest) XXX_Merge added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) XXX_Merge(src proto.Message)

func (*QueryMarketIDFromVaultRequest) XXX_Size added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) XXX_Size() int

func (*QueryMarketIDFromVaultRequest) XXX_Unmarshal added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) XXX_Unmarshal(b []byte) error

type QueryMarketIDFromVaultResponse added in v1.39.0

type QueryMarketIDFromVaultResponse struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryMarketIDFromVaultResponse is the response type for the Query/QueryMarketIDFromVault RPC method.

func (*QueryMarketIDFromVaultResponse) Descriptor added in v1.39.0

func (*QueryMarketIDFromVaultResponse) Descriptor() ([]byte, []int)

func (*QueryMarketIDFromVaultResponse) GetMarketId added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) GetMarketId() string

func (*QueryMarketIDFromVaultResponse) Marshal added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) Marshal() (dAtA []byte, err error)

func (*QueryMarketIDFromVaultResponse) MarshalTo added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryMarketIDFromVaultResponse) MarshalToSizedBuffer added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarketIDFromVaultResponse) ProtoMessage added in v1.39.0

func (*QueryMarketIDFromVaultResponse) ProtoMessage()

func (*QueryMarketIDFromVaultResponse) Reset added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) Reset()

func (*QueryMarketIDFromVaultResponse) Size added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) Size() (n int)

func (*QueryMarketIDFromVaultResponse) String added in v1.39.0

func (*QueryMarketIDFromVaultResponse) Unmarshal added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) Unmarshal(dAtA []byte) error

func (*QueryMarketIDFromVaultResponse) XXX_DiscardUnknown added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) XXX_DiscardUnknown()

func (*QueryMarketIDFromVaultResponse) XXX_Marshal added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarketIDFromVaultResponse) XXX_Merge added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) XXX_Merge(src proto.Message)

func (*QueryMarketIDFromVaultResponse) XXX_Size added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) XXX_Size() int

func (*QueryMarketIDFromVaultResponse) XXX_Unmarshal added in v1.39.0

func (m *QueryMarketIDFromVaultResponse) XXX_Unmarshal(b []byte) error

type QueryMarketVolatilityRequest added in v1.39.0

type QueryMarketVolatilityRequest struct {
	MarketId            string               `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	TradeHistoryOptions *TradeHistoryOptions `protobuf:"bytes,2,opt,name=trade_history_options,json=tradeHistoryOptions,proto3" json:"trade_history_options,omitempty"`
}

QueryMarketVolatilityRequest are the request params for the Query/MarketVolatility RPC method.

func (*QueryMarketVolatilityRequest) Descriptor added in v1.39.0

func (*QueryMarketVolatilityRequest) Descriptor() ([]byte, []int)

func (*QueryMarketVolatilityRequest) GetMarketId added in v1.39.0

func (m *QueryMarketVolatilityRequest) GetMarketId() string

func (*QueryMarketVolatilityRequest) GetTradeHistoryOptions added in v1.39.0

func (m *QueryMarketVolatilityRequest) GetTradeHistoryOptions() *TradeHistoryOptions

func (*QueryMarketVolatilityRequest) Marshal added in v1.39.0

func (m *QueryMarketVolatilityRequest) Marshal() (dAtA []byte, err error)

func (*QueryMarketVolatilityRequest) MarshalTo added in v1.39.0

func (m *QueryMarketVolatilityRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryMarketVolatilityRequest) MarshalToSizedBuffer added in v1.39.0

func (m *QueryMarketVolatilityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarketVolatilityRequest) ProtoMessage added in v1.39.0

func (*QueryMarketVolatilityRequest) ProtoMessage()

func (*QueryMarketVolatilityRequest) Reset added in v1.39.0

func (m *QueryMarketVolatilityRequest) Reset()

func (*QueryMarketVolatilityRequest) Size added in v1.39.0

func (m *QueryMarketVolatilityRequest) Size() (n int)

func (*QueryMarketVolatilityRequest) String added in v1.39.0

func (*QueryMarketVolatilityRequest) Unmarshal added in v1.39.0

func (m *QueryMarketVolatilityRequest) Unmarshal(dAtA []byte) error

func (*QueryMarketVolatilityRequest) XXX_DiscardUnknown added in v1.39.0

func (m *QueryMarketVolatilityRequest) XXX_DiscardUnknown()

func (*QueryMarketVolatilityRequest) XXX_Marshal added in v1.39.0

func (m *QueryMarketVolatilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarketVolatilityRequest) XXX_Merge added in v1.39.0

func (m *QueryMarketVolatilityRequest) XXX_Merge(src proto.Message)

func (*QueryMarketVolatilityRequest) XXX_Size added in v1.39.0

func (m *QueryMarketVolatilityRequest) XXX_Size() int

func (*QueryMarketVolatilityRequest) XXX_Unmarshal added in v1.39.0

func (m *QueryMarketVolatilityRequest) XXX_Unmarshal(b []byte) error

type QueryMarketVolatilityResponse added in v1.39.0

type QueryMarketVolatilityResponse struct {
	Volatility      *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=volatility,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"volatility,omitempty"`
	HistoryMetadata *types.MetadataStatistics               `protobuf:"bytes,2,opt,name=history_metadata,json=historyMetadata,proto3" json:"history_metadata,omitempty"`
	RawHistory      []*TradeRecord                          `protobuf:"bytes,3,rep,name=raw_history,json=rawHistory,proto3" json:"raw_history,omitempty"`
}

QueryMarketVolatilityResponse is the response type for the Query/MarketVolatility RPC method.

func (*QueryMarketVolatilityResponse) Descriptor added in v1.39.0

func (*QueryMarketVolatilityResponse) Descriptor() ([]byte, []int)

func (*QueryMarketVolatilityResponse) GetHistoryMetadata added in v1.39.0

func (m *QueryMarketVolatilityResponse) GetHistoryMetadata() *types.MetadataStatistics

func (*QueryMarketVolatilityResponse) GetRawHistory added in v1.39.0

func (m *QueryMarketVolatilityResponse) GetRawHistory() []*TradeRecord

func (*QueryMarketVolatilityResponse) Marshal added in v1.39.0

func (m *QueryMarketVolatilityResponse) Marshal() (dAtA []byte, err error)

func (*QueryMarketVolatilityResponse) MarshalTo added in v1.39.0

func (m *QueryMarketVolatilityResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryMarketVolatilityResponse) MarshalToSizedBuffer added in v1.39.0

func (m *QueryMarketVolatilityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarketVolatilityResponse) ProtoMessage added in v1.39.0

func (*QueryMarketVolatilityResponse) ProtoMessage()

func (*QueryMarketVolatilityResponse) Reset added in v1.39.0

func (m *QueryMarketVolatilityResponse) Reset()

func (*QueryMarketVolatilityResponse) Size added in v1.39.0

func (m *QueryMarketVolatilityResponse) Size() (n int)

func (*QueryMarketVolatilityResponse) String added in v1.39.0

func (*QueryMarketVolatilityResponse) Unmarshal added in v1.39.0

func (m *QueryMarketVolatilityResponse) Unmarshal(dAtA []byte) error

func (*QueryMarketVolatilityResponse) XXX_DiscardUnknown added in v1.39.0

func (m *QueryMarketVolatilityResponse) XXX_DiscardUnknown()

func (*QueryMarketVolatilityResponse) XXX_Marshal added in v1.39.0

func (m *QueryMarketVolatilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarketVolatilityResponse) XXX_Merge added in v1.39.0

func (m *QueryMarketVolatilityResponse) XXX_Merge(src proto.Message)

func (*QueryMarketVolatilityResponse) XXX_Size added in v1.39.0

func (m *QueryMarketVolatilityResponse) XXX_Size() int

func (*QueryMarketVolatilityResponse) XXX_Unmarshal added in v1.39.0

func (m *QueryMarketVolatilityResponse) XXX_Unmarshal(b []byte) error

type QueryModuleStateRequest

type QueryModuleStateRequest struct {
}

QueryModuleStateRequest is the request type for the Query/ExchangeModuleState RPC method.

func (*QueryModuleStateRequest) Descriptor

func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)

func (*QueryModuleStateRequest) Marshal

func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)

func (*QueryModuleStateRequest) MarshalTo

func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryModuleStateRequest) MarshalToSizedBuffer

func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryModuleStateRequest) ProtoMessage

func (*QueryModuleStateRequest) ProtoMessage()

func (*QueryModuleStateRequest) Reset

func (m *QueryModuleStateRequest) Reset()

func (*QueryModuleStateRequest) Size

func (m *QueryModuleStateRequest) Size() (n int)

func (*QueryModuleStateRequest) String

func (m *QueryModuleStateRequest) String() string

func (*QueryModuleStateRequest) Unmarshal

func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error

func (*QueryModuleStateRequest) XXX_DiscardUnknown

func (m *QueryModuleStateRequest) XXX_DiscardUnknown()

func (*QueryModuleStateRequest) XXX_Marshal

func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryModuleStateRequest) XXX_Merge

func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)

func (*QueryModuleStateRequest) XXX_Size

func (m *QueryModuleStateRequest) XXX_Size() int

func (*QueryModuleStateRequest) XXX_Unmarshal

func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error

type QueryModuleStateResponse

type QueryModuleStateResponse struct {
	State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}

QueryModuleStateResponse is the response type for the Query/ExchangeModuleState RPC method.

func (*QueryModuleStateResponse) Descriptor

func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)

func (*QueryModuleStateResponse) GetState

func (m *QueryModuleStateResponse) GetState() *GenesisState

func (*QueryModuleStateResponse) Marshal

func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)

func (*QueryModuleStateResponse) MarshalTo

func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryModuleStateResponse) MarshalToSizedBuffer

func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryModuleStateResponse) ProtoMessage

func (*QueryModuleStateResponse) ProtoMessage()

func (*QueryModuleStateResponse) Reset

func (m *QueryModuleStateResponse) Reset()

func (*QueryModuleStateResponse) Size

func (m *QueryModuleStateResponse) Size() (n int)

func (*QueryModuleStateResponse) String

func (m *QueryModuleStateResponse) String() string

func (*QueryModuleStateResponse) Unmarshal

func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error

func (*QueryModuleStateResponse) XXX_DiscardUnknown

func (m *QueryModuleStateResponse) XXX_DiscardUnknown()

func (*QueryModuleStateResponse) XXX_Marshal

func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryModuleStateResponse) XXX_Merge

func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)

func (*QueryModuleStateResponse) XXX_Size

func (m *QueryModuleStateResponse) XXX_Size() int

func (*QueryModuleStateResponse) XXX_Unmarshal

func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error

type QueryOptedOutOfRewardsAccountsRequest added in v1.40.3

type QueryOptedOutOfRewardsAccountsRequest struct {
}

QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs RPC method.

func (*QueryOptedOutOfRewardsAccountsRequest) Descriptor added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) Descriptor() ([]byte, []int)

func (*QueryOptedOutOfRewardsAccountsRequest) Marshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) Marshal() (dAtA []byte, err error)

func (*QueryOptedOutOfRewardsAccountsRequest) MarshalTo added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryOptedOutOfRewardsAccountsRequest) MarshalToSizedBuffer added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOptedOutOfRewardsAccountsRequest) ProtoMessage added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) ProtoMessage()

func (*QueryOptedOutOfRewardsAccountsRequest) Reset added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) Size added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) String added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) Unmarshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) Unmarshal(dAtA []byte) error

func (*QueryOptedOutOfRewardsAccountsRequest) XXX_DiscardUnknown added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) XXX_DiscardUnknown()

func (*QueryOptedOutOfRewardsAccountsRequest) XXX_Marshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOptedOutOfRewardsAccountsRequest) XXX_Merge added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) XXX_Size added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsRequest) XXX_Unmarshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsRequest) XXX_Unmarshal(b []byte) error

type QueryOptedOutOfRewardsAccountsResponse added in v1.40.3

type QueryOptedOutOfRewardsAccountsResponse struct {
	Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
}

QueryRegisteredDMMsResponse is the response type for the Query/RegisteredDMMs RPC method.

func (*QueryOptedOutOfRewardsAccountsResponse) Descriptor added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) Descriptor() ([]byte, []int)

func (*QueryOptedOutOfRewardsAccountsResponse) GetAccounts added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) Marshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) Marshal() (dAtA []byte, err error)

func (*QueryOptedOutOfRewardsAccountsResponse) MarshalTo added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryOptedOutOfRewardsAccountsResponse) MarshalToSizedBuffer added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryOptedOutOfRewardsAccountsResponse) ProtoMessage added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) Reset added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) Size added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) String added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) Unmarshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) Unmarshal(dAtA []byte) error

func (*QueryOptedOutOfRewardsAccountsResponse) XXX_DiscardUnknown added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) XXX_DiscardUnknown()

func (*QueryOptedOutOfRewardsAccountsResponse) XXX_Marshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryOptedOutOfRewardsAccountsResponse) XXX_Merge added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) XXX_Size added in v1.40.3

func (*QueryOptedOutOfRewardsAccountsResponse) XXX_Unmarshal added in v1.40.3

func (m *QueryOptedOutOfRewardsAccountsResponse) XXX_Unmarshal(b []byte) error

type QueryPerpetualMarketFundingRequest added in v1.33.5

type QueryPerpetualMarketFundingRequest struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryPerpetualMarketFundingRequest is the request type for the Query/PerpetualMarketFunding RPC method.

func (*QueryPerpetualMarketFundingRequest) Descriptor added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) Descriptor() ([]byte, []int)

func (*QueryPerpetualMarketFundingRequest) GetMarketId added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) GetMarketId() string

func (*QueryPerpetualMarketFundingRequest) Marshal added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) Marshal() (dAtA []byte, err error)

func (*QueryPerpetualMarketFundingRequest) MarshalTo added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPerpetualMarketFundingRequest) MarshalToSizedBuffer added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPerpetualMarketFundingRequest) ProtoMessage added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) ProtoMessage()

func (*QueryPerpetualMarketFundingRequest) Reset added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) Size added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) String added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) Unmarshal(dAtA []byte) error

func (*QueryPerpetualMarketFundingRequest) XXX_DiscardUnknown added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) XXX_DiscardUnknown()

func (*QueryPerpetualMarketFundingRequest) XXX_Marshal added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPerpetualMarketFundingRequest) XXX_Merge added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) XXX_Size added in v1.33.5

func (*QueryPerpetualMarketFundingRequest) XXX_Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketFundingRequest) XXX_Unmarshal(b []byte) error

type QueryPerpetualMarketFundingResponse added in v1.33.5

type QueryPerpetualMarketFundingResponse struct {
	State PerpetualMarketFunding `protobuf:"bytes,1,opt,name=state,proto3" json:"state"`
}

QueryPerpetualMarketFundingResponse is the response type for the Query/PerpetualMarketFunding RPC method.

func (*QueryPerpetualMarketFundingResponse) Descriptor added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) Descriptor() ([]byte, []int)

func (*QueryPerpetualMarketFundingResponse) GetState added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) Marshal added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) Marshal() (dAtA []byte, err error)

func (*QueryPerpetualMarketFundingResponse) MarshalTo added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPerpetualMarketFundingResponse) MarshalToSizedBuffer added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPerpetualMarketFundingResponse) ProtoMessage added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) ProtoMessage()

func (*QueryPerpetualMarketFundingResponse) Reset added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) Size added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) String added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) Unmarshal(dAtA []byte) error

func (*QueryPerpetualMarketFundingResponse) XXX_DiscardUnknown added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) XXX_DiscardUnknown()

func (*QueryPerpetualMarketFundingResponse) XXX_Marshal added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPerpetualMarketFundingResponse) XXX_Merge added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) XXX_Size added in v1.33.5

func (*QueryPerpetualMarketFundingResponse) XXX_Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketFundingResponse) XXX_Unmarshal(b []byte) error

type QueryPerpetualMarketInfoRequest added in v1.33.5

type QueryPerpetualMarketInfoRequest struct {
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryPerpetualMarketInfoRequest is the request type for the Query/PerpetualMarketInfo RPC method.

func (*QueryPerpetualMarketInfoRequest) Descriptor added in v1.33.5

func (*QueryPerpetualMarketInfoRequest) Descriptor() ([]byte, []int)

func (*QueryPerpetualMarketInfoRequest) GetMarketId added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) GetMarketId() string

func (*QueryPerpetualMarketInfoRequest) Marshal added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryPerpetualMarketInfoRequest) MarshalTo added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPerpetualMarketInfoRequest) MarshalToSizedBuffer added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPerpetualMarketInfoRequest) ProtoMessage added in v1.33.5

func (*QueryPerpetualMarketInfoRequest) ProtoMessage()

func (*QueryPerpetualMarketInfoRequest) Reset added in v1.33.5

func (*QueryPerpetualMarketInfoRequest) Size added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) Size() (n int)

func (*QueryPerpetualMarketInfoRequest) String added in v1.33.5

func (*QueryPerpetualMarketInfoRequest) Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryPerpetualMarketInfoRequest) XXX_DiscardUnknown added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) XXX_DiscardUnknown()

func (*QueryPerpetualMarketInfoRequest) XXX_Marshal added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPerpetualMarketInfoRequest) XXX_Merge added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) XXX_Merge(src proto.Message)

func (*QueryPerpetualMarketInfoRequest) XXX_Size added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) XXX_Size() int

func (*QueryPerpetualMarketInfoRequest) XXX_Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketInfoRequest) XXX_Unmarshal(b []byte) error

type QueryPerpetualMarketInfoResponse added in v1.33.5

type QueryPerpetualMarketInfoResponse struct {
	Info PerpetualMarketInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
}

QueryPerpetualMarketInfoResponse is the response type for the Query/PerpetualMarketInfo RPC method.

func (*QueryPerpetualMarketInfoResponse) Descriptor added in v1.33.5

func (*QueryPerpetualMarketInfoResponse) Descriptor() ([]byte, []int)

func (*QueryPerpetualMarketInfoResponse) GetInfo added in v1.33.5

func (*QueryPerpetualMarketInfoResponse) Marshal added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryPerpetualMarketInfoResponse) MarshalTo added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPerpetualMarketInfoResponse) MarshalToSizedBuffer added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPerpetualMarketInfoResponse) ProtoMessage added in v1.33.5

func (*QueryPerpetualMarketInfoResponse) ProtoMessage()

func (*QueryPerpetualMarketInfoResponse) Reset added in v1.33.5

func (*QueryPerpetualMarketInfoResponse) Size added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) Size() (n int)

func (*QueryPerpetualMarketInfoResponse) String added in v1.33.5

func (*QueryPerpetualMarketInfoResponse) Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryPerpetualMarketInfoResponse) XXX_DiscardUnknown added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) XXX_DiscardUnknown()

func (*QueryPerpetualMarketInfoResponse) XXX_Marshal added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPerpetualMarketInfoResponse) XXX_Merge added in v1.33.5

func (*QueryPerpetualMarketInfoResponse) XXX_Size added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) XXX_Size() int

func (*QueryPerpetualMarketInfoResponse) XXX_Unmarshal added in v1.33.5

func (m *QueryPerpetualMarketInfoResponse) XXX_Unmarshal(b []byte) error

type QueryPositionsRequest

type QueryPositionsRequest struct {
}

QueryPositionsRequest is the request type for the Query/Positions RPC method.

func (*QueryPositionsRequest) Descriptor

func (*QueryPositionsRequest) Descriptor() ([]byte, []int)

func (*QueryPositionsRequest) Marshal

func (m *QueryPositionsRequest) Marshal() (dAtA []byte, err error)

func (*QueryPositionsRequest) MarshalTo

func (m *QueryPositionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryPositionsRequest) MarshalToSizedBuffer

func (m *QueryPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPositionsRequest) ProtoMessage

func (*QueryPositionsRequest) ProtoMessage()

func (*QueryPositionsRequest) Reset

func (m *QueryPositionsRequest) Reset()

func (*QueryPositionsRequest) Size

func (m *QueryPositionsRequest) Size() (n int)

func (*QueryPositionsRequest) String

func (m *QueryPositionsRequest) String() string

func (*QueryPositionsRequest) Unmarshal

func (m *QueryPositionsRequest) Unmarshal(dAtA []byte) error

func (*QueryPositionsRequest) XXX_DiscardUnknown

func (m *QueryPositionsRequest) XXX_DiscardUnknown()

func (*QueryPositionsRequest) XXX_Marshal

func (m *QueryPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPositionsRequest) XXX_Merge

func (m *QueryPositionsRequest) XXX_Merge(src proto.Message)

func (*QueryPositionsRequest) XXX_Size

func (m *QueryPositionsRequest) XXX_Size() int

func (*QueryPositionsRequest) XXX_Unmarshal

func (m *QueryPositionsRequest) XXX_Unmarshal(b []byte) error

type QueryPositionsResponse

type QueryPositionsResponse struct {
	State []DerivativePosition `protobuf:"bytes,1,rep,name=state,proto3" json:"state"`
}

QueryPositionsResponse is the response type for the Query/Positions RPC method.

func (*QueryPositionsResponse) Descriptor

func (*QueryPositionsResponse) Descriptor() ([]byte, []int)

func (*QueryPositionsResponse) GetState

func (*QueryPositionsResponse) Marshal

func (m *QueryPositionsResponse) Marshal() (dAtA []byte, err error)

func (*QueryPositionsResponse) MarshalTo

func (m *QueryPositionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryPositionsResponse) MarshalToSizedBuffer

func (m *QueryPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryPositionsResponse) ProtoMessage

func (*QueryPositionsResponse) ProtoMessage()

func (*QueryPositionsResponse) Reset

func (m *QueryPositionsResponse) Reset()

func (*QueryPositionsResponse) Size

func (m *QueryPositionsResponse) Size() (n int)

func (*QueryPositionsResponse) String

func (m *QueryPositionsResponse) String() string

func (*QueryPositionsResponse) Unmarshal

func (m *QueryPositionsResponse) Unmarshal(dAtA []byte) error

func (*QueryPositionsResponse) XXX_DiscardUnknown

func (m *QueryPositionsResponse) XXX_DiscardUnknown()

func (*QueryPositionsResponse) XXX_Marshal

func (m *QueryPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryPositionsResponse) XXX_Merge

func (m *QueryPositionsResponse) XXX_Merge(src proto.Message)

func (*QueryPositionsResponse) XXX_Size

func (m *QueryPositionsResponse) XXX_Size() int

func (*QueryPositionsResponse) XXX_Unmarshal

func (m *QueryPositionsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Retrieves exchange params
	QueryExchangeParams(context.Context, *QueryExchangeParamsRequest) (*QueryExchangeParamsResponse, error)
	// Retrieves a Subaccount's Deposits
	SubaccountDeposits(context.Context, *QuerySubaccountDepositsRequest) (*QuerySubaccountDepositsResponse, error)
	// Retrieves a Subaccount's Deposits
	SubaccountDeposit(context.Context, *QuerySubaccountDepositRequest) (*QuerySubaccountDepositResponse, error)
	// Retrieves all of the balances of all users on the exchange.
	ExchangeBalances(context.Context, *QueryExchangeBalancesRequest) (*QueryExchangeBalancesResponse, error)
	// Retrieves the aggregate volumes for the specified account or subaccount
	AggregateVolume(context.Context, *QueryAggregateVolumeRequest) (*QueryAggregateVolumeResponse, error)
	// Retrieves the aggregate volumes for specified accounts
	AggregateVolumes(context.Context, *QueryAggregateVolumesRequest) (*QueryAggregateVolumesResponse, error)
	// Retrieves the aggregate volume for the specified market
	AggregateMarketVolume(context.Context, *QueryAggregateMarketVolumeRequest) (*QueryAggregateMarketVolumeResponse, error)
	// Retrieves the aggregate market volumes for specified markets
	AggregateMarketVolumes(context.Context, *QueryAggregateMarketVolumesRequest) (*QueryAggregateMarketVolumesResponse, error)
	// Retrieves the denom decimals for a denom.
	DenomDecimal(context.Context, *QueryDenomDecimalRequest) (*QueryDenomDecimalResponse, error)
	// Retrieves the denom decimals for multiple denoms. Returns all denom
	// decimals if unspecified.
	DenomDecimals(context.Context, *QueryDenomDecimalsRequest) (*QueryDenomDecimalsResponse, error)
	// Retrieves a list of spot markets.
	SpotMarkets(context.Context, *QuerySpotMarketsRequest) (*QuerySpotMarketsResponse, error)
	// Retrieves a spot market by ticker
	SpotMarket(context.Context, *QuerySpotMarketRequest) (*QuerySpotMarketResponse, error)
	// Retrieves a list of spot markets with extra information.
	FullSpotMarkets(context.Context, *QueryFullSpotMarketsRequest) (*QueryFullSpotMarketsResponse, error)
	// Retrieves a spot market with extra information.
	FullSpotMarket(context.Context, *QueryFullSpotMarketRequest) (*QueryFullSpotMarketResponse, error)
	// Retrieves a spot market's orderbook by marketID
	SpotOrderbook(context.Context, *QuerySpotOrderbookRequest) (*QuerySpotOrderbookResponse, error)
	// Retrieves a trader's spot orders
	TraderSpotOrders(context.Context, *QueryTraderSpotOrdersRequest) (*QueryTraderSpotOrdersResponse, error)
	// Retrieves all account address spot orders
	AccountAddressSpotOrders(context.Context, *QueryAccountAddressSpotOrdersRequest) (*QueryAccountAddressSpotOrdersResponse, error)
	// Retrieves spot orders corresponding to specified order hashes for a given
	// subaccountID and marketID
	SpotOrdersByHashes(context.Context, *QuerySpotOrdersByHashesRequest) (*QuerySpotOrdersByHashesResponse, error)
	// Retrieves subaccount's orders
	SubaccountOrders(context.Context, *QuerySubaccountOrdersRequest) (*QuerySubaccountOrdersResponse, error)
	// Retrieves a trader's transient spot orders
	TraderSpotTransientOrders(context.Context, *QueryTraderSpotOrdersRequest) (*QueryTraderSpotOrdersResponse, error)
	// Retrieves a spot market's mid-price
	SpotMidPriceAndTOB(context.Context, *QuerySpotMidPriceAndTOBRequest) (*QuerySpotMidPriceAndTOBResponse, error)
	// Retrieves a derivative market's mid-price
	DerivativeMidPriceAndTOB(context.Context, *QueryDerivativeMidPriceAndTOBRequest) (*QueryDerivativeMidPriceAndTOBResponse, error)
	// Retrieves a derivative market's orderbook by marketID
	DerivativeOrderbook(context.Context, *QueryDerivativeOrderbookRequest) (*QueryDerivativeOrderbookResponse, error)
	// Retrieves a trader's derivative orders
	TraderDerivativeOrders(context.Context, *QueryTraderDerivativeOrdersRequest) (*QueryTraderDerivativeOrdersResponse, error)
	// Retrieves all account address derivative orders
	AccountAddressDerivativeOrders(context.Context, *QueryAccountAddressDerivativeOrdersRequest) (*QueryAccountAddressDerivativeOrdersResponse, error)
	// Retrieves a trader's derivative orders
	DerivativeOrdersByHashes(context.Context, *QueryDerivativeOrdersByHashesRequest) (*QueryDerivativeOrdersByHashesResponse, error)
	// Retrieves a trader's transient derivative orders
	TraderDerivativeTransientOrders(context.Context, *QueryTraderDerivativeOrdersRequest) (*QueryTraderDerivativeOrdersResponse, error)
	// Retrieves a list of derivative markets.
	DerivativeMarkets(context.Context, *QueryDerivativeMarketsRequest) (*QueryDerivativeMarketsResponse, error)
	// Retrieves a derivative market by ticker
	DerivativeMarket(context.Context, *QueryDerivativeMarketRequest) (*QueryDerivativeMarketResponse, error)
	// Retrieves a derivative market's corresponding address for fees that
	// contribute to the market's insurance fund
	DerivativeMarketAddress(context.Context, *QueryDerivativeMarketAddressRequest) (*QueryDerivativeMarketAddressResponse, error)
	// Retrieves a subaccount's trade nonce
	SubaccountTradeNonce(context.Context, *QuerySubaccountTradeNonceRequest) (*QuerySubaccountTradeNonceResponse, error)
	// Retrieves the entire exchange module's state
	ExchangeModuleState(context.Context, *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
	// Retrieves the entire exchange module's positions
	Positions(context.Context, *QueryPositionsRequest) (*QueryPositionsResponse, error)
	// Retrieves subaccount's positions
	SubaccountPositions(context.Context, *QuerySubaccountPositionsRequest) (*QuerySubaccountPositionsResponse, error)
	// Retrieves subaccount's position in market
	SubaccountPositionInMarket(context.Context, *QuerySubaccountPositionInMarketRequest) (*QuerySubaccountPositionInMarketResponse, error)
	// Retrieves subaccount's position in market
	SubaccountEffectivePositionInMarket(context.Context, *QuerySubaccountEffectivePositionInMarketRequest) (*QuerySubaccountEffectivePositionInMarketResponse, error)
	// Retrieves perpetual market info
	PerpetualMarketInfo(context.Context, *QueryPerpetualMarketInfoRequest) (*QueryPerpetualMarketInfoResponse, error)
	// Retrieves expiry market info
	ExpiryFuturesMarketInfo(context.Context, *QueryExpiryFuturesMarketInfoRequest) (*QueryExpiryFuturesMarketInfoResponse, error)
	// Retrieves perpetual market funding
	PerpetualMarketFunding(context.Context, *QueryPerpetualMarketFundingRequest) (*QueryPerpetualMarketFundingResponse, error)
	// Retrieves subaccount's order metadata
	SubaccountOrderMetadata(context.Context, *QuerySubaccountOrderMetadataRequest) (*QuerySubaccountOrderMetadataResponse, error)
	// Retrieves the account and total trade rewards points
	TradeRewardPoints(context.Context, *QueryTradeRewardPointsRequest) (*QueryTradeRewardPointsResponse, error)
	// Retrieves the pending account and total trade rewards points
	PendingTradeRewardPoints(context.Context, *QueryTradeRewardPointsRequest) (*QueryTradeRewardPointsResponse, error)
	// Retrieves the trade reward campaign
	TradeRewardCampaign(context.Context, *QueryTradeRewardCampaignRequest) (*QueryTradeRewardCampaignResponse, error)
	// Retrieves the account's fee discount info
	FeeDiscountAccountInfo(context.Context, *QueryFeeDiscountAccountInfoRequest) (*QueryFeeDiscountAccountInfoResponse, error)
	// Retrieves the fee discount schedule
	FeeDiscountSchedule(context.Context, *QueryFeeDiscountScheduleRequest) (*QueryFeeDiscountScheduleResponse, error)
	// Retrieves mismatches between available vs. total balance
	BalanceMismatches(context.Context, *QueryBalanceMismatchesRequest) (*QueryBalanceMismatchesResponse, error)
	// Retrieves available and total balances with balance holds
	BalanceWithBalanceHolds(context.Context, *QueryBalanceWithBalanceHoldsRequest) (*QueryBalanceWithBalanceHoldsResponse, error)
	// Retrieves fee discount tier stats
	FeeDiscountTierStatistics(context.Context, *QueryFeeDiscountTierStatisticsRequest) (*QueryFeeDiscountTierStatisticsResponse, error)
	// Retrieves market making pool info
	MitoVaultInfos(context.Context, *MitoVaultInfosRequest) (*MitoVaultInfosResponse, error)
	// QueryMarketIDFromVault returns the market ID for a given vault subaccount ID
	QueryMarketIDFromVault(context.Context, *QueryMarketIDFromVaultRequest) (*QueryMarketIDFromVaultResponse, error)
	// Retrieves historical trade records for a given market ID
	HistoricalTradeRecords(context.Context, *QueryHistoricalTradeRecordsRequest) (*QueryHistoricalTradeRecordsResponse, error)
	// Retrieves if the account is opted out of rewards
	IsOptedOutOfRewards(context.Context, *QueryIsOptedOutOfRewardsRequest) (*QueryIsOptedOutOfRewardsResponse, error)
	// Retrieves all accounts opted out of rewards
	OptedOutOfRewardsAccounts(context.Context, *QueryOptedOutOfRewardsAccountsRequest) (*QueryOptedOutOfRewardsAccountsResponse, error)
	// MarketVolatility computes the volatility for spot and derivative markets
	// trading history.
	MarketVolatility(context.Context, *QueryMarketVolatilityRequest) (*QueryMarketVolatilityResponse, error)
	// Retrieves a spot market's orderbook by marketID
	BinaryOptionsMarkets(context.Context, *QueryBinaryMarketsRequest) (*QueryBinaryMarketsResponse, error)
	// Retrieves a trader's derivative conditional orders
	TraderDerivativeConditionalOrders(context.Context, *QueryTraderDerivativeConditionalOrdersRequest) (*QueryTraderDerivativeConditionalOrdersResponse, error)
	MarketAtomicExecutionFeeMultiplier(context.Context, *QueryMarketAtomicExecutionFeeMultiplierRequest) (*QueryMarketAtomicExecutionFeeMultiplierResponse, error)
}

QueryServer is the server API for Query service.

type QuerySpotMarketRequest

type QuerySpotMarketRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QuerySpotMarketRequest is the request type for the Query/SpotMarket RPC method.

func (*QuerySpotMarketRequest) Descriptor

func (*QuerySpotMarketRequest) Descriptor() ([]byte, []int)

func (*QuerySpotMarketRequest) GetMarketId

func (m *QuerySpotMarketRequest) GetMarketId() string

func (*QuerySpotMarketRequest) Marshal

func (m *QuerySpotMarketRequest) Marshal() (dAtA []byte, err error)

func (*QuerySpotMarketRequest) MarshalTo

func (m *QuerySpotMarketRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotMarketRequest) MarshalToSizedBuffer

func (m *QuerySpotMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotMarketRequest) ProtoMessage

func (*QuerySpotMarketRequest) ProtoMessage()

func (*QuerySpotMarketRequest) Reset

func (m *QuerySpotMarketRequest) Reset()

func (*QuerySpotMarketRequest) Size

func (m *QuerySpotMarketRequest) Size() (n int)

func (*QuerySpotMarketRequest) String

func (m *QuerySpotMarketRequest) String() string

func (*QuerySpotMarketRequest) Unmarshal

func (m *QuerySpotMarketRequest) Unmarshal(dAtA []byte) error

func (*QuerySpotMarketRequest) XXX_DiscardUnknown

func (m *QuerySpotMarketRequest) XXX_DiscardUnknown()

func (*QuerySpotMarketRequest) XXX_Marshal

func (m *QuerySpotMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotMarketRequest) XXX_Merge

func (m *QuerySpotMarketRequest) XXX_Merge(src proto.Message)

func (*QuerySpotMarketRequest) XXX_Size

func (m *QuerySpotMarketRequest) XXX_Size() int

func (*QuerySpotMarketRequest) XXX_Unmarshal

func (m *QuerySpotMarketRequest) XXX_Unmarshal(b []byte) error

type QuerySpotMarketResponse

type QuerySpotMarketResponse struct {
	Market *SpotMarket `protobuf:"bytes,1,opt,name=market,proto3" json:"market,omitempty"`
}

QuerySpotMarketResponse is the response type for the Query/SpotMarket RPC method.

func (*QuerySpotMarketResponse) Descriptor

func (*QuerySpotMarketResponse) Descriptor() ([]byte, []int)

func (*QuerySpotMarketResponse) GetMarket

func (m *QuerySpotMarketResponse) GetMarket() *SpotMarket

func (*QuerySpotMarketResponse) Marshal

func (m *QuerySpotMarketResponse) Marshal() (dAtA []byte, err error)

func (*QuerySpotMarketResponse) MarshalTo

func (m *QuerySpotMarketResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotMarketResponse) MarshalToSizedBuffer

func (m *QuerySpotMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotMarketResponse) ProtoMessage

func (*QuerySpotMarketResponse) ProtoMessage()

func (*QuerySpotMarketResponse) Reset

func (m *QuerySpotMarketResponse) Reset()

func (*QuerySpotMarketResponse) Size

func (m *QuerySpotMarketResponse) Size() (n int)

func (*QuerySpotMarketResponse) String

func (m *QuerySpotMarketResponse) String() string

func (*QuerySpotMarketResponse) Unmarshal

func (m *QuerySpotMarketResponse) Unmarshal(dAtA []byte) error

func (*QuerySpotMarketResponse) XXX_DiscardUnknown

func (m *QuerySpotMarketResponse) XXX_DiscardUnknown()

func (*QuerySpotMarketResponse) XXX_Marshal

func (m *QuerySpotMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotMarketResponse) XXX_Merge

func (m *QuerySpotMarketResponse) XXX_Merge(src proto.Message)

func (*QuerySpotMarketResponse) XXX_Size

func (m *QuerySpotMarketResponse) XXX_Size() int

func (*QuerySpotMarketResponse) XXX_Unmarshal

func (m *QuerySpotMarketResponse) XXX_Unmarshal(b []byte) error

type QuerySpotMarketsRequest

type QuerySpotMarketsRequest struct {
	// Status of the market, for convenience it is set to string - not enum
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	// Filter by market IDs
	MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}

QuerySpotMarketsRequest is the request type for the Query/SpotMarkets RPC method.

func (*QuerySpotMarketsRequest) Descriptor

func (*QuerySpotMarketsRequest) Descriptor() ([]byte, []int)

func (*QuerySpotMarketsRequest) GetMarketIds added in v1.47.1

func (m *QuerySpotMarketsRequest) GetMarketIds() []string

func (*QuerySpotMarketsRequest) GetStatus

func (m *QuerySpotMarketsRequest) GetStatus() string

func (*QuerySpotMarketsRequest) Marshal

func (m *QuerySpotMarketsRequest) Marshal() (dAtA []byte, err error)

func (*QuerySpotMarketsRequest) MarshalTo

func (m *QuerySpotMarketsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotMarketsRequest) MarshalToSizedBuffer

func (m *QuerySpotMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotMarketsRequest) ProtoMessage

func (*QuerySpotMarketsRequest) ProtoMessage()

func (*QuerySpotMarketsRequest) Reset

func (m *QuerySpotMarketsRequest) Reset()

func (*QuerySpotMarketsRequest) Size

func (m *QuerySpotMarketsRequest) Size() (n int)

func (*QuerySpotMarketsRequest) String

func (m *QuerySpotMarketsRequest) String() string

func (*QuerySpotMarketsRequest) Unmarshal

func (m *QuerySpotMarketsRequest) Unmarshal(dAtA []byte) error

func (*QuerySpotMarketsRequest) XXX_DiscardUnknown

func (m *QuerySpotMarketsRequest) XXX_DiscardUnknown()

func (*QuerySpotMarketsRequest) XXX_Marshal

func (m *QuerySpotMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotMarketsRequest) XXX_Merge

func (m *QuerySpotMarketsRequest) XXX_Merge(src proto.Message)

func (*QuerySpotMarketsRequest) XXX_Size

func (m *QuerySpotMarketsRequest) XXX_Size() int

func (*QuerySpotMarketsRequest) XXX_Unmarshal

func (m *QuerySpotMarketsRequest) XXX_Unmarshal(b []byte) error

type QuerySpotMarketsResponse

type QuerySpotMarketsResponse struct {
	Markets []*SpotMarket `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
}

QuerySpotMarketsResponse is the response type for the Query/SpotMarkets RPC method.

func (*QuerySpotMarketsResponse) Descriptor

func (*QuerySpotMarketsResponse) Descriptor() ([]byte, []int)

func (*QuerySpotMarketsResponse) GetMarkets

func (m *QuerySpotMarketsResponse) GetMarkets() []*SpotMarket

func (*QuerySpotMarketsResponse) Marshal

func (m *QuerySpotMarketsResponse) Marshal() (dAtA []byte, err error)

func (*QuerySpotMarketsResponse) MarshalTo

func (m *QuerySpotMarketsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotMarketsResponse) MarshalToSizedBuffer

func (m *QuerySpotMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotMarketsResponse) ProtoMessage

func (*QuerySpotMarketsResponse) ProtoMessage()

func (*QuerySpotMarketsResponse) Reset

func (m *QuerySpotMarketsResponse) Reset()

func (*QuerySpotMarketsResponse) Size

func (m *QuerySpotMarketsResponse) Size() (n int)

func (*QuerySpotMarketsResponse) String

func (m *QuerySpotMarketsResponse) String() string

func (*QuerySpotMarketsResponse) Unmarshal

func (m *QuerySpotMarketsResponse) Unmarshal(dAtA []byte) error

func (*QuerySpotMarketsResponse) XXX_DiscardUnknown

func (m *QuerySpotMarketsResponse) XXX_DiscardUnknown()

func (*QuerySpotMarketsResponse) XXX_Marshal

func (m *QuerySpotMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotMarketsResponse) XXX_Merge

func (m *QuerySpotMarketsResponse) XXX_Merge(src proto.Message)

func (*QuerySpotMarketsResponse) XXX_Size

func (m *QuerySpotMarketsResponse) XXX_Size() int

func (*QuerySpotMarketsResponse) XXX_Unmarshal

func (m *QuerySpotMarketsResponse) XXX_Unmarshal(b []byte) error

type QuerySpotMidPriceAndTOBRequest added in v1.39.5

type QuerySpotMidPriceAndTOBRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QuerySpotMidPriceAndTOBRequest is the request type for the Query/SpotMidPriceAndTOB RPC method.

func (*QuerySpotMidPriceAndTOBRequest) Descriptor added in v1.39.5

func (*QuerySpotMidPriceAndTOBRequest) Descriptor() ([]byte, []int)

func (*QuerySpotMidPriceAndTOBRequest) GetMarketId added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) GetMarketId() string

func (*QuerySpotMidPriceAndTOBRequest) Marshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) Marshal() (dAtA []byte, err error)

func (*QuerySpotMidPriceAndTOBRequest) MarshalTo added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotMidPriceAndTOBRequest) MarshalToSizedBuffer added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotMidPriceAndTOBRequest) ProtoMessage added in v1.39.5

func (*QuerySpotMidPriceAndTOBRequest) ProtoMessage()

func (*QuerySpotMidPriceAndTOBRequest) Reset added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) Reset()

func (*QuerySpotMidPriceAndTOBRequest) Size added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) Size() (n int)

func (*QuerySpotMidPriceAndTOBRequest) String added in v1.39.5

func (*QuerySpotMidPriceAndTOBRequest) Unmarshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) Unmarshal(dAtA []byte) error

func (*QuerySpotMidPriceAndTOBRequest) XXX_DiscardUnknown added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) XXX_DiscardUnknown()

func (*QuerySpotMidPriceAndTOBRequest) XXX_Marshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotMidPriceAndTOBRequest) XXX_Merge added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) XXX_Merge(src proto.Message)

func (*QuerySpotMidPriceAndTOBRequest) XXX_Size added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) XXX_Size() int

func (*QuerySpotMidPriceAndTOBRequest) XXX_Unmarshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBRequest) XXX_Unmarshal(b []byte) error

type QuerySpotMidPriceAndTOBResponse added in v1.39.5

type QuerySpotMidPriceAndTOBResponse struct {
	// mid price of the market
	MidPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 135-byte string literal not displayed */
	// best buy price of the market
	BestBuyPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// best sell price of the market
	BestSellPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 152-byte string literal not displayed */
}

QuerySpotMidPriceAndTOBResponse is the response type for the Query/SpotMidPriceAndTOB RPC method.

func (*QuerySpotMidPriceAndTOBResponse) Descriptor added in v1.39.5

func (*QuerySpotMidPriceAndTOBResponse) Descriptor() ([]byte, []int)

func (*QuerySpotMidPriceAndTOBResponse) Marshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) Marshal() (dAtA []byte, err error)

func (*QuerySpotMidPriceAndTOBResponse) MarshalTo added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotMidPriceAndTOBResponse) MarshalToSizedBuffer added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotMidPriceAndTOBResponse) ProtoMessage added in v1.39.5

func (*QuerySpotMidPriceAndTOBResponse) ProtoMessage()

func (*QuerySpotMidPriceAndTOBResponse) Reset added in v1.39.5

func (*QuerySpotMidPriceAndTOBResponse) Size added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) Size() (n int)

func (*QuerySpotMidPriceAndTOBResponse) String added in v1.39.5

func (*QuerySpotMidPriceAndTOBResponse) Unmarshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) Unmarshal(dAtA []byte) error

func (*QuerySpotMidPriceAndTOBResponse) XXX_DiscardUnknown added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) XXX_DiscardUnknown()

func (*QuerySpotMidPriceAndTOBResponse) XXX_Marshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotMidPriceAndTOBResponse) XXX_Merge added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) XXX_Merge(src proto.Message)

func (*QuerySpotMidPriceAndTOBResponse) XXX_Size added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) XXX_Size() int

func (*QuerySpotMidPriceAndTOBResponse) XXX_Unmarshal added in v1.39.5

func (m *QuerySpotMidPriceAndTOBResponse) XXX_Unmarshal(b []byte) error

type QuerySpotOrderbookRequest

type QuerySpotOrderbookRequest struct {
	// Market ID for the market
	MarketId                string                                  `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	Limit                   uint64                                  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	OrderSide               OrderSide                               `` /* 131-byte string literal not displayed */
	LimitCumulativeNotional *github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */
	LimitCumulativeQuantity *github_com_cosmos_cosmos_sdk_types.Dec `` /* 182-byte string literal not displayed */
}

QuerySpotOrderbookRequest is the request type for the Query/SpotOrderbook RPC method.

func (*QuerySpotOrderbookRequest) Descriptor

func (*QuerySpotOrderbookRequest) Descriptor() ([]byte, []int)

func (*QuerySpotOrderbookRequest) GetLimit

func (m *QuerySpotOrderbookRequest) GetLimit() uint64

func (*QuerySpotOrderbookRequest) GetMarketId

func (m *QuerySpotOrderbookRequest) GetMarketId() string

func (*QuerySpotOrderbookRequest) GetOrderSide added in v1.47.4

func (m *QuerySpotOrderbookRequest) GetOrderSide() OrderSide

func (*QuerySpotOrderbookRequest) Marshal

func (m *QuerySpotOrderbookRequest) Marshal() (dAtA []byte, err error)

func (*QuerySpotOrderbookRequest) MarshalTo

func (m *QuerySpotOrderbookRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotOrderbookRequest) MarshalToSizedBuffer

func (m *QuerySpotOrderbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotOrderbookRequest) ProtoMessage

func (*QuerySpotOrderbookRequest) ProtoMessage()

func (*QuerySpotOrderbookRequest) Reset

func (m *QuerySpotOrderbookRequest) Reset()

func (*QuerySpotOrderbookRequest) Size

func (m *QuerySpotOrderbookRequest) Size() (n int)

func (*QuerySpotOrderbookRequest) String

func (m *QuerySpotOrderbookRequest) String() string

func (*QuerySpotOrderbookRequest) Unmarshal

func (m *QuerySpotOrderbookRequest) Unmarshal(dAtA []byte) error

func (*QuerySpotOrderbookRequest) XXX_DiscardUnknown

func (m *QuerySpotOrderbookRequest) XXX_DiscardUnknown()

func (*QuerySpotOrderbookRequest) XXX_Marshal

func (m *QuerySpotOrderbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotOrderbookRequest) XXX_Merge

func (m *QuerySpotOrderbookRequest) XXX_Merge(src proto.Message)

func (*QuerySpotOrderbookRequest) XXX_Size

func (m *QuerySpotOrderbookRequest) XXX_Size() int

func (*QuerySpotOrderbookRequest) XXX_Unmarshal

func (m *QuerySpotOrderbookRequest) XXX_Unmarshal(b []byte) error

type QuerySpotOrderbookResponse

type QuerySpotOrderbookResponse struct {
	BuysPriceLevel  []*Level `protobuf:"bytes,1,rep,name=buys_price_level,json=buysPriceLevel,proto3" json:"buys_price_level,omitempty"`
	SellsPriceLevel []*Level `protobuf:"bytes,2,rep,name=sells_price_level,json=sellsPriceLevel,proto3" json:"sells_price_level,omitempty"`
}

QuerySpotOrderbookResponse is the response type for the Query/SpotOrderbook RPC method.

func (*QuerySpotOrderbookResponse) Descriptor

func (*QuerySpotOrderbookResponse) Descriptor() ([]byte, []int)

func (*QuerySpotOrderbookResponse) GetBuysPriceLevel

func (m *QuerySpotOrderbookResponse) GetBuysPriceLevel() []*Level

func (*QuerySpotOrderbookResponse) GetSellsPriceLevel

func (m *QuerySpotOrderbookResponse) GetSellsPriceLevel() []*Level

func (*QuerySpotOrderbookResponse) Marshal

func (m *QuerySpotOrderbookResponse) Marshal() (dAtA []byte, err error)

func (*QuerySpotOrderbookResponse) MarshalTo

func (m *QuerySpotOrderbookResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotOrderbookResponse) MarshalToSizedBuffer

func (m *QuerySpotOrderbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotOrderbookResponse) ProtoMessage

func (*QuerySpotOrderbookResponse) ProtoMessage()

func (*QuerySpotOrderbookResponse) Reset

func (m *QuerySpotOrderbookResponse) Reset()

func (*QuerySpotOrderbookResponse) Size

func (m *QuerySpotOrderbookResponse) Size() (n int)

func (*QuerySpotOrderbookResponse) String

func (m *QuerySpotOrderbookResponse) String() string

func (*QuerySpotOrderbookResponse) Unmarshal

func (m *QuerySpotOrderbookResponse) Unmarshal(dAtA []byte) error

func (*QuerySpotOrderbookResponse) XXX_DiscardUnknown

func (m *QuerySpotOrderbookResponse) XXX_DiscardUnknown()

func (*QuerySpotOrderbookResponse) XXX_Marshal

func (m *QuerySpotOrderbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotOrderbookResponse) XXX_Merge

func (m *QuerySpotOrderbookResponse) XXX_Merge(src proto.Message)

func (*QuerySpotOrderbookResponse) XXX_Size

func (m *QuerySpotOrderbookResponse) XXX_Size() int

func (*QuerySpotOrderbookResponse) XXX_Unmarshal

func (m *QuerySpotOrderbookResponse) XXX_Unmarshal(b []byte) error

type QuerySpotOrdersByHashesRequest added in v1.42.3

type QuerySpotOrdersByHashesRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// SubaccountID of the trader
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// the order hashes
	OrderHashes []string `protobuf:"bytes,3,rep,name=order_hashes,json=orderHashes,proto3" json:"order_hashes,omitempty"`
}

QuerySpotOrdersByHashesRequest is the request type for the Query/SpotOrdersByHashes RPC method.

func (*QuerySpotOrdersByHashesRequest) Descriptor added in v1.42.3

func (*QuerySpotOrdersByHashesRequest) Descriptor() ([]byte, []int)

func (*QuerySpotOrdersByHashesRequest) GetMarketId added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) GetMarketId() string

func (*QuerySpotOrdersByHashesRequest) GetOrderHashes added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) GetOrderHashes() []string

func (*QuerySpotOrdersByHashesRequest) GetSubaccountId added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) GetSubaccountId() string

func (*QuerySpotOrdersByHashesRequest) Marshal added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) Marshal() (dAtA []byte, err error)

func (*QuerySpotOrdersByHashesRequest) MarshalTo added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotOrdersByHashesRequest) MarshalToSizedBuffer added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotOrdersByHashesRequest) ProtoMessage added in v1.42.3

func (*QuerySpotOrdersByHashesRequest) ProtoMessage()

func (*QuerySpotOrdersByHashesRequest) Reset added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) Reset()

func (*QuerySpotOrdersByHashesRequest) Size added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) Size() (n int)

func (*QuerySpotOrdersByHashesRequest) String added in v1.42.3

func (*QuerySpotOrdersByHashesRequest) Unmarshal added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) Unmarshal(dAtA []byte) error

func (*QuerySpotOrdersByHashesRequest) XXX_DiscardUnknown added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) XXX_DiscardUnknown()

func (*QuerySpotOrdersByHashesRequest) XXX_Marshal added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotOrdersByHashesRequest) XXX_Merge added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) XXX_Merge(src proto.Message)

func (*QuerySpotOrdersByHashesRequest) XXX_Size added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) XXX_Size() int

func (*QuerySpotOrdersByHashesRequest) XXX_Unmarshal added in v1.42.3

func (m *QuerySpotOrdersByHashesRequest) XXX_Unmarshal(b []byte) error

type QuerySpotOrdersByHashesResponse added in v1.42.3

type QuerySpotOrdersByHashesResponse struct {
	Orders []*TrimmedSpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QuerySpotOrdersByHashesResponse is the response type for the Query/SpotOrdersByHashes RPC method.

func (*QuerySpotOrdersByHashesResponse) Descriptor added in v1.42.3

func (*QuerySpotOrdersByHashesResponse) Descriptor() ([]byte, []int)

func (*QuerySpotOrdersByHashesResponse) GetOrders added in v1.42.3

func (*QuerySpotOrdersByHashesResponse) Marshal added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) Marshal() (dAtA []byte, err error)

func (*QuerySpotOrdersByHashesResponse) MarshalTo added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySpotOrdersByHashesResponse) MarshalToSizedBuffer added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySpotOrdersByHashesResponse) ProtoMessage added in v1.42.3

func (*QuerySpotOrdersByHashesResponse) ProtoMessage()

func (*QuerySpotOrdersByHashesResponse) Reset added in v1.42.3

func (*QuerySpotOrdersByHashesResponse) Size added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) Size() (n int)

func (*QuerySpotOrdersByHashesResponse) String added in v1.42.3

func (*QuerySpotOrdersByHashesResponse) Unmarshal added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) Unmarshal(dAtA []byte) error

func (*QuerySpotOrdersByHashesResponse) XXX_DiscardUnknown added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) XXX_DiscardUnknown()

func (*QuerySpotOrdersByHashesResponse) XXX_Marshal added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySpotOrdersByHashesResponse) XXX_Merge added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) XXX_Merge(src proto.Message)

func (*QuerySpotOrdersByHashesResponse) XXX_Size added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) XXX_Size() int

func (*QuerySpotOrdersByHashesResponse) XXX_Unmarshal added in v1.42.3

func (m *QuerySpotOrdersByHashesResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountDepositRequest

type QuerySubaccountDepositRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Denom        string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
}

QuerySubaccountDepositsRequest is the request type for the Query/SubaccountDeposits RPC method.

func (*QuerySubaccountDepositRequest) Descriptor

func (*QuerySubaccountDepositRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountDepositRequest) GetDenom

func (m *QuerySubaccountDepositRequest) GetDenom() string

func (*QuerySubaccountDepositRequest) GetSubaccountId

func (m *QuerySubaccountDepositRequest) GetSubaccountId() string

func (*QuerySubaccountDepositRequest) Marshal

func (m *QuerySubaccountDepositRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountDepositRequest) MarshalTo

func (m *QuerySubaccountDepositRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountDepositRequest) MarshalToSizedBuffer

func (m *QuerySubaccountDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountDepositRequest) ProtoMessage

func (*QuerySubaccountDepositRequest) ProtoMessage()

func (*QuerySubaccountDepositRequest) Reset

func (m *QuerySubaccountDepositRequest) Reset()

func (*QuerySubaccountDepositRequest) Size

func (m *QuerySubaccountDepositRequest) Size() (n int)

func (*QuerySubaccountDepositRequest) String

func (*QuerySubaccountDepositRequest) Unmarshal

func (m *QuerySubaccountDepositRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountDepositRequest) XXX_DiscardUnknown

func (m *QuerySubaccountDepositRequest) XXX_DiscardUnknown()

func (*QuerySubaccountDepositRequest) XXX_Marshal

func (m *QuerySubaccountDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountDepositRequest) XXX_Merge

func (m *QuerySubaccountDepositRequest) XXX_Merge(src proto.Message)

func (*QuerySubaccountDepositRequest) XXX_Size

func (m *QuerySubaccountDepositRequest) XXX_Size() int

func (*QuerySubaccountDepositRequest) XXX_Unmarshal

func (m *QuerySubaccountDepositRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountDepositResponse

type QuerySubaccountDepositResponse struct {
	Deposits *Deposit `protobuf:"bytes,1,opt,name=deposits,proto3" json:"deposits,omitempty"`
}

QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method.

func (*QuerySubaccountDepositResponse) Descriptor

func (*QuerySubaccountDepositResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountDepositResponse) GetDeposits

func (m *QuerySubaccountDepositResponse) GetDeposits() *Deposit

func (*QuerySubaccountDepositResponse) Marshal

func (m *QuerySubaccountDepositResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountDepositResponse) MarshalTo

func (m *QuerySubaccountDepositResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountDepositResponse) MarshalToSizedBuffer

func (m *QuerySubaccountDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountDepositResponse) ProtoMessage

func (*QuerySubaccountDepositResponse) ProtoMessage()

func (*QuerySubaccountDepositResponse) Reset

func (m *QuerySubaccountDepositResponse) Reset()

func (*QuerySubaccountDepositResponse) Size

func (m *QuerySubaccountDepositResponse) Size() (n int)

func (*QuerySubaccountDepositResponse) String

func (*QuerySubaccountDepositResponse) Unmarshal

func (m *QuerySubaccountDepositResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountDepositResponse) XXX_DiscardUnknown

func (m *QuerySubaccountDepositResponse) XXX_DiscardUnknown()

func (*QuerySubaccountDepositResponse) XXX_Marshal

func (m *QuerySubaccountDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountDepositResponse) XXX_Merge

func (m *QuerySubaccountDepositResponse) XXX_Merge(src proto.Message)

func (*QuerySubaccountDepositResponse) XXX_Size

func (m *QuerySubaccountDepositResponse) XXX_Size() int

func (*QuerySubaccountDepositResponse) XXX_Unmarshal

func (m *QuerySubaccountDepositResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountDepositsRequest

type QuerySubaccountDepositsRequest struct {
	SubaccountId string      `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Subaccount   *Subaccount `protobuf:"bytes,2,opt,name=subaccount,proto3" json:"subaccount,omitempty"`
}

QuerySubaccountDepositsRequest is the request type for the Query/SubaccountDeposits RPC method.

func (*QuerySubaccountDepositsRequest) Descriptor

func (*QuerySubaccountDepositsRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountDepositsRequest) GetSubaccount

func (m *QuerySubaccountDepositsRequest) GetSubaccount() *Subaccount

func (*QuerySubaccountDepositsRequest) GetSubaccountId

func (m *QuerySubaccountDepositsRequest) GetSubaccountId() string

func (*QuerySubaccountDepositsRequest) Marshal

func (m *QuerySubaccountDepositsRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountDepositsRequest) MarshalTo

func (m *QuerySubaccountDepositsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountDepositsRequest) MarshalToSizedBuffer

func (m *QuerySubaccountDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountDepositsRequest) ProtoMessage

func (*QuerySubaccountDepositsRequest) ProtoMessage()

func (*QuerySubaccountDepositsRequest) Reset

func (m *QuerySubaccountDepositsRequest) Reset()

func (*QuerySubaccountDepositsRequest) Size

func (m *QuerySubaccountDepositsRequest) Size() (n int)

func (*QuerySubaccountDepositsRequest) String

func (*QuerySubaccountDepositsRequest) Unmarshal

func (m *QuerySubaccountDepositsRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountDepositsRequest) XXX_DiscardUnknown

func (m *QuerySubaccountDepositsRequest) XXX_DiscardUnknown()

func (*QuerySubaccountDepositsRequest) XXX_Marshal

func (m *QuerySubaccountDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountDepositsRequest) XXX_Merge

func (m *QuerySubaccountDepositsRequest) XXX_Merge(src proto.Message)

func (*QuerySubaccountDepositsRequest) XXX_Size

func (m *QuerySubaccountDepositsRequest) XXX_Size() int

func (*QuerySubaccountDepositsRequest) XXX_Unmarshal

func (m *QuerySubaccountDepositsRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountDepositsResponse

type QuerySubaccountDepositsResponse struct {
	Deposits map[string]*Deposit `` /* 157-byte string literal not displayed */
}

QuerySubaccountDepositsResponse is the response type for the Query/SubaccountDeposits RPC method.

func (*QuerySubaccountDepositsResponse) Descriptor

func (*QuerySubaccountDepositsResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountDepositsResponse) GetDeposits

func (m *QuerySubaccountDepositsResponse) GetDeposits() map[string]*Deposit

func (*QuerySubaccountDepositsResponse) Marshal

func (m *QuerySubaccountDepositsResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountDepositsResponse) MarshalTo

func (m *QuerySubaccountDepositsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountDepositsResponse) MarshalToSizedBuffer

func (m *QuerySubaccountDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountDepositsResponse) ProtoMessage

func (*QuerySubaccountDepositsResponse) ProtoMessage()

func (*QuerySubaccountDepositsResponse) Reset

func (*QuerySubaccountDepositsResponse) Size

func (m *QuerySubaccountDepositsResponse) Size() (n int)

func (*QuerySubaccountDepositsResponse) String

func (*QuerySubaccountDepositsResponse) Unmarshal

func (m *QuerySubaccountDepositsResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountDepositsResponse) XXX_DiscardUnknown

func (m *QuerySubaccountDepositsResponse) XXX_DiscardUnknown()

func (*QuerySubaccountDepositsResponse) XXX_Marshal

func (m *QuerySubaccountDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountDepositsResponse) XXX_Merge

func (m *QuerySubaccountDepositsResponse) XXX_Merge(src proto.Message)

func (*QuerySubaccountDepositsResponse) XXX_Size

func (m *QuerySubaccountDepositsResponse) XXX_Size() int

func (*QuerySubaccountDepositsResponse) XXX_Unmarshal

func (m *QuerySubaccountDepositsResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountEffectivePositionInMarketRequest added in v1.39.0

type QuerySubaccountEffectivePositionInMarketRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QuerySubaccountEffectivePositionInMarketRequest is the request type for the Query/SubaccountEffectivePositionInMarket RPC method.

func (*QuerySubaccountEffectivePositionInMarketRequest) Descriptor added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) GetMarketId added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) GetSubaccountId added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) Marshal added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountEffectivePositionInMarketRequest) MarshalTo added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) MarshalToSizedBuffer added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountEffectivePositionInMarketRequest) ProtoMessage added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) Reset added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) Size added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) String added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) Unmarshal added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_DiscardUnknown added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_DiscardUnknown()

func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_Marshal added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_Merge added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_Size added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_Unmarshal added in v1.39.0

type QuerySubaccountEffectivePositionInMarketResponse added in v1.39.0

type QuerySubaccountEffectivePositionInMarketResponse struct {
	State *EffectivePosition `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}

QuerySubaccountEffectivePositionInMarketResponse is the response type for the Query/SubaccountEffectivePositionInMarket RPC method.

func (*QuerySubaccountEffectivePositionInMarketResponse) Descriptor added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) GetState added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) Marshal added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountEffectivePositionInMarketResponse) MarshalTo added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) MarshalToSizedBuffer added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountEffectivePositionInMarketResponse) ProtoMessage added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) Reset added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) Size added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) String added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) Unmarshal added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_DiscardUnknown added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_DiscardUnknown()

func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_Marshal added in v1.39.0

func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_Merge added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_Size added in v1.39.0

func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_Unmarshal added in v1.39.0

type QuerySubaccountOrderMetadataRequest added in v1.28.3

type QuerySubaccountOrderMetadataRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

QuerySubaccountOrderMetadataRequest is the request type for the Query/SubaccountOrderMetadata RPC method.

func (*QuerySubaccountOrderMetadataRequest) Descriptor added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountOrderMetadataRequest) GetSubaccountId added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) GetSubaccountId() string

func (*QuerySubaccountOrderMetadataRequest) Marshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountOrderMetadataRequest) MarshalTo added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountOrderMetadataRequest) MarshalToSizedBuffer added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountOrderMetadataRequest) ProtoMessage added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) ProtoMessage()

func (*QuerySubaccountOrderMetadataRequest) Reset added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) Size added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) String added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) Unmarshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountOrderMetadataRequest) XXX_DiscardUnknown added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) XXX_DiscardUnknown()

func (*QuerySubaccountOrderMetadataRequest) XXX_Marshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountOrderMetadataRequest) XXX_Merge added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) XXX_Size added in v1.28.3

func (*QuerySubaccountOrderMetadataRequest) XXX_Unmarshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountOrderMetadataResponse added in v1.28.3

type QuerySubaccountOrderMetadataResponse struct {
	Metadata []SubaccountOrderbookMetadataWithMarket `protobuf:"bytes,1,rep,name=metadata,proto3" json:"metadata"`
}

QuerySubaccountOrderMetadataResponse is the response type for the Query/SubaccountOrderMetadata RPC method.

func (*QuerySubaccountOrderMetadataResponse) Descriptor added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountOrderMetadataResponse) GetMetadata added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) Marshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountOrderMetadataResponse) MarshalTo added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountOrderMetadataResponse) MarshalToSizedBuffer added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountOrderMetadataResponse) ProtoMessage added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) ProtoMessage()

func (*QuerySubaccountOrderMetadataResponse) Reset added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) Size added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) String added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) Unmarshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountOrderMetadataResponse) XXX_DiscardUnknown added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) XXX_DiscardUnknown()

func (*QuerySubaccountOrderMetadataResponse) XXX_Marshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountOrderMetadataResponse) XXX_Merge added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) XXX_Size added in v1.28.3

func (*QuerySubaccountOrderMetadataResponse) XXX_Unmarshal added in v1.28.3

func (m *QuerySubaccountOrderMetadataResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountOrdersRequest added in v1.40.2

type QuerySubaccountOrdersRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

func (*QuerySubaccountOrdersRequest) Descriptor added in v1.40.2

func (*QuerySubaccountOrdersRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountOrdersRequest) GetMarketId added in v1.40.2

func (m *QuerySubaccountOrdersRequest) GetMarketId() string

func (*QuerySubaccountOrdersRequest) GetSubaccountId added in v1.40.2

func (m *QuerySubaccountOrdersRequest) GetSubaccountId() string

func (*QuerySubaccountOrdersRequest) Marshal added in v1.40.2

func (m *QuerySubaccountOrdersRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountOrdersRequest) MarshalTo added in v1.40.2

func (m *QuerySubaccountOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountOrdersRequest) MarshalToSizedBuffer added in v1.40.2

func (m *QuerySubaccountOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountOrdersRequest) ProtoMessage added in v1.40.2

func (*QuerySubaccountOrdersRequest) ProtoMessage()

func (*QuerySubaccountOrdersRequest) Reset added in v1.40.2

func (m *QuerySubaccountOrdersRequest) Reset()

func (*QuerySubaccountOrdersRequest) Size added in v1.40.2

func (m *QuerySubaccountOrdersRequest) Size() (n int)

func (*QuerySubaccountOrdersRequest) String added in v1.40.2

func (*QuerySubaccountOrdersRequest) Unmarshal added in v1.40.2

func (m *QuerySubaccountOrdersRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountOrdersRequest) XXX_DiscardUnknown added in v1.40.2

func (m *QuerySubaccountOrdersRequest) XXX_DiscardUnknown()

func (*QuerySubaccountOrdersRequest) XXX_Marshal added in v1.40.2

func (m *QuerySubaccountOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountOrdersRequest) XXX_Merge added in v1.40.2

func (m *QuerySubaccountOrdersRequest) XXX_Merge(src proto.Message)

func (*QuerySubaccountOrdersRequest) XXX_Size added in v1.40.2

func (m *QuerySubaccountOrdersRequest) XXX_Size() int

func (*QuerySubaccountOrdersRequest) XXX_Unmarshal added in v1.40.2

func (m *QuerySubaccountOrdersRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountOrdersResponse added in v1.40.2

type QuerySubaccountOrdersResponse struct {
	BuyOrders  []*SubaccountOrderData `protobuf:"bytes,1,rep,name=buy_orders,json=buyOrders,proto3" json:"buy_orders,omitempty"`
	SellOrders []*SubaccountOrderData `protobuf:"bytes,2,rep,name=sell_orders,json=sellOrders,proto3" json:"sell_orders,omitempty"`
}

func (*QuerySubaccountOrdersResponse) Descriptor added in v1.40.2

func (*QuerySubaccountOrdersResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountOrdersResponse) GetBuyOrders added in v1.40.2

func (*QuerySubaccountOrdersResponse) GetSellOrders added in v1.40.2

func (m *QuerySubaccountOrdersResponse) GetSellOrders() []*SubaccountOrderData

func (*QuerySubaccountOrdersResponse) Marshal added in v1.40.2

func (m *QuerySubaccountOrdersResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountOrdersResponse) MarshalTo added in v1.40.2

func (m *QuerySubaccountOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountOrdersResponse) MarshalToSizedBuffer added in v1.40.2

func (m *QuerySubaccountOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountOrdersResponse) ProtoMessage added in v1.40.2

func (*QuerySubaccountOrdersResponse) ProtoMessage()

func (*QuerySubaccountOrdersResponse) Reset added in v1.40.2

func (m *QuerySubaccountOrdersResponse) Reset()

func (*QuerySubaccountOrdersResponse) Size added in v1.40.2

func (m *QuerySubaccountOrdersResponse) Size() (n int)

func (*QuerySubaccountOrdersResponse) String added in v1.40.2

func (*QuerySubaccountOrdersResponse) Unmarshal added in v1.40.2

func (m *QuerySubaccountOrdersResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountOrdersResponse) XXX_DiscardUnknown added in v1.40.2

func (m *QuerySubaccountOrdersResponse) XXX_DiscardUnknown()

func (*QuerySubaccountOrdersResponse) XXX_Marshal added in v1.40.2

func (m *QuerySubaccountOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountOrdersResponse) XXX_Merge added in v1.40.2

func (m *QuerySubaccountOrdersResponse) XXX_Merge(src proto.Message)

func (*QuerySubaccountOrdersResponse) XXX_Size added in v1.40.2

func (m *QuerySubaccountOrdersResponse) XXX_Size() int

func (*QuerySubaccountOrdersResponse) XXX_Unmarshal added in v1.40.2

func (m *QuerySubaccountOrdersResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountPositionInMarketRequest added in v1.33.12

type QuerySubaccountPositionInMarketRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QuerySubaccountPositionInMarketRequest is the request type for the Query/SubaccountPositionInMarket RPC method.

func (*QuerySubaccountPositionInMarketRequest) Descriptor added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountPositionInMarketRequest) GetMarketId added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) GetSubaccountId added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) GetSubaccountId() string

func (*QuerySubaccountPositionInMarketRequest) Marshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountPositionInMarketRequest) MarshalTo added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountPositionInMarketRequest) MarshalToSizedBuffer added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountPositionInMarketRequest) ProtoMessage added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) Reset added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) Size added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) String added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) Unmarshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountPositionInMarketRequest) XXX_DiscardUnknown added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) XXX_DiscardUnknown()

func (*QuerySubaccountPositionInMarketRequest) XXX_Marshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountPositionInMarketRequest) XXX_Merge added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) XXX_Size added in v1.33.12

func (*QuerySubaccountPositionInMarketRequest) XXX_Unmarshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountPositionInMarketResponse added in v1.33.12

type QuerySubaccountPositionInMarketResponse struct {
	State *Position `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}

QuerySubaccountPositionInMarketResponse is the response type for the Query/SubaccountPositionInMarket RPC method.

func (*QuerySubaccountPositionInMarketResponse) Descriptor added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountPositionInMarketResponse) GetState added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) Marshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountPositionInMarketResponse) MarshalTo added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountPositionInMarketResponse) MarshalToSizedBuffer added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountPositionInMarketResponse) ProtoMessage added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) Reset added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) Size added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) String added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) Unmarshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountPositionInMarketResponse) XXX_DiscardUnknown added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) XXX_DiscardUnknown()

func (*QuerySubaccountPositionInMarketResponse) XXX_Marshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountPositionInMarketResponse) XXX_Merge added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) XXX_Size added in v1.33.12

func (*QuerySubaccountPositionInMarketResponse) XXX_Unmarshal added in v1.33.12

func (m *QuerySubaccountPositionInMarketResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountPositionsRequest added in v1.28.0

type QuerySubaccountPositionsRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

QuerySubaccountPositionsRequest is the request type for the Query/SubaccountPositions RPC method.

func (*QuerySubaccountPositionsRequest) Descriptor added in v1.28.0

func (*QuerySubaccountPositionsRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountPositionsRequest) GetSubaccountId added in v1.28.0

func (m *QuerySubaccountPositionsRequest) GetSubaccountId() string

func (*QuerySubaccountPositionsRequest) Marshal added in v1.28.0

func (m *QuerySubaccountPositionsRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountPositionsRequest) MarshalTo added in v1.28.0

func (m *QuerySubaccountPositionsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountPositionsRequest) MarshalToSizedBuffer added in v1.28.0

func (m *QuerySubaccountPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountPositionsRequest) ProtoMessage added in v1.28.0

func (*QuerySubaccountPositionsRequest) ProtoMessage()

func (*QuerySubaccountPositionsRequest) Reset added in v1.28.0

func (*QuerySubaccountPositionsRequest) Size added in v1.28.0

func (m *QuerySubaccountPositionsRequest) Size() (n int)

func (*QuerySubaccountPositionsRequest) String added in v1.28.0

func (*QuerySubaccountPositionsRequest) Unmarshal added in v1.28.0

func (m *QuerySubaccountPositionsRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountPositionsRequest) XXX_DiscardUnknown added in v1.28.0

func (m *QuerySubaccountPositionsRequest) XXX_DiscardUnknown()

func (*QuerySubaccountPositionsRequest) XXX_Marshal added in v1.28.0

func (m *QuerySubaccountPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountPositionsRequest) XXX_Merge added in v1.28.0

func (m *QuerySubaccountPositionsRequest) XXX_Merge(src proto.Message)

func (*QuerySubaccountPositionsRequest) XXX_Size added in v1.28.0

func (m *QuerySubaccountPositionsRequest) XXX_Size() int

func (*QuerySubaccountPositionsRequest) XXX_Unmarshal added in v1.28.0

func (m *QuerySubaccountPositionsRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountPositionsResponse added in v1.28.0

type QuerySubaccountPositionsResponse struct {
	State []DerivativePosition `protobuf:"bytes,1,rep,name=state,proto3" json:"state"`
}

QuerySubaccountPositionsResponse is the response type for the Query/SubaccountPositions RPC method.

func (*QuerySubaccountPositionsResponse) Descriptor added in v1.28.0

func (*QuerySubaccountPositionsResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountPositionsResponse) GetState added in v1.28.0

func (*QuerySubaccountPositionsResponse) Marshal added in v1.28.0

func (m *QuerySubaccountPositionsResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountPositionsResponse) MarshalTo added in v1.28.0

func (m *QuerySubaccountPositionsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountPositionsResponse) MarshalToSizedBuffer added in v1.28.0

func (m *QuerySubaccountPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountPositionsResponse) ProtoMessage added in v1.28.0

func (*QuerySubaccountPositionsResponse) ProtoMessage()

func (*QuerySubaccountPositionsResponse) Reset added in v1.28.0

func (*QuerySubaccountPositionsResponse) Size added in v1.28.0

func (m *QuerySubaccountPositionsResponse) Size() (n int)

func (*QuerySubaccountPositionsResponse) String added in v1.28.0

func (*QuerySubaccountPositionsResponse) Unmarshal added in v1.28.0

func (m *QuerySubaccountPositionsResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountPositionsResponse) XXX_DiscardUnknown added in v1.28.0

func (m *QuerySubaccountPositionsResponse) XXX_DiscardUnknown()

func (*QuerySubaccountPositionsResponse) XXX_Marshal added in v1.28.0

func (m *QuerySubaccountPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountPositionsResponse) XXX_Merge added in v1.28.0

func (*QuerySubaccountPositionsResponse) XXX_Size added in v1.28.0

func (m *QuerySubaccountPositionsResponse) XXX_Size() int

func (*QuerySubaccountPositionsResponse) XXX_Unmarshal added in v1.28.0

func (m *QuerySubaccountPositionsResponse) XXX_Unmarshal(b []byte) error

type QuerySubaccountTradeNonceRequest

type QuerySubaccountTradeNonceRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

QuerySubaccountTradeNonceRequest is the request type for the Query/SubaccountTradeNonce RPC method.

func (*QuerySubaccountTradeNonceRequest) Descriptor

func (*QuerySubaccountTradeNonceRequest) Descriptor() ([]byte, []int)

func (*QuerySubaccountTradeNonceRequest) GetSubaccountId

func (m *QuerySubaccountTradeNonceRequest) GetSubaccountId() string

func (*QuerySubaccountTradeNonceRequest) Marshal

func (m *QuerySubaccountTradeNonceRequest) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountTradeNonceRequest) MarshalTo

func (m *QuerySubaccountTradeNonceRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountTradeNonceRequest) MarshalToSizedBuffer

func (m *QuerySubaccountTradeNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountTradeNonceRequest) ProtoMessage

func (*QuerySubaccountTradeNonceRequest) ProtoMessage()

func (*QuerySubaccountTradeNonceRequest) Reset

func (*QuerySubaccountTradeNonceRequest) Size

func (m *QuerySubaccountTradeNonceRequest) Size() (n int)

func (*QuerySubaccountTradeNonceRequest) String

func (*QuerySubaccountTradeNonceRequest) Unmarshal

func (m *QuerySubaccountTradeNonceRequest) Unmarshal(dAtA []byte) error

func (*QuerySubaccountTradeNonceRequest) XXX_DiscardUnknown

func (m *QuerySubaccountTradeNonceRequest) XXX_DiscardUnknown()

func (*QuerySubaccountTradeNonceRequest) XXX_Marshal

func (m *QuerySubaccountTradeNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountTradeNonceRequest) XXX_Merge

func (*QuerySubaccountTradeNonceRequest) XXX_Size

func (m *QuerySubaccountTradeNonceRequest) XXX_Size() int

func (*QuerySubaccountTradeNonceRequest) XXX_Unmarshal

func (m *QuerySubaccountTradeNonceRequest) XXX_Unmarshal(b []byte) error

type QuerySubaccountTradeNonceResponse

type QuerySubaccountTradeNonceResponse struct {
	Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

QuerySubaccountTradeNonceResponse is the response type for the Query/SubaccountTradeNonce RPC method.

func (*QuerySubaccountTradeNonceResponse) Descriptor

func (*QuerySubaccountTradeNonceResponse) Descriptor() ([]byte, []int)

func (*QuerySubaccountTradeNonceResponse) GetNonce

func (*QuerySubaccountTradeNonceResponse) Marshal

func (m *QuerySubaccountTradeNonceResponse) Marshal() (dAtA []byte, err error)

func (*QuerySubaccountTradeNonceResponse) MarshalTo

func (m *QuerySubaccountTradeNonceResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySubaccountTradeNonceResponse) MarshalToSizedBuffer

func (m *QuerySubaccountTradeNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySubaccountTradeNonceResponse) ProtoMessage

func (*QuerySubaccountTradeNonceResponse) ProtoMessage()

func (*QuerySubaccountTradeNonceResponse) Reset

func (*QuerySubaccountTradeNonceResponse) Size

func (m *QuerySubaccountTradeNonceResponse) Size() (n int)

func (*QuerySubaccountTradeNonceResponse) String

func (*QuerySubaccountTradeNonceResponse) Unmarshal

func (m *QuerySubaccountTradeNonceResponse) Unmarshal(dAtA []byte) error

func (*QuerySubaccountTradeNonceResponse) XXX_DiscardUnknown

func (m *QuerySubaccountTradeNonceResponse) XXX_DiscardUnknown()

func (*QuerySubaccountTradeNonceResponse) XXX_Marshal

func (m *QuerySubaccountTradeNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySubaccountTradeNonceResponse) XXX_Merge

func (*QuerySubaccountTradeNonceResponse) XXX_Size

func (m *QuerySubaccountTradeNonceResponse) XXX_Size() int

func (*QuerySubaccountTradeNonceResponse) XXX_Unmarshal

func (m *QuerySubaccountTradeNonceResponse) XXX_Unmarshal(b []byte) error

type QueryTradeRewardCampaignRequest added in v1.27.0

type QueryTradeRewardCampaignRequest struct {
}

QueryTradeRewardCampaignRequest is the request type for the Query/TradeRewardCampaign RPC method.

func (*QueryTradeRewardCampaignRequest) Descriptor added in v1.27.0

func (*QueryTradeRewardCampaignRequest) Descriptor() ([]byte, []int)

func (*QueryTradeRewardCampaignRequest) Marshal added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) Marshal() (dAtA []byte, err error)

func (*QueryTradeRewardCampaignRequest) MarshalTo added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTradeRewardCampaignRequest) MarshalToSizedBuffer added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTradeRewardCampaignRequest) ProtoMessage added in v1.27.0

func (*QueryTradeRewardCampaignRequest) ProtoMessage()

func (*QueryTradeRewardCampaignRequest) Reset added in v1.27.0

func (*QueryTradeRewardCampaignRequest) Size added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) Size() (n int)

func (*QueryTradeRewardCampaignRequest) String added in v1.27.0

func (*QueryTradeRewardCampaignRequest) Unmarshal added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) Unmarshal(dAtA []byte) error

func (*QueryTradeRewardCampaignRequest) XXX_DiscardUnknown added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) XXX_DiscardUnknown()

func (*QueryTradeRewardCampaignRequest) XXX_Marshal added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTradeRewardCampaignRequest) XXX_Merge added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) XXX_Merge(src proto.Message)

func (*QueryTradeRewardCampaignRequest) XXX_Size added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) XXX_Size() int

func (*QueryTradeRewardCampaignRequest) XXX_Unmarshal added in v1.27.0

func (m *QueryTradeRewardCampaignRequest) XXX_Unmarshal(b []byte) error

type QueryTradeRewardCampaignResponse added in v1.27.0

type QueryTradeRewardCampaignResponse struct {
	TradingRewardCampaignInfo                *TradingRewardCampaignInfo               `` /* 140-byte string literal not displayed */
	TradingRewardPoolCampaignSchedule        []*CampaignRewardPool                    `` /* 166-byte string literal not displayed */
	TotalTradeRewardPoints                   github_com_cosmos_cosmos_sdk_types.Dec   `` /* 171-byte string literal not displayed */
	PendingTradingRewardPoolCampaignSchedule []*CampaignRewardPool                    `` /* 189-byte string literal not displayed */
	PendingTotalTradeRewardPoints            []github_com_cosmos_cosmos_sdk_types.Dec `` /* 194-byte string literal not displayed */
}

QueryTradeRewardCampaignResponse is the response type for the Query/TradeRewardCampaign RPC method.

func (*QueryTradeRewardCampaignResponse) Descriptor added in v1.27.0

func (*QueryTradeRewardCampaignResponse) Descriptor() ([]byte, []int)

func (*QueryTradeRewardCampaignResponse) GetPendingTradingRewardPoolCampaignSchedule added in v1.30.0

func (m *QueryTradeRewardCampaignResponse) GetPendingTradingRewardPoolCampaignSchedule() []*CampaignRewardPool

func (*QueryTradeRewardCampaignResponse) GetTradingRewardCampaignInfo added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) GetTradingRewardCampaignInfo() *TradingRewardCampaignInfo

func (*QueryTradeRewardCampaignResponse) GetTradingRewardPoolCampaignSchedule added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) GetTradingRewardPoolCampaignSchedule() []*CampaignRewardPool

func (*QueryTradeRewardCampaignResponse) Marshal added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) Marshal() (dAtA []byte, err error)

func (*QueryTradeRewardCampaignResponse) MarshalTo added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTradeRewardCampaignResponse) MarshalToSizedBuffer added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTradeRewardCampaignResponse) ProtoMessage added in v1.27.0

func (*QueryTradeRewardCampaignResponse) ProtoMessage()

func (*QueryTradeRewardCampaignResponse) Reset added in v1.27.0

func (*QueryTradeRewardCampaignResponse) Size added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) Size() (n int)

func (*QueryTradeRewardCampaignResponse) String added in v1.27.0

func (*QueryTradeRewardCampaignResponse) Unmarshal added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) Unmarshal(dAtA []byte) error

func (*QueryTradeRewardCampaignResponse) XXX_DiscardUnknown added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) XXX_DiscardUnknown()

func (*QueryTradeRewardCampaignResponse) XXX_Marshal added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTradeRewardCampaignResponse) XXX_Merge added in v1.27.0

func (*QueryTradeRewardCampaignResponse) XXX_Size added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) XXX_Size() int

func (*QueryTradeRewardCampaignResponse) XXX_Unmarshal added in v1.27.0

func (m *QueryTradeRewardCampaignResponse) XXX_Unmarshal(b []byte) error

type QueryTradeRewardPointsRequest added in v1.27.0

type QueryTradeRewardPointsRequest struct {
	Accounts             []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
	PendingPoolTimestamp int64    `protobuf:"varint,2,opt,name=pending_pool_timestamp,json=pendingPoolTimestamp,proto3" json:"pending_pool_timestamp,omitempty"`
}

QueryTradeRewardPointsRequest is the request type for the Query/TradeRewardPoints RPC method.

func (*QueryTradeRewardPointsRequest) Descriptor added in v1.27.0

func (*QueryTradeRewardPointsRequest) Descriptor() ([]byte, []int)

func (*QueryTradeRewardPointsRequest) GetAccounts added in v1.27.0

func (m *QueryTradeRewardPointsRequest) GetAccounts() []string

func (*QueryTradeRewardPointsRequest) GetPendingPoolTimestamp added in v1.30.0

func (m *QueryTradeRewardPointsRequest) GetPendingPoolTimestamp() int64

func (*QueryTradeRewardPointsRequest) Marshal added in v1.27.0

func (m *QueryTradeRewardPointsRequest) Marshal() (dAtA []byte, err error)

func (*QueryTradeRewardPointsRequest) MarshalTo added in v1.27.0

func (m *QueryTradeRewardPointsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTradeRewardPointsRequest) MarshalToSizedBuffer added in v1.27.0

func (m *QueryTradeRewardPointsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTradeRewardPointsRequest) ProtoMessage added in v1.27.0

func (*QueryTradeRewardPointsRequest) ProtoMessage()

func (*QueryTradeRewardPointsRequest) Reset added in v1.27.0

func (m *QueryTradeRewardPointsRequest) Reset()

func (*QueryTradeRewardPointsRequest) Size added in v1.27.0

func (m *QueryTradeRewardPointsRequest) Size() (n int)

func (*QueryTradeRewardPointsRequest) String added in v1.27.0

func (*QueryTradeRewardPointsRequest) Unmarshal added in v1.27.0

func (m *QueryTradeRewardPointsRequest) Unmarshal(dAtA []byte) error

func (*QueryTradeRewardPointsRequest) XXX_DiscardUnknown added in v1.27.0

func (m *QueryTradeRewardPointsRequest) XXX_DiscardUnknown()

func (*QueryTradeRewardPointsRequest) XXX_Marshal added in v1.27.0

func (m *QueryTradeRewardPointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTradeRewardPointsRequest) XXX_Merge added in v1.27.0

func (m *QueryTradeRewardPointsRequest) XXX_Merge(src proto.Message)

func (*QueryTradeRewardPointsRequest) XXX_Size added in v1.27.0

func (m *QueryTradeRewardPointsRequest) XXX_Size() int

func (*QueryTradeRewardPointsRequest) XXX_Unmarshal added in v1.27.0

func (m *QueryTradeRewardPointsRequest) XXX_Unmarshal(b []byte) error

type QueryTradeRewardPointsResponse added in v1.27.0

type QueryTradeRewardPointsResponse struct {
	AccountTradeRewardPoints []github_com_cosmos_cosmos_sdk_types.Dec `` /* 177-byte string literal not displayed */
}

QueryTradeRewardPointsResponse is the response type for the Query/TradeRewardPoints RPC method.

func (*QueryTradeRewardPointsResponse) Descriptor added in v1.27.0

func (*QueryTradeRewardPointsResponse) Descriptor() ([]byte, []int)

func (*QueryTradeRewardPointsResponse) Marshal added in v1.27.0

func (m *QueryTradeRewardPointsResponse) Marshal() (dAtA []byte, err error)

func (*QueryTradeRewardPointsResponse) MarshalTo added in v1.27.0

func (m *QueryTradeRewardPointsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTradeRewardPointsResponse) MarshalToSizedBuffer added in v1.27.0

func (m *QueryTradeRewardPointsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTradeRewardPointsResponse) ProtoMessage added in v1.27.0

func (*QueryTradeRewardPointsResponse) ProtoMessage()

func (*QueryTradeRewardPointsResponse) Reset added in v1.27.0

func (m *QueryTradeRewardPointsResponse) Reset()

func (*QueryTradeRewardPointsResponse) Size added in v1.27.0

func (m *QueryTradeRewardPointsResponse) Size() (n int)

func (*QueryTradeRewardPointsResponse) String added in v1.27.0

func (*QueryTradeRewardPointsResponse) Unmarshal added in v1.27.0

func (m *QueryTradeRewardPointsResponse) Unmarshal(dAtA []byte) error

func (*QueryTradeRewardPointsResponse) XXX_DiscardUnknown added in v1.27.0

func (m *QueryTradeRewardPointsResponse) XXX_DiscardUnknown()

func (*QueryTradeRewardPointsResponse) XXX_Marshal added in v1.27.0

func (m *QueryTradeRewardPointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTradeRewardPointsResponse) XXX_Merge added in v1.27.0

func (m *QueryTradeRewardPointsResponse) XXX_Merge(src proto.Message)

func (*QueryTradeRewardPointsResponse) XXX_Size added in v1.27.0

func (m *QueryTradeRewardPointsResponse) XXX_Size() int

func (*QueryTradeRewardPointsResponse) XXX_Unmarshal added in v1.27.0

func (m *QueryTradeRewardPointsResponse) XXX_Unmarshal(b []byte) error

type QueryTraderDerivativeConditionalOrdersRequest added in v1.40.8

type QueryTraderDerivativeConditionalOrdersRequest struct {
	SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	MarketId     string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryConditionalOrdersRequest is the request type for the Query/ConditionalOrders RPC method.

func (*QueryTraderDerivativeConditionalOrdersRequest) Descriptor added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) GetMarketId added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) GetSubaccountId added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) Marshal added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersRequest) Marshal() (dAtA []byte, err error)

func (*QueryTraderDerivativeConditionalOrdersRequest) MarshalTo added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) MarshalToSizedBuffer added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderDerivativeConditionalOrdersRequest) ProtoMessage added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) Reset added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) Size added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) String added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) Unmarshal added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) XXX_DiscardUnknown added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersRequest) XXX_DiscardUnknown()

func (*QueryTraderDerivativeConditionalOrdersRequest) XXX_Marshal added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderDerivativeConditionalOrdersRequest) XXX_Merge added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) XXX_Size added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersRequest) XXX_Unmarshal added in v1.40.8

type QueryTraderDerivativeConditionalOrdersResponse added in v1.40.8

type QueryTraderDerivativeConditionalOrdersResponse struct {
	Orders []*TrimmedDerivativeConditionalOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QueryTraderDerivativeOrdersResponse is the response type for the Query/TraderDerivativeOrders RPC method.

func (*QueryTraderDerivativeConditionalOrdersResponse) Descriptor added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) GetOrders added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) Marshal added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersResponse) Marshal() (dAtA []byte, err error)

func (*QueryTraderDerivativeConditionalOrdersResponse) MarshalTo added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) MarshalToSizedBuffer added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderDerivativeConditionalOrdersResponse) ProtoMessage added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) Reset added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) Size added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) String added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) Unmarshal added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) XXX_DiscardUnknown added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersResponse) XXX_DiscardUnknown()

func (*QueryTraderDerivativeConditionalOrdersResponse) XXX_Marshal added in v1.40.8

func (m *QueryTraderDerivativeConditionalOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderDerivativeConditionalOrdersResponse) XXX_Merge added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) XXX_Size added in v1.40.8

func (*QueryTraderDerivativeConditionalOrdersResponse) XXX_Unmarshal added in v1.40.8

type QueryTraderDerivativeOrdersRequest

type QueryTraderDerivativeOrdersRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// SubaccountID of the trader
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

QueryTraderDerivativeOrdersRequest is the request type for the Query/TraderDerivativeOrders RPC method.

func (*QueryTraderDerivativeOrdersRequest) Descriptor

func (*QueryTraderDerivativeOrdersRequest) Descriptor() ([]byte, []int)

func (*QueryTraderDerivativeOrdersRequest) GetMarketId

func (m *QueryTraderDerivativeOrdersRequest) GetMarketId() string

func (*QueryTraderDerivativeOrdersRequest) GetSubaccountId

func (m *QueryTraderDerivativeOrdersRequest) GetSubaccountId() string

func (*QueryTraderDerivativeOrdersRequest) Marshal

func (m *QueryTraderDerivativeOrdersRequest) Marshal() (dAtA []byte, err error)

func (*QueryTraderDerivativeOrdersRequest) MarshalTo

func (m *QueryTraderDerivativeOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTraderDerivativeOrdersRequest) MarshalToSizedBuffer

func (m *QueryTraderDerivativeOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderDerivativeOrdersRequest) ProtoMessage

func (*QueryTraderDerivativeOrdersRequest) ProtoMessage()

func (*QueryTraderDerivativeOrdersRequest) Reset

func (*QueryTraderDerivativeOrdersRequest) Size

func (*QueryTraderDerivativeOrdersRequest) String

func (*QueryTraderDerivativeOrdersRequest) Unmarshal

func (m *QueryTraderDerivativeOrdersRequest) Unmarshal(dAtA []byte) error

func (*QueryTraderDerivativeOrdersRequest) XXX_DiscardUnknown

func (m *QueryTraderDerivativeOrdersRequest) XXX_DiscardUnknown()

func (*QueryTraderDerivativeOrdersRequest) XXX_Marshal

func (m *QueryTraderDerivativeOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderDerivativeOrdersRequest) XXX_Merge

func (*QueryTraderDerivativeOrdersRequest) XXX_Size

func (*QueryTraderDerivativeOrdersRequest) XXX_Unmarshal

func (m *QueryTraderDerivativeOrdersRequest) XXX_Unmarshal(b []byte) error

type QueryTraderDerivativeOrdersResponse

type QueryTraderDerivativeOrdersResponse struct {
	Orders []*TrimmedDerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QueryTraderDerivativeOrdersResponse is the response type for the Query/TraderDerivativeOrders RPC method.

func (*QueryTraderDerivativeOrdersResponse) Descriptor

func (*QueryTraderDerivativeOrdersResponse) Descriptor() ([]byte, []int)

func (*QueryTraderDerivativeOrdersResponse) GetOrders

func (*QueryTraderDerivativeOrdersResponse) Marshal

func (m *QueryTraderDerivativeOrdersResponse) Marshal() (dAtA []byte, err error)

func (*QueryTraderDerivativeOrdersResponse) MarshalTo

func (m *QueryTraderDerivativeOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTraderDerivativeOrdersResponse) MarshalToSizedBuffer

func (m *QueryTraderDerivativeOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderDerivativeOrdersResponse) ProtoMessage

func (*QueryTraderDerivativeOrdersResponse) ProtoMessage()

func (*QueryTraderDerivativeOrdersResponse) Reset

func (*QueryTraderDerivativeOrdersResponse) Size

func (*QueryTraderDerivativeOrdersResponse) String

func (*QueryTraderDerivativeOrdersResponse) Unmarshal

func (m *QueryTraderDerivativeOrdersResponse) Unmarshal(dAtA []byte) error

func (*QueryTraderDerivativeOrdersResponse) XXX_DiscardUnknown

func (m *QueryTraderDerivativeOrdersResponse) XXX_DiscardUnknown()

func (*QueryTraderDerivativeOrdersResponse) XXX_Marshal

func (m *QueryTraderDerivativeOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderDerivativeOrdersResponse) XXX_Merge

func (*QueryTraderDerivativeOrdersResponse) XXX_Size

func (*QueryTraderDerivativeOrdersResponse) XXX_Unmarshal

func (m *QueryTraderDerivativeOrdersResponse) XXX_Unmarshal(b []byte) error

type QueryTraderDerivativeOrdersToCancelUpToAmountRequest added in v1.40.2

type QueryTraderDerivativeOrdersToCancelUpToAmountRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// SubaccountID of the trader
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// the quote amount to cancel (free up)
	QuoteAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	// The cancellation strategy
	Strategy CancellationStrategy `protobuf:"varint,4,opt,name=strategy,proto3,enum=injective.exchange.v1beta1.CancellationStrategy" json:"strategy,omitempty"`
	// The reference price for the cancellation strategy, e.g. mid price or mark
	// price
	ReferencePrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */
}

QueryTraderDerivativeOrdersToCancelUpToAmountRequest is the request type for the Query/TraderDerivativeOrdersToCancelUpToAmountRequest RPC method.

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) Descriptor added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) GetMarketId added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) GetStrategy added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) GetSubaccountId added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) Marshal added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) MarshalTo added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) MarshalToSizedBuffer added in v1.40.2

func (m *QueryTraderDerivativeOrdersToCancelUpToAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) ProtoMessage added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) Reset added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) Size added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) String added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) Unmarshal added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) XXX_DiscardUnknown added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) XXX_Marshal added in v1.40.2

func (m *QueryTraderDerivativeOrdersToCancelUpToAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) XXX_Merge added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) XXX_Size added in v1.40.2

func (*QueryTraderDerivativeOrdersToCancelUpToAmountRequest) XXX_Unmarshal added in v1.40.2

type QueryTraderSpotOrdersRequest

type QueryTraderSpotOrdersRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// SubaccountID of the trader
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

QueryTraderSpotOrdersRequest is the request type for the Query/TraderSpotOrders RPC method.

func (*QueryTraderSpotOrdersRequest) Descriptor

func (*QueryTraderSpotOrdersRequest) Descriptor() ([]byte, []int)

func (*QueryTraderSpotOrdersRequest) GetMarketId

func (m *QueryTraderSpotOrdersRequest) GetMarketId() string

func (*QueryTraderSpotOrdersRequest) GetSubaccountId

func (m *QueryTraderSpotOrdersRequest) GetSubaccountId() string

func (*QueryTraderSpotOrdersRequest) Marshal

func (m *QueryTraderSpotOrdersRequest) Marshal() (dAtA []byte, err error)

func (*QueryTraderSpotOrdersRequest) MarshalTo

func (m *QueryTraderSpotOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryTraderSpotOrdersRequest) MarshalToSizedBuffer

func (m *QueryTraderSpotOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderSpotOrdersRequest) ProtoMessage

func (*QueryTraderSpotOrdersRequest) ProtoMessage()

func (*QueryTraderSpotOrdersRequest) Reset

func (m *QueryTraderSpotOrdersRequest) Reset()

func (*QueryTraderSpotOrdersRequest) Size

func (m *QueryTraderSpotOrdersRequest) Size() (n int)

func (*QueryTraderSpotOrdersRequest) String

func (*QueryTraderSpotOrdersRequest) Unmarshal

func (m *QueryTraderSpotOrdersRequest) Unmarshal(dAtA []byte) error

func (*QueryTraderSpotOrdersRequest) XXX_DiscardUnknown

func (m *QueryTraderSpotOrdersRequest) XXX_DiscardUnknown()

func (*QueryTraderSpotOrdersRequest) XXX_Marshal

func (m *QueryTraderSpotOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderSpotOrdersRequest) XXX_Merge

func (m *QueryTraderSpotOrdersRequest) XXX_Merge(src proto.Message)

func (*QueryTraderSpotOrdersRequest) XXX_Size

func (m *QueryTraderSpotOrdersRequest) XXX_Size() int

func (*QueryTraderSpotOrdersRequest) XXX_Unmarshal

func (m *QueryTraderSpotOrdersRequest) XXX_Unmarshal(b []byte) error

type QueryTraderSpotOrdersResponse

type QueryTraderSpotOrdersResponse struct {
	Orders []*TrimmedSpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
}

QueryTraderSpotOrdersResponse is the response type for the Query/TraderSpotOrders RPC method.

func (*QueryTraderSpotOrdersResponse) Descriptor

func (*QueryTraderSpotOrdersResponse) Descriptor() ([]byte, []int)

func (*QueryTraderSpotOrdersResponse) GetOrders

func (*QueryTraderSpotOrdersResponse) Marshal

func (m *QueryTraderSpotOrdersResponse) Marshal() (dAtA []byte, err error)

func (*QueryTraderSpotOrdersResponse) MarshalTo

func (m *QueryTraderSpotOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryTraderSpotOrdersResponse) MarshalToSizedBuffer

func (m *QueryTraderSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderSpotOrdersResponse) ProtoMessage

func (*QueryTraderSpotOrdersResponse) ProtoMessage()

func (*QueryTraderSpotOrdersResponse) Reset

func (m *QueryTraderSpotOrdersResponse) Reset()

func (*QueryTraderSpotOrdersResponse) Size

func (m *QueryTraderSpotOrdersResponse) Size() (n int)

func (*QueryTraderSpotOrdersResponse) String

func (*QueryTraderSpotOrdersResponse) Unmarshal

func (m *QueryTraderSpotOrdersResponse) Unmarshal(dAtA []byte) error

func (*QueryTraderSpotOrdersResponse) XXX_DiscardUnknown

func (m *QueryTraderSpotOrdersResponse) XXX_DiscardUnknown()

func (*QueryTraderSpotOrdersResponse) XXX_Marshal

func (m *QueryTraderSpotOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderSpotOrdersResponse) XXX_Merge

func (m *QueryTraderSpotOrdersResponse) XXX_Merge(src proto.Message)

func (*QueryTraderSpotOrdersResponse) XXX_Size

func (m *QueryTraderSpotOrdersResponse) XXX_Size() int

func (*QueryTraderSpotOrdersResponse) XXX_Unmarshal

func (m *QueryTraderSpotOrdersResponse) XXX_Unmarshal(b []byte) error

type QueryTraderSpotOrdersToCancelUpToAmountRequest added in v1.40.2

type QueryTraderSpotOrdersToCancelUpToAmountRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// SubaccountID of the trader
	SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	// the base amount to cancel (free up)
	BaseAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */
	// the quote amount to cancel (free up)
	QuoteAmount github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	// The cancellation strategy
	Strategy CancellationStrategy `protobuf:"varint,5,opt,name=strategy,proto3,enum=injective.exchange.v1beta1.CancellationStrategy" json:"strategy,omitempty"`
	// The reference price for the cancellation strategy, e.g. mid price or mark
	// price
	ReferencePrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */
}

QueryTraderSpotOrdersToCancelUpToAmountRequest is the request type for the Query/TraderSpotOrdersToCancelUpToAmountRequest RPC method.

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) Descriptor added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) GetMarketId added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) GetStrategy added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) GetSubaccountId added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) Marshal added in v1.40.2

func (m *QueryTraderSpotOrdersToCancelUpToAmountRequest) Marshal() (dAtA []byte, err error)

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) MarshalTo added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) MarshalToSizedBuffer added in v1.40.2

func (m *QueryTraderSpotOrdersToCancelUpToAmountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) ProtoMessage added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) Reset added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) Size added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) String added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) Unmarshal added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_DiscardUnknown added in v1.40.2

func (m *QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_DiscardUnknown()

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_Marshal added in v1.40.2

func (m *QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_Merge added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_Size added in v1.40.2

func (*QueryTraderSpotOrdersToCancelUpToAmountRequest) XXX_Unmarshal added in v1.40.2

type RewardPointUpdate added in v1.28.4

type RewardPointUpdate struct {
	AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
	// new_points overwrites the current trading reward points for the account
	NewPoints github_com_cosmos_cosmos_sdk_types.Dec `` /* 129-byte string literal not displayed */
}

func (*RewardPointUpdate) Descriptor added in v1.28.4

func (*RewardPointUpdate) Descriptor() ([]byte, []int)

func (*RewardPointUpdate) GetAccountAddress added in v1.28.4

func (m *RewardPointUpdate) GetAccountAddress() string

func (*RewardPointUpdate) Marshal added in v1.28.4

func (m *RewardPointUpdate) Marshal() (dAtA []byte, err error)

func (*RewardPointUpdate) MarshalTo added in v1.28.4

func (m *RewardPointUpdate) MarshalTo(dAtA []byte) (int, error)

func (*RewardPointUpdate) MarshalToSizedBuffer added in v1.28.4

func (m *RewardPointUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RewardPointUpdate) ProtoMessage added in v1.28.4

func (*RewardPointUpdate) ProtoMessage()

func (*RewardPointUpdate) Reset added in v1.28.4

func (m *RewardPointUpdate) Reset()

func (*RewardPointUpdate) Size added in v1.28.4

func (m *RewardPointUpdate) Size() (n int)

func (*RewardPointUpdate) String added in v1.28.4

func (m *RewardPointUpdate) String() string

func (*RewardPointUpdate) Unmarshal added in v1.28.4

func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error

func (*RewardPointUpdate) XXX_DiscardUnknown added in v1.28.4

func (m *RewardPointUpdate) XXX_DiscardUnknown()

func (*RewardPointUpdate) XXX_Marshal added in v1.28.4

func (m *RewardPointUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewardPointUpdate) XXX_Merge added in v1.28.4

func (m *RewardPointUpdate) XXX_Merge(src proto.Message)

func (*RewardPointUpdate) XXX_Size added in v1.28.4

func (m *RewardPointUpdate) XXX_Size() int

func (*RewardPointUpdate) XXX_Unmarshal added in v1.28.4

func (m *RewardPointUpdate) XXX_Unmarshal(b []byte) error

type SpotLimitOrder

type SpotLimitOrder struct {
	// order_info contains the information of the order
	OrderInfo OrderInfo `protobuf:"bytes,1,opt,name=order_info,json=orderInfo,proto3" json:"order_info"`
	// order types
	OrderType OrderType `` /* 131-byte string literal not displayed */
	// the amount of the quantity remaining fillable
	Fillable github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=fillable,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fillable"`
	// trigger_price is the trigger price used by stop/take orders
	TriggerPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 147-byte string literal not displayed */
	OrderHash    []byte                                  `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

A valid Spot limit order with Metadata.

func (*SpotLimitOrder) Descriptor

func (*SpotLimitOrder) Descriptor() ([]byte, []int)

func (*SpotLimitOrder) FeeRecipient added in v1.23.7

func (o *SpotLimitOrder) FeeRecipient() common.Address

func (*SpotLimitOrder) GetFillable added in v1.40.8

func (o *SpotLimitOrder) GetFillable() sdk.Dec

func (*SpotLimitOrder) GetOrderHash

func (m *SpotLimitOrder) GetOrderHash() []byte

func (*SpotLimitOrder) GetOrderInfo

func (m *SpotLimitOrder) GetOrderInfo() OrderInfo

func (*SpotLimitOrder) GetOrderType

func (m *SpotLimitOrder) GetOrderType() OrderType

func (*SpotLimitOrder) GetPrice added in v1.40.8

func (o *SpotLimitOrder) GetPrice() sdk.Dec

func (*SpotLimitOrder) GetQuantity added in v1.40.8

func (o *SpotLimitOrder) GetQuantity() sdk.Dec

func (*SpotLimitOrder) GetSubaccountID added in v1.40.8

func (o *SpotLimitOrder) GetSubaccountID() common.Hash

func (*SpotLimitOrder) GetUnfilledFeeAmount

func (m *SpotLimitOrder) GetUnfilledFeeAmount(fee sdk.Dec) sdk.Dec

func (*SpotLimitOrder) GetUnfilledMarginHoldAndMarginDenom

func (m *SpotLimitOrder) GetUnfilledMarginHoldAndMarginDenom(market *SpotMarket, isTransient bool) (sdk.Dec, string)

func (*SpotLimitOrder) GetUnfilledNotional

func (m *SpotLimitOrder) GetUnfilledNotional() sdk.Dec

func (*SpotLimitOrder) Hash

func (m *SpotLimitOrder) Hash() common.Hash

func (*SpotLimitOrder) IsBuy

func (m *SpotLimitOrder) IsBuy() bool

func (*SpotLimitOrder) IsConditional added in v1.40.8

func (o *SpotLimitOrder) IsConditional() bool

func (*SpotLimitOrder) IsFromDefaultSubaccount added in v1.45.0

func (o *SpotLimitOrder) IsFromDefaultSubaccount() bool

func (*SpotLimitOrder) Marshal

func (m *SpotLimitOrder) Marshal() (dAtA []byte, err error)

func (*SpotLimitOrder) MarshalTo

func (m *SpotLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*SpotLimitOrder) MarshalToSizedBuffer

func (m *SpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotLimitOrder) ProtoMessage

func (*SpotLimitOrder) ProtoMessage()

func (*SpotLimitOrder) Reset

func (m *SpotLimitOrder) Reset()

func (*SpotLimitOrder) SdkAccAddress added in v1.27.0

func (o *SpotLimitOrder) SdkAccAddress() sdk.AccAddress

func (*SpotLimitOrder) Size

func (m *SpotLimitOrder) Size() (n int)

func (*SpotLimitOrder) String

func (m *SpotLimitOrder) String() string

func (*SpotLimitOrder) SubaccountID

func (o *SpotLimitOrder) SubaccountID() common.Hash

func (*SpotLimitOrder) ToTrimmed

func (m *SpotLimitOrder) ToTrimmed() *TrimmedSpotLimitOrder

func (*SpotLimitOrder) Unmarshal

func (m *SpotLimitOrder) Unmarshal(dAtA []byte) error

func (*SpotLimitOrder) XXX_DiscardUnknown

func (m *SpotLimitOrder) XXX_DiscardUnknown()

func (*SpotLimitOrder) XXX_Marshal

func (m *SpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotLimitOrder) XXX_Merge

func (m *SpotLimitOrder) XXX_Merge(src proto.Message)

func (*SpotLimitOrder) XXX_Size

func (m *SpotLimitOrder) XXX_Size() int

func (*SpotLimitOrder) XXX_Unmarshal

func (m *SpotLimitOrder) XXX_Unmarshal(b []byte) error

type SpotLimitOrderDelta

type SpotLimitOrderDelta struct {
	Order        *SpotLimitOrder
	FillQuantity sdk.Dec
}

type SpotMarket

type SpotMarket struct {
	// A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote
	// asset.
	Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// Coin denom used for the base asset
	BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// Coin used for the quote asset
	QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// maker_fee_rate defines the fee percentage makers pay when trading
	MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// taker_fee_rate defines the fee percentage takers pay when trading
	TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 139-byte string literal not displayed */
	// relayer_fee_share_rate defines the percentage of the transaction fee shared
	// with the relayer in a derivative market
	RelayerFeeShareRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
	// Unique market ID.
	MarketId string `protobuf:"bytes,7,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// Status of the market
	Status MarketStatus `protobuf:"varint,8,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
	// min_price_tick_size defines the minimum tick size that the price required
	// for orders in the market
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the quantity
	// required for orders in the market
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
}

An object describing trade pair of two assets.

func (*SpotMarket) Descriptor

func (*SpotMarket) Descriptor() ([]byte, []int)

func (*SpotMarket) GetBaseDenom

func (m *SpotMarket) GetBaseDenom() string

func (*SpotMarket) GetMarketId

func (m *SpotMarket) GetMarketId() string

func (*SpotMarket) GetQuoteDenom

func (m *SpotMarket) GetQuoteDenom() string

func (*SpotMarket) GetStatus

func (m *SpotMarket) GetStatus() MarketStatus

func (*SpotMarket) GetTicker

func (m *SpotMarket) GetTicker() string

func (*SpotMarket) IsActive

func (m *SpotMarket) IsActive() bool

func (*SpotMarket) IsInactive

func (m *SpotMarket) IsInactive() bool

func (*SpotMarket) MarketID

func (m *SpotMarket) MarketID() common.Hash

func (*SpotMarket) Marshal

func (m *SpotMarket) Marshal() (dAtA []byte, err error)

func (*SpotMarket) MarshalTo

func (m *SpotMarket) MarshalTo(dAtA []byte) (int, error)

func (*SpotMarket) MarshalToSizedBuffer

func (m *SpotMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotMarket) ProtoMessage

func (*SpotMarket) ProtoMessage()

func (*SpotMarket) Reset

func (m *SpotMarket) Reset()

func (*SpotMarket) Size

func (m *SpotMarket) Size() (n int)

func (*SpotMarket) StatusSupportsOrderCancellations

func (m *SpotMarket) StatusSupportsOrderCancellations() bool

func (*SpotMarket) String

func (m *SpotMarket) String() string

func (*SpotMarket) Unmarshal

func (m *SpotMarket) Unmarshal(dAtA []byte) error

func (*SpotMarket) XXX_DiscardUnknown

func (m *SpotMarket) XXX_DiscardUnknown()

func (*SpotMarket) XXX_Marshal

func (m *SpotMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotMarket) XXX_Merge

func (m *SpotMarket) XXX_Merge(src proto.Message)

func (*SpotMarket) XXX_Size

func (m *SpotMarket) XXX_Size() int

func (*SpotMarket) XXX_Unmarshal

func (m *SpotMarket) XXX_Unmarshal(b []byte) error

type SpotMarketLaunchProposal

type SpotMarketLaunchProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Ticker for the spot market.
	Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
	// type of coin to use as the base currency
	BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
	// type of coin to use as the quote currency
	QuoteDenom string `protobuf:"bytes,5,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
	// min_price_tick_size defines the minimum tick size of the order's price
	MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `` /* 162-byte string literal not displayed */
	// maker_fee_rate defines the fee percentage makers pay when trading
	MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// taker_fee_rate defines the fee percentage takers pay when trading
	TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
}

SpotMarketLaunchProposal defines a SDK message for proposing a new spot market through governance

func NewSpotMarketLaunchProposal

func NewSpotMarketLaunchProposal(
	title string,
	description string,
	ticker string,
	baseDenom string,
	quoteDenom string,
	minPriceTickSize sdk.Dec,
	minQuantityTickSize sdk.Dec,
	makerFeeRate *sdk.Dec,
	takerFeeRate *sdk.Dec,
) *SpotMarketLaunchProposal

NewSpotMarketLaunchProposal returns new instance of SpotMarketLaunchProposal

func (*SpotMarketLaunchProposal) Descriptor

func (*SpotMarketLaunchProposal) Descriptor() ([]byte, []int)

func (*SpotMarketLaunchProposal) GetDescription

func (p *SpotMarketLaunchProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*SpotMarketLaunchProposal) GetTitle

func (p *SpotMarketLaunchProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*SpotMarketLaunchProposal) Marshal

func (m *SpotMarketLaunchProposal) Marshal() (dAtA []byte, err error)

func (*SpotMarketLaunchProposal) MarshalTo

func (m *SpotMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)

func (*SpotMarketLaunchProposal) MarshalToSizedBuffer

func (m *SpotMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotMarketLaunchProposal) ProposalRoute

func (p *SpotMarketLaunchProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*SpotMarketLaunchProposal) ProposalType

func (p *SpotMarketLaunchProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*SpotMarketLaunchProposal) ProtoMessage

func (*SpotMarketLaunchProposal) ProtoMessage()

func (*SpotMarketLaunchProposal) Reset

func (m *SpotMarketLaunchProposal) Reset()

func (*SpotMarketLaunchProposal) Size

func (m *SpotMarketLaunchProposal) Size() (n int)

func (*SpotMarketLaunchProposal) String

func (m *SpotMarketLaunchProposal) String() string

func (*SpotMarketLaunchProposal) Unmarshal

func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error

func (*SpotMarketLaunchProposal) ValidateBasic

func (p *SpotMarketLaunchProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*SpotMarketLaunchProposal) XXX_DiscardUnknown

func (m *SpotMarketLaunchProposal) XXX_DiscardUnknown()

func (*SpotMarketLaunchProposal) XXX_Marshal

func (m *SpotMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotMarketLaunchProposal) XXX_Merge

func (m *SpotMarketLaunchProposal) XXX_Merge(src proto.Message)

func (*SpotMarketLaunchProposal) XXX_Size

func (m *SpotMarketLaunchProposal) XXX_Size() int

func (*SpotMarketLaunchProposal) XXX_Unmarshal

func (m *SpotMarketLaunchProposal) XXX_Unmarshal(b []byte) error

type SpotMarketOrder

type SpotMarketOrder struct {
	// order_info contains the information of the order
	OrderInfo   OrderInfo                              `protobuf:"bytes,1,opt,name=order_info,json=orderInfo,proto3" json:"order_info"`
	BalanceHold github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	OrderHash   []byte                                 `protobuf:"bytes,3,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	// order types
	OrderType OrderType `` /* 131-byte string literal not displayed */
	// trigger_price is the trigger price used by stop/take orders
	TriggerPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 147-byte string literal not displayed */
}

A valid Spot market order with Metadata.

func (*SpotMarketOrder) Descriptor

func (*SpotMarketOrder) Descriptor() ([]byte, []int)

func (*SpotMarketOrder) FeeRecipient added in v1.23.7

func (o *SpotMarketOrder) FeeRecipient() common.Address

func (*SpotMarketOrder) GetFillable added in v1.40.8

func (o *SpotMarketOrder) GetFillable() sdk.Dec

func (*SpotMarketOrder) GetOrderHash

func (m *SpotMarketOrder) GetOrderHash() []byte

func (*SpotMarketOrder) GetOrderInfo

func (m *SpotMarketOrder) GetOrderInfo() OrderInfo

func (*SpotMarketOrder) GetOrderType added in v1.40.8

func (m *SpotMarketOrder) GetOrderType() OrderType

func (*SpotMarketOrder) GetPrice added in v1.40.8

func (o *SpotMarketOrder) GetPrice() sdk.Dec

func (*SpotMarketOrder) GetQuantity added in v1.40.8

func (o *SpotMarketOrder) GetQuantity() sdk.Dec

func (*SpotMarketOrder) GetSubaccountID added in v1.40.8

func (o *SpotMarketOrder) GetSubaccountID() common.Hash

func (*SpotMarketOrder) Hash added in v1.40.8

func (m *SpotMarketOrder) Hash() common.Hash

func (*SpotMarketOrder) IsBuy added in v1.40.8

func (o *SpotMarketOrder) IsBuy() bool

func (*SpotMarketOrder) IsConditional added in v1.40.8

func (o *SpotMarketOrder) IsConditional() bool

func (*SpotMarketOrder) IsFromDefaultSubaccount added in v1.45.0

func (o *SpotMarketOrder) IsFromDefaultSubaccount() bool

func (*SpotMarketOrder) Marshal

func (m *SpotMarketOrder) Marshal() (dAtA []byte, err error)

func (*SpotMarketOrder) MarshalTo

func (m *SpotMarketOrder) MarshalTo(dAtA []byte) (int, error)

func (*SpotMarketOrder) MarshalToSizedBuffer

func (m *SpotMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotMarketOrder) ProtoMessage

func (*SpotMarketOrder) ProtoMessage()

func (*SpotMarketOrder) Reset

func (m *SpotMarketOrder) Reset()

func (*SpotMarketOrder) SdkAccAddress added in v1.27.0

func (o *SpotMarketOrder) SdkAccAddress() sdk.AccAddress

func (*SpotMarketOrder) Size

func (m *SpotMarketOrder) Size() (n int)

func (*SpotMarketOrder) String

func (m *SpotMarketOrder) String() string

func (*SpotMarketOrder) SubaccountID

func (o *SpotMarketOrder) SubaccountID() common.Hash

func (*SpotMarketOrder) Unmarshal

func (m *SpotMarketOrder) Unmarshal(dAtA []byte) error

func (*SpotMarketOrder) XXX_DiscardUnknown

func (m *SpotMarketOrder) XXX_DiscardUnknown()

func (*SpotMarketOrder) XXX_Marshal

func (m *SpotMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotMarketOrder) XXX_Merge

func (m *SpotMarketOrder) XXX_Merge(src proto.Message)

func (*SpotMarketOrder) XXX_Size

func (m *SpotMarketOrder) XXX_Size() int

func (*SpotMarketOrder) XXX_Unmarshal

func (m *SpotMarketOrder) XXX_Unmarshal(b []byte) error

type SpotMarketOrderResults added in v1.42.6

type SpotMarketOrderResults struct {
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	Price    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Fee      github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
}

func (*SpotMarketOrderResults) Descriptor added in v1.42.6

func (*SpotMarketOrderResults) Descriptor() ([]byte, []int)

func (*SpotMarketOrderResults) Marshal added in v1.42.6

func (m *SpotMarketOrderResults) Marshal() (dAtA []byte, err error)

func (*SpotMarketOrderResults) MarshalTo added in v1.42.6

func (m *SpotMarketOrderResults) MarshalTo(dAtA []byte) (int, error)

func (*SpotMarketOrderResults) MarshalToSizedBuffer added in v1.42.6

func (m *SpotMarketOrderResults) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotMarketOrderResults) ProtoMessage added in v1.42.6

func (*SpotMarketOrderResults) ProtoMessage()

func (*SpotMarketOrderResults) Reset added in v1.42.6

func (m *SpotMarketOrderResults) Reset()

func (*SpotMarketOrderResults) Size added in v1.42.6

func (m *SpotMarketOrderResults) Size() (n int)

func (*SpotMarketOrderResults) String added in v1.42.6

func (m *SpotMarketOrderResults) String() string

func (*SpotMarketOrderResults) Unmarshal added in v1.42.6

func (m *SpotMarketOrderResults) Unmarshal(dAtA []byte) error

func (*SpotMarketOrderResults) XXX_DiscardUnknown added in v1.42.6

func (m *SpotMarketOrderResults) XXX_DiscardUnknown()

func (*SpotMarketOrderResults) XXX_Marshal added in v1.42.6

func (m *SpotMarketOrderResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotMarketOrderResults) XXX_Merge added in v1.42.6

func (m *SpotMarketOrderResults) XXX_Merge(src proto.Message)

func (*SpotMarketOrderResults) XXX_Size added in v1.42.6

func (m *SpotMarketOrderResults) XXX_Size() int

func (*SpotMarketOrderResults) XXX_Unmarshal added in v1.42.6

func (m *SpotMarketOrderResults) XXX_Unmarshal(b []byte) error

type SpotMarketParamUpdateProposal

type SpotMarketParamUpdateProposal struct {
	Title       string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	MarketId    string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// maker_fee_rate defines the trade fee rate for makers on the spot market
	MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// taker_fee_rate defines the trade fee rate for takers on the spot market
	TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 149-byte string literal not displayed */
	// relayer_fee_share_rate defines the relayer fee share rate for the spot
	// market
	RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	// min_price_tick_size defines the minimum tick size of the order's price and
	// margin
	MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 163-byte string literal not displayed */
	// min_quantity_tick_size defines the minimum tick size of the order's
	// quantity
	MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 172-byte string literal not displayed */
	Status              MarketStatus                            `protobuf:"varint,9,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
}

func NewSpotMarketParamUpdateProposal

func NewSpotMarketParamUpdateProposal(title, description string, marketID common.Hash, makerFeeRate, takerFeeRate, relayerFeeShareRate, minPriceTickSize, minQuantityTickSize *sdk.Dec, status MarketStatus) *SpotMarketParamUpdateProposal

NewSpotMarketParamUpdateProposal returns new instance of SpotMarketParamUpdateProposal

func (*SpotMarketParamUpdateProposal) Descriptor

func (*SpotMarketParamUpdateProposal) Descriptor() ([]byte, []int)

func (*SpotMarketParamUpdateProposal) GetDescription

func (p *SpotMarketParamUpdateProposal) GetDescription() string

GetDescription returns the description of this proposal.

func (*SpotMarketParamUpdateProposal) GetTitle

func (p *SpotMarketParamUpdateProposal) GetTitle() string

GetTitle returns the title of this proposal.

func (*SpotMarketParamUpdateProposal) Marshal

func (m *SpotMarketParamUpdateProposal) Marshal() (dAtA []byte, err error)

func (*SpotMarketParamUpdateProposal) MarshalTo

func (m *SpotMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error)

func (*SpotMarketParamUpdateProposal) MarshalToSizedBuffer

func (m *SpotMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotMarketParamUpdateProposal) ProposalRoute

func (p *SpotMarketParamUpdateProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*SpotMarketParamUpdateProposal) ProposalType

func (p *SpotMarketParamUpdateProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*SpotMarketParamUpdateProposal) ProtoMessage

func (*SpotMarketParamUpdateProposal) ProtoMessage()

func (*SpotMarketParamUpdateProposal) Reset

func (m *SpotMarketParamUpdateProposal) Reset()

func (*SpotMarketParamUpdateProposal) Size

func (m *SpotMarketParamUpdateProposal) Size() (n int)

func (*SpotMarketParamUpdateProposal) String

func (*SpotMarketParamUpdateProposal) Unmarshal

func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error

func (*SpotMarketParamUpdateProposal) ValidateBasic

func (p *SpotMarketParamUpdateProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*SpotMarketParamUpdateProposal) XXX_DiscardUnknown

func (m *SpotMarketParamUpdateProposal) XXX_DiscardUnknown()

func (*SpotMarketParamUpdateProposal) XXX_Marshal

func (m *SpotMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotMarketParamUpdateProposal) XXX_Merge

func (m *SpotMarketParamUpdateProposal) XXX_Merge(src proto.Message)

func (*SpotMarketParamUpdateProposal) XXX_Size

func (m *SpotMarketParamUpdateProposal) XXX_Size() int

func (*SpotMarketParamUpdateProposal) XXX_Unmarshal

func (m *SpotMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error

type SpotOrder

type SpotOrder struct {
	// market_id represents the unique ID of the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// order_info contains the information of the order
	OrderInfo OrderInfo `protobuf:"bytes,2,opt,name=order_info,json=orderInfo,proto3" json:"order_info"`
	// order types
	OrderType OrderType `` /* 131-byte string literal not displayed */
	// trigger_price is the trigger price used by stop/take orders
	TriggerPrice *github_com_cosmos_cosmos_sdk_types.Dec `` /* 147-byte string literal not displayed */
}

func (*SpotOrder) CheckTickSize

func (o *SpotOrder) CheckTickSize(minPriceTickSize, minQuantityTickSize sdk.Dec) error

func (*SpotOrder) ComputeOrderHash

func (o *SpotOrder) ComputeOrderHash(nonce uint32) (common.Hash, error)

ComputeOrderHash computes the order hash for given spot limit order

func (*SpotOrder) Descriptor

func (*SpotOrder) Descriptor() ([]byte, []int)

func (*SpotOrder) GetBalanceHoldAndMarginDenom

func (m *SpotOrder) GetBalanceHoldAndMarginDenom(market *SpotMarket) (sdk.Dec, string)

func (*SpotOrder) GetFillable added in v1.40.8

func (o *SpotOrder) GetFillable() sdk.Dec

func (*SpotOrder) GetMarginDenom

func (m *SpotOrder) GetMarginDenom(market *SpotMarket) string

func (*SpotOrder) GetMarketId

func (m *SpotOrder) GetMarketId() string

func (*SpotOrder) GetMarketOrderBalanceHold added in v1.45.0

func (m *SpotOrder) GetMarketOrderBalanceHold(feeRate, bestPrice sdk.Dec) sdk.Dec

GetMarketOrderBalanceHold calculates the balance hold for the market order.

func (*SpotOrder) GetNewSpotLimitOrder

func (o *SpotOrder) GetNewSpotLimitOrder(sender sdk.AccAddress, orderHash common.Hash) *SpotLimitOrder

func (*SpotOrder) GetOrderInfo

func (m *SpotOrder) GetOrderInfo() OrderInfo

func (*SpotOrder) GetOrderType

func (m *SpotOrder) GetOrderType() OrderType

func (*SpotOrder) GetPrice added in v1.40.8

func (o *SpotOrder) GetPrice() sdk.Dec

func (*SpotOrder) GetQuantity added in v1.40.8

func (o *SpotOrder) GetQuantity() sdk.Dec

func (*SpotOrder) GetSubaccountID added in v1.40.8

func (o *SpotOrder) GetSubaccountID() common.Hash

func (*SpotOrder) IsBuy

func (o *SpotOrder) IsBuy() bool

func (*SpotOrder) IsConditional added in v1.40.8

func (o *SpotOrder) IsConditional() bool

func (*SpotOrder) IsFromDefaultSubaccount added in v1.45.0

func (o *SpotOrder) IsFromDefaultSubaccount() bool

func (*SpotOrder) Marshal

func (m *SpotOrder) Marshal() (dAtA []byte, err error)

func (*SpotOrder) MarshalTo

func (m *SpotOrder) MarshalTo(dAtA []byte) (int, error)

func (*SpotOrder) MarshalToSizedBuffer

func (m *SpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotOrder) ProtoMessage

func (*SpotOrder) ProtoMessage()

func (*SpotOrder) Reset

func (m *SpotOrder) Reset()

func (*SpotOrder) Size

func (m *SpotOrder) Size() (n int)

func (*SpotOrder) String

func (m *SpotOrder) String() string

func (*SpotOrder) SubaccountID

func (o *SpotOrder) SubaccountID() common.Hash

func (*SpotOrder) ToSpotMarketOrder added in v1.45.0

func (o *SpotOrder) ToSpotMarketOrder(sender sdk.AccAddress, balanceHold sdk.Dec, orderHash common.Hash) *SpotMarketOrder

func (*SpotOrder) Unmarshal

func (m *SpotOrder) Unmarshal(dAtA []byte) error

func (*SpotOrder) ValidateBasic

func (o *SpotOrder) ValidateBasic(senderAddr sdk.AccAddress) error

func (*SpotOrder) XXX_DiscardUnknown

func (m *SpotOrder) XXX_DiscardUnknown()

func (*SpotOrder) XXX_Marshal

func (m *SpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotOrder) XXX_Merge

func (m *SpotOrder) XXX_Merge(src proto.Message)

func (*SpotOrder) XXX_Size

func (m *SpotOrder) XXX_Size() int

func (*SpotOrder) XXX_Unmarshal

func (m *SpotOrder) XXX_Unmarshal(b []byte) error

type SpotOrderBook

type SpotOrderBook struct {
	MarketId  string            `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsBuySide bool              `protobuf:"varint,2,opt,name=isBuySide,proto3" json:"isBuySide,omitempty"`
	Orders    []*SpotLimitOrder `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders,omitempty"`
}

Spot Exchange Limit Orderbook

func (*SpotOrderBook) Descriptor

func (*SpotOrderBook) Descriptor() ([]byte, []int)

func (*SpotOrderBook) Marshal

func (m *SpotOrderBook) Marshal() (dAtA []byte, err error)

func (*SpotOrderBook) MarshalTo

func (m *SpotOrderBook) MarshalTo(dAtA []byte) (int, error)

func (*SpotOrderBook) MarshalToSizedBuffer

func (m *SpotOrderBook) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SpotOrderBook) ProtoMessage

func (*SpotOrderBook) ProtoMessage()

func (*SpotOrderBook) Reset

func (m *SpotOrderBook) Reset()

func (*SpotOrderBook) Size

func (m *SpotOrderBook) Size() (n int)

func (*SpotOrderBook) String

func (m *SpotOrderBook) String() string

func (*SpotOrderBook) Unmarshal

func (m *SpotOrderBook) Unmarshal(dAtA []byte) error

func (*SpotOrderBook) XXX_DiscardUnknown

func (m *SpotOrderBook) XXX_DiscardUnknown()

func (*SpotOrderBook) XXX_Marshal

func (m *SpotOrderBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SpotOrderBook) XXX_Merge

func (m *SpotOrderBook) XXX_Merge(src proto.Message)

func (*SpotOrderBook) XXX_Size

func (m *SpotOrderBook) XXX_Size() int

func (*SpotOrderBook) XXX_Unmarshal

func (m *SpotOrderBook) XXX_Unmarshal(b []byte) error

type StakingKeeper added in v1.27.0

type StakingKeeper interface {
	GetDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (delegations []stakingtypes.Delegation)
	Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI
}

type Subaccount

type Subaccount struct {
	Trader          string `protobuf:"bytes,1,opt,name=trader,proto3" json:"trader,omitempty"`
	SubaccountNonce uint32 `protobuf:"varint,2,opt,name=subaccount_nonce,json=subaccountNonce,proto3" json:"subaccount_nonce,omitempty"`
}

func (*Subaccount) Descriptor

func (*Subaccount) Descriptor() ([]byte, []int)

func (*Subaccount) GetSubaccountID

func (s *Subaccount) GetSubaccountID() (*common.Hash, error)

func (*Subaccount) GetSubaccountNonce

func (m *Subaccount) GetSubaccountNonce() uint32

func (*Subaccount) GetTrader

func (m *Subaccount) GetTrader() string

func (*Subaccount) Marshal

func (m *Subaccount) Marshal() (dAtA []byte, err error)

func (*Subaccount) MarshalTo

func (m *Subaccount) MarshalTo(dAtA []byte) (int, error)

func (*Subaccount) MarshalToSizedBuffer

func (m *Subaccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Subaccount) ProtoMessage

func (*Subaccount) ProtoMessage()

func (*Subaccount) Reset

func (m *Subaccount) Reset()

func (*Subaccount) Size

func (m *Subaccount) Size() (n int)

func (*Subaccount) String

func (m *Subaccount) String() string

func (*Subaccount) Unmarshal

func (m *Subaccount) Unmarshal(dAtA []byte) error

func (*Subaccount) XXX_DiscardUnknown

func (m *Subaccount) XXX_DiscardUnknown()

func (*Subaccount) XXX_Marshal

func (m *Subaccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subaccount) XXX_Merge

func (m *Subaccount) XXX_Merge(src proto.Message)

func (*Subaccount) XXX_Size

func (m *Subaccount) XXX_Size() int

func (*Subaccount) XXX_Unmarshal

func (m *Subaccount) XXX_Unmarshal(b []byte) error

type SubaccountDeposit

type SubaccountDeposit struct {
	SubaccountId []byte   `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Deposit      *Deposit `protobuf:"bytes,2,opt,name=deposit,proto3" json:"deposit,omitempty"`
}

func (*SubaccountDeposit) Descriptor

func (*SubaccountDeposit) Descriptor() ([]byte, []int)

func (*SubaccountDeposit) GetDeposit

func (m *SubaccountDeposit) GetDeposit() *Deposit

func (*SubaccountDeposit) GetSubaccountId

func (m *SubaccountDeposit) GetSubaccountId() []byte

func (*SubaccountDeposit) Marshal

func (m *SubaccountDeposit) Marshal() (dAtA []byte, err error)

func (*SubaccountDeposit) MarshalTo

func (m *SubaccountDeposit) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountDeposit) MarshalToSizedBuffer

func (m *SubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountDeposit) ProtoMessage

func (*SubaccountDeposit) ProtoMessage()

func (*SubaccountDeposit) Reset

func (m *SubaccountDeposit) Reset()

func (*SubaccountDeposit) Size

func (m *SubaccountDeposit) Size() (n int)

func (*SubaccountDeposit) String

func (m *SubaccountDeposit) String() string

func (*SubaccountDeposit) Unmarshal

func (m *SubaccountDeposit) Unmarshal(dAtA []byte) error

func (*SubaccountDeposit) XXX_DiscardUnknown

func (m *SubaccountDeposit) XXX_DiscardUnknown()

func (*SubaccountDeposit) XXX_Marshal

func (m *SubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountDeposit) XXX_Merge

func (m *SubaccountDeposit) XXX_Merge(src proto.Message)

func (*SubaccountDeposit) XXX_Size

func (m *SubaccountDeposit) XXX_Size() int

func (*SubaccountDeposit) XXX_Unmarshal

func (m *SubaccountDeposit) XXX_Unmarshal(b []byte) error

type SubaccountIDs added in v1.40.3

type SubaccountIDs struct {
	SubaccountIds [][]byte `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
}

func (*SubaccountIDs) Descriptor added in v1.40.3

func (*SubaccountIDs) Descriptor() ([]byte, []int)

func (*SubaccountIDs) GetSubaccountIds added in v1.40.3

func (m *SubaccountIDs) GetSubaccountIds() [][]byte

func (*SubaccountIDs) Marshal added in v1.40.3

func (m *SubaccountIDs) Marshal() (dAtA []byte, err error)

func (*SubaccountIDs) MarshalTo added in v1.40.3

func (m *SubaccountIDs) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountIDs) MarshalToSizedBuffer added in v1.40.3

func (m *SubaccountIDs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountIDs) ProtoMessage added in v1.40.3

func (*SubaccountIDs) ProtoMessage()

func (*SubaccountIDs) Reset added in v1.40.3

func (m *SubaccountIDs) Reset()

func (*SubaccountIDs) Size added in v1.40.3

func (m *SubaccountIDs) Size() (n int)

func (*SubaccountIDs) String added in v1.40.3

func (m *SubaccountIDs) String() string

func (*SubaccountIDs) Unmarshal added in v1.40.3

func (m *SubaccountIDs) Unmarshal(dAtA []byte) error

func (*SubaccountIDs) XXX_DiscardUnknown added in v1.40.3

func (m *SubaccountIDs) XXX_DiscardUnknown()

func (*SubaccountIDs) XXX_Marshal added in v1.40.3

func (m *SubaccountIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountIDs) XXX_Merge added in v1.40.3

func (m *SubaccountIDs) XXX_Merge(src proto.Message)

func (*SubaccountIDs) XXX_Size added in v1.40.3

func (m *SubaccountIDs) XXX_Size() int

func (*SubaccountIDs) XXX_Unmarshal added in v1.40.3

func (m *SubaccountIDs) XXX_Unmarshal(b []byte) error

type SubaccountNonce

type SubaccountNonce struct {
	SubaccountId         string               `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	SubaccountTradeNonce SubaccountTradeNonce `protobuf:"bytes,2,opt,name=subaccount_trade_nonce,json=subaccountTradeNonce,proto3" json:"subaccount_trade_nonce"`
}

func (*SubaccountNonce) Descriptor

func (*SubaccountNonce) Descriptor() ([]byte, []int)

func (*SubaccountNonce) Marshal

func (m *SubaccountNonce) Marshal() (dAtA []byte, err error)

func (*SubaccountNonce) MarshalTo

func (m *SubaccountNonce) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountNonce) MarshalToSizedBuffer

func (m *SubaccountNonce) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountNonce) ProtoMessage

func (*SubaccountNonce) ProtoMessage()

func (*SubaccountNonce) Reset

func (m *SubaccountNonce) Reset()

func (*SubaccountNonce) Size

func (m *SubaccountNonce) Size() (n int)

func (*SubaccountNonce) String

func (m *SubaccountNonce) String() string

func (*SubaccountNonce) Unmarshal

func (m *SubaccountNonce) Unmarshal(dAtA []byte) error

func (*SubaccountNonce) XXX_DiscardUnknown

func (m *SubaccountNonce) XXX_DiscardUnknown()

func (*SubaccountNonce) XXX_Marshal

func (m *SubaccountNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountNonce) XXX_Merge

func (m *SubaccountNonce) XXX_Merge(src proto.Message)

func (*SubaccountNonce) XXX_Size

func (m *SubaccountNonce) XXX_Size() int

func (*SubaccountNonce) XXX_Unmarshal

func (m *SubaccountNonce) XXX_Unmarshal(b []byte) error

type SubaccountOrder

type SubaccountOrder struct {
	// price of the order
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// the amount of the quantity remaining fillable
	Quantity     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	IsReduceOnly bool                                   `protobuf:"varint,3,opt,name=isReduceOnly,proto3" json:"isReduceOnly,omitempty"`
}

func NewSubaccountOrder

func NewSubaccountOrder(o *DerivativeLimitOrder) *SubaccountOrder

func (*SubaccountOrder) Descriptor

func (*SubaccountOrder) Descriptor() ([]byte, []int)

func (*SubaccountOrder) GetIsReduceOnly

func (m *SubaccountOrder) GetIsReduceOnly() bool

func (*SubaccountOrder) IsVanilla

func (o *SubaccountOrder) IsVanilla() bool

func (*SubaccountOrder) Marshal

func (m *SubaccountOrder) Marshal() (dAtA []byte, err error)

func (*SubaccountOrder) MarshalTo

func (m *SubaccountOrder) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountOrder) MarshalToSizedBuffer

func (m *SubaccountOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountOrder) ProtoMessage

func (*SubaccountOrder) ProtoMessage()

func (*SubaccountOrder) Reset

func (m *SubaccountOrder) Reset()

func (*SubaccountOrder) Size

func (m *SubaccountOrder) Size() (n int)

func (*SubaccountOrder) String

func (m *SubaccountOrder) String() string

func (*SubaccountOrder) Unmarshal

func (m *SubaccountOrder) Unmarshal(dAtA []byte) error

func (*SubaccountOrder) XXX_DiscardUnknown

func (m *SubaccountOrder) XXX_DiscardUnknown()

func (*SubaccountOrder) XXX_Marshal

func (m *SubaccountOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountOrder) XXX_Merge

func (m *SubaccountOrder) XXX_Merge(src proto.Message)

func (*SubaccountOrder) XXX_Size

func (m *SubaccountOrder) XXX_Size() int

func (*SubaccountOrder) XXX_Unmarshal

func (m *SubaccountOrder) XXX_Unmarshal(b []byte) error

type SubaccountOrderData added in v1.40.2

type SubaccountOrderData struct {
	Order     *SubaccountOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
	OrderHash []byte           `protobuf:"bytes,2,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

func (*SubaccountOrderData) Descriptor added in v1.40.2

func (*SubaccountOrderData) Descriptor() ([]byte, []int)

func (*SubaccountOrderData) GetOrder added in v1.40.2

func (m *SubaccountOrderData) GetOrder() *SubaccountOrder

func (*SubaccountOrderData) GetOrderHash added in v1.40.2

func (m *SubaccountOrderData) GetOrderHash() []byte

func (*SubaccountOrderData) Marshal added in v1.40.2

func (m *SubaccountOrderData) Marshal() (dAtA []byte, err error)

func (*SubaccountOrderData) MarshalTo added in v1.40.2

func (m *SubaccountOrderData) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountOrderData) MarshalToSizedBuffer added in v1.40.2

func (m *SubaccountOrderData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountOrderData) ProtoMessage added in v1.40.2

func (*SubaccountOrderData) ProtoMessage()

func (*SubaccountOrderData) Reset added in v1.40.2

func (m *SubaccountOrderData) Reset()

func (*SubaccountOrderData) Size added in v1.40.2

func (m *SubaccountOrderData) Size() (n int)

func (*SubaccountOrderData) String added in v1.40.2

func (m *SubaccountOrderData) String() string

func (*SubaccountOrderData) Unmarshal added in v1.40.2

func (m *SubaccountOrderData) Unmarshal(dAtA []byte) error

func (*SubaccountOrderData) XXX_DiscardUnknown added in v1.40.2

func (m *SubaccountOrderData) XXX_DiscardUnknown()

func (*SubaccountOrderData) XXX_Marshal added in v1.40.2

func (m *SubaccountOrderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountOrderData) XXX_Merge added in v1.40.2

func (m *SubaccountOrderData) XXX_Merge(src proto.Message)

func (*SubaccountOrderData) XXX_Size added in v1.40.2

func (m *SubaccountOrderData) XXX_Size() int

func (*SubaccountOrderData) XXX_Unmarshal added in v1.40.2

func (m *SubaccountOrderData) XXX_Unmarshal(b []byte) error

type SubaccountOrderbookMetadata

type SubaccountOrderbookMetadata struct {
	VanillaLimitOrderCount    uint32 `` /* 132-byte string literal not displayed */
	ReduceOnlyLimitOrderCount uint32 `` /* 143-byte string literal not displayed */
	// AggregateReduceOnlyQuantity is the aggregate fillable quantity of the
	// subaccount's reduce-only limit orders in the given direction.
	AggregateReduceOnlyQuantity github_com_cosmos_cosmos_sdk_types.Dec `` /* 186-byte string literal not displayed */
	// AggregateVanillaQuantity is the aggregate fillable quantity of the
	// subaccount's vanilla limit orders in the given direction.
	AggregateVanillaQuantity        github_com_cosmos_cosmos_sdk_types.Dec `` /* 175-byte string literal not displayed */
	VanillaConditionalOrderCount    uint32                                 `` /* 150-byte string literal not displayed */
	ReduceOnlyConditionalOrderCount uint32                                 `` /* 161-byte string literal not displayed */
}

func NewSubaccountOrderbookMetadata

func NewSubaccountOrderbookMetadata() *SubaccountOrderbookMetadata

func (*SubaccountOrderbookMetadata) ApplyDelta

func (*SubaccountOrderbookMetadata) AssertValid

func (m *SubaccountOrderbookMetadata) AssertValid()

func (*SubaccountOrderbookMetadata) Descriptor

func (*SubaccountOrderbookMetadata) Descriptor() ([]byte, []int)

func (*SubaccountOrderbookMetadata) GetOrderSideCount

func (m *SubaccountOrderbookMetadata) GetOrderSideCount() uint32

func (*SubaccountOrderbookMetadata) GetReduceOnlyConditionalOrderCount added in v1.40.8

func (m *SubaccountOrderbookMetadata) GetReduceOnlyConditionalOrderCount() uint32

func (*SubaccountOrderbookMetadata) GetReduceOnlyLimitOrderCount

func (m *SubaccountOrderbookMetadata) GetReduceOnlyLimitOrderCount() uint32

func (*SubaccountOrderbookMetadata) GetVanillaConditionalOrderCount added in v1.40.8

func (m *SubaccountOrderbookMetadata) GetVanillaConditionalOrderCount() uint32

func (*SubaccountOrderbookMetadata) GetVanillaLimitOrderCount

func (m *SubaccountOrderbookMetadata) GetVanillaLimitOrderCount() uint32

func (*SubaccountOrderbookMetadata) Marshal

func (m *SubaccountOrderbookMetadata) Marshal() (dAtA []byte, err error)

func (*SubaccountOrderbookMetadata) MarshalTo

func (m *SubaccountOrderbookMetadata) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountOrderbookMetadata) MarshalToSizedBuffer

func (m *SubaccountOrderbookMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountOrderbookMetadata) ProtoMessage

func (*SubaccountOrderbookMetadata) ProtoMessage()

func (*SubaccountOrderbookMetadata) Reset

func (m *SubaccountOrderbookMetadata) Reset()

func (*SubaccountOrderbookMetadata) Size

func (m *SubaccountOrderbookMetadata) Size() (n int)

func (*SubaccountOrderbookMetadata) String

func (m *SubaccountOrderbookMetadata) String() string

func (*SubaccountOrderbookMetadata) Unmarshal

func (m *SubaccountOrderbookMetadata) Unmarshal(dAtA []byte) error

func (*SubaccountOrderbookMetadata) XXX_DiscardUnknown

func (m *SubaccountOrderbookMetadata) XXX_DiscardUnknown()

func (*SubaccountOrderbookMetadata) XXX_Marshal

func (m *SubaccountOrderbookMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountOrderbookMetadata) XXX_Merge

func (m *SubaccountOrderbookMetadata) XXX_Merge(src proto.Message)

func (*SubaccountOrderbookMetadata) XXX_Size

func (m *SubaccountOrderbookMetadata) XXX_Size() int

func (*SubaccountOrderbookMetadata) XXX_Unmarshal

func (m *SubaccountOrderbookMetadata) XXX_Unmarshal(b []byte) error

type SubaccountOrderbookMetadataWithMarket added in v1.28.3

type SubaccountOrderbookMetadataWithMarket struct {
	Metadata *SubaccountOrderbookMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	MarketId string                       `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	IsBuy    bool                         `protobuf:"varint,3,opt,name=isBuy,proto3" json:"isBuy,omitempty"`
}

func (*SubaccountOrderbookMetadataWithMarket) Descriptor added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) Descriptor() ([]byte, []int)

func (*SubaccountOrderbookMetadataWithMarket) GetIsBuy added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) GetMarketId added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) GetMetadata added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) Marshal added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) Marshal() (dAtA []byte, err error)

func (*SubaccountOrderbookMetadataWithMarket) MarshalTo added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountOrderbookMetadataWithMarket) MarshalToSizedBuffer added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountOrderbookMetadataWithMarket) ProtoMessage added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) ProtoMessage()

func (*SubaccountOrderbookMetadataWithMarket) Reset added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) Size added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) String added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) Unmarshal added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) Unmarshal(dAtA []byte) error

func (*SubaccountOrderbookMetadataWithMarket) XXX_DiscardUnknown added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) XXX_DiscardUnknown()

func (*SubaccountOrderbookMetadataWithMarket) XXX_Marshal added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountOrderbookMetadataWithMarket) XXX_Merge added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) XXX_Size added in v1.28.3

func (*SubaccountOrderbookMetadataWithMarket) XXX_Unmarshal added in v1.28.3

func (m *SubaccountOrderbookMetadataWithMarket) XXX_Unmarshal(b []byte) error

type SubaccountPosition

type SubaccountPosition struct {
	Position     *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	SubaccountId []byte    `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
}

func (*SubaccountPosition) Descriptor

func (*SubaccountPosition) Descriptor() ([]byte, []int)

func (*SubaccountPosition) GetPosition

func (m *SubaccountPosition) GetPosition() *Position

func (*SubaccountPosition) GetSubaccountId

func (m *SubaccountPosition) GetSubaccountId() []byte

func (*SubaccountPosition) Marshal

func (m *SubaccountPosition) Marshal() (dAtA []byte, err error)

func (*SubaccountPosition) MarshalTo

func (m *SubaccountPosition) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountPosition) MarshalToSizedBuffer

func (m *SubaccountPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountPosition) ProtoMessage

func (*SubaccountPosition) ProtoMessage()

func (*SubaccountPosition) Reset

func (m *SubaccountPosition) Reset()

func (*SubaccountPosition) Size

func (m *SubaccountPosition) Size() (n int)

func (*SubaccountPosition) String

func (m *SubaccountPosition) String() string

func (*SubaccountPosition) Unmarshal

func (m *SubaccountPosition) Unmarshal(dAtA []byte) error

func (*SubaccountPosition) XXX_DiscardUnknown

func (m *SubaccountPosition) XXX_DiscardUnknown()

func (*SubaccountPosition) XXX_Marshal

func (m *SubaccountPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountPosition) XXX_Merge

func (m *SubaccountPosition) XXX_Merge(src proto.Message)

func (*SubaccountPosition) XXX_Size

func (m *SubaccountPosition) XXX_Size() int

func (*SubaccountPosition) XXX_Unmarshal

func (m *SubaccountPosition) XXX_Unmarshal(b []byte) error

type SubaccountTradeNonce

type SubaccountTradeNonce struct {
	Nonce uint32 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
}

func (*SubaccountTradeNonce) Descriptor

func (*SubaccountTradeNonce) Descriptor() ([]byte, []int)

func (*SubaccountTradeNonce) GetNonce

func (m *SubaccountTradeNonce) GetNonce() uint32

func (*SubaccountTradeNonce) Marshal

func (m *SubaccountTradeNonce) Marshal() (dAtA []byte, err error)

func (*SubaccountTradeNonce) MarshalTo

func (m *SubaccountTradeNonce) MarshalTo(dAtA []byte) (int, error)

func (*SubaccountTradeNonce) MarshalToSizedBuffer

func (m *SubaccountTradeNonce) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubaccountTradeNonce) ProtoMessage

func (*SubaccountTradeNonce) ProtoMessage()

func (*SubaccountTradeNonce) Reset

func (m *SubaccountTradeNonce) Reset()

func (*SubaccountTradeNonce) Size

func (m *SubaccountTradeNonce) Size() (n int)

func (*SubaccountTradeNonce) String

func (m *SubaccountTradeNonce) String() string

func (*SubaccountTradeNonce) Unmarshal

func (m *SubaccountTradeNonce) Unmarshal(dAtA []byte) error

func (*SubaccountTradeNonce) XXX_DiscardUnknown

func (m *SubaccountTradeNonce) XXX_DiscardUnknown()

func (*SubaccountTradeNonce) XXX_Marshal

func (m *SubaccountTradeNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubaccountTradeNonce) XXX_Merge

func (m *SubaccountTradeNonce) XXX_Merge(src proto.Message)

func (*SubaccountTradeNonce) XXX_Size

func (m *SubaccountTradeNonce) XXX_Size() int

func (*SubaccountTradeNonce) XXX_Unmarshal

func (m *SubaccountTradeNonce) XXX_Unmarshal(b []byte) error

type SyntheticTrade added in v1.39.0

type SyntheticTrade struct {
	MarketID     common.Hash `json:"market_id"`
	SubaccountID common.Hash `json:"subaccount_id"`
	IsBuy        bool        `json:"is_buy"`
	Quantity     sdk.Dec     `json:"quantity"`
	Price        sdk.Dec     `json:"price"`
	Margin       sdk.Dec     `json:"margin"`
}

func (*SyntheticTrade) ToPositionDelta added in v1.39.0

func (t *SyntheticTrade) ToPositionDelta() *PositionDelta

func (*SyntheticTrade) Validate added in v1.39.0

func (t *SyntheticTrade) Validate() error

type SyntheticTradeAction added in v1.39.0

type SyntheticTradeAction struct {
	UserTrades     []*SyntheticTrade `json:"user_trades"`
	ContractTrades []*SyntheticTrade `json:"contract_trades"`
}

func (*SyntheticTradeAction) Summarize added in v1.39.0

func (*SyntheticTradeAction) ValidateBasic added in v1.39.0

func (a *SyntheticTradeAction) ValidateBasic() error

type SyntheticTradeActionSummary added in v1.39.0

type SyntheticTradeActionSummary struct {
	MarketSummary   map[common.Hash]*MarketSummary
	MarketIDs       []common.Hash
	ContractAddress sdk.Address
	UserAddress     sdk.Address
}

func NewSyntheticTradeActionSummary added in v1.39.0

func NewSyntheticTradeActionSummary() *SyntheticTradeActionSummary

func (*SyntheticTradeActionSummary) GetMarketIDs added in v1.39.0

func (s *SyntheticTradeActionSummary) GetMarketIDs() []common.Hash

func (*SyntheticTradeActionSummary) IsValid added in v1.39.0

func (s *SyntheticTradeActionSummary) IsValid() bool

IsValid checks that all the net quantities are zero

func (*SyntheticTradeActionSummary) Update added in v1.39.0

func (s *SyntheticTradeActionSummary) Update(t *SyntheticTrade, isForUser bool) error

type TierStatistic added in v1.32.1

type TierStatistic struct {
	Tier  uint64 `protobuf:"varint,1,opt,name=tier,proto3" json:"tier,omitempty"`
	Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
}

func (*TierStatistic) Descriptor added in v1.32.1

func (*TierStatistic) Descriptor() ([]byte, []int)

func (*TierStatistic) GetCount added in v1.32.1

func (m *TierStatistic) GetCount() uint64

func (*TierStatistic) GetTier added in v1.32.1

func (m *TierStatistic) GetTier() uint64

func (*TierStatistic) Marshal added in v1.32.1

func (m *TierStatistic) Marshal() (dAtA []byte, err error)

func (*TierStatistic) MarshalTo added in v1.32.1

func (m *TierStatistic) MarshalTo(dAtA []byte) (int, error)

func (*TierStatistic) MarshalToSizedBuffer added in v1.32.1

func (m *TierStatistic) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TierStatistic) ProtoMessage added in v1.32.1

func (*TierStatistic) ProtoMessage()

func (*TierStatistic) Reset added in v1.32.1

func (m *TierStatistic) Reset()

func (*TierStatistic) Size added in v1.32.1

func (m *TierStatistic) Size() (n int)

func (*TierStatistic) String added in v1.32.1

func (m *TierStatistic) String() string

func (*TierStatistic) Unmarshal added in v1.32.1

func (m *TierStatistic) Unmarshal(dAtA []byte) error

func (*TierStatistic) XXX_DiscardUnknown added in v1.32.1

func (m *TierStatistic) XXX_DiscardUnknown()

func (*TierStatistic) XXX_Marshal added in v1.32.1

func (m *TierStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TierStatistic) XXX_Merge added in v1.32.1

func (m *TierStatistic) XXX_Merge(src proto.Message)

func (*TierStatistic) XXX_Size added in v1.32.1

func (m *TierStatistic) XXX_Size() int

func (*TierStatistic) XXX_Unmarshal added in v1.32.1

func (m *TierStatistic) XXX_Unmarshal(b []byte) error

type TradeHistoryOptions added in v1.39.0

type TradeHistoryOptions struct {
	// TradeGroupingSec of 0 means use the chain's default grouping
	TradeGroupingSec uint64 `protobuf:"varint,1,opt,name=trade_grouping_sec,json=tradeGroupingSec,proto3" json:"trade_grouping_sec,omitempty"`
	// MaxAge restricts the trade records oldest age in seconds from the current block time to consider.
	// A value of 0 means use all the records present on the chain.
	MaxAge uint64 `protobuf:"varint,2,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	// If IncludeRawHistory is true, the raw underlying data used for the
	// computation is included in the response
	IncludeRawHistory bool `protobuf:"varint,4,opt,name=include_raw_history,json=includeRawHistory,proto3" json:"include_raw_history,omitempty"`
	// If IncludeMetadata is true, metadata on the computation is included in the
	// response
	IncludeMetadata bool `protobuf:"varint,5,opt,name=include_metadata,json=includeMetadata,proto3" json:"include_metadata,omitempty"`
}

TradeHistoryOptions are the optional params for Query/MarketVolatility RPC method.

func (*TradeHistoryOptions) Descriptor added in v1.39.0

func (*TradeHistoryOptions) Descriptor() ([]byte, []int)

func (*TradeHistoryOptions) GetIncludeMetadata added in v1.39.0

func (m *TradeHistoryOptions) GetIncludeMetadata() bool

func (*TradeHistoryOptions) GetIncludeRawHistory added in v1.39.0

func (m *TradeHistoryOptions) GetIncludeRawHistory() bool

func (*TradeHistoryOptions) GetMaxAge added in v1.39.0

func (m *TradeHistoryOptions) GetMaxAge() uint64

func (*TradeHistoryOptions) GetTradeGroupingSec added in v1.39.0

func (m *TradeHistoryOptions) GetTradeGroupingSec() uint64

func (*TradeHistoryOptions) Marshal added in v1.39.0

func (m *TradeHistoryOptions) Marshal() (dAtA []byte, err error)

func (*TradeHistoryOptions) MarshalTo added in v1.39.0

func (m *TradeHistoryOptions) MarshalTo(dAtA []byte) (int, error)

func (*TradeHistoryOptions) MarshalToSizedBuffer added in v1.39.0

func (m *TradeHistoryOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradeHistoryOptions) ProtoMessage added in v1.39.0

func (*TradeHistoryOptions) ProtoMessage()

func (*TradeHistoryOptions) Reset added in v1.39.0

func (m *TradeHistoryOptions) Reset()

func (*TradeHistoryOptions) Size added in v1.39.0

func (m *TradeHistoryOptions) Size() (n int)

func (*TradeHistoryOptions) String added in v1.39.0

func (m *TradeHistoryOptions) String() string

func (*TradeHistoryOptions) Unmarshal added in v1.39.0

func (m *TradeHistoryOptions) Unmarshal(dAtA []byte) error

func (*TradeHistoryOptions) XXX_DiscardUnknown added in v1.39.0

func (m *TradeHistoryOptions) XXX_DiscardUnknown()

func (*TradeHistoryOptions) XXX_Marshal added in v1.39.0

func (m *TradeHistoryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeHistoryOptions) XXX_Merge added in v1.39.0

func (m *TradeHistoryOptions) XXX_Merge(src proto.Message)

func (*TradeHistoryOptions) XXX_Size added in v1.39.0

func (m *TradeHistoryOptions) XXX_Size() int

func (*TradeHistoryOptions) XXX_Unmarshal added in v1.39.0

func (m *TradeHistoryOptions) XXX_Unmarshal(b []byte) error

type TradeLog

type TradeLog struct {
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	Price    github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// bytes32 subaccount ID that executed the trade
	SubaccountId        []byte                                 `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
	Fee                 github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
	OrderHash           []byte                                 `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
	FeeRecipientAddress []byte                                 `protobuf:"bytes,6,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"`
}

func (*TradeLog) Descriptor

func (*TradeLog) Descriptor() ([]byte, []int)

func (*TradeLog) GetFeeRecipientAddress added in v1.28.4

func (m *TradeLog) GetFeeRecipientAddress() []byte

func (*TradeLog) GetOrderHash

func (m *TradeLog) GetOrderHash() []byte

func (*TradeLog) GetSubaccountId

func (m *TradeLog) GetSubaccountId() []byte

func (*TradeLog) Marshal

func (m *TradeLog) Marshal() (dAtA []byte, err error)

func (*TradeLog) MarshalTo

func (m *TradeLog) MarshalTo(dAtA []byte) (int, error)

func (*TradeLog) MarshalToSizedBuffer

func (m *TradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradeLog) ProtoMessage

func (*TradeLog) ProtoMessage()

func (*TradeLog) Reset

func (m *TradeLog) Reset()

func (*TradeLog) Size

func (m *TradeLog) Size() (n int)

func (*TradeLog) String

func (m *TradeLog) String() string

func (*TradeLog) Unmarshal

func (m *TradeLog) Unmarshal(dAtA []byte) error

func (*TradeLog) XXX_DiscardUnknown

func (m *TradeLog) XXX_DiscardUnknown()

func (*TradeLog) XXX_Marshal

func (m *TradeLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeLog) XXX_Merge

func (m *TradeLog) XXX_Merge(src proto.Message)

func (*TradeLog) XXX_Size

func (m *TradeLog) XXX_Size() int

func (*TradeLog) XXX_Unmarshal

func (m *TradeLog) XXX_Unmarshal(b []byte) error

type TradeRecord added in v1.39.0

type TradeRecord struct {
	Timestamp int64                                  `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Price     github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	Quantity  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
}

func (*TradeRecord) Descriptor added in v1.39.0

func (*TradeRecord) Descriptor() ([]byte, []int)

func (*TradeRecord) GetTimestamp added in v1.39.0

func (m *TradeRecord) GetTimestamp() int64

func (*TradeRecord) Marshal added in v1.39.0

func (m *TradeRecord) Marshal() (dAtA []byte, err error)

func (*TradeRecord) MarshalTo added in v1.39.0

func (m *TradeRecord) MarshalTo(dAtA []byte) (int, error)

func (*TradeRecord) MarshalToSizedBuffer added in v1.39.0

func (m *TradeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradeRecord) ProtoMessage added in v1.39.0

func (*TradeRecord) ProtoMessage()

func (*TradeRecord) Reset added in v1.39.0

func (m *TradeRecord) Reset()

func (*TradeRecord) Size added in v1.39.0

func (m *TradeRecord) Size() (n int)

func (*TradeRecord) String added in v1.39.0

func (m *TradeRecord) String() string

func (*TradeRecord) Unmarshal added in v1.39.0

func (m *TradeRecord) Unmarshal(dAtA []byte) error

func (*TradeRecord) XXX_DiscardUnknown added in v1.39.0

func (m *TradeRecord) XXX_DiscardUnknown()

func (*TradeRecord) XXX_Marshal added in v1.39.0

func (m *TradeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeRecord) XXX_Merge added in v1.39.0

func (m *TradeRecord) XXX_Merge(src proto.Message)

func (*TradeRecord) XXX_Size added in v1.39.0

func (m *TradeRecord) XXX_Size() int

func (*TradeRecord) XXX_Unmarshal added in v1.39.0

func (m *TradeRecord) XXX_Unmarshal(b []byte) error

type TradeRecords added in v1.39.0

type TradeRecords struct {
	MarketId           string         `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	LatestTradeRecords []*TradeRecord `protobuf:"bytes,2,rep,name=latest_trade_records,json=latestTradeRecords,proto3" json:"latest_trade_records,omitempty"`
}

func (*TradeRecords) Descriptor added in v1.39.0

func (*TradeRecords) Descriptor() ([]byte, []int)

func (*TradeRecords) GetLatestTradeRecords added in v1.39.0

func (m *TradeRecords) GetLatestTradeRecords() []*TradeRecord

func (*TradeRecords) GetMarketId added in v1.39.0

func (m *TradeRecords) GetMarketId() string

func (*TradeRecords) Marshal added in v1.39.0

func (m *TradeRecords) Marshal() (dAtA []byte, err error)

func (*TradeRecords) MarshalTo added in v1.39.0

func (m *TradeRecords) MarshalTo(dAtA []byte) (int, error)

func (*TradeRecords) MarshalToSizedBuffer added in v1.39.0

func (m *TradeRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradeRecords) ProtoMessage added in v1.39.0

func (*TradeRecords) ProtoMessage()

func (*TradeRecords) Reset added in v1.39.0

func (m *TradeRecords) Reset()

func (*TradeRecords) Size added in v1.39.0

func (m *TradeRecords) Size() (n int)

func (*TradeRecords) String added in v1.39.0

func (m *TradeRecords) String() string

func (*TradeRecords) Unmarshal added in v1.39.0

func (m *TradeRecords) Unmarshal(dAtA []byte) error

func (*TradeRecords) XXX_DiscardUnknown added in v1.39.0

func (m *TradeRecords) XXX_DiscardUnknown()

func (*TradeRecords) XXX_Marshal added in v1.39.0

func (m *TradeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradeRecords) XXX_Merge added in v1.39.0

func (m *TradeRecords) XXX_Merge(src proto.Message)

func (*TradeRecords) XXX_Size added in v1.39.0

func (m *TradeRecords) XXX_Size() int

func (*TradeRecords) XXX_Unmarshal added in v1.39.0

func (m *TradeRecords) XXX_Unmarshal(b []byte) error

type TradingRewardAccountPoints added in v1.27.0

type TradingRewardAccountPoints struct {
	Account sdk.AccAddress
	Points  sdk.Dec
}

type TradingRewardCampaignAccountPendingPoints added in v1.30.0

type TradingRewardCampaignAccountPendingPoints struct {
	RewardPoolStartTimestamp int64                                 `` /* 138-byte string literal not displayed */
	AccountPoints            []*TradingRewardCampaignAccountPoints `protobuf:"bytes,2,rep,name=account_points,json=accountPoints,proto3" json:"account_points,omitempty"`
}

func (*TradingRewardCampaignAccountPendingPoints) Descriptor added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) Descriptor() ([]byte, []int)

func (*TradingRewardCampaignAccountPendingPoints) GetAccountPoints added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) GetRewardPoolStartTimestamp added in v1.30.0

func (m *TradingRewardCampaignAccountPendingPoints) GetRewardPoolStartTimestamp() int64

func (*TradingRewardCampaignAccountPendingPoints) Marshal added in v1.30.0

func (m *TradingRewardCampaignAccountPendingPoints) Marshal() (dAtA []byte, err error)

func (*TradingRewardCampaignAccountPendingPoints) MarshalTo added in v1.30.0

func (m *TradingRewardCampaignAccountPendingPoints) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardCampaignAccountPendingPoints) MarshalToSizedBuffer added in v1.30.0

func (m *TradingRewardCampaignAccountPendingPoints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardCampaignAccountPendingPoints) ProtoMessage added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) Reset added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) Size added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) String added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) Unmarshal added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) XXX_DiscardUnknown added in v1.30.0

func (m *TradingRewardCampaignAccountPendingPoints) XXX_DiscardUnknown()

func (*TradingRewardCampaignAccountPendingPoints) XXX_Marshal added in v1.30.0

func (m *TradingRewardCampaignAccountPendingPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardCampaignAccountPendingPoints) XXX_Merge added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) XXX_Size added in v1.30.0

func (*TradingRewardCampaignAccountPendingPoints) XXX_Unmarshal added in v1.30.0

type TradingRewardCampaignAccountPoints added in v1.27.0

type TradingRewardCampaignAccountPoints struct {
	Account string                                 `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Points  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=points,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"points"`
}

func (*TradingRewardCampaignAccountPoints) Descriptor added in v1.27.0

func (*TradingRewardCampaignAccountPoints) Descriptor() ([]byte, []int)

func (*TradingRewardCampaignAccountPoints) GetAccount added in v1.27.0

func (*TradingRewardCampaignAccountPoints) Marshal added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) Marshal() (dAtA []byte, err error)

func (*TradingRewardCampaignAccountPoints) MarshalTo added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardCampaignAccountPoints) MarshalToSizedBuffer added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardCampaignAccountPoints) ProtoMessage added in v1.27.0

func (*TradingRewardCampaignAccountPoints) ProtoMessage()

func (*TradingRewardCampaignAccountPoints) Reset added in v1.27.0

func (*TradingRewardCampaignAccountPoints) Size added in v1.27.0

func (*TradingRewardCampaignAccountPoints) String added in v1.27.0

func (*TradingRewardCampaignAccountPoints) Unmarshal added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) Unmarshal(dAtA []byte) error

func (*TradingRewardCampaignAccountPoints) XXX_DiscardUnknown added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) XXX_DiscardUnknown()

func (*TradingRewardCampaignAccountPoints) XXX_Marshal added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardCampaignAccountPoints) XXX_Merge added in v1.27.0

func (*TradingRewardCampaignAccountPoints) XXX_Size added in v1.27.0

func (*TradingRewardCampaignAccountPoints) XXX_Unmarshal added in v1.27.0

func (m *TradingRewardCampaignAccountPoints) XXX_Unmarshal(b []byte) error

type TradingRewardCampaignBoostInfo added in v1.27.0

type TradingRewardCampaignBoostInfo struct {
	BoostedSpotMarketIds        []string           `protobuf:"bytes,1,rep,name=boosted_spot_market_ids,json=boostedSpotMarketIds,proto3" json:"boosted_spot_market_ids,omitempty"`
	SpotMarketMultipliers       []PointsMultiplier `protobuf:"bytes,2,rep,name=spot_market_multipliers,json=spotMarketMultipliers,proto3" json:"spot_market_multipliers"`
	BoostedDerivativeMarketIds  []string           `` /* 143-byte string literal not displayed */
	DerivativeMarketMultipliers []PointsMultiplier `` /* 134-byte string literal not displayed */
}

func (*TradingRewardCampaignBoostInfo) Descriptor added in v1.27.0

func (*TradingRewardCampaignBoostInfo) Descriptor() ([]byte, []int)

func (*TradingRewardCampaignBoostInfo) GetBoostedDerivativeMarketIds added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) GetBoostedDerivativeMarketIds() []string

func (*TradingRewardCampaignBoostInfo) GetBoostedSpotMarketIds added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) GetBoostedSpotMarketIds() []string

func (*TradingRewardCampaignBoostInfo) GetDerivativeMarketMultipliers added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) GetDerivativeMarketMultipliers() []PointsMultiplier

func (*TradingRewardCampaignBoostInfo) GetSpotMarketMultipliers added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) GetSpotMarketMultipliers() []PointsMultiplier

func (*TradingRewardCampaignBoostInfo) Marshal added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) Marshal() (dAtA []byte, err error)

func (*TradingRewardCampaignBoostInfo) MarshalTo added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardCampaignBoostInfo) MarshalToSizedBuffer added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardCampaignBoostInfo) ProtoMessage added in v1.27.0

func (*TradingRewardCampaignBoostInfo) ProtoMessage()

func (*TradingRewardCampaignBoostInfo) Reset added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) Reset()

func (*TradingRewardCampaignBoostInfo) Size added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) Size() (n int)

func (*TradingRewardCampaignBoostInfo) String added in v1.27.0

func (*TradingRewardCampaignBoostInfo) Unmarshal added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) Unmarshal(dAtA []byte) error

func (*TradingRewardCampaignBoostInfo) ValidateBasic added in v1.27.0

func (t *TradingRewardCampaignBoostInfo) ValidateBasic() error

func (*TradingRewardCampaignBoostInfo) XXX_DiscardUnknown added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) XXX_DiscardUnknown()

func (*TradingRewardCampaignBoostInfo) XXX_Marshal added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardCampaignBoostInfo) XXX_Merge added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) XXX_Merge(src proto.Message)

func (*TradingRewardCampaignBoostInfo) XXX_Size added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) XXX_Size() int

func (*TradingRewardCampaignBoostInfo) XXX_Unmarshal added in v1.27.0

func (m *TradingRewardCampaignBoostInfo) XXX_Unmarshal(b []byte) error

type TradingRewardCampaignInfo added in v1.27.0

type TradingRewardCampaignInfo struct {
	// number of seconds of the duration of each campaign
	CampaignDurationSeconds int64 `` /* 133-byte string literal not displayed */
	// the trading fee quote denoms which will be counted for the rewards
	QuoteDenoms []string `protobuf:"bytes,2,rep,name=quote_denoms,json=quoteDenoms,proto3" json:"quote_denoms,omitempty"`
	// the optional boost info for markets
	TradingRewardBoostInfo *TradingRewardCampaignBoostInfo `` /* 131-byte string literal not displayed */
	// the marketIDs which are disqualified from being rewarded
	DisqualifiedMarketIds []string `` /* 126-byte string literal not displayed */
}

func (*TradingRewardCampaignInfo) Descriptor added in v1.27.0

func (*TradingRewardCampaignInfo) Descriptor() ([]byte, []int)

func (*TradingRewardCampaignInfo) GetCampaignDurationSeconds added in v1.27.0

func (m *TradingRewardCampaignInfo) GetCampaignDurationSeconds() int64

func (*TradingRewardCampaignInfo) GetDisqualifiedMarketIds added in v1.27.0

func (m *TradingRewardCampaignInfo) GetDisqualifiedMarketIds() []string

func (*TradingRewardCampaignInfo) GetQuoteDenoms added in v1.27.0

func (m *TradingRewardCampaignInfo) GetQuoteDenoms() []string

func (*TradingRewardCampaignInfo) GetTradingRewardBoostInfo added in v1.27.0

func (m *TradingRewardCampaignInfo) GetTradingRewardBoostInfo() *TradingRewardCampaignBoostInfo

func (*TradingRewardCampaignInfo) Marshal added in v1.27.0

func (m *TradingRewardCampaignInfo) Marshal() (dAtA []byte, err error)

func (*TradingRewardCampaignInfo) MarshalTo added in v1.27.0

func (m *TradingRewardCampaignInfo) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardCampaignInfo) MarshalToSizedBuffer added in v1.27.0

func (m *TradingRewardCampaignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardCampaignInfo) ProtoMessage added in v1.27.0

func (*TradingRewardCampaignInfo) ProtoMessage()

func (*TradingRewardCampaignInfo) Reset added in v1.27.0

func (m *TradingRewardCampaignInfo) Reset()

func (*TradingRewardCampaignInfo) Size added in v1.27.0

func (m *TradingRewardCampaignInfo) Size() (n int)

func (*TradingRewardCampaignInfo) String added in v1.27.0

func (m *TradingRewardCampaignInfo) String() string

func (*TradingRewardCampaignInfo) Unmarshal added in v1.27.0

func (m *TradingRewardCampaignInfo) Unmarshal(dAtA []byte) error

func (*TradingRewardCampaignInfo) ValidateBasic added in v1.27.0

func (c *TradingRewardCampaignInfo) ValidateBasic() error

func (*TradingRewardCampaignInfo) XXX_DiscardUnknown added in v1.27.0

func (m *TradingRewardCampaignInfo) XXX_DiscardUnknown()

func (*TradingRewardCampaignInfo) XXX_Marshal added in v1.27.0

func (m *TradingRewardCampaignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardCampaignInfo) XXX_Merge added in v1.27.0

func (m *TradingRewardCampaignInfo) XXX_Merge(src proto.Message)

func (*TradingRewardCampaignInfo) XXX_Size added in v1.27.0

func (m *TradingRewardCampaignInfo) XXX_Size() int

func (*TradingRewardCampaignInfo) XXX_Unmarshal added in v1.27.0

func (m *TradingRewardCampaignInfo) XXX_Unmarshal(b []byte) error

type TradingRewardCampaignLaunchProposal added in v1.27.0

type TradingRewardCampaignLaunchProposal struct {
	Title               string                     `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description         string                     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CampaignInfo        *TradingRewardCampaignInfo `protobuf:"bytes,3,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
	CampaignRewardPools []*CampaignRewardPool      `protobuf:"bytes,4,rep,name=campaign_reward_pools,json=campaignRewardPools,proto3" json:"campaign_reward_pools,omitempty"`
}

func NewTradingRewardCampaignLaunchProposal added in v1.27.0

func NewTradingRewardCampaignLaunchProposal(
	title, description string,
	campaignInfo *TradingRewardCampaignInfo,
	campaignRewardPools []*CampaignRewardPool,
) *TradingRewardCampaignLaunchProposal

NewTradingRewardCampaignLaunchProposal returns new instance of TradingRewardCampaignLaunchProposal

func (*TradingRewardCampaignLaunchProposal) Descriptor added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) Descriptor() ([]byte, []int)

func (*TradingRewardCampaignLaunchProposal) GetDescription added in v1.27.0

func (p *TradingRewardCampaignLaunchProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*TradingRewardCampaignLaunchProposal) GetTitle added in v1.27.0

GetTitle returns the title of this proposal

func (*TradingRewardCampaignLaunchProposal) Marshal added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) Marshal() (dAtA []byte, err error)

func (*TradingRewardCampaignLaunchProposal) MarshalTo added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardCampaignLaunchProposal) MarshalToSizedBuffer added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardCampaignLaunchProposal) ProposalRoute added in v1.27.0

func (p *TradingRewardCampaignLaunchProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*TradingRewardCampaignLaunchProposal) ProposalType added in v1.27.0

func (p *TradingRewardCampaignLaunchProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*TradingRewardCampaignLaunchProposal) ProtoMessage added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) ProtoMessage()

func (*TradingRewardCampaignLaunchProposal) Reset added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) Size added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) String added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) Unmarshal added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error

func (*TradingRewardCampaignLaunchProposal) ValidateBasic added in v1.27.0

func (p *TradingRewardCampaignLaunchProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*TradingRewardCampaignLaunchProposal) XXX_DiscardUnknown added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) XXX_DiscardUnknown()

func (*TradingRewardCampaignLaunchProposal) XXX_Marshal added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardCampaignLaunchProposal) XXX_Merge added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) XXX_Size added in v1.27.0

func (*TradingRewardCampaignLaunchProposal) XXX_Unmarshal added in v1.27.0

func (m *TradingRewardCampaignLaunchProposal) XXX_Unmarshal(b []byte) error

type TradingRewardCampaignUpdateProposal added in v1.27.0

type TradingRewardCampaignUpdateProposal struct {
	Title                        string                     `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description                  string                     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	CampaignInfo                 *TradingRewardCampaignInfo `protobuf:"bytes,3,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
	CampaignRewardPoolsAdditions []*CampaignRewardPool      `` /* 149-byte string literal not displayed */
	CampaignRewardPoolsUpdates   []*CampaignRewardPool      `` /* 143-byte string literal not displayed */
}

func NewTradingRewardCampaignUpdateProposal added in v1.27.0

func NewTradingRewardCampaignUpdateProposal(
	title, description string,
	campaignInfo *TradingRewardCampaignInfo,
	rewardPoolsAdditions []*CampaignRewardPool,
	rewardPoolsUpdates []*CampaignRewardPool,
) *TradingRewardCampaignUpdateProposal

NewTradingRewardCampaignUpdateProposal returns new instance of TradingRewardCampaignLaunchProposal

func (*TradingRewardCampaignUpdateProposal) Descriptor added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) Descriptor() ([]byte, []int)

func (*TradingRewardCampaignUpdateProposal) GetDescription added in v1.27.0

func (p *TradingRewardCampaignUpdateProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*TradingRewardCampaignUpdateProposal) GetTitle added in v1.27.0

GetTitle returns the title of this proposal

func (*TradingRewardCampaignUpdateProposal) Marshal added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) Marshal() (dAtA []byte, err error)

func (*TradingRewardCampaignUpdateProposal) MarshalTo added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardCampaignUpdateProposal) MarshalToSizedBuffer added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardCampaignUpdateProposal) ProposalRoute added in v1.27.0

func (p *TradingRewardCampaignUpdateProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*TradingRewardCampaignUpdateProposal) ProposalType added in v1.27.0

func (p *TradingRewardCampaignUpdateProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*TradingRewardCampaignUpdateProposal) ProtoMessage added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) ProtoMessage()

func (*TradingRewardCampaignUpdateProposal) Reset added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) Size added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) String added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) Unmarshal added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error

func (*TradingRewardCampaignUpdateProposal) ValidateBasic added in v1.27.0

func (p *TradingRewardCampaignUpdateProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*TradingRewardCampaignUpdateProposal) XXX_DiscardUnknown added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) XXX_DiscardUnknown()

func (*TradingRewardCampaignUpdateProposal) XXX_Marshal added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardCampaignUpdateProposal) XXX_Merge added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) XXX_Size added in v1.27.0

func (*TradingRewardCampaignUpdateProposal) XXX_Unmarshal added in v1.27.0

func (m *TradingRewardCampaignUpdateProposal) XXX_Unmarshal(b []byte) error

type TradingRewardPendingPointsUpdateProposal added in v1.30.0

type TradingRewardPendingPointsUpdateProposal struct {
	Title                string               `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description          string               `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	PendingPoolTimestamp int64                `protobuf:"varint,3,opt,name=pending_pool_timestamp,json=pendingPoolTimestamp,proto3" json:"pending_pool_timestamp,omitempty"`
	RewardPointUpdates   []*RewardPointUpdate `protobuf:"bytes,4,rep,name=reward_point_updates,json=rewardPointUpdates,proto3" json:"reward_point_updates,omitempty"`
}

func (*TradingRewardPendingPointsUpdateProposal) Descriptor added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) Descriptor() ([]byte, []int)

func (*TradingRewardPendingPointsUpdateProposal) GetDescription added in v1.30.0

GetDescription returns the description of this proposal

func (*TradingRewardPendingPointsUpdateProposal) GetTitle added in v1.30.0

GetTitle returns the title of this proposal

func (*TradingRewardPendingPointsUpdateProposal) Marshal added in v1.30.0

func (m *TradingRewardPendingPointsUpdateProposal) Marshal() (dAtA []byte, err error)

func (*TradingRewardPendingPointsUpdateProposal) MarshalTo added in v1.30.0

func (m *TradingRewardPendingPointsUpdateProposal) MarshalTo(dAtA []byte) (int, error)

func (*TradingRewardPendingPointsUpdateProposal) MarshalToSizedBuffer added in v1.30.0

func (m *TradingRewardPendingPointsUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TradingRewardPendingPointsUpdateProposal) ProposalRoute added in v1.30.0

ProposalRoute returns router key of this proposal.

func (*TradingRewardPendingPointsUpdateProposal) ProposalType added in v1.30.0

ProposalType returns proposal type of this proposal.

func (*TradingRewardPendingPointsUpdateProposal) ProtoMessage added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) Reset added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) Size added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) String added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) Unmarshal added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) ValidateBasic added in v1.30.0

ValidateBasic returns ValidateBasic result of this proposal.

func (*TradingRewardPendingPointsUpdateProposal) XXX_DiscardUnknown added in v1.30.0

func (m *TradingRewardPendingPointsUpdateProposal) XXX_DiscardUnknown()

func (*TradingRewardPendingPointsUpdateProposal) XXX_Marshal added in v1.30.0

func (m *TradingRewardPendingPointsUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TradingRewardPendingPointsUpdateProposal) XXX_Merge added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) XXX_Size added in v1.30.0

func (*TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal added in v1.30.0

func (m *TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal(b []byte) error

type TradingRewardPoints added in v1.27.0

type TradingRewardPoints map[string]sdk.Dec

func MergeTradingRewardPoints added in v1.27.0

func MergeTradingRewardPoints(m1, m2 TradingRewardPoints) TradingRewardPoints

func NewTradingRewardPoints added in v1.27.0

func NewTradingRewardPoints() TradingRewardPoints

func (TradingRewardPoints) AddPointsForAddress added in v1.27.0

func (l TradingRewardPoints) AddPointsForAddress(addr string, newPoints sdk.Dec)

func (*TradingRewardPoints) GetAllAccountAddresses added in v1.27.0

func (l *TradingRewardPoints) GetAllAccountAddresses() []string

func (TradingRewardPoints) GetSortedAccountKeys added in v1.27.0

func (l TradingRewardPoints) GetSortedAccountKeys() []string

type TriggeredOrdersInMarket added in v1.40.8

type TriggeredOrdersInMarket struct {
	Market             *DerivativeMarket
	MarkPrice          sdk.Dec
	MarketOrders       []*DerivativeMarketOrder
	LimitOrders        []*DerivativeLimitOrder
	HasLimitBuyOrders  bool
	HasLimitSellOrders bool
}

type TrimmedDerivativeConditionalOrder added in v1.40.8

type TrimmedDerivativeConditionalOrder struct {
	// price of the order
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// quantity of the order
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	// margin of the order
	Margin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
	// price to trigger the order
	TriggerPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=triggerPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"triggerPrice"`
	// true if the order is a buy
	IsBuy     bool   `protobuf:"varint,5,opt,name=isBuy,proto3" json:"isBuy"`
	IsLimit   bool   `protobuf:"varint,6,opt,name=isLimit,proto3" json:"isLimit"`
	OrderHash string `protobuf:"bytes,7,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

func (*TrimmedDerivativeConditionalOrder) Descriptor added in v1.40.8

func (*TrimmedDerivativeConditionalOrder) Descriptor() ([]byte, []int)

func (*TrimmedDerivativeConditionalOrder) GetIsBuy added in v1.40.8

func (*TrimmedDerivativeConditionalOrder) GetIsLimit added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) GetIsLimit() bool

func (*TrimmedDerivativeConditionalOrder) GetOrderHash added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) GetOrderHash() string

func (*TrimmedDerivativeConditionalOrder) Marshal added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) Marshal() (dAtA []byte, err error)

func (*TrimmedDerivativeConditionalOrder) MarshalTo added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) MarshalTo(dAtA []byte) (int, error)

func (*TrimmedDerivativeConditionalOrder) MarshalToSizedBuffer added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrimmedDerivativeConditionalOrder) ProtoMessage added in v1.40.8

func (*TrimmedDerivativeConditionalOrder) ProtoMessage()

func (*TrimmedDerivativeConditionalOrder) Reset added in v1.40.8

func (*TrimmedDerivativeConditionalOrder) Size added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) Size() (n int)

func (*TrimmedDerivativeConditionalOrder) String added in v1.40.8

func (*TrimmedDerivativeConditionalOrder) Unmarshal added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) Unmarshal(dAtA []byte) error

func (*TrimmedDerivativeConditionalOrder) XXX_DiscardUnknown added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) XXX_DiscardUnknown()

func (*TrimmedDerivativeConditionalOrder) XXX_Marshal added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrimmedDerivativeConditionalOrder) XXX_Merge added in v1.40.8

func (*TrimmedDerivativeConditionalOrder) XXX_Size added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) XXX_Size() int

func (*TrimmedDerivativeConditionalOrder) XXX_Unmarshal added in v1.40.8

func (m *TrimmedDerivativeConditionalOrder) XXX_Unmarshal(b []byte) error

type TrimmedDerivativeLimitOrder

type TrimmedDerivativeLimitOrder struct {
	// price of the order
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// quantity of the order
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	// margin of the order
	Margin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
	// the amount of the quantity remaining fillable
	Fillable github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fillable,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fillable"`
	// true if the order is a buy
	IsBuy     bool   `protobuf:"varint,5,opt,name=isBuy,proto3" json:"isBuy"`
	OrderHash string `protobuf:"bytes,6,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

func (*TrimmedDerivativeLimitOrder) Descriptor

func (*TrimmedDerivativeLimitOrder) Descriptor() ([]byte, []int)

func (*TrimmedDerivativeLimitOrder) GetIsBuy

func (m *TrimmedDerivativeLimitOrder) GetIsBuy() bool

func (*TrimmedDerivativeLimitOrder) GetOrderHash

func (m *TrimmedDerivativeLimitOrder) GetOrderHash() string

func (*TrimmedDerivativeLimitOrder) IsReduceOnly added in v1.40.2

func (o *TrimmedDerivativeLimitOrder) IsReduceOnly() bool

func (*TrimmedDerivativeLimitOrder) Marshal

func (m *TrimmedDerivativeLimitOrder) Marshal() (dAtA []byte, err error)

func (*TrimmedDerivativeLimitOrder) MarshalTo

func (m *TrimmedDerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*TrimmedDerivativeLimitOrder) MarshalToSizedBuffer

func (m *TrimmedDerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrimmedDerivativeLimitOrder) ProtoMessage

func (*TrimmedDerivativeLimitOrder) ProtoMessage()

func (*TrimmedDerivativeLimitOrder) Reset

func (m *TrimmedDerivativeLimitOrder) Reset()

func (*TrimmedDerivativeLimitOrder) Size

func (m *TrimmedDerivativeLimitOrder) Size() (n int)

func (*TrimmedDerivativeLimitOrder) String

func (m *TrimmedDerivativeLimitOrder) String() string

func (*TrimmedDerivativeLimitOrder) Unmarshal

func (m *TrimmedDerivativeLimitOrder) Unmarshal(dAtA []byte) error

func (*TrimmedDerivativeLimitOrder) XXX_DiscardUnknown

func (m *TrimmedDerivativeLimitOrder) XXX_DiscardUnknown()

func (*TrimmedDerivativeLimitOrder) XXX_Marshal

func (m *TrimmedDerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrimmedDerivativeLimitOrder) XXX_Merge

func (m *TrimmedDerivativeLimitOrder) XXX_Merge(src proto.Message)

func (*TrimmedDerivativeLimitOrder) XXX_Size

func (m *TrimmedDerivativeLimitOrder) XXX_Size() int

func (*TrimmedDerivativeLimitOrder) XXX_Unmarshal

func (m *TrimmedDerivativeLimitOrder) XXX_Unmarshal(b []byte) error

type TrimmedSpotLimitOrder

type TrimmedSpotLimitOrder struct {
	// price of the order
	Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
	// quantity of the order
	Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
	// the amount of the quantity remaining fillable
	Fillable github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=fillable,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fillable"`
	// true if the order is a buy
	IsBuy     bool   `protobuf:"varint,4,opt,name=isBuy,proto3" json:"isBuy,omitempty"`
	OrderHash string `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
}

func (*TrimmedSpotLimitOrder) Descriptor

func (*TrimmedSpotLimitOrder) Descriptor() ([]byte, []int)

func (*TrimmedSpotLimitOrder) GetIsBuy

func (m *TrimmedSpotLimitOrder) GetIsBuy() bool

func (*TrimmedSpotLimitOrder) GetOrderHash

func (m *TrimmedSpotLimitOrder) GetOrderHash() string

func (*TrimmedSpotLimitOrder) Marshal

func (m *TrimmedSpotLimitOrder) Marshal() (dAtA []byte, err error)

func (*TrimmedSpotLimitOrder) MarshalTo

func (m *TrimmedSpotLimitOrder) MarshalTo(dAtA []byte) (int, error)

func (*TrimmedSpotLimitOrder) MarshalToSizedBuffer

func (m *TrimmedSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TrimmedSpotLimitOrder) ProtoMessage

func (*TrimmedSpotLimitOrder) ProtoMessage()

func (*TrimmedSpotLimitOrder) Reset

func (m *TrimmedSpotLimitOrder) Reset()

func (*TrimmedSpotLimitOrder) Size

func (m *TrimmedSpotLimitOrder) Size() (n int)

func (*TrimmedSpotLimitOrder) String

func (m *TrimmedSpotLimitOrder) String() string

func (*TrimmedSpotLimitOrder) Unmarshal

func (m *TrimmedSpotLimitOrder) Unmarshal(dAtA []byte) error

func (*TrimmedSpotLimitOrder) XXX_DiscardUnknown

func (m *TrimmedSpotLimitOrder) XXX_DiscardUnknown()

func (*TrimmedSpotLimitOrder) XXX_Marshal

func (m *TrimmedSpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TrimmedSpotLimitOrder) XXX_Merge

func (m *TrimmedSpotLimitOrder) XXX_Merge(src proto.Message)

func (*TrimmedSpotLimitOrder) XXX_Size

func (m *TrimmedSpotLimitOrder) XXX_Size() int

func (*TrimmedSpotLimitOrder) XXX_Unmarshal

func (m *TrimmedSpotLimitOrder) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AdminUpdateBinaryOptionsMarket added in v1.39.5

func (*UnimplementedMsgServer) BatchCancelBinaryOptionsOrders added in v1.39.7

func (*UnimplementedMsgServer) BatchCancelSpotOrders

func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders

func (*UnimplementedMsgServer) BatchUpdateOrders added in v1.28.4

func (*UnimplementedMsgServer) CancelBinaryOptionsOrder added in v1.39.5

func (*UnimplementedMsgServer) CancelDerivativeOrder

func (*UnimplementedMsgServer) CancelSpotOrder

func (*UnimplementedMsgServer) CreateBinaryOptionsLimitOrder added in v1.39.5

func (*UnimplementedMsgServer) CreateBinaryOptionsMarketOrder added in v1.39.5

func (*UnimplementedMsgServer) CreateDerivativeLimitOrder

func (*UnimplementedMsgServer) CreateSpotLimitOrder

func (*UnimplementedMsgServer) CreateSpotMarketOrder

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) ExternalTransfer

func (*UnimplementedMsgServer) IncreasePositionMargin

func (*UnimplementedMsgServer) InstantBinaryOptionsMarketLaunch added in v1.39.5

func (*UnimplementedMsgServer) InstantSpotMarketLaunch

func (*UnimplementedMsgServer) LiquidatePosition

func (*UnimplementedMsgServer) PrivilegedExecuteContract added in v1.43.1

func (*UnimplementedMsgServer) ReclaimLockedFunds added in v1.43.1

func (*UnimplementedMsgServer) RewardsOptOut added in v1.40.3

func (*UnimplementedMsgServer) SubaccountTransfer

func (*UnimplementedMsgServer) UpdateParams added in v1.47.1

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AccountAddressDerivativeOrders added in v1.47.1

func (*UnimplementedQueryServer) AccountAddressSpotOrders added in v1.47.1

func (*UnimplementedQueryServer) AggregateMarketVolume added in v1.45.0

func (*UnimplementedQueryServer) AggregateMarketVolumes added in v1.45.0

func (*UnimplementedQueryServer) AggregateVolume added in v1.45.0

func (*UnimplementedQueryServer) AggregateVolumes added in v1.45.0

func (*UnimplementedQueryServer) BalanceMismatches added in v1.30.0

func (*UnimplementedQueryServer) BalanceWithBalanceHolds added in v1.30.0

func (*UnimplementedQueryServer) BinaryOptionsMarkets added in v1.39.5

func (*UnimplementedQueryServer) DenomDecimal added in v1.45.6

func (*UnimplementedQueryServer) DenomDecimals added in v1.45.6

func (*UnimplementedQueryServer) DerivativeMarket

func (*UnimplementedQueryServer) DerivativeMarketAddress added in v1.28.3

func (*UnimplementedQueryServer) DerivativeMarkets

func (*UnimplementedQueryServer) DerivativeMidPriceAndTOB added in v1.39.5

func (*UnimplementedQueryServer) DerivativeOrderbook

func (*UnimplementedQueryServer) DerivativeOrdersByHashes added in v1.42.3

func (*UnimplementedQueryServer) ExchangeBalances

func (*UnimplementedQueryServer) ExchangeModuleState

func (*UnimplementedQueryServer) ExpiryFuturesMarketInfo added in v1.33.5

func (*UnimplementedQueryServer) FeeDiscountAccountInfo added in v1.27.0

func (*UnimplementedQueryServer) FeeDiscountSchedule added in v1.27.0

func (*UnimplementedQueryServer) FeeDiscountTierStatistics added in v1.32.1

func (*UnimplementedQueryServer) FullSpotMarket added in v1.47.1

func (*UnimplementedQueryServer) FullSpotMarkets added in v1.47.1

func (*UnimplementedQueryServer) HistoricalTradeRecords added in v1.39.0

func (*UnimplementedQueryServer) IsOptedOutOfRewards added in v1.40.3

func (*UnimplementedQueryServer) MarketAtomicExecutionFeeMultiplier added in v1.42.6

func (*UnimplementedQueryServer) MarketVolatility added in v1.39.0

func (*UnimplementedQueryServer) MitoVaultInfos added in v1.45.0

func (*UnimplementedQueryServer) OptedOutOfRewardsAccounts added in v1.40.3

func (*UnimplementedQueryServer) PendingTradeRewardPoints added in v1.30.0

func (*UnimplementedQueryServer) PerpetualMarketFunding added in v1.33.5

func (*UnimplementedQueryServer) PerpetualMarketInfo added in v1.33.5

func (*UnimplementedQueryServer) Positions

func (*UnimplementedQueryServer) QueryExchangeParams

func (*UnimplementedQueryServer) QueryMarketIDFromVault added in v1.39.0

func (*UnimplementedQueryServer) SpotMarket

func (*UnimplementedQueryServer) SpotMarkets

func (*UnimplementedQueryServer) SpotMidPriceAndTOB added in v1.39.5

func (*UnimplementedQueryServer) SpotOrderbook

func (*UnimplementedQueryServer) SpotOrdersByHashes added in v1.42.3

func (*UnimplementedQueryServer) SubaccountDeposit

func (*UnimplementedQueryServer) SubaccountDeposits

func (*UnimplementedQueryServer) SubaccountEffectivePositionInMarket added in v1.39.0

func (*UnimplementedQueryServer) SubaccountOrderMetadata added in v1.28.3

func (*UnimplementedQueryServer) SubaccountOrders added in v1.40.2

func (*UnimplementedQueryServer) SubaccountPositionInMarket added in v1.33.12

func (*UnimplementedQueryServer) SubaccountPositions added in v1.28.0

func (*UnimplementedQueryServer) TradeRewardCampaign added in v1.27.0

func (*UnimplementedQueryServer) TradeRewardPoints added in v1.27.0

func (*UnimplementedQueryServer) TraderDerivativeConditionalOrders added in v1.40.8

func (*UnimplementedQueryServer) TraderDerivativeTransientOrders added in v1.39.0

func (*UnimplementedQueryServer) TraderSpotOrders

func (*UnimplementedQueryServer) TraderSpotTransientOrders added in v1.40.2

type UpdateDenomDecimalsProposal added in v1.39.9

type UpdateDenomDecimalsProposal struct {
	Title         string           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description   string           `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	DenomDecimals []*DenomDecimals `protobuf:"bytes,3,rep,name=denom_decimals,json=denomDecimals,proto3" json:"denom_decimals,omitempty"`
}

func NewUpdateDenomDecimalsProposal added in v1.39.9

func NewUpdateDenomDecimalsProposal(
	title, description string,
	denomDecimals []*DenomDecimals,
) *UpdateDenomDecimalsProposal

NewUpdateDenomDecimalsProposal returns new instance of UpdateDenomDecimalsProposal

func (*UpdateDenomDecimalsProposal) Descriptor added in v1.39.9

func (*UpdateDenomDecimalsProposal) Descriptor() ([]byte, []int)

func (*UpdateDenomDecimalsProposal) GetDescription added in v1.39.9

func (p *UpdateDenomDecimalsProposal) GetDescription() string

GetDescription returns the description of this proposal

func (*UpdateDenomDecimalsProposal) GetTitle added in v1.39.9

func (p *UpdateDenomDecimalsProposal) GetTitle() string

GetTitle returns the title of this proposal

func (*UpdateDenomDecimalsProposal) Marshal added in v1.39.9

func (m *UpdateDenomDecimalsProposal) Marshal() (dAtA []byte, err error)

func (*UpdateDenomDecimalsProposal) MarshalTo added in v1.39.9

func (m *UpdateDenomDecimalsProposal) MarshalTo(dAtA []byte) (int, error)

func (*UpdateDenomDecimalsProposal) MarshalToSizedBuffer added in v1.39.9

func (m *UpdateDenomDecimalsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateDenomDecimalsProposal) ProposalRoute added in v1.39.9

func (p *UpdateDenomDecimalsProposal) ProposalRoute() string

ProposalRoute returns router key of this proposal.

func (*UpdateDenomDecimalsProposal) ProposalType added in v1.39.9

func (p *UpdateDenomDecimalsProposal) ProposalType() string

ProposalType returns proposal type of this proposal.

func (*UpdateDenomDecimalsProposal) ProtoMessage added in v1.39.9

func (*UpdateDenomDecimalsProposal) ProtoMessage()

func (*UpdateDenomDecimalsProposal) Reset added in v1.39.9

func (m *UpdateDenomDecimalsProposal) Reset()

func (*UpdateDenomDecimalsProposal) Size added in v1.39.9

func (m *UpdateDenomDecimalsProposal) Size() (n int)

func (*UpdateDenomDecimalsProposal) String added in v1.39.9

func (m *UpdateDenomDecimalsProposal) String() string

func (*UpdateDenomDecimalsProposal) Unmarshal added in v1.39.9

func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error

func (*UpdateDenomDecimalsProposal) ValidateBasic added in v1.39.9

func (p *UpdateDenomDecimalsProposal) ValidateBasic() error

ValidateBasic returns ValidateBasic result of this proposal.

func (*UpdateDenomDecimalsProposal) XXX_DiscardUnknown added in v1.39.9

func (m *UpdateDenomDecimalsProposal) XXX_DiscardUnknown()

func (*UpdateDenomDecimalsProposal) XXX_Marshal added in v1.39.9

func (m *UpdateDenomDecimalsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDenomDecimalsProposal) XXX_Merge added in v1.39.9

func (m *UpdateDenomDecimalsProposal) XXX_Merge(src proto.Message)

func (*UpdateDenomDecimalsProposal) XXX_Size added in v1.39.9

func (m *UpdateDenomDecimalsProposal) XXX_Size() int

func (*UpdateDenomDecimalsProposal) XXX_Unmarshal added in v1.39.9

func (m *UpdateDenomDecimalsProposal) XXX_Unmarshal(b []byte) error

type ValueValidatorFn

type ValueValidatorFn func(value interface{}) error

type VolumeRecord added in v1.45.0

type VolumeRecord struct {
	MakerVolume github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
	TakerVolume github_com_cosmos_cosmos_sdk_types.Dec `` /* 134-byte string literal not displayed */
}

func NewVolumeRecord added in v1.45.0

func NewVolumeRecord(makerVolume, takerVolume sdk.Dec) VolumeRecord

func NewVolumeWithSingleType added in v1.45.0

func NewVolumeWithSingleType(volume sdk.Dec, isMaker bool) VolumeRecord

func NewZeroVolumeRecord added in v1.45.0

func NewZeroVolumeRecord() VolumeRecord

func (VolumeRecord) Add added in v1.45.0

func (v VolumeRecord) Add(record VolumeRecord) VolumeRecord

func (*VolumeRecord) Descriptor added in v1.45.0

func (*VolumeRecord) Descriptor() ([]byte, []int)

func (*VolumeRecord) IsZero added in v1.45.0

func (v *VolumeRecord) IsZero() bool

func (*VolumeRecord) Marshal added in v1.45.0

func (m *VolumeRecord) Marshal() (dAtA []byte, err error)

func (*VolumeRecord) MarshalTo added in v1.45.0

func (m *VolumeRecord) MarshalTo(dAtA []byte) (int, error)

func (*VolumeRecord) MarshalToSizedBuffer added in v1.45.0

func (m *VolumeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VolumeRecord) ProtoMessage added in v1.45.0

func (*VolumeRecord) ProtoMessage()

func (*VolumeRecord) Reset added in v1.45.0

func (m *VolumeRecord) Reset()

func (*VolumeRecord) Size added in v1.45.0

func (m *VolumeRecord) Size() (n int)

func (*VolumeRecord) String added in v1.45.0

func (m *VolumeRecord) String() string

func (*VolumeRecord) Total added in v1.45.0

func (v *VolumeRecord) Total() sdk.Dec

func (*VolumeRecord) Unmarshal added in v1.45.0

func (m *VolumeRecord) Unmarshal(dAtA []byte) error

func (*VolumeRecord) XXX_DiscardUnknown added in v1.45.0

func (m *VolumeRecord) XXX_DiscardUnknown()

func (*VolumeRecord) XXX_Marshal added in v1.45.0

func (m *VolumeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VolumeRecord) XXX_Merge added in v1.45.0

func (m *VolumeRecord) XXX_Merge(src proto.Message)

func (*VolumeRecord) XXX_Size added in v1.45.0

func (m *VolumeRecord) XXX_Size() int

func (*VolumeRecord) XXX_Unmarshal added in v1.45.0

func (m *VolumeRecord) XXX_Unmarshal(b []byte) error

type WasmContractOpsKeeper added in v1.30.0

type WasmContractOpsKeeper interface {
	wasmtypes.ContractOpsKeeper
}

type WasmViewKeeper added in v1.30.0

type WasmViewKeeper interface {
	wasmtypes.ViewKeeper
}

type WasmxExecutionKeeper added in v1.39.0

type WasmxExecutionKeeper interface {
	InjectiveExec(ctx sdk.Context, contractAddress sdk.AccAddress, funds sdk.Coins, msg *wasmxtypes.InjectiveExecMsg) ([]byte, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL