types

package
v1.39.4 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: MIT Imports: 44 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 (
	// 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

	// MaxDerivativeOrderSideCount is 20
	MaxDerivativeOrderSideCount uint32 = 20

	MaxOracleScaleFactor uint32 = 18

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

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"
	ProposalTypeTradingRewardCampaign           string = "ProposalTypeTradingRewardCampaign"
	ProposalTypeTradingRewardCampaignUpdate     string = "ProposalTypeTradingRewardCampaignUpdateProposal"
	ProposalTypeTradingRewardPointsUpdate       string = "ProposalTypeTradingRewardPointsUpdateProposal"
	ProposalTypeFeeDiscountProposal             string = "ProposalTypeFeeDiscountProposal"
	ProposalTypeBatchCommunityPoolSpendProposal string = "ProposalTypeBatchCommunityPoolSpendProposal"
)

constants

View Source
const DefaultQueryOrderbookLimit = 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                             = sdkerrors.Register(ModuleName, 1, "failed to validate order")
	ErrSpotMarketNotFound                       = sdkerrors.Register(ModuleName, 2, "spot market not found")
	ErrSpotMarketExists                         = sdkerrors.Register(ModuleName, 3, "spot market exists")
	ErrBadField                                 = sdkerrors.Register(ModuleName, 4, "struct field error")
	ErrMarketInvalid                            = sdkerrors.Register(ModuleName, 5, "failed to validate market")
	ErrInsufficientDeposit                      = sdkerrors.Register(ModuleName, 6, "subaccount has insufficient deposits")
	ErrUnrecognizedOrderType                    = sdkerrors.Register(ModuleName, 7, "unrecognized order type")
	ErrInsufficientPositionQuantity             = sdkerrors.Register(ModuleName, 8, "position quantity insufficient for order")
	ErrOrderHashInvalid                         = sdkerrors.Register(ModuleName, 9, "order hash is not valid")
	ErrBadSubaccountID                          = sdkerrors.Register(ModuleName, 10, "subaccount id is not valid")
	ErrInvalidTicker                            = sdkerrors.Register(ModuleName, 11, "invalid ticker")
	ErrInvalidBaseDenom                         = sdkerrors.Register(ModuleName, 12, "invalid base denom")
	ErrInvalidQuoteDenom                        = sdkerrors.Register(ModuleName, 13, "invalid quote denom")
	ErrInvalidOracle                            = sdkerrors.Register(ModuleName, 14, "invalid oracle")
	ErrInvalidExpiry                            = sdkerrors.Register(ModuleName, 15, "invalid expiry")
	ErrInvalidPrice                             = sdkerrors.Register(ModuleName, 16, "invalid price")
	ErrInvalidQuantity                          = sdkerrors.Register(ModuleName, 17, "invalid quantity")
	ErrUnsupportedOracleType                    = sdkerrors.Register(ModuleName, 18, "unsupported oracle type")
	ErrOrderDoesntExist                         = sdkerrors.Register(ModuleName, 19, "order doesnt exist")
	ErrOrderbookFillInvalid                     = sdkerrors.Register(ModuleName, 20, "spot limit orderbook fill invalid")
	ErrPerpetualMarketExists                    = sdkerrors.Register(ModuleName, 21, "perpetual market exists")
	ErrExpiryFuturesMarketExists                = sdkerrors.Register(ModuleName, 22, "expiry futures market exists")
	ErrExpiryFuturesMarketExpired               = sdkerrors.Register(ModuleName, 23, "expiry futures market expired")
	ErrNoLiquidity                              = sdkerrors.Register(ModuleName, 24, "no liquidity on the orderbook!")
	ErrSlippageExceedsWorstPrice                = sdkerrors.Register(ModuleName, 25, "Orderbook liquidity cannot satisfy current worst price")
	ErrInsufficientOrderMargin                  = sdkerrors.Register(ModuleName, 26, "Order has insufficient margin")
	ErrDerivativeMarketNotFound                 = sdkerrors.Register(ModuleName, 27, "Derivative market not found")
	ErrPositionNotFound                         = sdkerrors.Register(ModuleName, 28, "Position not found")
	ErrInvalidReduceOnlyPositionDirection       = sdkerrors.Register(ModuleName, 29, "Position direction does not oppose the reduce-only order")
	ErrPriceSurpassesBankruptcyPrice            = sdkerrors.Register(ModuleName, 30, "Price Surpasses Bankruptcy Price")
	ErrPositionNotLiquidable                    = sdkerrors.Register(ModuleName, 31, "Position not liquidable")
	ErrInvalidTriggerPrice                      = sdkerrors.Register(ModuleName, 32, "invalid trigger price")
	ErrInvalidOracleType                        = sdkerrors.Register(ModuleName, 33, "invalid oracle type")
	ErrInvalidPriceTickSize                     = sdkerrors.Register(ModuleName, 34, "invalid minimum price tick size")
	ErrInvalidQuantityTickSize                  = sdkerrors.Register(ModuleName, 35, "invalid minimum quantity tick size")
	ErrInvalidMargin                            = sdkerrors.Register(ModuleName, 36, "invalid minimum order margin")
	ErrExceedsOrderSideCount                    = sdkerrors.Register(ModuleName, 37, "Exceeds order side count")
	ErrDerivativeMarketOrderAlreadyExists       = sdkerrors.Register(ModuleName, 38, "Subaccount cannot place a market order when a market order or limit order in the same market was already placed in same block")
	ErrDerivativeLimitOrderAlreadyExists        = sdkerrors.Register(ModuleName, 39, "Subaccount cannot place a limit order when a market order in the same market was already placed in the same block")
	ErrMarketLaunchProposalAlreadyExists        = sdkerrors.Register(ModuleName, 40, "An equivalent market launch proposal already exists.")
	ErrInvalidMarketStatus                      = sdkerrors.Register(ModuleName, 41, "Invalid Market Status")
	ErrSameDenoms                               = sdkerrors.Register(ModuleName, 42, "base denom cannot be same with quote denom")
	ErrSameOracles                              = sdkerrors.Register(ModuleName, 43, "oracle base cannot be same with oracle quote")
	ErrFeeRatesRelation                         = sdkerrors.Register(ModuleName, 44, "MakerFeeRate does not match TakerFeeRate requirements")
	ErrMarginsRelation                          = sdkerrors.Register(ModuleName, 45, "MaintenanceMarginRatio cannot be greater than InitialMarginRatio")
	ErrExceedsMaxOracleScaleFactor              = sdkerrors.Register(ModuleName, 46, "OracleScaleFactor cannot be greater than MaxOracleScaleFactor")
	ErrSpotExchangeNotEnabled                   = sdkerrors.Register(ModuleName, 47, "Spot exchange is not enabled yet")
	ErrDerivativesExchangeNotEnabled            = sdkerrors.Register(ModuleName, 48, "Derivatives exchange is not enabled yet")
	ErrOraclePriceDeltaExceedsThreshold         = sdkerrors.Register(ModuleName, 49, "Oracle price delta exceeds threshold")
	ErrInvalidHourlyInterestRate                = sdkerrors.Register(ModuleName, 50, "Invalid hourly interest rate")
	ErrInvalidHourlyFundingRateCap              = sdkerrors.Register(ModuleName, 51, "Invalid hourly funding rate cap")
	ErrInvalidMarketFundingParamUpdate          = sdkerrors.Register(ModuleName, 52, "Only perpetual markets can update funding parameters")
	ErrInvalidTradingRewardCampaign             = sdkerrors.Register(ModuleName, 53, "Invalid trading reward campaign")
	ErrInvalidFeeDiscountSchedule               = sdkerrors.Register(ModuleName, 54, "Invalid fee discount schedule")
	ErrInvalidReduceOnlyPosition                = sdkerrors.Register(ModuleName, 55, "Invalid position to reduce")
	ErrTradingRewardCampaignDistributionError   = sdkerrors.Register(ModuleName, 56, "Unknown error happened for campaign distributions")
	ErrInvalidTradingRewardsPendingPointsUpdate = sdkerrors.Register(ModuleName, 57, "Invalid trading reward points update")
	ErrInvalidBatchMsgUpdate                    = sdkerrors.Register(ModuleName, 58, "Invalid batch msg update")
	ErrExceedsTopOfBookPrice                    = sdkerrors.Register(ModuleName, 59, "Post-only order exceeds top of book price")
	ErrInvalidOrderTypeForMessage               = sdkerrors.Register(ModuleName, 60, "Order type not supported for given message")
	ErrInvalidDMMSender                         = sdkerrors.Register(ModuleName, 61, "Sender must match dmm account")
	ErrDMMAlreadyRegistered                     = sdkerrors.Register(ModuleName, 62, "DMM is already registered")
	ErrInvalidMarginRatio                       = sdkerrors.Register(ModuleName, 63, "Invalid margin ratio")
	ErrBelowMinimalContribution                 = sdkerrors.Register(ModuleName, 64, "Provided funds are below minimum")
	ErrLowPositionMargin                        = sdkerrors.Register(ModuleName, 65, "Position is below initial margin requirement")
	ErrInvalidTotalSupply                       = sdkerrors.Register(ModuleName, 66, "Pool has non-positive total lp token supply")
	ErrInvalidLpTokenBurnAmount                 = sdkerrors.Register(ModuleName, 67, "Passed lp token burn amount is greater than total lp token supply")
	ErrUnsupportedAction                        = sdkerrors.Register(ModuleName, 68, "unsupported action")
	ErrNegativePositionQuantity                 = sdkerrors.Register(ModuleName, 69, "position quantity cannot be negative")
)
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

	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

	DerivativeMarketPrefix                  = []byte{0x21} // prefix for each key to a derivative market by (exchange address, 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

	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

	IsRegisteredDMMPrefix = []byte{0x60} // prefix to each account's is registered DMM address key
)
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")
)

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 AuctionSubaccountID = common.HexToHash("0x1111111111111111111111111111111111111111111111111111111111111111")
View Source
var (
	AuthorizedMarketsLimit = 200
)
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: "Suspended",
	4: "Demolished",
	5: "Expired",
}
View Source
var MarketStatus_value = map[string]int32{
	"Unspecified": 0,
	"Active":      1,
	"Paused":      2,
	"Suspended":   3,
	"Demolished":  4,
	"Expired":     5,
}
View Source
var MaxOrderPrice = sdk.MustNewDecFromStr("100000000000000000000000000000000")

MaxOrderPrice equals 10^32

View Source
var MaxOrderQuantity = sdk.MustNewDecFromStr("100000000000000000000000000000000")
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 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",
}
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,
}
View Source
var TempRewardsSenderAddress = sdk.AccAddress(common.HexToAddress(AuctionSubaccountID.Hex()).Bytes())
View Source
var ZeroSubaccountID = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")

Functions

func BreachesMinimumTickSize

func BreachesMinimumTickSize(value sdk.Dec, minTickSize sdk.Dec) bool

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 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 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 GetDerivativeLimitOrderIndexPrefix

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

func GetDerivativeMarketKey

func GetDerivativeMarketKey(isEnabled bool) []byte

func GetDerivativeMarketTransientMarketsKeyPrefix

func GetDerivativeMarketTransientMarketsKeyPrefix(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 GetIsRegisteredDMMKey added in v1.36.1

func GetIsRegisteredDMMKey(account sdk.AccAddress) []byte

GetIsRegisteredDMMKey provides the key for the registered DMM address

func GetLimitOrderByPriceKeyPrefix

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

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(prefix, key []byte) (marketID common.Hash, isBuy bool)

GetMarketIdDirectionFromTransientKey parses the marketID and direction from a transient Key. NOTE: this will not work for a normal key.

func GetOrderByPriceKeyPrefix

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

func GetSortedBalanceKeys added in v1.28.3

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

func GetSpotLimitOrderIndexPrefix

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

func GetSpotMarketKey

func GetSpotMarketKey(isEnabled bool) []byte

func GetSpotMarketTransientMarketsKeyPrefix

func GetSpotMarketTransientMarketsKeyPrefix(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 GetSubaccountLimitOrderIndicatorKey

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

func GetSubaccountMarketOrderIndicatorKey

func GetSubaccountMarketOrderIndicatorKey(marketID, subaccountID 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 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 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 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 sdk.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 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 common.Hash, 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 common.Hash, 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 common.Hash, 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 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 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 SafeIsPositiveDec added in v1.27.2

func SafeIsPositiveDec(v sdk.Dec) bool

func SafeIsPositiveInt added in v1.27.2

func SafeIsPositiveInt(v sdk.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 SubaccountIDToSdkAddress added in v1.26.0

func SubaccountIDToSdkAddress(subaccountID common.Hash) sdk.AccAddress

func ValidateFee

func ValidateFee(i interface{}) 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 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

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 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 NewBatchCommunityPoolSpendProposal added in v1.27.3

func NewBatchCommunityPoolSpendProposal(title, description string, proposals []*distributiontypes.CommunityPoolSpendProposal) *BatchCommunityPoolSpendProposal

NewBatchCommunityPoolSpendProposal returns new instance of BatchCommunityPoolSpendProposal

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 */
}

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 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 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 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) 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)

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, 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) GetOrderHash

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

func (*DerivativeLimitOrder) GetOrderInfo

func (m *DerivativeLimitOrder) GetOrderInfo() OrderInfo

func (*DerivativeLimitOrder) GetOrderType

func (m *DerivativeLimitOrder) GetOrderType() OrderType

func (*DerivativeLimitOrder) Hash

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

func (*DerivativeLimitOrder) IsBuy

func (m *DerivativeLimitOrder) IsBuy() 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) 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) GetIsPerpetual

func (m *DerivativeMarket) GetIsPerpetual() bool

func (*DerivativeMarket) GetMarketId

func (m *DerivativeMarket) GetMarketId() string

func (*DerivativeMarket) GetOracleBase

func (m *DerivativeMarket) GetOracleBase() string

func (*DerivativeMarket) GetOracleQuote

func (m *DerivativeMarket) GetOracleQuote() string

func (*DerivativeMarket) GetOracleScaleFactor

func (m *DerivativeMarket) GetOracleScaleFactor() uint32

func (*DerivativeMarket) GetOracleType

func (m *DerivativeMarket) GetOracleType() types1.OracleType

func (*DerivativeMarket) GetQuoteDenom

func (m *DerivativeMarket) GetQuoteDenom() string

func (*DerivativeMarket) GetStatus

func (m *DerivativeMarket) GetStatus() MarketStatus

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, 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) 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) GetOrderHash

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

func (*DerivativeMarketOrder) GetOrderInfo

func (m *DerivativeMarketOrder) GetOrderInfo() OrderInfo

func (*DerivativeMarketOrder) GetOrderType

func (m *DerivativeMarketOrder) GetOrderType() OrderType

func (*DerivativeMarketOrder) Hash

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

func (*DerivativeMarketOrder) IsBuy

func (m *DerivativeMarketOrder) IsBuy() 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) SdkAccAddress added in v1.27.0

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

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 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 */
	// starting_deficit defines starting deficit
	StartingDeficit 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) CheckInitialMarginRequirementMarkPriceThreshold

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

func (*DerivativeOrder) CheckMarginAndGetMarginHold

func (o *DerivativeOrder) CheckMarginAndGetMarginHold(market *DerivativeMarket, markPrice, feeRate sdk.Dec) (marginHold sdk.Dec, err error)

func (*DerivativeOrder) CheckTickSize

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

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) GetMarketId

func (m *DerivativeOrder) GetMarketId() string

func (*DerivativeOrder) GetOrderInfo

func (m *DerivativeOrder) GetOrderInfo() OrderInfo

func (*DerivativeOrder) GetOrderType

func (m *DerivativeOrder) GetOrderType() OrderType

func (*DerivativeOrder) IsBuy

func (m *DerivativeOrder) IsBuy() 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) 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) 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"`
}

Spot 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) 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 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 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 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 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 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 sdk.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 sdk.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 */
}

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) 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 GenesisState

type GenesisState struct {
	// params defines all the parameters of related to exchange.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// accounts is an array containing the genesis trade pairs
	SpotMarkets []*SpotMarket `protobuf:"bytes,2,rep,name=spot_markets,json=spotMarkets,proto3" json:"spot_markets,omitempty"`
	// accounts 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 registered dmm accounts
	RegisteredDmms         []string        `protobuf:"bytes,24,rep,name=registered_dmms,json=registeredDmms,proto3" json:"registered_dmms,omitempty"`
	HistoricalTradeRecords []*TradeRecords `` /* 130-byte string literal not displayed */
}

GenesisState defines the evm 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) 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) 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) GetRegisteredDmms added in v1.37.1

func (m *GenesisState) GetRegisteredDmms() []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) 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 govtypes.Proposal) (stop bool))
	GetVotingParams(ctx sdk.Context) govtypes.VotingParams
}

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 sdk.Int) error
	// WithdrawFromInsuranceFund decrements the insurance fund balance by amount and sends
	WithdrawFromInsuranceFund(ctx sdk.Context, marketID common.Hash, amount sdk.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 MMPool added in v1.33.5

type MMPool struct {
	MakerContractAddress string `protobuf:"bytes,1,opt,name=maker_contract_address,json=makerContractAddress,proto3" json:"maker_contract_address,omitempty"`
	Cw20ContractAddress  string `protobuf:"bytes,2,opt,name=cw20_contract_address,json=cw20ContractAddress,proto3" json:"cw20_contract_address,omitempty"`
	MarketId             string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	PoolSubaccountId     string `protobuf:"bytes,4,opt,name=pool_subaccount_id,json=poolSubaccountId,proto3" json:"pool_subaccount_id,omitempty"`
}

MM Wasm pool

func (*MMPool) Descriptor added in v1.33.5

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

func (*MMPool) GetCw20ContractAddress added in v1.33.5

func (m *MMPool) GetCw20ContractAddress() string

func (*MMPool) GetMakerContractAddress added in v1.33.5

func (m *MMPool) GetMakerContractAddress() string

func (*MMPool) GetMarketId added in v1.33.5

func (m *MMPool) GetMarketId() string

func (*MMPool) GetPoolSubaccountId added in v1.33.5

func (m *MMPool) GetPoolSubaccountId() string

func (*MMPool) Marshal added in v1.33.5

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

func (*MMPool) MarshalTo added in v1.33.5

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

func (*MMPool) MarshalToSizedBuffer added in v1.33.5

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

func (*MMPool) ProtoMessage added in v1.33.5

func (*MMPool) ProtoMessage()

func (*MMPool) Reset added in v1.33.5

func (m *MMPool) Reset()

func (*MMPool) Size added in v1.33.5

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

func (*MMPool) String added in v1.33.5

func (m *MMPool) String() string

func (*MMPool) Unmarshal added in v1.33.5

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

func (*MMPool) XXX_DiscardUnknown added in v1.33.5

func (m *MMPool) XXX_DiscardUnknown()

func (*MMPool) XXX_Marshal added in v1.33.5

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

func (*MMPool) XXX_Merge added in v1.33.5

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

func (*MMPool) XXX_Size added in v1.33.5

func (m *MMPool) XXX_Size() int

func (*MMPool) XXX_Unmarshal added in v1.33.5

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

type MarketMakingPoolInfoRequest added in v1.33.5

type MarketMakingPoolInfoRequest struct {
	MarketId             string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	PoolSubaccountId     string `protobuf:"bytes,2,opt,name=pool_subaccount_id,json=poolSubaccountId,proto3" json:"pool_subaccount_id,omitempty"`
	ContractAddressMaker string `protobuf:"bytes,3,opt,name=contract_address_maker,json=contractAddressMaker,proto3" json:"contract_address_maker,omitempty"`
}

MarketMakingPoolInfoRequest is the request type for the Query/MarketMakingPoolInfo RPC method.

func (*MarketMakingPoolInfoRequest) Descriptor added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) GetContractAddressMaker added in v1.33.5

func (m *MarketMakingPoolInfoRequest) GetContractAddressMaker() string

func (*MarketMakingPoolInfoRequest) GetMarketId added in v1.33.5

func (m *MarketMakingPoolInfoRequest) GetMarketId() string

func (*MarketMakingPoolInfoRequest) GetPoolSubaccountId added in v1.33.5

func (m *MarketMakingPoolInfoRequest) GetPoolSubaccountId() string

func (*MarketMakingPoolInfoRequest) Marshal added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) MarshalTo added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) MarshalToSizedBuffer added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) ProtoMessage added in v1.33.5

func (*MarketMakingPoolInfoRequest) ProtoMessage()

func (*MarketMakingPoolInfoRequest) Reset added in v1.33.5

func (m *MarketMakingPoolInfoRequest) Reset()

func (*MarketMakingPoolInfoRequest) Size added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) String added in v1.33.5

func (m *MarketMakingPoolInfoRequest) String() string

func (*MarketMakingPoolInfoRequest) Unmarshal added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) XXX_DiscardUnknown added in v1.33.5

func (m *MarketMakingPoolInfoRequest) XXX_DiscardUnknown()

func (*MarketMakingPoolInfoRequest) XXX_Marshal added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) XXX_Merge added in v1.33.5

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

func (*MarketMakingPoolInfoRequest) XXX_Size added in v1.33.5

func (m *MarketMakingPoolInfoRequest) XXX_Size() int

func (*MarketMakingPoolInfoRequest) XXX_Unmarshal added in v1.33.5

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

type MarketMakingPoolInfoResponse added in v1.33.5

type MarketMakingPoolInfoResponse struct {
	PoolPosition       *Position                              `protobuf:"bytes,1,opt,name=pool_position,json=poolPosition,proto3" json:"pool_position,omitempty"`
	LpTokenTotalSupply github_com_cosmos_cosmos_sdk_types.Int `` /* 159-byte string literal not displayed */
	LpTokenQuoteValue  github_com_cosmos_cosmos_sdk_types.Dec `` /* 156-byte string literal not displayed */
	LpTokenBaseValue   github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */
	PoolQuoteDeposits  Deposit                                `protobuf:"bytes,5,opt,name=pool_quote_deposits,json=poolQuoteDeposits,proto3" json:"pool_quote_deposits"`
	PoolBaseDeposits   *Deposit                               `protobuf:"bytes,6,opt,name=pool_base_deposits,json=poolBaseDeposits,proto3" json:"pool_base_deposits,omitempty"`
}

MarketMakingPoolInfoResponse is the response type for the Query/MarketMakingPoolInfo RPC method.

func (*MarketMakingPoolInfoResponse) Descriptor added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) GetPoolBaseDeposits added in v1.33.5

func (m *MarketMakingPoolInfoResponse) GetPoolBaseDeposits() *Deposit

func (*MarketMakingPoolInfoResponse) GetPoolPosition added in v1.33.5

func (m *MarketMakingPoolInfoResponse) GetPoolPosition() *Position

func (*MarketMakingPoolInfoResponse) GetPoolQuoteDeposits added in v1.33.5

func (m *MarketMakingPoolInfoResponse) GetPoolQuoteDeposits() Deposit

func (*MarketMakingPoolInfoResponse) Marshal added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) MarshalTo added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) MarshalToSizedBuffer added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) ProtoMessage added in v1.33.5

func (*MarketMakingPoolInfoResponse) ProtoMessage()

func (*MarketMakingPoolInfoResponse) Reset added in v1.33.5

func (m *MarketMakingPoolInfoResponse) Reset()

func (*MarketMakingPoolInfoResponse) Size added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) String added in v1.33.5

func (*MarketMakingPoolInfoResponse) Unmarshal added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) XXX_DiscardUnknown added in v1.33.5

func (m *MarketMakingPoolInfoResponse) XXX_DiscardUnknown()

func (*MarketMakingPoolInfoResponse) XXX_Marshal added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) XXX_Merge added in v1.33.5

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

func (*MarketMakingPoolInfoResponse) XXX_Size added in v1.33.5

func (m *MarketMakingPoolInfoResponse) XXX_Size() int

func (*MarketMakingPoolInfoResponse) XXX_Unmarshal added in v1.33.5

func (m *MarketMakingPoolInfoResponse) 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_Suspended   MarketStatus = 3
	MarketStatus_Demolished  MarketStatus = 4
	MarketStatus_Expired     MarketStatus = 5
)

func (MarketStatus) EnumDescriptor

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

func (MarketStatus) String

func (x MarketStatus) String() string

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 MatchedMarketDirection

type MatchedMarketDirection struct {
	MarketId    common.Hash
	BuysExists  bool
	SellsExists bool
}

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 */
}

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 */
}

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 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"`
}

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)
	// Exec defines a method for executing a Cosmwasm contract from the exchange module with privileged capabilities.
	Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, 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)
	// 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)
	// RegisterAsDMM defines a method for registering as a DMM
	RegisterAsDMM(ctx context.Context, in *MsgRegisterAsDMM, opts ...grpc.CallOption) (*MsgRegisterAsDMMResponse, 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 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"`
}

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"`
}

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 MsgExec added in v1.39.0

type MsgExec struct {
	Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	// bank_funds defines the user's coins used to fund the execution
	BankFunds github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
	// deposits_subaccount_id defines the user's subaccountID to fund the execution
	DepositsSubaccountId string `protobuf:"bytes,3,opt,name=deposits_subaccount_id,json=depositsSubaccountId,proto3" json:"deposits_subaccount_id,omitempty"`
	// deposit_funds defines the fund amounts to fund the execution
	DepositFunds github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */
	// contract_address defines the contract address to execute
	ContractAddress string `protobuf:"bytes,5,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,6,opt,name=data,proto3" json:"data,omitempty"`
}

MsgExec defines the Msg/Exec message type

func (*MsgExec) Descriptor added in v1.39.0

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

func (*MsgExec) GetSignBytes added in v1.39.0

func (msg *MsgExec) GetSignBytes() []byte

func (*MsgExec) GetSigners added in v1.39.0

func (msg *MsgExec) GetSigners() []sdk.AccAddress

func (*MsgExec) Marshal added in v1.39.0

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

func (*MsgExec) MarshalTo added in v1.39.0

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

func (*MsgExec) MarshalToSizedBuffer added in v1.39.0

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

func (*MsgExec) ProtoMessage added in v1.39.0

func (*MsgExec) ProtoMessage()

func (*MsgExec) Reset added in v1.39.0

func (m *MsgExec) Reset()

func (*MsgExec) Route added in v1.39.0

func (msg *MsgExec) Route() string

func (*MsgExec) Size added in v1.39.0

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

func (*MsgExec) String added in v1.39.0

func (m *MsgExec) String() string

func (*MsgExec) Type added in v1.39.0

func (msg *MsgExec) Type() string

func (*MsgExec) Unmarshal added in v1.39.0

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

func (*MsgExec) ValidateBasic added in v1.39.0

func (msg *MsgExec) ValidateBasic() error

func (*MsgExec) XXX_DiscardUnknown added in v1.39.0

func (m *MsgExec) XXX_DiscardUnknown()

func (*MsgExec) XXX_Marshal added in v1.39.0

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

func (*MsgExec) XXX_Merge added in v1.39.0

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

func (*MsgExec) XXX_Size added in v1.39.0

func (m *MsgExec) XXX_Size() int

func (*MsgExec) XXX_Unmarshal added in v1.39.0

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

type MsgExecResponse added in v1.39.0

type MsgExecResponse struct {
}

MsgExecResponse defines the Msg/Exec response type.

func (*MsgExecResponse) Descriptor added in v1.39.0

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

func (*MsgExecResponse) Marshal added in v1.39.0

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

func (*MsgExecResponse) MarshalTo added in v1.39.0

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

func (*MsgExecResponse) MarshalToSizedBuffer added in v1.39.0

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

func (*MsgExecResponse) ProtoMessage added in v1.39.0

func (*MsgExecResponse) ProtoMessage()

func (*MsgExecResponse) Reset added in v1.39.0

func (m *MsgExecResponse) Reset()

func (*MsgExecResponse) Size added in v1.39.0

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

func (*MsgExecResponse) String added in v1.39.0

func (m *MsgExecResponse) String() string

func (*MsgExecResponse) Unmarshal added in v1.39.0

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

func (*MsgExecResponse) XXX_DiscardUnknown added in v1.39.0

func (m *MsgExecResponse) XXX_DiscardUnknown()

func (*MsgExecResponse) XXX_Marshal added in v1.39.0

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

func (*MsgExecResponse) XXX_Merge added in v1.39.0

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

func (*MsgExecResponse) XXX_Size added in v1.39.0

func (m *MsgExecResponse) XXX_Size() int

func (*MsgExecResponse) XXX_Unmarshal added in v1.39.0

func (m *MsgExecResponse) 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 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 MsgRegisterAsDMM added in v1.36.1

type MsgRegisterAsDMM struct {
	Sender     string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	DmmAccount string `protobuf:"bytes,2,opt,name=dmm_account,json=dmmAccount,proto3" json:"dmm_account,omitempty"`
}

A Cosmos-SDK MsgRegisterAsDMM

func (*MsgRegisterAsDMM) Descriptor added in v1.36.1

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

func (*MsgRegisterAsDMM) GetDmmAccount added in v1.36.1

func (m *MsgRegisterAsDMM) GetDmmAccount() string

func (*MsgRegisterAsDMM) GetSender added in v1.36.1

func (m *MsgRegisterAsDMM) GetSender() string

func (*MsgRegisterAsDMM) GetSignBytes added in v1.36.1

func (msg *MsgRegisterAsDMM) GetSignBytes() []byte

func (*MsgRegisterAsDMM) GetSigners added in v1.36.1

func (msg *MsgRegisterAsDMM) GetSigners() []sdk.AccAddress

func (*MsgRegisterAsDMM) Marshal added in v1.36.1

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

func (*MsgRegisterAsDMM) MarshalTo added in v1.36.1

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

func (*MsgRegisterAsDMM) MarshalToSizedBuffer added in v1.36.1

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

func (*MsgRegisterAsDMM) ProtoMessage added in v1.36.1

func (*MsgRegisterAsDMM) ProtoMessage()

func (*MsgRegisterAsDMM) Reset added in v1.36.1

func (m *MsgRegisterAsDMM) Reset()

func (*MsgRegisterAsDMM) Route added in v1.36.1

func (msg *MsgRegisterAsDMM) Route() string

func (*MsgRegisterAsDMM) Size added in v1.36.1

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

func (*MsgRegisterAsDMM) String added in v1.36.1

func (m *MsgRegisterAsDMM) String() string

func (*MsgRegisterAsDMM) Type added in v1.36.1

func (msg *MsgRegisterAsDMM) Type() string

func (*MsgRegisterAsDMM) Unmarshal added in v1.36.1

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

func (*MsgRegisterAsDMM) ValidateBasic added in v1.36.1

func (msg *MsgRegisterAsDMM) ValidateBasic() error

func (*MsgRegisterAsDMM) XXX_DiscardUnknown added in v1.36.1

func (m *MsgRegisterAsDMM) XXX_DiscardUnknown()

func (*MsgRegisterAsDMM) XXX_Marshal added in v1.36.1

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

func (*MsgRegisterAsDMM) XXX_Merge added in v1.36.1

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

func (*MsgRegisterAsDMM) XXX_Size added in v1.36.1

func (m *MsgRegisterAsDMM) XXX_Size() int

func (*MsgRegisterAsDMM) XXX_Unmarshal added in v1.36.1

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

type MsgRegisterAsDMMResponse added in v1.36.1

type MsgRegisterAsDMMResponse struct {
}

MsgRegisterAsDMMResponse defines the Msg/RegisterAsDMM response type.

func (*MsgRegisterAsDMMResponse) Descriptor added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) Marshal added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) MarshalTo added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) MarshalToSizedBuffer added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) ProtoMessage added in v1.36.1

func (*MsgRegisterAsDMMResponse) ProtoMessage()

func (*MsgRegisterAsDMMResponse) Reset added in v1.36.1

func (m *MsgRegisterAsDMMResponse) Reset()

func (*MsgRegisterAsDMMResponse) Size added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) String added in v1.36.1

func (m *MsgRegisterAsDMMResponse) String() string

func (*MsgRegisterAsDMMResponse) Unmarshal added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) XXX_DiscardUnknown added in v1.36.1

func (m *MsgRegisterAsDMMResponse) XXX_DiscardUnknown()

func (*MsgRegisterAsDMMResponse) XXX_Marshal added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) XXX_Merge added in v1.36.1

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

func (*MsgRegisterAsDMMResponse) XXX_Size added in v1.36.1

func (m *MsgRegisterAsDMMResponse) XXX_Size() int

func (*MsgRegisterAsDMMResponse) XXX_Unmarshal added in v1.36.1

func (m *MsgRegisterAsDMMResponse) 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)
	// Exec defines a method for executing a Cosmwasm contract from the exchange module with privileged capabilities.
	Exec(context.Context, *MsgExec) (*MsgExecResponse, 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)
	// 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)
	// RegisterAsDMM defines a method for registering as a DMM
	RegisterAsDMM(context.Context, *MsgRegisterAsDMM) (*MsgRegisterAsDMMResponse, error)
}

MsgServer is the server API for Msg service.

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 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
}

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"`
}

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) 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) 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) 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 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
)

func (OrderType) EnumDescriptor

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

func (OrderType) IsBuy

func (t OrderType) IsBuy() 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 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 */
}

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 sdk.Int,
	tradingRewardsVestingDuration int64,
	liquidatorRewardShareRate 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) 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) 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) ApplyProfitHaircut

func (p *Position) ApplyProfitHaircut(deficitAmount, totalProfits, settlementPrice sdk.Dec)

ApplyProfitHaircut 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) CheckValidPositionToReduce

func (p *Position) CheckValidPositionToReduce(
	reducePrice sdk.Dec,
	isBuyOrder bool,
	tradeFeeRate sdk.Dec,
	funding *PerpetualMarketFunding,
	orderMargin sdk.Dec,
) error

func (*Position) ClosePositionWithSettlePrice

func (p *Position) ClosePositionWithSettlePrice(settlementPrice, closingFeeRate sdk.Dec) (payout, closeTradingFee sdk.Dec, positionDelta *PositionDelta)

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) 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(markPrice sdk.Dec) (marginRatio sdk.Dec)

GetEffectiveMarginRatio returns the effective margin ratio of the position, based on the input mark 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 (m *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 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 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 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 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 a spot market's mid-price
	SpotMidPrice(ctx context.Context, in *QuerySpotMidPriceRequest, opts ...grpc.CallOption) (*QuerySpotMidPriceResponse, error)
	// Retrieves a derivative market's mid-price
	DerivativeMidPrice(ctx context.Context, in *QueryDerivativeMidPriceRequest, opts ...grpc.CallOption) (*QueryDerivativeMidPriceResponse, 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 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
	MarketMakingPoolInfo(ctx context.Context, in *MarketMakingPoolInfoRequest, opts ...grpc.CallOption) (*MarketMakingPoolInfoResponse, 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 a registered DMM
	IsRegisteredDMM(ctx context.Context, in *QueryIsRegisteredDMMRequest, opts ...grpc.CallOption) (*QueryIsRegisteredDMMResponse, error)
	// Retrieves all registered DMMs
	RegisteredDMMs(ctx context.Context, in *QueryRegisteredDMMsRequest, opts ...grpc.CallOption) (*QueryRegisteredDMMsResponse, error)
	// MarketVolatility computes the volatility for spot and derivative markets trading history.
	MarketVolatility(ctx context.Context, in *QueryMarketVolatilityRequest, opts ...grpc.CallOption) (*QueryMarketVolatilityResponse, 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 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"`
}

QueryDerivativeMarketsRequest is the request type for the Query/DerivativeMarkets RPC method.

func (*QueryDerivativeMarketsRequest) Descriptor

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

func (*QueryDerivativeMarketsRequest) GetStatus

func (m *QueryDerivativeMarketsRequest) GetStatus() string

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 QueryDerivativeMidPriceRequest added in v1.39.0

type QueryDerivativeMidPriceRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryDerivativeMidPriceRequest is the request type for the Query/DerivativeMidPrice RPC method.

func (*QueryDerivativeMidPriceRequest) Descriptor added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) GetMarketId added in v1.39.0

func (m *QueryDerivativeMidPriceRequest) GetMarketId() string

func (*QueryDerivativeMidPriceRequest) Marshal added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) MarshalTo added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) MarshalToSizedBuffer added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) ProtoMessage added in v1.39.0

func (*QueryDerivativeMidPriceRequest) ProtoMessage()

func (*QueryDerivativeMidPriceRequest) Reset added in v1.39.0

func (m *QueryDerivativeMidPriceRequest) Reset()

func (*QueryDerivativeMidPriceRequest) Size added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) String added in v1.39.0

func (*QueryDerivativeMidPriceRequest) Unmarshal added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) XXX_DiscardUnknown added in v1.39.0

func (m *QueryDerivativeMidPriceRequest) XXX_DiscardUnknown()

func (*QueryDerivativeMidPriceRequest) XXX_Marshal added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) XXX_Merge added in v1.39.0

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

func (*QueryDerivativeMidPriceRequest) XXX_Size added in v1.39.0

func (m *QueryDerivativeMidPriceRequest) XXX_Size() int

func (*QueryDerivativeMidPriceRequest) XXX_Unmarshal added in v1.39.0

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

type QueryDerivativeMidPriceResponse added in v1.39.0

type QueryDerivativeMidPriceResponse struct {
	// mid price of the market
	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,omitempty"`
}

QueryDerivativeMidPriceResponse is the response type for the Query/DerivativeMidPrice RPC method.

func (*QueryDerivativeMidPriceResponse) Descriptor added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) Marshal added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) MarshalTo added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) MarshalToSizedBuffer added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) ProtoMessage added in v1.39.0

func (*QueryDerivativeMidPriceResponse) ProtoMessage()

func (*QueryDerivativeMidPriceResponse) Reset added in v1.39.0

func (*QueryDerivativeMidPriceResponse) Size added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) String added in v1.39.0

func (*QueryDerivativeMidPriceResponse) Unmarshal added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) XXX_DiscardUnknown added in v1.39.0

func (m *QueryDerivativeMidPriceResponse) XXX_DiscardUnknown()

func (*QueryDerivativeMidPriceResponse) XXX_Marshal added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) XXX_Merge added in v1.39.0

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

func (*QueryDerivativeMidPriceResponse) XXX_Size added in v1.39.0

func (m *QueryDerivativeMidPriceResponse) XXX_Size() int

func (*QueryDerivativeMidPriceResponse) XXX_Unmarshal added in v1.39.0

func (m *QueryDerivativeMidPriceResponse) 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"`
}

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  []*PriceLevel `protobuf:"bytes,1,rep,name=buys_price_level,json=buysPriceLevel,proto3" json:"buys_price_level,omitempty"`
	SellsPriceLevel []*PriceLevel `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() []*PriceLevel

func (*QueryDerivativeOrderbookResponse) GetSellsPriceLevel

func (m *QueryDerivativeOrderbookResponse) GetSellsPriceLevel() []*PriceLevel

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 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 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 QueryIsRegisteredDMMRequest added in v1.36.2

type QueryIsRegisteredDMMRequest 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 (*QueryIsRegisteredDMMRequest) Descriptor added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) GetAccount added in v1.36.2

func (m *QueryIsRegisteredDMMRequest) GetAccount() string

func (*QueryIsRegisteredDMMRequest) Marshal added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) MarshalTo added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) MarshalToSizedBuffer added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) ProtoMessage added in v1.36.2

func (*QueryIsRegisteredDMMRequest) ProtoMessage()

func (*QueryIsRegisteredDMMRequest) Reset added in v1.36.2

func (m *QueryIsRegisteredDMMRequest) Reset()

func (*QueryIsRegisteredDMMRequest) Size added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) String added in v1.36.2

func (m *QueryIsRegisteredDMMRequest) String() string

func (*QueryIsRegisteredDMMRequest) Unmarshal added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) XXX_DiscardUnknown added in v1.36.2

func (m *QueryIsRegisteredDMMRequest) XXX_DiscardUnknown()

func (*QueryIsRegisteredDMMRequest) XXX_Marshal added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) XXX_Merge added in v1.36.2

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

func (*QueryIsRegisteredDMMRequest) XXX_Size added in v1.36.2

func (m *QueryIsRegisteredDMMRequest) XXX_Size() int

func (*QueryIsRegisteredDMMRequest) XXX_Unmarshal added in v1.36.2

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

type QueryIsRegisteredDMMResponse added in v1.36.2

type QueryIsRegisteredDMMResponse struct {
	IsRegisteredDmm bool `protobuf:"varint,1,opt,name=is_registered_dmm,json=isRegisteredDmm,proto3" json:"is_registered_dmm,omitempty"`
}

QueryIsRegisteredDMMResponse is the response type for the Query/IsRegisteredDMM RPC method.

func (*QueryIsRegisteredDMMResponse) Descriptor added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) GetIsRegisteredDmm added in v1.36.2

func (m *QueryIsRegisteredDMMResponse) GetIsRegisteredDmm() bool

func (*QueryIsRegisteredDMMResponse) Marshal added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) MarshalTo added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) MarshalToSizedBuffer added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) ProtoMessage added in v1.36.2

func (*QueryIsRegisteredDMMResponse) ProtoMessage()

func (*QueryIsRegisteredDMMResponse) Reset added in v1.36.2

func (m *QueryIsRegisteredDMMResponse) Reset()

func (*QueryIsRegisteredDMMResponse) Size added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) String added in v1.36.2

func (*QueryIsRegisteredDMMResponse) Unmarshal added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) XXX_DiscardUnknown added in v1.36.2

func (m *QueryIsRegisteredDMMResponse) XXX_DiscardUnknown()

func (*QueryIsRegisteredDMMResponse) XXX_Marshal added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) XXX_Merge added in v1.36.2

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

func (*QueryIsRegisteredDMMResponse) XXX_Size added in v1.36.2

func (m *QueryIsRegisteredDMMResponse) XXX_Size() int

func (*QueryIsRegisteredDMMResponse) XXX_Unmarshal added in v1.36.2

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

type QueryMarketIDFromVaultRequest added in v1.39.0

type QueryMarketIDFromVaultRequest struct {
	VaultSubaccountId string `protobuf:"bytes,1,opt,name=vault_subaccount_id,json=vaultSubaccountId,proto3" json:"vault_subaccount_id,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) GetVaultSubaccountId added in v1.39.0

func (m *QueryMarketIDFromVaultRequest) GetVaultSubaccountId() 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 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 QueryRegisteredDMMsRequest added in v1.38.0

type QueryRegisteredDMMsRequest struct {
}

QueryRegisteredDMMsRequest is the request type for the Query/RegisteredDMMs RPC method.

func (*QueryRegisteredDMMsRequest) Descriptor added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) Marshal added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) MarshalTo added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) MarshalToSizedBuffer added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) ProtoMessage added in v1.38.0

func (*QueryRegisteredDMMsRequest) ProtoMessage()

func (*QueryRegisteredDMMsRequest) Reset added in v1.38.0

func (m *QueryRegisteredDMMsRequest) Reset()

func (*QueryRegisteredDMMsRequest) Size added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) String added in v1.38.0

func (m *QueryRegisteredDMMsRequest) String() string

func (*QueryRegisteredDMMsRequest) Unmarshal added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) XXX_DiscardUnknown added in v1.38.0

func (m *QueryRegisteredDMMsRequest) XXX_DiscardUnknown()

func (*QueryRegisteredDMMsRequest) XXX_Marshal added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) XXX_Merge added in v1.38.0

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

func (*QueryRegisteredDMMsRequest) XXX_Size added in v1.38.0

func (m *QueryRegisteredDMMsRequest) XXX_Size() int

func (*QueryRegisteredDMMsRequest) XXX_Unmarshal added in v1.38.0

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

type QueryRegisteredDMMsResponse added in v1.38.0

type QueryRegisteredDMMsResponse struct {
	RegisteredDmms []string `protobuf:"bytes,1,rep,name=registered_dmms,json=registeredDmms,proto3" json:"registered_dmms,omitempty"`
}

QueryRegisteredDMMsResponse is the response type for the Query/RegisteredDMMs RPC method.

func (*QueryRegisteredDMMsResponse) Descriptor added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) GetRegisteredDmms added in v1.38.0

func (m *QueryRegisteredDMMsResponse) GetRegisteredDmms() []string

func (*QueryRegisteredDMMsResponse) Marshal added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) MarshalTo added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) MarshalToSizedBuffer added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) ProtoMessage added in v1.38.0

func (*QueryRegisteredDMMsResponse) ProtoMessage()

func (*QueryRegisteredDMMsResponse) Reset added in v1.38.0

func (m *QueryRegisteredDMMsResponse) Reset()

func (*QueryRegisteredDMMsResponse) Size added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) String added in v1.38.0

func (m *QueryRegisteredDMMsResponse) String() string

func (*QueryRegisteredDMMsResponse) Unmarshal added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) XXX_DiscardUnknown added in v1.38.0

func (m *QueryRegisteredDMMsResponse) XXX_DiscardUnknown()

func (*QueryRegisteredDMMsResponse) XXX_Marshal added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) XXX_Merge added in v1.38.0

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

func (*QueryRegisteredDMMsResponse) XXX_Size added in v1.38.0

func (m *QueryRegisteredDMMsResponse) XXX_Size() int

func (*QueryRegisteredDMMsResponse) XXX_Unmarshal added in v1.38.0

func (m *QueryRegisteredDMMsResponse) 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 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 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 a spot market's mid-price
	SpotMidPrice(context.Context, *QuerySpotMidPriceRequest) (*QuerySpotMidPriceResponse, error)
	// Retrieves a derivative market's mid-price
	DerivativeMidPrice(context.Context, *QueryDerivativeMidPriceRequest) (*QueryDerivativeMidPriceResponse, 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 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
	MarketMakingPoolInfo(context.Context, *MarketMakingPoolInfoRequest) (*MarketMakingPoolInfoResponse, 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 a registered DMM
	IsRegisteredDMM(context.Context, *QueryIsRegisteredDMMRequest) (*QueryIsRegisteredDMMResponse, error)
	// Retrieves all registered DMMs
	RegisteredDMMs(context.Context, *QueryRegisteredDMMsRequest) (*QueryRegisteredDMMsResponse, error)
	// MarketVolatility computes the volatility for spot and derivative markets trading history.
	MarketVolatility(context.Context, *QueryMarketVolatilityRequest) (*QueryMarketVolatilityResponse, 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"`
}

QuerySpotMarketsRequest is the request type for the Query/SpotMarkets RPC method.

func (*QuerySpotMarketsRequest) Descriptor

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

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 QuerySpotMidPriceRequest added in v1.39.0

type QuerySpotMidPriceRequest struct {
	// Market ID for the market
	MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QuerySpotMidPriceRequest is the request type for the Query/SpotMidPrice RPC method.

func (*QuerySpotMidPriceRequest) Descriptor added in v1.39.0

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

func (*QuerySpotMidPriceRequest) GetMarketId added in v1.39.0

func (m *QuerySpotMidPriceRequest) GetMarketId() string

func (*QuerySpotMidPriceRequest) Marshal added in v1.39.0

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

func (*QuerySpotMidPriceRequest) MarshalTo added in v1.39.0

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

func (*QuerySpotMidPriceRequest) MarshalToSizedBuffer added in v1.39.0

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

func (*QuerySpotMidPriceRequest) ProtoMessage added in v1.39.0

func (*QuerySpotMidPriceRequest) ProtoMessage()

func (*QuerySpotMidPriceRequest) Reset added in v1.39.0

func (m *QuerySpotMidPriceRequest) Reset()

func (*QuerySpotMidPriceRequest) Size added in v1.39.0

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

func (*QuerySpotMidPriceRequest) String added in v1.39.0

func (m *QuerySpotMidPriceRequest) String() string

func (*QuerySpotMidPriceRequest) Unmarshal added in v1.39.0

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

func (*QuerySpotMidPriceRequest) XXX_DiscardUnknown added in v1.39.0

func (m *QuerySpotMidPriceRequest) XXX_DiscardUnknown()

func (*QuerySpotMidPriceRequest) XXX_Marshal added in v1.39.0

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

func (*QuerySpotMidPriceRequest) XXX_Merge added in v1.39.0

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

func (*QuerySpotMidPriceRequest) XXX_Size added in v1.39.0

func (m *QuerySpotMidPriceRequest) XXX_Size() int

func (*QuerySpotMidPriceRequest) XXX_Unmarshal added in v1.39.0

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

type QuerySpotMidPriceResponse added in v1.39.0

type QuerySpotMidPriceResponse struct {
	// mid price of the market
	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,omitempty"`
}

QuerySpotMidPriceResponse is the response type for the Query/SpotMidPrice RPC method.

func (*QuerySpotMidPriceResponse) Descriptor added in v1.39.0

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

func (*QuerySpotMidPriceResponse) Marshal added in v1.39.0

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

func (*QuerySpotMidPriceResponse) MarshalTo added in v1.39.0

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

func (*QuerySpotMidPriceResponse) MarshalToSizedBuffer added in v1.39.0

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

func (*QuerySpotMidPriceResponse) ProtoMessage added in v1.39.0

func (*QuerySpotMidPriceResponse) ProtoMessage()

func (*QuerySpotMidPriceResponse) Reset added in v1.39.0

func (m *QuerySpotMidPriceResponse) Reset()

func (*QuerySpotMidPriceResponse) Size added in v1.39.0

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

func (*QuerySpotMidPriceResponse) String added in v1.39.0

func (m *QuerySpotMidPriceResponse) String() string

func (*QuerySpotMidPriceResponse) Unmarshal added in v1.39.0

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

func (*QuerySpotMidPriceResponse) XXX_DiscardUnknown added in v1.39.0

func (m *QuerySpotMidPriceResponse) XXX_DiscardUnknown()

func (*QuerySpotMidPriceResponse) XXX_Marshal added in v1.39.0

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

func (*QuerySpotMidPriceResponse) XXX_Merge added in v1.39.0

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

func (*QuerySpotMidPriceResponse) XXX_Size added in v1.39.0

func (m *QuerySpotMidPriceResponse) XXX_Size() int

func (*QuerySpotMidPriceResponse) XXX_Unmarshal added in v1.39.0

func (m *QuerySpotMidPriceResponse) 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"`
}

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) 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  []*PriceLevel `protobuf:"bytes,1,rep,name=buys_price_level,json=buysPriceLevel,proto3" json:"buys_price_level,omitempty"`
	SellsPriceLevel []*PriceLevel `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() []*PriceLevel

func (*QuerySpotOrderbookResponse) GetSellsPriceLevel

func (m *QuerySpotOrderbookResponse) GetSellsPriceLevel() []*PriceLevel

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 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 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 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 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 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) GetOrderHash

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

func (*SpotLimitOrder) GetOrderInfo

func (m *SpotLimitOrder) GetOrderInfo() OrderInfo

func (*SpotLimitOrder) GetOrderType

func (m *SpotLimitOrder) GetOrderType() OrderType

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) 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"`
}

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) GetOrderHash

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

func (*SpotMarketOrder) GetOrderInfo

func (m *SpotMarketOrder) GetOrderInfo() OrderInfo

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 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) CheckMarketOrderBalanceHold

func (m *SpotOrder) CheckMarketOrderBalanceHold(market *SpotMarket, availableBalance, bestPrice sdk.Dec) (sdk.Dec, error)

Calculate the balance hold for the market order. availableBalance should be in the margin denom

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) GetMarginDenom

func (m *SpotOrder) GetMarginDenom(market *SpotMarket) string

func (*SpotOrder) GetMarketId

func (m *SpotOrder) GetMarketId() string

func (*SpotOrder) GetNewSpotLimitOrder

func (o *SpotOrder) GetNewSpotLimitOrder(orderHash common.Hash) *SpotLimitOrder

func (*SpotOrder) GetOrderInfo

func (m *SpotOrder) GetOrderInfo() OrderInfo

func (*SpotOrder) GetOrderType

func (m *SpotOrder) GetOrderType() OrderType

func (*SpotOrder) IsBuy

func (o *SpotOrder) IsBuy() 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) 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 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 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 */
}

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) GetReduceOnlyLimitOrderCount

func (m *SubaccountOrderbookMetadata) GetReduceOnlyLimitOrderCount() 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
}

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)

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 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) 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) BatchCancelSpotOrders

func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders

func (*UnimplementedMsgServer) BatchUpdateOrders added in v1.28.4

func (*UnimplementedMsgServer) CancelDerivativeOrder

func (*UnimplementedMsgServer) CancelSpotOrder

func (*UnimplementedMsgServer) CreateDerivativeLimitOrder

func (*UnimplementedMsgServer) CreateSpotLimitOrder

func (*UnimplementedMsgServer) CreateSpotMarketOrder

func (*UnimplementedMsgServer) Deposit

func (*UnimplementedMsgServer) Exec added in v1.39.0

func (*UnimplementedMsgServer) ExternalTransfer

func (*UnimplementedMsgServer) IncreasePositionMargin

func (*UnimplementedMsgServer) InstantSpotMarketLaunch

func (*UnimplementedMsgServer) LiquidatePosition

func (*UnimplementedMsgServer) RegisterAsDMM added in v1.36.1

func (*UnimplementedMsgServer) SubaccountTransfer

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) BalanceMismatches added in v1.30.0

func (*UnimplementedQueryServer) BalanceWithBalanceHolds added in v1.30.0

func (*UnimplementedQueryServer) DerivativeMarket

func (*UnimplementedQueryServer) DerivativeMarketAddress added in v1.28.3

func (*UnimplementedQueryServer) DerivativeMarkets

func (*UnimplementedQueryServer) DerivativeMidPrice added in v1.39.0

func (*UnimplementedQueryServer) DerivativeOrderbook

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) HistoricalTradeRecords added in v1.39.0

func (*UnimplementedQueryServer) IsRegisteredDMM added in v1.36.2

func (*UnimplementedQueryServer) MarketMakingPoolInfo added in v1.33.5

func (*UnimplementedQueryServer) MarketVolatility added in v1.39.0

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) RegisteredDMMs added in v1.38.0

func (*UnimplementedQueryServer) SpotMarket

func (*UnimplementedQueryServer) SpotMarkets

func (*UnimplementedQueryServer) SpotMidPrice added in v1.39.0

func (*UnimplementedQueryServer) SpotOrderbook

func (*UnimplementedQueryServer) SubaccountDeposit

func (*UnimplementedQueryServer) SubaccountDeposits

func (*UnimplementedQueryServer) SubaccountEffectivePositionInMarket added in v1.39.0

func (*UnimplementedQueryServer) SubaccountOrderMetadata added in v1.28.3

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) TraderDerivativeTransientOrders added in v1.39.0

func (*UnimplementedQueryServer) TraderSpotOrders

type ValueValidatorFn

type ValueValidatorFn func(value interface{}) 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