Documentation ¶
Index ¶
- Constants
- Variables
- func BreachesMinimumTickSize(value sdk.Dec, minTickSize sdk.Dec) bool
- func DecBytesToDec(bz []byte) sdk.Dec
- func DecToDecBytes(dec sdk.Dec) []byte
- func EthAddressToSubaccountID(addr common.Address) common.Hash
- func GetCampaignMarketQualificationKey(marketID common.Hash) []byte
- func GetCampaignRewardPendingPoolKey(startTimestamp int64) []byte
- func GetCampaignRewardPoolKey(startTimestamp int64) []byte
- func GetDepositKey(subaccountID common.Hash, denom string) []byte
- func GetDepositKeyPrefixBySubaccountID(subaccountID common.Hash) []byte
- func GetDerivativeLimitOrderIndexPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte
- func GetDerivativeMarketKey(isEnabled bool) []byte
- func GetDerivativeMarketTransientMarketsKeyPrefix(marketID common.Hash, isBuy bool) []byte
- func GetExpiryFuturesMarketInfoByTimestampKey(timestamp int64, marketID common.Hash) []byte
- func GetFeeDiscountAccountOrderIndicatorKey(account sdk.AccAddress) []byte
- func GetFeeDiscountAccountTierKey(account sdk.AccAddress) []byte
- func GetFeeDiscountAccountVolumeInBucketKey(bucketStartTimestamp int64, account sdk.AccAddress) []byte
- func GetFeeDiscountMarketQualificationKey(marketID common.Hash) []byte
- func GetFeeDiscountPastBucketAccountVolumeKey(account sdk.AccAddress) []byte
- func GetIsRegisteredDMMKey(account sdk.AccAddress) []byte
- func GetLimitOrderByPriceKeyPrefix(marketID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte
- func GetLimitOrderIndexKey(marketID common.Hash, isBuy bool, subaccountID, orderHash common.Hash) []byte
- func GetLimitOrderIndexSubaccountPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte
- func GetMarketHistoricalTradeRecordsKey(marketID common.Hash) []byte
- func GetMarketIdDirectionFromTransientKey(prefix, key []byte) (marketID common.Hash, isBuy bool)
- func GetOrderByPriceKeyPrefix(marketID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte
- func GetSortedBalanceKeys(p map[string]*Deposit) []string
- func GetSpotLimitOrderIndexPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte
- func GetSpotMarketKey(isEnabled bool) []byte
- func GetSpotMarketTransientMarketsKeyPrefix(marketID common.Hash, isBuy bool) []byte
- func GetSubaccountAndMarketIDFromPositionKey(key []byte) (subaccountID, marketID common.Hash)
- func GetSubaccountIDFromPositionKey(key []byte) (subaccountID common.Hash)
- func GetSubaccountLimitOrderIndicatorKey(marketID, subaccountID common.Hash) []byte
- func GetSubaccountMarketOrderIndicatorKey(marketID, subaccountID common.Hash) []byte
- func GetSubaccountOrderKey(marketID, subaccountID common.Hash, isBuy bool, price sdk.Dec, ...) []byte
- func GetSubaccountOrderPrefixByMarketSubaccountDirection(marketID, subaccountID common.Hash, isBuy bool) []byte
- func GetSubaccountOrderbookMetadataKey(marketID, subaccountID common.Hash, isBuy bool) []byte
- func GetSubaccountTradeNonceKey(subaccountID common.Hash) []byte
- func GetTradingRewardAccountPendingPointsKey(account sdk.AccAddress, pendingPoolStartTimestamp int64) []byte
- func GetTradingRewardAccountPendingPointsPrefix(pendingPoolStartTimestamp int64) []byte
- func GetTradingRewardAccountPendingPointsStartTimestamp(pendingPoolStartTimestamp []byte) int64
- func GetTradingRewardAccountPointsKey(account sdk.AccAddress) []byte
- func GetTradingRewardTotalPendingPointsKey(pendingPoolStartTimestamp int64) []byte
- func GetTradingRewardsMarketPointsMultiplierKey(marketID common.Hash) []byte
- func GetTransientLimitOrderIndexIteratorPrefix(marketID common.Hash, isBuy bool, subaccountID common.Hash) []byte
- func HasDuplicates(slice []string) bool
- func HasDuplicatesCoin(slice []sdk.Coin) bool
- func HasDuplicatesHexHash(slice []string) bool
- func HasDuplicatesOrder(slice []*OrderData) bool
- func IsEqualDenoms(denoms1, denoms2 []string) bool
- func IsHexHash(s string) bool
- func IsTrueByte(bz []byte) bool
- func IsValidOrderHash(orderHash string) bool
- func IsValidSubaccountID(subaccountID string) (*common.Address, bool)
- func IsZeroOrNilDec(v sdk.Dec) bool
- func IsZeroOrNilInt(v sdk.Int) bool
- func MarketDirectionPrefix(marketID common.Hash, isLong bool) []byte
- func MarketSubaccountInfix(marketID, subaccountID common.Hash) []byte
- func NewDerivativesMarketID(ticker, quoteDenom, oracleBase, oracleQuote string, ...) common.Hash
- func NewExpiryFuturesMarketID(ticker, quoteDenom, oracleBase, oracleQuote string, ...) common.Hash
- func NewPerpetualMarketID(ticker, quoteDenom, oracleBase, oracleQuote string, ...) common.Hash
- func NewSpotMarketID(baseDenom, quoteDenom string) common.Hash
- func OrderIndexByMarketDirectionSubaccountOrderHashPrefix(marketID common.Hash, isLong bool, subaccountID common.Hash, ...) []byte
- func OrderIndexByMarketDirectionSubaccountPrefix(marketID common.Hash, subaccountID common.Hash, isLong bool) []byte
- func OrdersByMarketDirectionPriceOrderHashPrefix(marketID common.Hash, orderHash common.Hash, price *big.Int, isLong bool) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func ParseDepositStoreKey(key []byte) (subaccountID common.Hash, denom string)
- func ParseDepositTransientStoreKey(prefix, key []byte) (subaccountID common.Hash, denom string)
- func ParseFeeDiscountBucketAccountVolumeIteratorKey(key []byte) (bucketStartTimestamp int64, account sdk.AccAddress)
- func ParsePositionTransientStoreKey(key []byte) (marketID, subaccountID common.Hash)
- func ParseTradingRewardAccountPendingPointsKey(key []byte) (bucketStartTimestamp int64, account sdk.AccAddress)
- func PositionIndexBySubaccountMarketPrefix(subaccountID, marketID common.Hash) []byte
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SafeIsPositiveDec(v sdk.Dec) bool
- func SafeIsPositiveInt(v sdk.Int) bool
- func SdkAddressToEthAddress(addr sdk.AccAddress) common.Address
- func SdkAddressToSubaccountID(addr sdk.AccAddress) common.Hash
- func SdkAddressWithNonceToSubaccountID(addr sdk.AccAddress, nonce uint32) (*common.Hash, error)
- func SpotMarketDirectionPriceHashPrefix(marketID common.Hash, isBuy bool, price sdk.Dec, orderHash common.Hash) []byte
- func StringInSlice(a string, list *[]string) bool
- func SubaccountIDToSdkAddress(subaccountID common.Hash) sdk.AccAddress
- func ValidateFee(i interface{}) error
- func ValidateHourlyFundingRateCap(i interface{}) error
- func ValidateHourlyInterestRate(i interface{}) error
- func ValidateMakerFee(i interface{}) error
- func ValidateMarginRatio(i interface{}) error
- func ValidateTickSize(i interface{}) error
- type Account
- type AccountRewards
- func (*AccountRewards) Descriptor() ([]byte, []int)
- func (m *AccountRewards) GetAccount() string
- func (m *AccountRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *AccountRewards) Marshal() (dAtA []byte, err error)
- func (m *AccountRewards) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountRewards) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountRewards) ProtoMessage()
- func (m *AccountRewards) Reset()
- func (m *AccountRewards) Size() (n int)
- func (m *AccountRewards) String() string
- func (m *AccountRewards) Unmarshal(dAtA []byte) error
- func (m *AccountRewards) XXX_DiscardUnknown()
- func (m *AccountRewards) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountRewards) XXX_Merge(src proto.Message)
- func (m *AccountRewards) XXX_Size() int
- func (m *AccountRewards) XXX_Unmarshal(b []byte) error
- type AccountVolume
- func (*AccountVolume) Descriptor() ([]byte, []int)
- func (m *AccountVolume) GetAccount() string
- func (m *AccountVolume) Marshal() (dAtA []byte, err error)
- func (m *AccountVolume) MarshalTo(dAtA []byte) (int, error)
- func (m *AccountVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AccountVolume) ProtoMessage()
- func (m *AccountVolume) Reset()
- func (m *AccountVolume) Size() (n int)
- func (m *AccountVolume) String() string
- func (m *AccountVolume) Unmarshal(dAtA []byte) error
- func (m *AccountVolume) XXX_DiscardUnknown()
- func (m *AccountVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccountVolume) XXX_Merge(src proto.Message)
- func (m *AccountVolume) XXX_Size() int
- func (m *AccountVolume) XXX_Unmarshal(b []byte) error
- type Balance
- func (*Balance) Descriptor() ([]byte, []int)
- func (m *Balance) Marshal() (dAtA []byte, err error)
- func (m *Balance) MarshalTo(dAtA []byte) (int, error)
- func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Balance) ProtoMessage()
- func (m *Balance) Reset()
- func (m *Balance) Size() (n int)
- func (m *Balance) String() string
- func (m *Balance) Unmarshal(dAtA []byte) error
- func (m *Balance) XXX_DiscardUnknown()
- func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Balance) XXX_Merge(src proto.Message)
- func (m *Balance) XXX_Size() int
- func (m *Balance) XXX_Unmarshal(b []byte) error
- type BalanceMismatch
- func (*BalanceMismatch) Descriptor() ([]byte, []int)
- func (m *BalanceMismatch) GetDenom() string
- func (m *BalanceMismatch) GetSubaccountId() string
- func (m *BalanceMismatch) Marshal() (dAtA []byte, err error)
- func (m *BalanceMismatch) MarshalTo(dAtA []byte) (int, error)
- func (m *BalanceMismatch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalanceMismatch) ProtoMessage()
- func (m *BalanceMismatch) Reset()
- func (m *BalanceMismatch) Size() (n int)
- func (m *BalanceMismatch) String() string
- func (m *BalanceMismatch) Unmarshal(dAtA []byte) error
- func (m *BalanceMismatch) XXX_DiscardUnknown()
- func (m *BalanceMismatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalanceMismatch) XXX_Merge(src proto.Message)
- func (m *BalanceMismatch) XXX_Size() int
- func (m *BalanceMismatch) XXX_Unmarshal(b []byte) error
- type BalanceWithMarginHold
- func (*BalanceWithMarginHold) Descriptor() ([]byte, []int)
- func (m *BalanceWithMarginHold) GetDenom() string
- func (m *BalanceWithMarginHold) GetSubaccountId() string
- func (m *BalanceWithMarginHold) Marshal() (dAtA []byte, err error)
- func (m *BalanceWithMarginHold) MarshalTo(dAtA []byte) (int, error)
- func (m *BalanceWithMarginHold) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BalanceWithMarginHold) ProtoMessage()
- func (m *BalanceWithMarginHold) Reset()
- func (m *BalanceWithMarginHold) Size() (n int)
- func (m *BalanceWithMarginHold) String() string
- func (m *BalanceWithMarginHold) Unmarshal(dAtA []byte) error
- func (m *BalanceWithMarginHold) XXX_DiscardUnknown()
- func (m *BalanceWithMarginHold) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BalanceWithMarginHold) XXX_Merge(src proto.Message)
- func (m *BalanceWithMarginHold) XXX_Size() int
- func (m *BalanceWithMarginHold) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BatchCancelDerivativeOrdersAuthz
- func (a BatchCancelDerivativeOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*BatchCancelDerivativeOrdersAuthz) Descriptor() ([]byte, []int)
- func (m *BatchCancelDerivativeOrdersAuthz) GetMarketIds() []string
- func (m *BatchCancelDerivativeOrdersAuthz) GetSubaccountId() string
- func (m *BatchCancelDerivativeOrdersAuthz) Marshal() (dAtA []byte, err error)
- func (m *BatchCancelDerivativeOrdersAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchCancelDerivativeOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a BatchCancelDerivativeOrdersAuthz) MsgTypeURL() string
- func (*BatchCancelDerivativeOrdersAuthz) ProtoMessage()
- func (m *BatchCancelDerivativeOrdersAuthz) Reset()
- func (m *BatchCancelDerivativeOrdersAuthz) Size() (n int)
- func (m *BatchCancelDerivativeOrdersAuthz) String() string
- func (m *BatchCancelDerivativeOrdersAuthz) Unmarshal(dAtA []byte) error
- func (a BatchCancelDerivativeOrdersAuthz) ValidateBasic() error
- func (m *BatchCancelDerivativeOrdersAuthz) XXX_DiscardUnknown()
- func (m *BatchCancelDerivativeOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCancelDerivativeOrdersAuthz) XXX_Merge(src proto.Message)
- func (m *BatchCancelDerivativeOrdersAuthz) XXX_Size() int
- func (m *BatchCancelDerivativeOrdersAuthz) XXX_Unmarshal(b []byte) error
- type BatchCancelSpotOrdersAuthz
- func (a BatchCancelSpotOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*BatchCancelSpotOrdersAuthz) Descriptor() ([]byte, []int)
- func (m *BatchCancelSpotOrdersAuthz) GetMarketIds() []string
- func (m *BatchCancelSpotOrdersAuthz) GetSubaccountId() string
- func (m *BatchCancelSpotOrdersAuthz) Marshal() (dAtA []byte, err error)
- func (m *BatchCancelSpotOrdersAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchCancelSpotOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a BatchCancelSpotOrdersAuthz) MsgTypeURL() string
- func (*BatchCancelSpotOrdersAuthz) ProtoMessage()
- func (m *BatchCancelSpotOrdersAuthz) Reset()
- func (m *BatchCancelSpotOrdersAuthz) Size() (n int)
- func (m *BatchCancelSpotOrdersAuthz) String() string
- func (m *BatchCancelSpotOrdersAuthz) Unmarshal(dAtA []byte) error
- func (a BatchCancelSpotOrdersAuthz) ValidateBasic() error
- func (m *BatchCancelSpotOrdersAuthz) XXX_DiscardUnknown()
- func (m *BatchCancelSpotOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCancelSpotOrdersAuthz) XXX_Merge(src proto.Message)
- func (m *BatchCancelSpotOrdersAuthz) XXX_Size() int
- func (m *BatchCancelSpotOrdersAuthz) XXX_Unmarshal(b []byte) error
- type BatchCommunityPoolSpendProposal
- func (*BatchCommunityPoolSpendProposal) Descriptor() ([]byte, []int)
- func (p *BatchCommunityPoolSpendProposal) GetDescription() string
- func (p *BatchCommunityPoolSpendProposal) GetTitle() string
- func (m *BatchCommunityPoolSpendProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchCommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchCommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *BatchCommunityPoolSpendProposal) ProposalRoute() string
- func (p *BatchCommunityPoolSpendProposal) ProposalType() string
- func (*BatchCommunityPoolSpendProposal) ProtoMessage()
- func (m *BatchCommunityPoolSpendProposal) Reset()
- func (m *BatchCommunityPoolSpendProposal) Size() (n int)
- func (m *BatchCommunityPoolSpendProposal) String() string
- func (m *BatchCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error
- func (p *BatchCommunityPoolSpendProposal) ValidateBasic() error
- func (m *BatchCommunityPoolSpendProposal) XXX_DiscardUnknown()
- func (m *BatchCommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCommunityPoolSpendProposal) XXX_Merge(src proto.Message)
- func (m *BatchCommunityPoolSpendProposal) XXX_Size() int
- func (m *BatchCommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error
- type BatchCreateDerivativeLimitOrdersAuthz
- func (a BatchCreateDerivativeLimitOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*BatchCreateDerivativeLimitOrdersAuthz) Descriptor() ([]byte, []int)
- func (m *BatchCreateDerivativeLimitOrdersAuthz) GetMarketIds() []string
- func (m *BatchCreateDerivativeLimitOrdersAuthz) GetSubaccountId() string
- func (m *BatchCreateDerivativeLimitOrdersAuthz) Marshal() (dAtA []byte, err error)
- func (m *BatchCreateDerivativeLimitOrdersAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchCreateDerivativeLimitOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a BatchCreateDerivativeLimitOrdersAuthz) MsgTypeURL() string
- func (*BatchCreateDerivativeLimitOrdersAuthz) ProtoMessage()
- func (m *BatchCreateDerivativeLimitOrdersAuthz) Reset()
- func (m *BatchCreateDerivativeLimitOrdersAuthz) Size() (n int)
- func (m *BatchCreateDerivativeLimitOrdersAuthz) String() string
- func (m *BatchCreateDerivativeLimitOrdersAuthz) Unmarshal(dAtA []byte) error
- func (a BatchCreateDerivativeLimitOrdersAuthz) ValidateBasic() error
- func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_DiscardUnknown()
- func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Merge(src proto.Message)
- func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Size() int
- func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Unmarshal(b []byte) error
- type BatchCreateSpotLimitOrdersAuthz
- func (a BatchCreateSpotLimitOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*BatchCreateSpotLimitOrdersAuthz) Descriptor() ([]byte, []int)
- func (m *BatchCreateSpotLimitOrdersAuthz) GetMarketIds() []string
- func (m *BatchCreateSpotLimitOrdersAuthz) GetSubaccountId() string
- func (m *BatchCreateSpotLimitOrdersAuthz) Marshal() (dAtA []byte, err error)
- func (m *BatchCreateSpotLimitOrdersAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchCreateSpotLimitOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a BatchCreateSpotLimitOrdersAuthz) MsgTypeURL() string
- func (*BatchCreateSpotLimitOrdersAuthz) ProtoMessage()
- func (m *BatchCreateSpotLimitOrdersAuthz) Reset()
- func (m *BatchCreateSpotLimitOrdersAuthz) Size() (n int)
- func (m *BatchCreateSpotLimitOrdersAuthz) String() string
- func (m *BatchCreateSpotLimitOrdersAuthz) Unmarshal(dAtA []byte) error
- func (a BatchCreateSpotLimitOrdersAuthz) ValidateBasic() error
- func (m *BatchCreateSpotLimitOrdersAuthz) XXX_DiscardUnknown()
- func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Merge(src proto.Message)
- func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Size() int
- func (m *BatchCreateSpotLimitOrdersAuthz) XXX_Unmarshal(b []byte) error
- type BatchExchangeModificationProposal
- func (*BatchExchangeModificationProposal) Descriptor() ([]byte, []int)
- func (p *BatchExchangeModificationProposal) GetDescription() string
- func (p *BatchExchangeModificationProposal) GetTitle() string
- func (m *BatchExchangeModificationProposal) Marshal() (dAtA []byte, err error)
- func (m *BatchExchangeModificationProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchExchangeModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *BatchExchangeModificationProposal) ProposalRoute() string
- func (p *BatchExchangeModificationProposal) ProposalType() string
- func (*BatchExchangeModificationProposal) ProtoMessage()
- func (m *BatchExchangeModificationProposal) Reset()
- func (m *BatchExchangeModificationProposal) Size() (n int)
- func (m *BatchExchangeModificationProposal) String() string
- func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error
- func (p *BatchExchangeModificationProposal) ValidateBasic() error
- func (m *BatchExchangeModificationProposal) XXX_DiscardUnknown()
- func (m *BatchExchangeModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchExchangeModificationProposal) XXX_Merge(src proto.Message)
- func (m *BatchExchangeModificationProposal) XXX_Size() int
- func (m *BatchExchangeModificationProposal) XXX_Unmarshal(b []byte) error
- type BatchUpdateOrdersAuthz
- func (a BatchUpdateOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*BatchUpdateOrdersAuthz) Descriptor() ([]byte, []int)
- func (m *BatchUpdateOrdersAuthz) GetDerivativeMarkets() []string
- func (m *BatchUpdateOrdersAuthz) GetSpotMarkets() []string
- func (m *BatchUpdateOrdersAuthz) GetSubaccountId() string
- func (m *BatchUpdateOrdersAuthz) Marshal() (dAtA []byte, err error)
- func (m *BatchUpdateOrdersAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchUpdateOrdersAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a BatchUpdateOrdersAuthz) MsgTypeURL() string
- func (*BatchUpdateOrdersAuthz) ProtoMessage()
- func (m *BatchUpdateOrdersAuthz) Reset()
- func (m *BatchUpdateOrdersAuthz) Size() (n int)
- func (m *BatchUpdateOrdersAuthz) String() string
- func (m *BatchUpdateOrdersAuthz) Unmarshal(dAtA []byte) error
- func (a BatchUpdateOrdersAuthz) ValidateBasic() error
- func (m *BatchUpdateOrdersAuthz) XXX_DiscardUnknown()
- func (m *BatchUpdateOrdersAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchUpdateOrdersAuthz) XXX_Merge(src proto.Message)
- func (m *BatchUpdateOrdersAuthz) XXX_Size() int
- func (m *BatchUpdateOrdersAuthz) XXX_Unmarshal(b []byte) error
- type CampaignRewardPool
- func (*CampaignRewardPool) Descriptor() ([]byte, []int)
- func (m *CampaignRewardPool) GetMaxCampaignRewards() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *CampaignRewardPool) GetStartTimestamp() int64
- func (m *CampaignRewardPool) Marshal() (dAtA []byte, err error)
- func (m *CampaignRewardPool) MarshalTo(dAtA []byte) (int, error)
- func (m *CampaignRewardPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CampaignRewardPool) ProtoMessage()
- func (m *CampaignRewardPool) Reset()
- func (m *CampaignRewardPool) Size() (n int)
- func (m *CampaignRewardPool) String() string
- func (m *CampaignRewardPool) Unmarshal(dAtA []byte) error
- func (m *CampaignRewardPool) XXX_DiscardUnknown()
- func (m *CampaignRewardPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CampaignRewardPool) XXX_Merge(src proto.Message)
- func (m *CampaignRewardPool) XXX_Size() int
- func (m *CampaignRewardPool) XXX_Unmarshal(b []byte) error
- type CancelDerivativeOrderAuthz
- func (a CancelDerivativeOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*CancelDerivativeOrderAuthz) Descriptor() ([]byte, []int)
- func (m *CancelDerivativeOrderAuthz) GetMarketIds() []string
- func (m *CancelDerivativeOrderAuthz) GetSubaccountId() string
- func (m *CancelDerivativeOrderAuthz) Marshal() (dAtA []byte, err error)
- func (m *CancelDerivativeOrderAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *CancelDerivativeOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CancelDerivativeOrderAuthz) MsgTypeURL() string
- func (*CancelDerivativeOrderAuthz) ProtoMessage()
- func (m *CancelDerivativeOrderAuthz) Reset()
- func (m *CancelDerivativeOrderAuthz) Size() (n int)
- func (m *CancelDerivativeOrderAuthz) String() string
- func (m *CancelDerivativeOrderAuthz) Unmarshal(dAtA []byte) error
- func (a CancelDerivativeOrderAuthz) ValidateBasic() error
- func (m *CancelDerivativeOrderAuthz) XXX_DiscardUnknown()
- func (m *CancelDerivativeOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelDerivativeOrderAuthz) XXX_Merge(src proto.Message)
- func (m *CancelDerivativeOrderAuthz) XXX_Size() int
- func (m *CancelDerivativeOrderAuthz) XXX_Unmarshal(b []byte) error
- type CancelSpotOrderAuthz
- func (a CancelSpotOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*CancelSpotOrderAuthz) Descriptor() ([]byte, []int)
- func (m *CancelSpotOrderAuthz) GetMarketIds() []string
- func (m *CancelSpotOrderAuthz) GetSubaccountId() string
- func (m *CancelSpotOrderAuthz) Marshal() (dAtA []byte, err error)
- func (m *CancelSpotOrderAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *CancelSpotOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CancelSpotOrderAuthz) MsgTypeURL() string
- func (*CancelSpotOrderAuthz) ProtoMessage()
- func (m *CancelSpotOrderAuthz) Reset()
- func (m *CancelSpotOrderAuthz) Size() (n int)
- func (m *CancelSpotOrderAuthz) String() string
- func (m *CancelSpotOrderAuthz) Unmarshal(dAtA []byte) error
- func (a CancelSpotOrderAuthz) ValidateBasic() error
- func (m *CancelSpotOrderAuthz) XXX_DiscardUnknown()
- func (m *CancelSpotOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelSpotOrderAuthz) XXX_Merge(src proto.Message)
- func (m *CancelSpotOrderAuthz) XXX_Size() int
- func (m *CancelSpotOrderAuthz) XXX_Unmarshal(b []byte) error
- type CreateDerivativeLimitOrderAuthz
- func (a CreateDerivativeLimitOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*CreateDerivativeLimitOrderAuthz) Descriptor() ([]byte, []int)
- func (m *CreateDerivativeLimitOrderAuthz) GetMarketIds() []string
- func (m *CreateDerivativeLimitOrderAuthz) GetSubaccountId() string
- func (m *CreateDerivativeLimitOrderAuthz) Marshal() (dAtA []byte, err error)
- func (m *CreateDerivativeLimitOrderAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateDerivativeLimitOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CreateDerivativeLimitOrderAuthz) MsgTypeURL() string
- func (*CreateDerivativeLimitOrderAuthz) ProtoMessage()
- func (m *CreateDerivativeLimitOrderAuthz) Reset()
- func (m *CreateDerivativeLimitOrderAuthz) Size() (n int)
- func (m *CreateDerivativeLimitOrderAuthz) String() string
- func (m *CreateDerivativeLimitOrderAuthz) Unmarshal(dAtA []byte) error
- func (a CreateDerivativeLimitOrderAuthz) ValidateBasic() error
- func (m *CreateDerivativeLimitOrderAuthz) XXX_DiscardUnknown()
- func (m *CreateDerivativeLimitOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDerivativeLimitOrderAuthz) XXX_Merge(src proto.Message)
- func (m *CreateDerivativeLimitOrderAuthz) XXX_Size() int
- func (m *CreateDerivativeLimitOrderAuthz) XXX_Unmarshal(b []byte) error
- type CreateDerivativeMarketOrderAuthz
- func (a CreateDerivativeMarketOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*CreateDerivativeMarketOrderAuthz) Descriptor() ([]byte, []int)
- func (m *CreateDerivativeMarketOrderAuthz) GetMarketIds() []string
- func (m *CreateDerivativeMarketOrderAuthz) GetSubaccountId() string
- func (m *CreateDerivativeMarketOrderAuthz) Marshal() (dAtA []byte, err error)
- func (m *CreateDerivativeMarketOrderAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateDerivativeMarketOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CreateDerivativeMarketOrderAuthz) MsgTypeURL() string
- func (*CreateDerivativeMarketOrderAuthz) ProtoMessage()
- func (m *CreateDerivativeMarketOrderAuthz) Reset()
- func (m *CreateDerivativeMarketOrderAuthz) Size() (n int)
- func (m *CreateDerivativeMarketOrderAuthz) String() string
- func (m *CreateDerivativeMarketOrderAuthz) Unmarshal(dAtA []byte) error
- func (a CreateDerivativeMarketOrderAuthz) ValidateBasic() error
- func (m *CreateDerivativeMarketOrderAuthz) XXX_DiscardUnknown()
- func (m *CreateDerivativeMarketOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDerivativeMarketOrderAuthz) XXX_Merge(src proto.Message)
- func (m *CreateDerivativeMarketOrderAuthz) XXX_Size() int
- func (m *CreateDerivativeMarketOrderAuthz) XXX_Unmarshal(b []byte) error
- type CreateSpotLimitOrderAuthz
- func (a CreateSpotLimitOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*CreateSpotLimitOrderAuthz) Descriptor() ([]byte, []int)
- func (m *CreateSpotLimitOrderAuthz) GetMarketIds() []string
- func (m *CreateSpotLimitOrderAuthz) GetSubaccountId() string
- func (m *CreateSpotLimitOrderAuthz) Marshal() (dAtA []byte, err error)
- func (m *CreateSpotLimitOrderAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateSpotLimitOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CreateSpotLimitOrderAuthz) MsgTypeURL() string
- func (*CreateSpotLimitOrderAuthz) ProtoMessage()
- func (m *CreateSpotLimitOrderAuthz) Reset()
- func (m *CreateSpotLimitOrderAuthz) Size() (n int)
- func (m *CreateSpotLimitOrderAuthz) String() string
- func (m *CreateSpotLimitOrderAuthz) Unmarshal(dAtA []byte) error
- func (a CreateSpotLimitOrderAuthz) ValidateBasic() error
- func (m *CreateSpotLimitOrderAuthz) XXX_DiscardUnknown()
- func (m *CreateSpotLimitOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSpotLimitOrderAuthz) XXX_Merge(src proto.Message)
- func (m *CreateSpotLimitOrderAuthz) XXX_Size() int
- func (m *CreateSpotLimitOrderAuthz) XXX_Unmarshal(b []byte) error
- type CreateSpotMarketOrderAuthz
- func (a CreateSpotMarketOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
- func (*CreateSpotMarketOrderAuthz) Descriptor() ([]byte, []int)
- func (m *CreateSpotMarketOrderAuthz) GetMarketIds() []string
- func (m *CreateSpotMarketOrderAuthz) GetSubaccountId() string
- func (m *CreateSpotMarketOrderAuthz) Marshal() (dAtA []byte, err error)
- func (m *CreateSpotMarketOrderAuthz) MarshalTo(dAtA []byte) (int, error)
- func (m *CreateSpotMarketOrderAuthz) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a CreateSpotMarketOrderAuthz) MsgTypeURL() string
- func (*CreateSpotMarketOrderAuthz) ProtoMessage()
- func (m *CreateSpotMarketOrderAuthz) Reset()
- func (m *CreateSpotMarketOrderAuthz) Size() (n int)
- func (m *CreateSpotMarketOrderAuthz) String() string
- func (m *CreateSpotMarketOrderAuthz) Unmarshal(dAtA []byte) error
- func (a CreateSpotMarketOrderAuthz) ValidateBasic() error
- func (m *CreateSpotMarketOrderAuthz) XXX_DiscardUnknown()
- func (m *CreateSpotMarketOrderAuthz) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateSpotMarketOrderAuthz) XXX_Merge(src proto.Message)
- func (m *CreateSpotMarketOrderAuthz) XXX_Size() int
- func (m *CreateSpotMarketOrderAuthz) XXX_Unmarshal(b []byte) error
- type Deposit
- func (*Deposit) Descriptor() ([]byte, []int)
- func (d *Deposit) HasTransientOrRestingVanillaLimitOrders() bool
- func (d *Deposit) IsEmpty() bool
- func (m *Deposit) Marshal() (dAtA []byte, err error)
- func (m *Deposit) MarshalTo(dAtA []byte) (int, error)
- func (m *Deposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Deposit) ProtoMessage()
- func (m *Deposit) Reset()
- func (m *Deposit) Size() (n int)
- func (m *Deposit) String() string
- func (m *Deposit) Unmarshal(dAtA []byte) error
- func (m *Deposit) XXX_DiscardUnknown()
- func (m *Deposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Deposit) XXX_Merge(src proto.Message)
- func (m *Deposit) XXX_Size() int
- func (m *Deposit) XXX_Unmarshal(b []byte) error
- type DepositDelta
- type DepositDeltas
- func (d *DepositDeltas) ApplyDelta(subaccountID common.Hash, totalBalanceDelta, availableBalanceDelta sdk.Dec)
- func (d *DepositDeltas) ApplyDepositDelta(subaccountID common.Hash, delta *DepositDelta)
- func (d *DepositDeltas) ApplyUniformDelta(subaccountID common.Hash, delta sdk.Dec)
- func (d *DepositDeltas) GetSortedSubaccountKeys() []common.Hash
- type DepositUpdate
- func (*DepositUpdate) Descriptor() ([]byte, []int)
- func (m *DepositUpdate) GetDenom() string
- func (m *DepositUpdate) GetDeposits() []*SubaccountDeposit
- func (m *DepositUpdate) Marshal() (dAtA []byte, err error)
- func (m *DepositUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositUpdate) ProtoMessage()
- func (m *DepositUpdate) Reset()
- func (m *DepositUpdate) Size() (n int)
- func (m *DepositUpdate) String() string
- func (m *DepositUpdate) Unmarshal(dAtA []byte) error
- func (m *DepositUpdate) XXX_DiscardUnknown()
- func (m *DepositUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositUpdate) XXX_Merge(src proto.Message)
- func (m *DepositUpdate) XXX_Size() int
- func (m *DepositUpdate) XXX_Unmarshal(b []byte) error
- type DerivativeLimitOrder
- func (o *DerivativeLimitOrder) CheckInitialMarginRequirementMarkPriceThreshold(initialMarginRatio, markPrice sdk.Dec) (err error)
- func (*DerivativeLimitOrder) Descriptor() ([]byte, []int)
- func (o *DerivativeLimitOrder) FeeRecipient() common.Address
- func (o *DerivativeLimitOrder) GetCancelDepositDelta(feeRate sdk.Dec) *DepositDelta
- func (m *DerivativeLimitOrder) GetOrderHash() []byte
- func (m *DerivativeLimitOrder) GetOrderInfo() OrderInfo
- func (m *DerivativeLimitOrder) GetOrderType() OrderType
- func (o *DerivativeLimitOrder) Hash() common.Hash
- func (m *DerivativeLimitOrder) IsBuy() bool
- func (o *DerivativeLimitOrder) IsReduceOnly() bool
- func (o *DerivativeLimitOrder) IsVanilla() bool
- func (m *DerivativeLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *DerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *DerivativeLimitOrder) Price() sdk.Dec
- func (*DerivativeLimitOrder) ProtoMessage()
- func (m *DerivativeLimitOrder) Reset()
- func (o *DerivativeLimitOrder) SdkAccAddress() sdk.AccAddress
- func (m *DerivativeLimitOrder) Size() (n int)
- func (m *DerivativeLimitOrder) String() string
- func (o *DerivativeLimitOrder) SubaccountID() common.Hash
- func (o *DerivativeLimitOrder) ToDerivativeOrder(marketID string) *DerivativeOrder
- func (m *DerivativeLimitOrder) ToTrimmed() *TrimmedDerivativeLimitOrder
- func (m *DerivativeLimitOrder) Unmarshal(dAtA []byte) error
- func (m *DerivativeLimitOrder) XXX_DiscardUnknown()
- func (m *DerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeLimitOrder) XXX_Merge(src proto.Message)
- func (m *DerivativeLimitOrder) XXX_Size() int
- func (m *DerivativeLimitOrder) XXX_Unmarshal(b []byte) error
- type DerivativeLimitOrderDelta
- type DerivativeMarket
- func (*DerivativeMarket) Descriptor() ([]byte, []int)
- func (m *DerivativeMarket) GetIsPerpetual() bool
- func (m *DerivativeMarket) GetMarketId() string
- func (m *DerivativeMarket) GetOracleBase() string
- func (m *DerivativeMarket) GetOracleQuote() string
- func (m *DerivativeMarket) GetOracleScaleFactor() uint32
- func (m *DerivativeMarket) GetOracleType() types1.OracleType
- func (m *DerivativeMarket) GetQuoteDenom() string
- func (m *DerivativeMarket) GetStatus() MarketStatus
- func (m *DerivativeMarket) GetTicker() string
- func (m *DerivativeMarket) IsActive() bool
- func (m *DerivativeMarket) IsInactive() bool
- func (m *DerivativeMarket) IsTimeExpiry() bool
- func (m *DerivativeMarket) MarketID() common.Hash
- func (m *DerivativeMarket) Marshal() (dAtA []byte, err error)
- func (m *DerivativeMarket) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeMarket) ProtoMessage()
- func (m *DerivativeMarket) Reset()
- func (m *DerivativeMarket) Size() (n int)
- func (m *DerivativeMarket) StatusSupportsOrderCancellations() bool
- func (m *DerivativeMarket) String() string
- func (m *DerivativeMarket) Unmarshal(dAtA []byte) error
- func (m *DerivativeMarket) XXX_DiscardUnknown()
- func (m *DerivativeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeMarket) XXX_Merge(src proto.Message)
- func (m *DerivativeMarket) XXX_Size() int
- func (m *DerivativeMarket) XXX_Unmarshal(b []byte) error
- type DerivativeMarketInfo
- type DerivativeMarketOrder
- func (o *DerivativeMarketOrder) CheckInitialMarginRequirementMarkPriceThreshold(initialMarginRatio, markPrice sdk.Dec) (err error)
- func (o *DerivativeMarketOrder) ComputeOrderHash(nonce uint32, marketId string) (common.Hash, error)
- func (*DerivativeMarketOrder) Descriptor() ([]byte, []int)
- func (o *DerivativeMarketOrder) FeeRecipient() common.Address
- func (m *DerivativeMarketOrder) FillableQuantity() sdk.Dec
- func (m *DerivativeMarketOrder) GetOrderHash() []byte
- func (m *DerivativeMarketOrder) GetOrderInfo() OrderInfo
- func (m *DerivativeMarketOrder) GetOrderType() OrderType
- func (o *DerivativeMarketOrder) Hash() common.Hash
- func (m *DerivativeMarketOrder) IsBuy() bool
- func (o *DerivativeMarketOrder) IsReduceOnly() bool
- func (o *DerivativeMarketOrder) IsVanilla() bool
- func (m *DerivativeMarketOrder) Marshal() (dAtA []byte, err error)
- func (m *DerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *DerivativeMarketOrder) Price() sdk.Dec
- func (*DerivativeMarketOrder) ProtoMessage()
- func (m *DerivativeMarketOrder) Quantity() sdk.Dec
- func (m *DerivativeMarketOrder) Reset()
- func (o *DerivativeMarketOrder) SdkAccAddress() sdk.AccAddress
- func (m *DerivativeMarketOrder) Size() (n int)
- func (m *DerivativeMarketOrder) String() string
- func (o *DerivativeMarketOrder) SubaccountID() common.Hash
- func (o *DerivativeMarketOrder) ToDerivativeOrder(marketID string) *DerivativeOrder
- func (m *DerivativeMarketOrder) Unmarshal(dAtA []byte) error
- func (m *DerivativeMarketOrder) XXX_DiscardUnknown()
- func (m *DerivativeMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeMarketOrder) XXX_Merge(src proto.Message)
- func (m *DerivativeMarketOrder) XXX_Size() int
- func (m *DerivativeMarketOrder) XXX_Unmarshal(b []byte) error
- type DerivativeMarketOrderCancel
- func (o *DerivativeMarketOrderCancel) ApplyDerivativeMarketCancellation(depositDeltas DepositDeltas)
- func (*DerivativeMarketOrderCancel) Descriptor() ([]byte, []int)
- func (o *DerivativeMarketOrderCancel) GetCancelDepositDelta() *DepositDelta
- func (m *DerivativeMarketOrderCancel) GetMarketOrder() *DerivativeMarketOrder
- func (m *DerivativeMarketOrderCancel) Marshal() (dAtA []byte, err error)
- func (m *DerivativeMarketOrderCancel) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeMarketOrderCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeMarketOrderCancel) ProtoMessage()
- func (m *DerivativeMarketOrderCancel) Reset()
- func (m *DerivativeMarketOrderCancel) Size() (n int)
- func (m *DerivativeMarketOrderCancel) String() string
- func (m *DerivativeMarketOrderCancel) Unmarshal(dAtA []byte) error
- func (m *DerivativeMarketOrderCancel) XXX_DiscardUnknown()
- func (m *DerivativeMarketOrderCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeMarketOrderCancel) XXX_Merge(src proto.Message)
- func (m *DerivativeMarketOrderCancel) XXX_Size() int
- func (m *DerivativeMarketOrderCancel) XXX_Unmarshal(b []byte) error
- type DerivativeMarketOrderDelta
- type DerivativeMarketParamUpdateProposal
- func (*DerivativeMarketParamUpdateProposal) Descriptor() ([]byte, []int)
- func (p *DerivativeMarketParamUpdateProposal) GetDescription() string
- func (p *DerivativeMarketParamUpdateProposal) GetTitle() string
- func (m *DerivativeMarketParamUpdateProposal) Marshal() (dAtA []byte, err error)
- func (m *DerivativeMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *DerivativeMarketParamUpdateProposal) ProposalRoute() string
- func (p *DerivativeMarketParamUpdateProposal) ProposalType() string
- func (*DerivativeMarketParamUpdateProposal) ProtoMessage()
- func (m *DerivativeMarketParamUpdateProposal) Reset()
- func (m *DerivativeMarketParamUpdateProposal) Size() (n int)
- func (m *DerivativeMarketParamUpdateProposal) String() string
- func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error
- func (p *DerivativeMarketParamUpdateProposal) ValidateBasic() error
- func (m *DerivativeMarketParamUpdateProposal) XXX_DiscardUnknown()
- func (m *DerivativeMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeMarketParamUpdateProposal) XXX_Merge(src proto.Message)
- func (m *DerivativeMarketParamUpdateProposal) XXX_Size() int
- func (m *DerivativeMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error
- type DerivativeMarketSettlementInfo
- func (*DerivativeMarketSettlementInfo) Descriptor() ([]byte, []int)
- func (m *DerivativeMarketSettlementInfo) GetMarketId() string
- func (m *DerivativeMarketSettlementInfo) Marshal() (dAtA []byte, err error)
- func (m *DerivativeMarketSettlementInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeMarketSettlementInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeMarketSettlementInfo) ProtoMessage()
- func (m *DerivativeMarketSettlementInfo) Reset()
- func (m *DerivativeMarketSettlementInfo) Size() (n int)
- func (m *DerivativeMarketSettlementInfo) String() string
- func (m *DerivativeMarketSettlementInfo) Unmarshal(dAtA []byte) error
- func (m *DerivativeMarketSettlementInfo) XXX_DiscardUnknown()
- func (m *DerivativeMarketSettlementInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeMarketSettlementInfo) XXX_Merge(src proto.Message)
- func (m *DerivativeMarketSettlementInfo) XXX_Size() int
- func (m *DerivativeMarketSettlementInfo) XXX_Unmarshal(b []byte) error
- type DerivativeOrder
- func (o *DerivativeOrder) CheckInitialMarginRequirementMarkPriceThreshold(initialMarginRatio, markPrice sdk.Dec) (err error)
- func (o *DerivativeOrder) CheckMarginAndGetMarginHold(market *DerivativeMarket, markPrice, feeRate sdk.Dec) (marginHold sdk.Dec, err error)
- func (o *DerivativeOrder) CheckTickSize(minPriceTickSize, minQuantityTickSize sdk.Dec) error
- func (o *DerivativeOrder) ComputeInitialMarginRequirementMarkPriceThreshold(initialMarginRatio sdk.Dec) sdk.Dec
- func (o *DerivativeOrder) ComputeOrderHash(nonce uint32) (common.Hash, error)
- func (*DerivativeOrder) Descriptor() ([]byte, []int)
- func (m *DerivativeOrder) GetMarketId() string
- func (m *DerivativeOrder) GetOrderInfo() OrderInfo
- func (m *DerivativeOrder) GetOrderType() OrderType
- func (m *DerivativeOrder) IsBuy() bool
- func (o *DerivativeOrder) IsReduceOnly() bool
- func (o *DerivativeOrder) IsVanilla() bool
- func (o *DerivativeOrder) MarketID() common.Hash
- func (m *DerivativeOrder) Marshal() (dAtA []byte, err error)
- func (m *DerivativeOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *DerivativeOrder) Price() sdk.Dec
- func (*DerivativeOrder) ProtoMessage()
- func (m *DerivativeOrder) Reset()
- func (m *DerivativeOrder) Size() (n int)
- func (m *DerivativeOrder) String() string
- func (o *DerivativeOrder) SubaccountID() common.Hash
- func (m *DerivativeOrder) Unmarshal(dAtA []byte) error
- func (o *DerivativeOrder) ValidateBasic(senderAddr sdk.AccAddress) error
- func (m *DerivativeOrder) XXX_DiscardUnknown()
- func (m *DerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeOrder) XXX_Merge(src proto.Message)
- func (m *DerivativeOrder) XXX_Size() int
- func (m *DerivativeOrder) XXX_Unmarshal(b []byte) error
- type DerivativeOrderBook
- func (*DerivativeOrderBook) Descriptor() ([]byte, []int)
- func (m *DerivativeOrderBook) Marshal() (dAtA []byte, err error)
- func (m *DerivativeOrderBook) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeOrderBook) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeOrderBook) ProtoMessage()
- func (m *DerivativeOrderBook) Reset()
- func (m *DerivativeOrderBook) Size() (n int)
- func (m *DerivativeOrderBook) String() string
- func (m *DerivativeOrderBook) Unmarshal(dAtA []byte) error
- func (m *DerivativeOrderBook) XXX_DiscardUnknown()
- func (m *DerivativeOrderBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeOrderBook) XXX_Merge(src proto.Message)
- func (m *DerivativeOrderBook) XXX_Size() int
- func (m *DerivativeOrderBook) XXX_Unmarshal(b []byte) error
- type DerivativePosition
- func (*DerivativePosition) Descriptor() ([]byte, []int)
- func (m *DerivativePosition) Marshal() (dAtA []byte, err error)
- func (m *DerivativePosition) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativePosition) ProtoMessage()
- func (m *DerivativePosition) Reset()
- func (m *DerivativePosition) Size() (n int)
- func (m *DerivativePosition) String() string
- func (m *DerivativePosition) Unmarshal(dAtA []byte) error
- func (m *DerivativePosition) XXX_DiscardUnknown()
- func (m *DerivativePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativePosition) XXX_Merge(src proto.Message)
- func (m *DerivativePosition) XXX_Size() int
- func (m *DerivativePosition) XXX_Unmarshal(b []byte) error
- type DerivativeTradeLog
- func (*DerivativeTradeLog) Descriptor() ([]byte, []int)
- func (m *DerivativeTradeLog) GetFeeRecipientAddress() []byte
- func (m *DerivativeTradeLog) GetOrderHash() []byte
- func (m *DerivativeTradeLog) GetPositionDelta() *PositionDelta
- func (m *DerivativeTradeLog) GetSubaccountId() []byte
- func (m *DerivativeTradeLog) Marshal() (dAtA []byte, err error)
- func (m *DerivativeTradeLog) MarshalTo(dAtA []byte) (int, error)
- func (m *DerivativeTradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DerivativeTradeLog) ProtoMessage()
- func (m *DerivativeTradeLog) Reset()
- func (m *DerivativeTradeLog) Size() (n int)
- func (m *DerivativeTradeLog) String() string
- func (m *DerivativeTradeLog) Unmarshal(dAtA []byte) error
- func (m *DerivativeTradeLog) XXX_DiscardUnknown()
- func (m *DerivativeTradeLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DerivativeTradeLog) XXX_Merge(src proto.Message)
- func (m *DerivativeTradeLog) XXX_Size() int
- func (m *DerivativeTradeLog) XXX_Unmarshal(b []byte) error
- type DistributionKeeper
- type EffectivePosition
- func (*EffectivePosition) Descriptor() ([]byte, []int)
- func (m *EffectivePosition) GetIsLong() bool
- func (m *EffectivePosition) Marshal() (dAtA []byte, err error)
- func (m *EffectivePosition) MarshalTo(dAtA []byte) (int, error)
- func (m *EffectivePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EffectivePosition) ProtoMessage()
- func (m *EffectivePosition) Reset()
- func (m *EffectivePosition) Size() (n int)
- func (m *EffectivePosition) String() string
- func (m *EffectivePosition) Unmarshal(dAtA []byte) error
- func (m *EffectivePosition) XXX_DiscardUnknown()
- func (m *EffectivePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EffectivePosition) XXX_Merge(src proto.Message)
- func (m *EffectivePosition) XXX_Size() int
- func (m *EffectivePosition) XXX_Unmarshal(b []byte) error
- type EventBatchDepositUpdate
- func (*EventBatchDepositUpdate) Descriptor() ([]byte, []int)
- func (m *EventBatchDepositUpdate) GetDepositUpdates() []*DepositUpdate
- func (m *EventBatchDepositUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventBatchDepositUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBatchDepositUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBatchDepositUpdate) ProtoMessage()
- func (m *EventBatchDepositUpdate) Reset()
- func (m *EventBatchDepositUpdate) Size() (n int)
- func (m *EventBatchDepositUpdate) String() string
- func (m *EventBatchDepositUpdate) Unmarshal(dAtA []byte) error
- func (m *EventBatchDepositUpdate) XXX_DiscardUnknown()
- func (m *EventBatchDepositUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBatchDepositUpdate) XXX_Merge(src proto.Message)
- func (m *EventBatchDepositUpdate) XXX_Size() int
- func (m *EventBatchDepositUpdate) XXX_Unmarshal(b []byte) error
- type EventBatchDerivativeExecution
- func (*EventBatchDerivativeExecution) Descriptor() ([]byte, []int)
- func (m *EventBatchDerivativeExecution) GetExecutionType() ExecutionType
- func (m *EventBatchDerivativeExecution) GetIsBuy() bool
- func (m *EventBatchDerivativeExecution) GetIsLiquidation() bool
- func (m *EventBatchDerivativeExecution) GetMarketId() string
- func (m *EventBatchDerivativeExecution) GetTrades() []*DerivativeTradeLog
- func (m *EventBatchDerivativeExecution) Marshal() (dAtA []byte, err error)
- func (m *EventBatchDerivativeExecution) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBatchDerivativeExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBatchDerivativeExecution) ProtoMessage()
- func (m *EventBatchDerivativeExecution) Reset()
- func (m *EventBatchDerivativeExecution) Size() (n int)
- func (m *EventBatchDerivativeExecution) String() string
- func (m *EventBatchDerivativeExecution) Unmarshal(dAtA []byte) error
- func (m *EventBatchDerivativeExecution) XXX_DiscardUnknown()
- func (m *EventBatchDerivativeExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBatchDerivativeExecution) XXX_Merge(src proto.Message)
- func (m *EventBatchDerivativeExecution) XXX_Size() int
- func (m *EventBatchDerivativeExecution) XXX_Unmarshal(b []byte) error
- type EventBatchDerivativePosition
- func (*EventBatchDerivativePosition) Descriptor() ([]byte, []int)
- func (m *EventBatchDerivativePosition) GetMarketId() string
- func (m *EventBatchDerivativePosition) GetPositions() []*SubaccountPosition
- func (m *EventBatchDerivativePosition) Marshal() (dAtA []byte, err error)
- func (m *EventBatchDerivativePosition) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBatchDerivativePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBatchDerivativePosition) ProtoMessage()
- func (m *EventBatchDerivativePosition) Reset()
- func (m *EventBatchDerivativePosition) Size() (n int)
- func (m *EventBatchDerivativePosition) String() string
- func (m *EventBatchDerivativePosition) Unmarshal(dAtA []byte) error
- func (m *EventBatchDerivativePosition) XXX_DiscardUnknown()
- func (m *EventBatchDerivativePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBatchDerivativePosition) XXX_Merge(src proto.Message)
- func (m *EventBatchDerivativePosition) XXX_Size() int
- func (m *EventBatchDerivativePosition) XXX_Unmarshal(b []byte) error
- type EventBatchSpotExecution
- func (*EventBatchSpotExecution) Descriptor() ([]byte, []int)
- func (m *EventBatchSpotExecution) GetExecutionType() ExecutionType
- func (m *EventBatchSpotExecution) GetIsBuy() bool
- func (m *EventBatchSpotExecution) GetMarketId() string
- func (m *EventBatchSpotExecution) GetTrades() []*TradeLog
- func (m *EventBatchSpotExecution) Marshal() (dAtA []byte, err error)
- func (m *EventBatchSpotExecution) MarshalTo(dAtA []byte) (int, error)
- func (m *EventBatchSpotExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventBatchSpotExecution) ProtoMessage()
- func (m *EventBatchSpotExecution) Reset()
- func (m *EventBatchSpotExecution) Size() (n int)
- func (m *EventBatchSpotExecution) String() string
- func (m *EventBatchSpotExecution) Unmarshal(dAtA []byte) error
- func (m *EventBatchSpotExecution) XXX_DiscardUnknown()
- func (m *EventBatchSpotExecution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventBatchSpotExecution) XXX_Merge(src proto.Message)
- func (m *EventBatchSpotExecution) XXX_Size() int
- func (m *EventBatchSpotExecution) XXX_Unmarshal(b []byte) error
- type EventCancelDerivativeOrder
- func (*EventCancelDerivativeOrder) Descriptor() ([]byte, []int)
- func (m *EventCancelDerivativeOrder) GetIsLimitCancel() bool
- func (m *EventCancelDerivativeOrder) GetLimitOrder() *DerivativeLimitOrder
- func (m *EventCancelDerivativeOrder) GetMarketId() string
- func (m *EventCancelDerivativeOrder) GetMarketOrderCancel() *DerivativeMarketOrderCancel
- func (m *EventCancelDerivativeOrder) Marshal() (dAtA []byte, err error)
- func (m *EventCancelDerivativeOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelDerivativeOrder) ProtoMessage()
- func (m *EventCancelDerivativeOrder) Reset()
- func (m *EventCancelDerivativeOrder) Size() (n int)
- func (m *EventCancelDerivativeOrder) String() string
- func (m *EventCancelDerivativeOrder) Unmarshal(dAtA []byte) error
- func (m *EventCancelDerivativeOrder) XXX_DiscardUnknown()
- func (m *EventCancelDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelDerivativeOrder) XXX_Merge(src proto.Message)
- func (m *EventCancelDerivativeOrder) XXX_Size() int
- func (m *EventCancelDerivativeOrder) XXX_Unmarshal(b []byte) error
- type EventCancelSpotOrder
- func (*EventCancelSpotOrder) Descriptor() ([]byte, []int)
- func (m *EventCancelSpotOrder) GetMarketId() string
- func (m *EventCancelSpotOrder) GetOrder() SpotLimitOrder
- func (m *EventCancelSpotOrder) Marshal() (dAtA []byte, err error)
- func (m *EventCancelSpotOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCancelSpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCancelSpotOrder) ProtoMessage()
- func (m *EventCancelSpotOrder) Reset()
- func (m *EventCancelSpotOrder) Size() (n int)
- func (m *EventCancelSpotOrder) String() string
- func (m *EventCancelSpotOrder) Unmarshal(dAtA []byte) error
- func (m *EventCancelSpotOrder) XXX_DiscardUnknown()
- func (m *EventCancelSpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCancelSpotOrder) XXX_Merge(src proto.Message)
- func (m *EventCancelSpotOrder) XXX_Size() int
- func (m *EventCancelSpotOrder) XXX_Unmarshal(b []byte) error
- type EventDerivativeMarketPaused
- func (*EventDerivativeMarketPaused) Descriptor() ([]byte, []int)
- func (m *EventDerivativeMarketPaused) GetMarketId() string
- func (m *EventDerivativeMarketPaused) GetMissingFundsRate() string
- func (m *EventDerivativeMarketPaused) GetSettlePrice() string
- func (m *EventDerivativeMarketPaused) GetTotalMissingFunds() string
- func (m *EventDerivativeMarketPaused) Marshal() (dAtA []byte, err error)
- func (m *EventDerivativeMarketPaused) MarshalTo(dAtA []byte) (int, error)
- func (m *EventDerivativeMarketPaused) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventDerivativeMarketPaused) ProtoMessage()
- func (m *EventDerivativeMarketPaused) Reset()
- func (m *EventDerivativeMarketPaused) Size() (n int)
- func (m *EventDerivativeMarketPaused) String() string
- func (m *EventDerivativeMarketPaused) Unmarshal(dAtA []byte) error
- func (m *EventDerivativeMarketPaused) XXX_DiscardUnknown()
- func (m *EventDerivativeMarketPaused) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDerivativeMarketPaused) XXX_Merge(src proto.Message)
- func (m *EventDerivativeMarketPaused) XXX_Size() int
- func (m *EventDerivativeMarketPaused) XXX_Unmarshal(b []byte) error
- type EventExpiryFuturesMarketUpdate
- func (*EventExpiryFuturesMarketUpdate) Descriptor() ([]byte, []int)
- func (m *EventExpiryFuturesMarketUpdate) GetExpiryFuturesMarketInfo() *ExpiryFuturesMarketInfo
- func (m *EventExpiryFuturesMarketUpdate) GetMarket() DerivativeMarket
- func (m *EventExpiryFuturesMarketUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventExpiryFuturesMarketUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventExpiryFuturesMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventExpiryFuturesMarketUpdate) ProtoMessage()
- func (m *EventExpiryFuturesMarketUpdate) Reset()
- func (m *EventExpiryFuturesMarketUpdate) Size() (n int)
- func (m *EventExpiryFuturesMarketUpdate) String() string
- func (m *EventExpiryFuturesMarketUpdate) Unmarshal(dAtA []byte) error
- func (m *EventExpiryFuturesMarketUpdate) XXX_DiscardUnknown()
- func (m *EventExpiryFuturesMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventExpiryFuturesMarketUpdate) XXX_Merge(src proto.Message)
- func (m *EventExpiryFuturesMarketUpdate) XXX_Size() int
- func (m *EventExpiryFuturesMarketUpdate) XXX_Unmarshal(b []byte) error
- type EventFeeDiscountSchedule
- func (*EventFeeDiscountSchedule) Descriptor() ([]byte, []int)
- func (m *EventFeeDiscountSchedule) GetSchedule() *FeeDiscountSchedule
- func (m *EventFeeDiscountSchedule) Marshal() (dAtA []byte, err error)
- func (m *EventFeeDiscountSchedule) MarshalTo(dAtA []byte) (int, error)
- func (m *EventFeeDiscountSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventFeeDiscountSchedule) ProtoMessage()
- func (m *EventFeeDiscountSchedule) Reset()
- func (m *EventFeeDiscountSchedule) Size() (n int)
- func (m *EventFeeDiscountSchedule) String() string
- func (m *EventFeeDiscountSchedule) Unmarshal(dAtA []byte) error
- func (m *EventFeeDiscountSchedule) XXX_DiscardUnknown()
- func (m *EventFeeDiscountSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventFeeDiscountSchedule) XXX_Merge(src proto.Message)
- func (m *EventFeeDiscountSchedule) XXX_Size() int
- func (m *EventFeeDiscountSchedule) XXX_Unmarshal(b []byte) error
- type EventLostFundsFromLiquidation
- func (*EventLostFundsFromLiquidation) Descriptor() ([]byte, []int)
- func (m *EventLostFundsFromLiquidation) GetMarketId() string
- func (m *EventLostFundsFromLiquidation) GetSubaccountId() []byte
- func (m *EventLostFundsFromLiquidation) Marshal() (dAtA []byte, err error)
- func (m *EventLostFundsFromLiquidation) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLostFundsFromLiquidation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLostFundsFromLiquidation) ProtoMessage()
- func (m *EventLostFundsFromLiquidation) Reset()
- func (m *EventLostFundsFromLiquidation) Size() (n int)
- func (m *EventLostFundsFromLiquidation) String() string
- func (m *EventLostFundsFromLiquidation) Unmarshal(dAtA []byte) error
- func (m *EventLostFundsFromLiquidation) XXX_DiscardUnknown()
- func (m *EventLostFundsFromLiquidation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLostFundsFromLiquidation) XXX_Merge(src proto.Message)
- func (m *EventLostFundsFromLiquidation) XXX_Size() int
- func (m *EventLostFundsFromLiquidation) XXX_Unmarshal(b []byte) error
- type EventNewDerivativeOrders
- func (*EventNewDerivativeOrders) Descriptor() ([]byte, []int)
- func (m *EventNewDerivativeOrders) GetBuyOrders() []*DerivativeLimitOrder
- func (m *EventNewDerivativeOrders) GetMarketId() string
- func (m *EventNewDerivativeOrders) GetSellOrders() []*DerivativeLimitOrder
- func (m *EventNewDerivativeOrders) Marshal() (dAtA []byte, err error)
- func (m *EventNewDerivativeOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *EventNewDerivativeOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventNewDerivativeOrders) ProtoMessage()
- func (m *EventNewDerivativeOrders) Reset()
- func (m *EventNewDerivativeOrders) Size() (n int)
- func (m *EventNewDerivativeOrders) String() string
- func (m *EventNewDerivativeOrders) Unmarshal(dAtA []byte) error
- func (m *EventNewDerivativeOrders) XXX_DiscardUnknown()
- func (m *EventNewDerivativeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventNewDerivativeOrders) XXX_Merge(src proto.Message)
- func (m *EventNewDerivativeOrders) XXX_Size() int
- func (m *EventNewDerivativeOrders) XXX_Unmarshal(b []byte) error
- type EventNewSpotOrders
- func (*EventNewSpotOrders) Descriptor() ([]byte, []int)
- func (m *EventNewSpotOrders) GetBuyOrders() []*SpotLimitOrder
- func (m *EventNewSpotOrders) GetMarketId() string
- func (m *EventNewSpotOrders) GetSellOrders() []*SpotLimitOrder
- func (m *EventNewSpotOrders) Marshal() (dAtA []byte, err error)
- func (m *EventNewSpotOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *EventNewSpotOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventNewSpotOrders) ProtoMessage()
- func (m *EventNewSpotOrders) Reset()
- func (m *EventNewSpotOrders) Size() (n int)
- func (m *EventNewSpotOrders) String() string
- func (m *EventNewSpotOrders) Unmarshal(dAtA []byte) error
- func (m *EventNewSpotOrders) XXX_DiscardUnknown()
- func (m *EventNewSpotOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventNewSpotOrders) XXX_Merge(src proto.Message)
- func (m *EventNewSpotOrders) XXX_Size() int
- func (m *EventNewSpotOrders) XXX_Unmarshal(b []byte) error
- type EventPerpetualMarketFundingUpdate
- func (*EventPerpetualMarketFundingUpdate) Descriptor() ([]byte, []int)
- func (m *EventPerpetualMarketFundingUpdate) GetFunding() PerpetualMarketFunding
- func (m *EventPerpetualMarketFundingUpdate) GetIsHourlyFunding() bool
- func (m *EventPerpetualMarketFundingUpdate) GetMarketId() string
- func (m *EventPerpetualMarketFundingUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventPerpetualMarketFundingUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPerpetualMarketFundingUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPerpetualMarketFundingUpdate) ProtoMessage()
- func (m *EventPerpetualMarketFundingUpdate) Reset()
- func (m *EventPerpetualMarketFundingUpdate) Size() (n int)
- func (m *EventPerpetualMarketFundingUpdate) String() string
- func (m *EventPerpetualMarketFundingUpdate) Unmarshal(dAtA []byte) error
- func (m *EventPerpetualMarketFundingUpdate) XXX_DiscardUnknown()
- func (m *EventPerpetualMarketFundingUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPerpetualMarketFundingUpdate) XXX_Merge(src proto.Message)
- func (m *EventPerpetualMarketFundingUpdate) XXX_Size() int
- func (m *EventPerpetualMarketFundingUpdate) XXX_Unmarshal(b []byte) error
- type EventPerpetualMarketUpdate
- func (*EventPerpetualMarketUpdate) Descriptor() ([]byte, []int)
- func (m *EventPerpetualMarketUpdate) GetFunding() *PerpetualMarketFunding
- func (m *EventPerpetualMarketUpdate) GetMarket() DerivativeMarket
- func (m *EventPerpetualMarketUpdate) GetPerpetualMarketInfo() *PerpetualMarketInfo
- func (m *EventPerpetualMarketUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventPerpetualMarketUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventPerpetualMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventPerpetualMarketUpdate) ProtoMessage()
- func (m *EventPerpetualMarketUpdate) Reset()
- func (m *EventPerpetualMarketUpdate) Size() (n int)
- func (m *EventPerpetualMarketUpdate) String() string
- func (m *EventPerpetualMarketUpdate) Unmarshal(dAtA []byte) error
- func (m *EventPerpetualMarketUpdate) XXX_DiscardUnknown()
- func (m *EventPerpetualMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventPerpetualMarketUpdate) XXX_Merge(src proto.Message)
- func (m *EventPerpetualMarketUpdate) XXX_Size() int
- func (m *EventPerpetualMarketUpdate) XXX_Unmarshal(b []byte) error
- type EventSpotMarketUpdate
- func (*EventSpotMarketUpdate) Descriptor() ([]byte, []int)
- func (m *EventSpotMarketUpdate) GetMarket() SpotMarket
- func (m *EventSpotMarketUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventSpotMarketUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSpotMarketUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSpotMarketUpdate) ProtoMessage()
- func (m *EventSpotMarketUpdate) Reset()
- func (m *EventSpotMarketUpdate) Size() (n int)
- func (m *EventSpotMarketUpdate) String() string
- func (m *EventSpotMarketUpdate) Unmarshal(dAtA []byte) error
- func (m *EventSpotMarketUpdate) XXX_DiscardUnknown()
- func (m *EventSpotMarketUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSpotMarketUpdate) XXX_Merge(src proto.Message)
- func (m *EventSpotMarketUpdate) XXX_Size() int
- func (m *EventSpotMarketUpdate) XXX_Unmarshal(b []byte) error
- type EventSubaccountBalanceTransfer
- func (*EventSubaccountBalanceTransfer) Descriptor() ([]byte, []int)
- func (m *EventSubaccountBalanceTransfer) GetAmount() types.Coin
- func (m *EventSubaccountBalanceTransfer) GetDstSubaccountId() string
- func (m *EventSubaccountBalanceTransfer) GetSrcSubaccountId() string
- func (m *EventSubaccountBalanceTransfer) Marshal() (dAtA []byte, err error)
- func (m *EventSubaccountBalanceTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSubaccountBalanceTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSubaccountBalanceTransfer) ProtoMessage()
- func (m *EventSubaccountBalanceTransfer) Reset()
- func (m *EventSubaccountBalanceTransfer) Size() (n int)
- func (m *EventSubaccountBalanceTransfer) String() string
- func (m *EventSubaccountBalanceTransfer) Unmarshal(dAtA []byte) error
- func (m *EventSubaccountBalanceTransfer) XXX_DiscardUnknown()
- func (m *EventSubaccountBalanceTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSubaccountBalanceTransfer) XXX_Merge(src proto.Message)
- func (m *EventSubaccountBalanceTransfer) XXX_Size() int
- func (m *EventSubaccountBalanceTransfer) XXX_Unmarshal(b []byte) error
- type EventSubaccountDeposit
- func (*EventSubaccountDeposit) Descriptor() ([]byte, []int)
- func (m *EventSubaccountDeposit) GetAmount() types.Coin
- func (m *EventSubaccountDeposit) GetSrcAddress() string
- func (m *EventSubaccountDeposit) GetSubaccountId() []byte
- func (m *EventSubaccountDeposit) Marshal() (dAtA []byte, err error)
- func (m *EventSubaccountDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSubaccountDeposit) ProtoMessage()
- func (m *EventSubaccountDeposit) Reset()
- func (m *EventSubaccountDeposit) Size() (n int)
- func (m *EventSubaccountDeposit) String() string
- func (m *EventSubaccountDeposit) Unmarshal(dAtA []byte) error
- func (m *EventSubaccountDeposit) XXX_DiscardUnknown()
- func (m *EventSubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSubaccountDeposit) XXX_Merge(src proto.Message)
- func (m *EventSubaccountDeposit) XXX_Size() int
- func (m *EventSubaccountDeposit) XXX_Unmarshal(b []byte) error
- type EventSubaccountWithdraw
- func (*EventSubaccountWithdraw) Descriptor() ([]byte, []int)
- func (m *EventSubaccountWithdraw) GetAmount() types.Coin
- func (m *EventSubaccountWithdraw) GetDstAddress() string
- func (m *EventSubaccountWithdraw) GetSubaccountId() []byte
- func (m *EventSubaccountWithdraw) Marshal() (dAtA []byte, err error)
- func (m *EventSubaccountWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSubaccountWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSubaccountWithdraw) ProtoMessage()
- func (m *EventSubaccountWithdraw) Reset()
- func (m *EventSubaccountWithdraw) Size() (n int)
- func (m *EventSubaccountWithdraw) String() string
- func (m *EventSubaccountWithdraw) Unmarshal(dAtA []byte) error
- func (m *EventSubaccountWithdraw) XXX_DiscardUnknown()
- func (m *EventSubaccountWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSubaccountWithdraw) XXX_Merge(src proto.Message)
- func (m *EventSubaccountWithdraw) XXX_Size() int
- func (m *EventSubaccountWithdraw) XXX_Unmarshal(b []byte) error
- type EventTradingRewardCampaignUpdate
- func (*EventTradingRewardCampaignUpdate) Descriptor() ([]byte, []int)
- func (m *EventTradingRewardCampaignUpdate) GetCampaignInfo() *TradingRewardCampaignInfo
- func (m *EventTradingRewardCampaignUpdate) GetCampaignRewardPools() []*CampaignRewardPool
- func (m *EventTradingRewardCampaignUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventTradingRewardCampaignUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTradingRewardCampaignUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTradingRewardCampaignUpdate) ProtoMessage()
- func (m *EventTradingRewardCampaignUpdate) Reset()
- func (m *EventTradingRewardCampaignUpdate) Size() (n int)
- func (m *EventTradingRewardCampaignUpdate) String() string
- func (m *EventTradingRewardCampaignUpdate) Unmarshal(dAtA []byte) error
- func (m *EventTradingRewardCampaignUpdate) XXX_DiscardUnknown()
- func (m *EventTradingRewardCampaignUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTradingRewardCampaignUpdate) XXX_Merge(src proto.Message)
- func (m *EventTradingRewardCampaignUpdate) XXX_Size() int
- func (m *EventTradingRewardCampaignUpdate) XXX_Unmarshal(b []byte) error
- type EventTradingRewardDistribution
- func (*EventTradingRewardDistribution) Descriptor() ([]byte, []int)
- func (m *EventTradingRewardDistribution) GetAccountRewards() []*AccountRewards
- func (m *EventTradingRewardDistribution) Marshal() (dAtA []byte, err error)
- func (m *EventTradingRewardDistribution) MarshalTo(dAtA []byte) (int, error)
- func (m *EventTradingRewardDistribution) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventTradingRewardDistribution) ProtoMessage()
- func (m *EventTradingRewardDistribution) Reset()
- func (m *EventTradingRewardDistribution) Size() (n int)
- func (m *EventTradingRewardDistribution) String() string
- func (m *EventTradingRewardDistribution) Unmarshal(dAtA []byte) error
- func (m *EventTradingRewardDistribution) XXX_DiscardUnknown()
- func (m *EventTradingRewardDistribution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTradingRewardDistribution) XXX_Merge(src proto.Message)
- func (m *EventTradingRewardDistribution) XXX_Size() int
- func (m *EventTradingRewardDistribution) XXX_Unmarshal(b []byte) error
- type ExchangeEnableProposal
- func (*ExchangeEnableProposal) Descriptor() ([]byte, []int)
- func (p *ExchangeEnableProposal) GetDescription() string
- func (p *ExchangeEnableProposal) GetTitle() string
- func (m *ExchangeEnableProposal) Marshal() (dAtA []byte, err error)
- func (m *ExchangeEnableProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ExchangeEnableProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ExchangeEnableProposal) ProposalRoute() string
- func (p *ExchangeEnableProposal) ProposalType() string
- func (*ExchangeEnableProposal) ProtoMessage()
- func (m *ExchangeEnableProposal) Reset()
- func (m *ExchangeEnableProposal) Size() (n int)
- func (m *ExchangeEnableProposal) String() string
- func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error
- func (p *ExchangeEnableProposal) ValidateBasic() error
- func (m *ExchangeEnableProposal) XXX_DiscardUnknown()
- func (m *ExchangeEnableProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExchangeEnableProposal) XXX_Merge(src proto.Message)
- func (m *ExchangeEnableProposal) XXX_Size() int
- func (m *ExchangeEnableProposal) XXX_Unmarshal(b []byte) error
- type ExchangeType
- type ExecutionType
- type ExpiryFuturesMarketInfo
- func (*ExpiryFuturesMarketInfo) Descriptor() ([]byte, []int)
- func (m *ExpiryFuturesMarketInfo) GetExpirationTimestamp() int64
- func (m *ExpiryFuturesMarketInfo) GetMarketId() string
- func (m *ExpiryFuturesMarketInfo) GetTwapStartTimestamp() int64
- func (m *ExpiryFuturesMarketInfo) IsMatured(currBlockTime int64) bool
- func (m *ExpiryFuturesMarketInfo) IsPremature(currBlockTime int64) bool
- func (m *ExpiryFuturesMarketInfo) IsStartingMaturation(currBlockTime int64) bool
- func (m *ExpiryFuturesMarketInfo) Marshal() (dAtA []byte, err error)
- func (m *ExpiryFuturesMarketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ExpiryFuturesMarketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExpiryFuturesMarketInfo) ProtoMessage()
- func (m *ExpiryFuturesMarketInfo) Reset()
- func (m *ExpiryFuturesMarketInfo) Size() (n int)
- func (m *ExpiryFuturesMarketInfo) String() string
- func (m *ExpiryFuturesMarketInfo) Unmarshal(dAtA []byte) error
- func (m *ExpiryFuturesMarketInfo) XXX_DiscardUnknown()
- func (m *ExpiryFuturesMarketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpiryFuturesMarketInfo) XXX_Merge(src proto.Message)
- func (m *ExpiryFuturesMarketInfo) XXX_Size() int
- func (m *ExpiryFuturesMarketInfo) XXX_Unmarshal(b []byte) error
- type ExpiryFuturesMarketInfoState
- func (*ExpiryFuturesMarketInfoState) Descriptor() ([]byte, []int)
- func (m *ExpiryFuturesMarketInfoState) GetMarketId() string
- func (m *ExpiryFuturesMarketInfoState) GetMarketInfo() *ExpiryFuturesMarketInfo
- func (m *ExpiryFuturesMarketInfoState) Marshal() (dAtA []byte, err error)
- func (m *ExpiryFuturesMarketInfoState) MarshalTo(dAtA []byte) (int, error)
- func (m *ExpiryFuturesMarketInfoState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExpiryFuturesMarketInfoState) ProtoMessage()
- func (m *ExpiryFuturesMarketInfoState) Reset()
- func (m *ExpiryFuturesMarketInfoState) Size() (n int)
- func (m *ExpiryFuturesMarketInfoState) String() string
- func (m *ExpiryFuturesMarketInfoState) Unmarshal(dAtA []byte) error
- func (m *ExpiryFuturesMarketInfoState) XXX_DiscardUnknown()
- func (m *ExpiryFuturesMarketInfoState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpiryFuturesMarketInfoState) XXX_Merge(src proto.Message)
- func (m *ExpiryFuturesMarketInfoState) XXX_Size() int
- func (m *ExpiryFuturesMarketInfoState) XXX_Unmarshal(b []byte) error
- type ExpiryFuturesMarketLaunchProposal
- func (*ExpiryFuturesMarketLaunchProposal) Descriptor() ([]byte, []int)
- func (p *ExpiryFuturesMarketLaunchProposal) GetDescription() string
- func (p *ExpiryFuturesMarketLaunchProposal) GetTitle() string
- func (m *ExpiryFuturesMarketLaunchProposal) Marshal() (dAtA []byte, err error)
- func (m *ExpiryFuturesMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *ExpiryFuturesMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *ExpiryFuturesMarketLaunchProposal) ProposalRoute() string
- func (p *ExpiryFuturesMarketLaunchProposal) ProposalType() string
- func (*ExpiryFuturesMarketLaunchProposal) ProtoMessage()
- func (m *ExpiryFuturesMarketLaunchProposal) Reset()
- func (m *ExpiryFuturesMarketLaunchProposal) Size() (n int)
- func (m *ExpiryFuturesMarketLaunchProposal) String() string
- func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error
- func (p *ExpiryFuturesMarketLaunchProposal) ValidateBasic() error
- func (m *ExpiryFuturesMarketLaunchProposal) XXX_DiscardUnknown()
- func (m *ExpiryFuturesMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExpiryFuturesMarketLaunchProposal) XXX_Merge(src proto.Message)
- func (m *ExpiryFuturesMarketLaunchProposal) XXX_Size() int
- func (m *ExpiryFuturesMarketLaunchProposal) XXX_Unmarshal(b []byte) error
- type FeeDiscountAccountTierTTL
- func (*FeeDiscountAccountTierTTL) Descriptor() ([]byte, []int)
- func (m *FeeDiscountAccountTierTTL) GetAccount() string
- func (m *FeeDiscountAccountTierTTL) GetTierTtl() *FeeDiscountTierTTL
- func (m *FeeDiscountAccountTierTTL) Marshal() (dAtA []byte, err error)
- func (m *FeeDiscountAccountTierTTL) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeDiscountAccountTierTTL) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeDiscountAccountTierTTL) ProtoMessage()
- func (m *FeeDiscountAccountTierTTL) Reset()
- func (m *FeeDiscountAccountTierTTL) Size() (n int)
- func (m *FeeDiscountAccountTierTTL) String() string
- func (m *FeeDiscountAccountTierTTL) Unmarshal(dAtA []byte) error
- func (m *FeeDiscountAccountTierTTL) XXX_DiscardUnknown()
- func (m *FeeDiscountAccountTierTTL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeDiscountAccountTierTTL) XXX_Merge(src proto.Message)
- func (m *FeeDiscountAccountTierTTL) XXX_Size() int
- func (m *FeeDiscountAccountTierTTL) XXX_Unmarshal(b []byte) error
- type FeeDiscountBucketVolumeAccounts
- func (*FeeDiscountBucketVolumeAccounts) Descriptor() ([]byte, []int)
- func (m *FeeDiscountBucketVolumeAccounts) GetAccountVolume() []*AccountVolume
- func (m *FeeDiscountBucketVolumeAccounts) GetBucketStartTimestamp() int64
- func (m *FeeDiscountBucketVolumeAccounts) Marshal() (dAtA []byte, err error)
- func (m *FeeDiscountBucketVolumeAccounts) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeDiscountBucketVolumeAccounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeDiscountBucketVolumeAccounts) ProtoMessage()
- func (m *FeeDiscountBucketVolumeAccounts) Reset()
- func (m *FeeDiscountBucketVolumeAccounts) Size() (n int)
- func (m *FeeDiscountBucketVolumeAccounts) String() string
- func (m *FeeDiscountBucketVolumeAccounts) Unmarshal(dAtA []byte) error
- func (m *FeeDiscountBucketVolumeAccounts) XXX_DiscardUnknown()
- func (m *FeeDiscountBucketVolumeAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeDiscountBucketVolumeAccounts) XXX_Merge(src proto.Message)
- func (m *FeeDiscountBucketVolumeAccounts) XXX_Size() int
- func (m *FeeDiscountBucketVolumeAccounts) XXX_Unmarshal(b []byte) error
- type FeeDiscountProposal
- func (*FeeDiscountProposal) Descriptor() ([]byte, []int)
- func (p *FeeDiscountProposal) GetDescription() string
- func (p *FeeDiscountProposal) GetTitle() string
- func (m *FeeDiscountProposal) Marshal() (dAtA []byte, err error)
- func (m *FeeDiscountProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeDiscountProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *FeeDiscountProposal) ProposalRoute() string
- func (p *FeeDiscountProposal) ProposalType() string
- func (*FeeDiscountProposal) ProtoMessage()
- func (m *FeeDiscountProposal) Reset()
- func (m *FeeDiscountProposal) Size() (n int)
- func (m *FeeDiscountProposal) String() string
- func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error
- func (p *FeeDiscountProposal) ValidateBasic() error
- func (m *FeeDiscountProposal) XXX_DiscardUnknown()
- func (m *FeeDiscountProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeDiscountProposal) XXX_Merge(src proto.Message)
- func (m *FeeDiscountProposal) XXX_Size() int
- func (m *FeeDiscountProposal) XXX_Unmarshal(b []byte) error
- type FeeDiscountRates
- type FeeDiscountRatesMap
- type FeeDiscountSchedule
- func (s *FeeDiscountSchedule) CalculateFeeDiscountTier(stakedAmount sdk.Int, tradingVolume sdk.Dec) (feeDiscountRates *FeeDiscountRates, tierLevel uint64)
- func (*FeeDiscountSchedule) Descriptor() ([]byte, []int)
- func (m *FeeDiscountSchedule) GetBucketCount() uint64
- func (m *FeeDiscountSchedule) GetBucketDuration() int64
- func (m *FeeDiscountSchedule) GetDisqualifiedMarketIds() []string
- func (s *FeeDiscountSchedule) GetFeeDiscountRatesMap() FeeDiscountRatesMap
- func (m *FeeDiscountSchedule) GetQuoteDenoms() []string
- func (m *FeeDiscountSchedule) GetTierInfos() []*FeeDiscountTierInfo
- func (m *FeeDiscountSchedule) Marshal() (dAtA []byte, err error)
- func (m *FeeDiscountSchedule) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeDiscountSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeDiscountSchedule) ProtoMessage()
- func (m *FeeDiscountSchedule) Reset()
- func (m *FeeDiscountSchedule) Size() (n int)
- func (m *FeeDiscountSchedule) String() string
- func (s *FeeDiscountSchedule) TierOneRequirements() (minStakedAmount sdk.Int, minTradingFeePaid sdk.Dec)
- func (m *FeeDiscountSchedule) Unmarshal(dAtA []byte) error
- func (m *FeeDiscountSchedule) XXX_DiscardUnknown()
- func (m *FeeDiscountSchedule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeDiscountSchedule) XXX_Merge(src proto.Message)
- func (m *FeeDiscountSchedule) XXX_Size() int
- func (m *FeeDiscountSchedule) XXX_Unmarshal(b []byte) error
- type FeeDiscountTierInfo
- func (*FeeDiscountTierInfo) Descriptor() ([]byte, []int)
- func (m *FeeDiscountTierInfo) Marshal() (dAtA []byte, err error)
- func (m *FeeDiscountTierInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeDiscountTierInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeDiscountTierInfo) ProtoMessage()
- func (m *FeeDiscountTierInfo) Reset()
- func (m *FeeDiscountTierInfo) Size() (n int)
- func (m *FeeDiscountTierInfo) String() string
- func (m *FeeDiscountTierInfo) Unmarshal(dAtA []byte) error
- func (t *FeeDiscountTierInfo) ValidateBasic() error
- func (m *FeeDiscountTierInfo) XXX_DiscardUnknown()
- func (m *FeeDiscountTierInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeDiscountTierInfo) XXX_Merge(src proto.Message)
- func (m *FeeDiscountTierInfo) XXX_Size() int
- func (m *FeeDiscountTierInfo) XXX_Unmarshal(b []byte) error
- type FeeDiscountTierTTL
- func (*FeeDiscountTierTTL) Descriptor() ([]byte, []int)
- func (m *FeeDiscountTierTTL) GetTier() uint64
- func (m *FeeDiscountTierTTL) GetTtlTimestamp() int64
- func (m *FeeDiscountTierTTL) Marshal() (dAtA []byte, err error)
- func (m *FeeDiscountTierTTL) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeDiscountTierTTL) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeDiscountTierTTL) ProtoMessage()
- func (m *FeeDiscountTierTTL) Reset()
- func (m *FeeDiscountTierTTL) Size() (n int)
- func (m *FeeDiscountTierTTL) String() string
- func (m *FeeDiscountTierTTL) Unmarshal(dAtA []byte) error
- func (m *FeeDiscountTierTTL) XXX_DiscardUnknown()
- func (m *FeeDiscountTierTTL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeDiscountTierTTL) XXX_Merge(src proto.Message)
- func (m *FeeDiscountTierTTL) XXX_Size() int
- func (m *FeeDiscountTierTTL) XXX_Unmarshal(b []byte) error
- type FullDerivativeMarket
- func (*FullDerivativeMarket) Descriptor() ([]byte, []int)
- func (m *FullDerivativeMarket) GetFuturesInfo() *ExpiryFuturesMarketInfo
- func (m *FullDerivativeMarket) GetInfo() isFullDerivativeMarket_Info
- func (m *FullDerivativeMarket) GetMarket() *DerivativeMarket
- func (m *FullDerivativeMarket) GetPerpetualInfo() *PerpetualMarketState
- func (m *FullDerivativeMarket) Marshal() (dAtA []byte, err error)
- func (m *FullDerivativeMarket) MarshalTo(dAtA []byte) (int, error)
- func (m *FullDerivativeMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FullDerivativeMarket) ProtoMessage()
- func (m *FullDerivativeMarket) Reset()
- func (m *FullDerivativeMarket) Size() (n int)
- func (m *FullDerivativeMarket) String() string
- func (m *FullDerivativeMarket) Unmarshal(dAtA []byte) error
- func (m *FullDerivativeMarket) XXX_DiscardUnknown()
- func (m *FullDerivativeMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FullDerivativeMarket) XXX_Merge(src proto.Message)
- func (*FullDerivativeMarket) XXX_OneofWrappers() []interface{}
- func (m *FullDerivativeMarket) XXX_Size() int
- func (m *FullDerivativeMarket) XXX_Unmarshal(b []byte) error
- type FullDerivativeMarket_FuturesInfo
- type FullDerivativeMarket_PerpetualInfo
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBalances() []Balance
- func (m *GenesisState) GetDerivativeMarketSettlementScheduled() []DerivativeMarketSettlementInfo
- func (m *GenesisState) GetDerivativeMarkets() []*DerivativeMarket
- func (m *GenesisState) GetDerivativeOrderbook() []DerivativeOrderBook
- func (m *GenesisState) GetExpiryFuturesMarketInfoState() []ExpiryFuturesMarketInfoState
- func (m *GenesisState) GetFeeDiscountAccountTierTtl() []*FeeDiscountAccountTierTTL
- func (m *GenesisState) GetFeeDiscountBucketVolumeAccounts() []*FeeDiscountBucketVolumeAccounts
- func (m *GenesisState) GetFeeDiscountSchedule() *FeeDiscountSchedule
- func (m *GenesisState) GetHistoricalTradeRecords() []*TradeRecords
- func (m *GenesisState) GetIsDerivativesExchangeEnabled() bool
- func (m *GenesisState) GetIsFirstFeeCycleFinished() bool
- func (m *GenesisState) GetIsSpotExchangeEnabled() bool
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPendingTradingRewardCampaignAccountPoints() []*TradingRewardCampaignAccountPendingPoints
- func (m *GenesisState) GetPendingTradingRewardPoolCampaignSchedule() []*CampaignRewardPool
- func (m *GenesisState) GetPerpetualMarketFundingState() []PerpetualMarketFundingState
- func (m *GenesisState) GetPerpetualMarketInfo() []PerpetualMarketInfo
- func (m *GenesisState) GetPositions() []DerivativePosition
- func (m *GenesisState) GetRegisteredDmms() []string
- func (m *GenesisState) GetSpotMarkets() []*SpotMarket
- func (m *GenesisState) GetSpotOrderbook() []SpotOrderBook
- func (m *GenesisState) GetSubaccountTradeNonces() []SubaccountNonce
- func (m *GenesisState) GetTradingRewardCampaignAccountPoints() []*TradingRewardCampaignAccountPoints
- func (m *GenesisState) GetTradingRewardCampaignInfo() *TradingRewardCampaignInfo
- func (m *GenesisState) GetTradingRewardPoolCampaignSchedule() []*CampaignRewardPool
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GovKeeper
- type InjectiveAction
- type InsuranceKeeper
- type MMPool
- func (*MMPool) Descriptor() ([]byte, []int)
- func (m *MMPool) GetCw20ContractAddress() string
- func (m *MMPool) GetMakerContractAddress() string
- func (m *MMPool) GetMarketId() string
- func (m *MMPool) GetPoolSubaccountId() string
- func (m *MMPool) Marshal() (dAtA []byte, err error)
- func (m *MMPool) MarshalTo(dAtA []byte) (int, error)
- func (m *MMPool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MMPool) ProtoMessage()
- func (m *MMPool) Reset()
- func (m *MMPool) Size() (n int)
- func (m *MMPool) String() string
- func (m *MMPool) Unmarshal(dAtA []byte) error
- func (m *MMPool) XXX_DiscardUnknown()
- func (m *MMPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MMPool) XXX_Merge(src proto.Message)
- func (m *MMPool) XXX_Size() int
- func (m *MMPool) XXX_Unmarshal(b []byte) error
- type MarketMakingPoolInfoRequest
- func (*MarketMakingPoolInfoRequest) Descriptor() ([]byte, []int)
- func (m *MarketMakingPoolInfoRequest) GetContractAddressMaker() string
- func (m *MarketMakingPoolInfoRequest) GetMarketId() string
- func (m *MarketMakingPoolInfoRequest) GetPoolSubaccountId() string
- func (m *MarketMakingPoolInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *MarketMakingPoolInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MarketMakingPoolInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MarketMakingPoolInfoRequest) ProtoMessage()
- func (m *MarketMakingPoolInfoRequest) Reset()
- func (m *MarketMakingPoolInfoRequest) Size() (n int)
- func (m *MarketMakingPoolInfoRequest) String() string
- func (m *MarketMakingPoolInfoRequest) Unmarshal(dAtA []byte) error
- func (m *MarketMakingPoolInfoRequest) XXX_DiscardUnknown()
- func (m *MarketMakingPoolInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketMakingPoolInfoRequest) XXX_Merge(src proto.Message)
- func (m *MarketMakingPoolInfoRequest) XXX_Size() int
- func (m *MarketMakingPoolInfoRequest) XXX_Unmarshal(b []byte) error
- type MarketMakingPoolInfoResponse
- func (*MarketMakingPoolInfoResponse) Descriptor() ([]byte, []int)
- func (m *MarketMakingPoolInfoResponse) GetPoolBaseDeposits() *Deposit
- func (m *MarketMakingPoolInfoResponse) GetPoolPosition() *Position
- func (m *MarketMakingPoolInfoResponse) GetPoolQuoteDeposits() Deposit
- func (m *MarketMakingPoolInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *MarketMakingPoolInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MarketMakingPoolInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MarketMakingPoolInfoResponse) ProtoMessage()
- func (m *MarketMakingPoolInfoResponse) Reset()
- func (m *MarketMakingPoolInfoResponse) Size() (n int)
- func (m *MarketMakingPoolInfoResponse) String() string
- func (m *MarketMakingPoolInfoResponse) Unmarshal(dAtA []byte) error
- func (m *MarketMakingPoolInfoResponse) XXX_DiscardUnknown()
- func (m *MarketMakingPoolInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketMakingPoolInfoResponse) XXX_Merge(src proto.Message)
- func (m *MarketMakingPoolInfoResponse) XXX_Size() int
- func (m *MarketMakingPoolInfoResponse) XXX_Unmarshal(b []byte) error
- type MarketOrderIndicator
- func (*MarketOrderIndicator) Descriptor() ([]byte, []int)
- func (m *MarketOrderIndicator) GetIsBuy() bool
- func (m *MarketOrderIndicator) GetMarketId() string
- func (m *MarketOrderIndicator) Marshal() (dAtA []byte, err error)
- func (m *MarketOrderIndicator) MarshalTo(dAtA []byte) (int, error)
- func (m *MarketOrderIndicator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MarketOrderIndicator) ProtoMessage()
- func (m *MarketOrderIndicator) Reset()
- func (m *MarketOrderIndicator) Size() (n int)
- func (m *MarketOrderIndicator) String() string
- func (m *MarketOrderIndicator) Unmarshal(dAtA []byte) error
- func (m *MarketOrderIndicator) XXX_DiscardUnknown()
- func (m *MarketOrderIndicator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MarketOrderIndicator) XXX_Merge(src proto.Message)
- func (m *MarketOrderIndicator) XXX_Size() int
- func (m *MarketOrderIndicator) XXX_Unmarshal(b []byte) error
- type MarketStatus
- type MarketSummary
- type MatchedMarketDirection
- type MsgBatchCancelDerivativeOrders
- func (*MsgBatchCancelDerivativeOrders) Descriptor() ([]byte, []int)
- func (msg *MsgBatchCancelDerivativeOrders) GetSignBytes() []byte
- func (msg *MsgBatchCancelDerivativeOrders) GetSigners() []sdk.AccAddress
- func (m *MsgBatchCancelDerivativeOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCancelDerivativeOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCancelDerivativeOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCancelDerivativeOrders) ProtoMessage()
- func (m *MsgBatchCancelDerivativeOrders) Reset()
- func (msg *MsgBatchCancelDerivativeOrders) Route() string
- func (m *MsgBatchCancelDerivativeOrders) Size() (n int)
- func (m *MsgBatchCancelDerivativeOrders) String() string
- func (msg *MsgBatchCancelDerivativeOrders) Type() string
- func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error
- func (msg *MsgBatchCancelDerivativeOrders) ValidateBasic() error
- func (m *MsgBatchCancelDerivativeOrders) XXX_DiscardUnknown()
- func (m *MsgBatchCancelDerivativeOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCancelDerivativeOrders) XXX_Merge(src proto.Message)
- func (m *MsgBatchCancelDerivativeOrders) XXX_Size() int
- func (m *MsgBatchCancelDerivativeOrders) XXX_Unmarshal(b []byte) error
- type MsgBatchCancelDerivativeOrdersResponse
- func (*MsgBatchCancelDerivativeOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgBatchCancelDerivativeOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCancelDerivativeOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCancelDerivativeOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCancelDerivativeOrdersResponse) ProtoMessage()
- func (m *MsgBatchCancelDerivativeOrdersResponse) Reset()
- func (m *MsgBatchCancelDerivativeOrdersResponse) Size() (n int)
- func (m *MsgBatchCancelDerivativeOrdersResponse) String() string
- func (m *MsgBatchCancelDerivativeOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Size() int
- func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgBatchCancelSpotOrders
- func (*MsgBatchCancelSpotOrders) Descriptor() ([]byte, []int)
- func (msg *MsgBatchCancelSpotOrders) GetSignBytes() []byte
- func (msg *MsgBatchCancelSpotOrders) GetSigners() []sdk.AccAddress
- func (m *MsgBatchCancelSpotOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCancelSpotOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCancelSpotOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCancelSpotOrders) ProtoMessage()
- func (m *MsgBatchCancelSpotOrders) Reset()
- func (msg *MsgBatchCancelSpotOrders) Route() string
- func (m *MsgBatchCancelSpotOrders) Size() (n int)
- func (m *MsgBatchCancelSpotOrders) String() string
- func (msg *MsgBatchCancelSpotOrders) Type() string
- func (m *MsgBatchCancelSpotOrders) Unmarshal(dAtA []byte) error
- func (msg *MsgBatchCancelSpotOrders) ValidateBasic() error
- func (m *MsgBatchCancelSpotOrders) XXX_DiscardUnknown()
- func (m *MsgBatchCancelSpotOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCancelSpotOrders) XXX_Merge(src proto.Message)
- func (m *MsgBatchCancelSpotOrders) XXX_Size() int
- func (m *MsgBatchCancelSpotOrders) XXX_Unmarshal(b []byte) error
- type MsgBatchCancelSpotOrdersResponse
- func (*MsgBatchCancelSpotOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgBatchCancelSpotOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCancelSpotOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCancelSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCancelSpotOrdersResponse) ProtoMessage()
- func (m *MsgBatchCancelSpotOrdersResponse) Reset()
- func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int)
- func (m *MsgBatchCancelSpotOrdersResponse) String() string
- func (m *MsgBatchCancelSpotOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBatchCancelSpotOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgBatchCancelSpotOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCancelSpotOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgBatchCancelSpotOrdersResponse) XXX_Size() int
- func (m *MsgBatchCancelSpotOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgBatchCreateDerivativeLimitOrders
- func (*MsgBatchCreateDerivativeLimitOrders) Descriptor() ([]byte, []int)
- func (msg *MsgBatchCreateDerivativeLimitOrders) GetSignBytes() []byte
- func (msg MsgBatchCreateDerivativeLimitOrders) GetSigners() []sdk.AccAddress
- func (m *MsgBatchCreateDerivativeLimitOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCreateDerivativeLimitOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCreateDerivativeLimitOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCreateDerivativeLimitOrders) ProtoMessage()
- func (m *MsgBatchCreateDerivativeLimitOrders) Reset()
- func (msg MsgBatchCreateDerivativeLimitOrders) Route() string
- func (m *MsgBatchCreateDerivativeLimitOrders) Size() (n int)
- func (m *MsgBatchCreateDerivativeLimitOrders) String() string
- func (msg MsgBatchCreateDerivativeLimitOrders) Type() string
- func (m *MsgBatchCreateDerivativeLimitOrders) Unmarshal(dAtA []byte) error
- func (msg MsgBatchCreateDerivativeLimitOrders) ValidateBasic() error
- func (m *MsgBatchCreateDerivativeLimitOrders) XXX_DiscardUnknown()
- func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Merge(src proto.Message)
- func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Size() int
- func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Unmarshal(b []byte) error
- type MsgBatchCreateDerivativeLimitOrdersResponse
- func (*MsgBatchCreateDerivativeLimitOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCreateDerivativeLimitOrdersResponse) ProtoMessage()
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Reset()
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Size() (n int)
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) String() string
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Size() int
- func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgBatchCreateSpotLimitOrders
- func (*MsgBatchCreateSpotLimitOrders) Descriptor() ([]byte, []int)
- func (msg *MsgBatchCreateSpotLimitOrders) GetSignBytes() []byte
- func (msg MsgBatchCreateSpotLimitOrders) GetSigners() []sdk.AccAddress
- func (m *MsgBatchCreateSpotLimitOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCreateSpotLimitOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCreateSpotLimitOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCreateSpotLimitOrders) ProtoMessage()
- func (m *MsgBatchCreateSpotLimitOrders) Reset()
- func (msg MsgBatchCreateSpotLimitOrders) Route() string
- func (m *MsgBatchCreateSpotLimitOrders) Size() (n int)
- func (m *MsgBatchCreateSpotLimitOrders) String() string
- func (msg MsgBatchCreateSpotLimitOrders) Type() string
- func (m *MsgBatchCreateSpotLimitOrders) Unmarshal(dAtA []byte) error
- func (msg MsgBatchCreateSpotLimitOrders) ValidateBasic() error
- func (m *MsgBatchCreateSpotLimitOrders) XXX_DiscardUnknown()
- func (m *MsgBatchCreateSpotLimitOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCreateSpotLimitOrders) XXX_Merge(src proto.Message)
- func (m *MsgBatchCreateSpotLimitOrders) XXX_Size() int
- func (m *MsgBatchCreateSpotLimitOrders) XXX_Unmarshal(b []byte) error
- type MsgBatchCreateSpotLimitOrdersResponse
- func (*MsgBatchCreateSpotLimitOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgBatchCreateSpotLimitOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchCreateSpotLimitOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchCreateSpotLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchCreateSpotLimitOrdersResponse) ProtoMessage()
- func (m *MsgBatchCreateSpotLimitOrdersResponse) Reset()
- func (m *MsgBatchCreateSpotLimitOrdersResponse) Size() (n int)
- func (m *MsgBatchCreateSpotLimitOrdersResponse) String() string
- func (m *MsgBatchCreateSpotLimitOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Size() int
- func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgBatchUpdateOrders
- func (*MsgBatchUpdateOrders) Descriptor() ([]byte, []int)
- func (msg *MsgBatchUpdateOrders) GetSignBytes() []byte
- func (msg MsgBatchUpdateOrders) GetSigners() []sdk.AccAddress
- func (m *MsgBatchUpdateOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchUpdateOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchUpdateOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchUpdateOrders) ProtoMessage()
- func (m *MsgBatchUpdateOrders) Reset()
- func (msg MsgBatchUpdateOrders) Route() string
- func (m *MsgBatchUpdateOrders) Size() (n int)
- func (m *MsgBatchUpdateOrders) String() string
- func (msg MsgBatchUpdateOrders) Type() string
- func (m *MsgBatchUpdateOrders) Unmarshal(dAtA []byte) error
- func (msg MsgBatchUpdateOrders) ValidateBasic() error
- func (m *MsgBatchUpdateOrders) XXX_DiscardUnknown()
- func (m *MsgBatchUpdateOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchUpdateOrders) XXX_Merge(src proto.Message)
- func (m *MsgBatchUpdateOrders) XXX_Size() int
- func (m *MsgBatchUpdateOrders) XXX_Unmarshal(b []byte) error
- type MsgBatchUpdateOrdersResponse
- func (*MsgBatchUpdateOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgBatchUpdateOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgBatchUpdateOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgBatchUpdateOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgBatchUpdateOrdersResponse) ProtoMessage()
- func (m *MsgBatchUpdateOrdersResponse) Reset()
- func (m *MsgBatchUpdateOrdersResponse) Size() (n int)
- func (m *MsgBatchUpdateOrdersResponse) String() string
- func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgBatchUpdateOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgBatchUpdateOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgBatchUpdateOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgBatchUpdateOrdersResponse) XXX_Size() int
- func (m *MsgBatchUpdateOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgCancelDerivativeOrder
- func (*MsgCancelDerivativeOrder) Descriptor() ([]byte, []int)
- func (msg *MsgCancelDerivativeOrder) GetSignBytes() []byte
- func (msg *MsgCancelDerivativeOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCancelDerivativeOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelDerivativeOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelDerivativeOrder) ProtoMessage()
- func (m *MsgCancelDerivativeOrder) Reset()
- func (msg *MsgCancelDerivativeOrder) Route() string
- func (m *MsgCancelDerivativeOrder) Size() (n int)
- func (m *MsgCancelDerivativeOrder) String() string
- func (msg *MsgCancelDerivativeOrder) Type() string
- func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelDerivativeOrder) ValidateBasic() error
- func (m *MsgCancelDerivativeOrder) XXX_DiscardUnknown()
- func (m *MsgCancelDerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelDerivativeOrder) XXX_Merge(src proto.Message)
- func (m *MsgCancelDerivativeOrder) XXX_Size() int
- func (m *MsgCancelDerivativeOrder) XXX_Unmarshal(b []byte) error
- type MsgCancelDerivativeOrderResponse
- func (*MsgCancelDerivativeOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelDerivativeOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelDerivativeOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelDerivativeOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelDerivativeOrderResponse) ProtoMessage()
- func (m *MsgCancelDerivativeOrderResponse) Reset()
- func (m *MsgCancelDerivativeOrderResponse) Size() (n int)
- func (m *MsgCancelDerivativeOrderResponse) String() string
- func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelDerivativeOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCancelDerivativeOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelDerivativeOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelDerivativeOrderResponse) XXX_Size() int
- func (m *MsgCancelDerivativeOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgCancelSpotOrder
- func (*MsgCancelSpotOrder) Descriptor() ([]byte, []int)
- func (msg *MsgCancelSpotOrder) GetSignBytes() []byte
- func (msg *MsgCancelSpotOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCancelSpotOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelSpotOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelSpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelSpotOrder) ProtoMessage()
- func (m *MsgCancelSpotOrder) Reset()
- func (msg *MsgCancelSpotOrder) Route() string
- func (m *MsgCancelSpotOrder) Size() (n int)
- func (m *MsgCancelSpotOrder) String() string
- func (msg *MsgCancelSpotOrder) Type() string
- func (m *MsgCancelSpotOrder) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelSpotOrder) ValidateBasic() error
- func (m *MsgCancelSpotOrder) XXX_DiscardUnknown()
- func (m *MsgCancelSpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelSpotOrder) XXX_Merge(src proto.Message)
- func (m *MsgCancelSpotOrder) XXX_Size() int
- func (m *MsgCancelSpotOrder) XXX_Unmarshal(b []byte) error
- type MsgCancelSpotOrderResponse
- func (*MsgCancelSpotOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelSpotOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelSpotOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelSpotOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelSpotOrderResponse) ProtoMessage()
- func (m *MsgCancelSpotOrderResponse) Reset()
- func (m *MsgCancelSpotOrderResponse) Size() (n int)
- func (m *MsgCancelSpotOrderResponse) String() string
- func (m *MsgCancelSpotOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelSpotOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCancelSpotOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelSpotOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelSpotOrderResponse) XXX_Size() int
- func (m *MsgCancelSpotOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateDerivativeLimitOrder
- func (*MsgCreateDerivativeLimitOrder) Descriptor() ([]byte, []int)
- func (msg *MsgCreateDerivativeLimitOrder) GetSignBytes() []byte
- func (msg MsgCreateDerivativeLimitOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDerivativeLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDerivativeLimitOrder) ProtoMessage()
- func (m *MsgCreateDerivativeLimitOrder) Reset()
- func (msg MsgCreateDerivativeLimitOrder) Route() string
- func (m *MsgCreateDerivativeLimitOrder) Size() (n int)
- func (m *MsgCreateDerivativeLimitOrder) String() string
- func (msg MsgCreateDerivativeLimitOrder) Type() string
- func (m *MsgCreateDerivativeLimitOrder) Unmarshal(dAtA []byte) error
- func (msg MsgCreateDerivativeLimitOrder) ValidateBasic() error
- func (m *MsgCreateDerivativeLimitOrder) XXX_DiscardUnknown()
- func (m *MsgCreateDerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDerivativeLimitOrder) XXX_Merge(src proto.Message)
- func (m *MsgCreateDerivativeLimitOrder) XXX_Size() int
- func (m *MsgCreateDerivativeLimitOrder) XXX_Unmarshal(b []byte) error
- type MsgCreateDerivativeLimitOrderResponse
- func (*MsgCreateDerivativeLimitOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDerivativeLimitOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDerivativeLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDerivativeLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDerivativeLimitOrderResponse) ProtoMessage()
- func (m *MsgCreateDerivativeLimitOrderResponse) Reset()
- func (m *MsgCreateDerivativeLimitOrderResponse) Size() (n int)
- func (m *MsgCreateDerivativeLimitOrderResponse) String() string
- func (m *MsgCreateDerivativeLimitOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDerivativeLimitOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Size() int
- func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateDerivativeMarketOrder
- func (*MsgCreateDerivativeMarketOrder) Descriptor() ([]byte, []int)
- func (msg *MsgCreateDerivativeMarketOrder) GetSignBytes() []byte
- func (msg MsgCreateDerivativeMarketOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDerivativeMarketOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDerivativeMarketOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDerivativeMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDerivativeMarketOrder) ProtoMessage()
- func (m *MsgCreateDerivativeMarketOrder) Reset()
- func (msg MsgCreateDerivativeMarketOrder) Route() string
- func (m *MsgCreateDerivativeMarketOrder) Size() (n int)
- func (m *MsgCreateDerivativeMarketOrder) String() string
- func (msg MsgCreateDerivativeMarketOrder) Type() string
- func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error
- func (msg MsgCreateDerivativeMarketOrder) ValidateBasic() error
- func (m *MsgCreateDerivativeMarketOrder) XXX_DiscardUnknown()
- func (m *MsgCreateDerivativeMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDerivativeMarketOrder) XXX_Merge(src proto.Message)
- func (m *MsgCreateDerivativeMarketOrder) XXX_Size() int
- func (m *MsgCreateDerivativeMarketOrder) XXX_Unmarshal(b []byte) error
- type MsgCreateDerivativeMarketOrderResponse
- func (*MsgCreateDerivativeMarketOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDerivativeMarketOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDerivativeMarketOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDerivativeMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDerivativeMarketOrderResponse) ProtoMessage()
- func (m *MsgCreateDerivativeMarketOrderResponse) Reset()
- func (m *MsgCreateDerivativeMarketOrderResponse) Size() (n int)
- func (m *MsgCreateDerivativeMarketOrderResponse) String() string
- func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDerivativeMarketOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Size() int
- func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateSpotLimitOrder
- func (*MsgCreateSpotLimitOrder) Descriptor() ([]byte, []int)
- func (msg *MsgCreateSpotLimitOrder) GetSignBytes() []byte
- func (msg MsgCreateSpotLimitOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCreateSpotLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSpotLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSpotLimitOrder) ProtoMessage()
- func (m *MsgCreateSpotLimitOrder) Reset()
- func (msg MsgCreateSpotLimitOrder) Route() string
- func (m *MsgCreateSpotLimitOrder) Size() (n int)
- func (m *MsgCreateSpotLimitOrder) String() string
- func (msg MsgCreateSpotLimitOrder) Type() string
- func (m *MsgCreateSpotLimitOrder) Unmarshal(dAtA []byte) error
- func (msg MsgCreateSpotLimitOrder) ValidateBasic() error
- func (m *MsgCreateSpotLimitOrder) XXX_DiscardUnknown()
- func (m *MsgCreateSpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSpotLimitOrder) XXX_Merge(src proto.Message)
- func (m *MsgCreateSpotLimitOrder) XXX_Size() int
- func (m *MsgCreateSpotLimitOrder) XXX_Unmarshal(b []byte) error
- type MsgCreateSpotLimitOrderResponse
- func (*MsgCreateSpotLimitOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateSpotLimitOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSpotLimitOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSpotLimitOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSpotLimitOrderResponse) ProtoMessage()
- func (m *MsgCreateSpotLimitOrderResponse) Reset()
- func (m *MsgCreateSpotLimitOrderResponse) Size() (n int)
- func (m *MsgCreateSpotLimitOrderResponse) String() string
- func (m *MsgCreateSpotLimitOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateSpotLimitOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCreateSpotLimitOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSpotLimitOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateSpotLimitOrderResponse) XXX_Size() int
- func (m *MsgCreateSpotLimitOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateSpotMarketOrder
- func (*MsgCreateSpotMarketOrder) Descriptor() ([]byte, []int)
- func (msg *MsgCreateSpotMarketOrder) GetSignBytes() []byte
- func (msg MsgCreateSpotMarketOrder) GetSigners() []sdk.AccAddress
- func (m *MsgCreateSpotMarketOrder) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSpotMarketOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSpotMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSpotMarketOrder) ProtoMessage()
- func (m *MsgCreateSpotMarketOrder) Reset()
- func (msg MsgCreateSpotMarketOrder) Route() string
- func (m *MsgCreateSpotMarketOrder) Size() (n int)
- func (m *MsgCreateSpotMarketOrder) String() string
- func (msg MsgCreateSpotMarketOrder) Type() string
- func (m *MsgCreateSpotMarketOrder) Unmarshal(dAtA []byte) error
- func (msg MsgCreateSpotMarketOrder) ValidateBasic() error
- func (m *MsgCreateSpotMarketOrder) XXX_DiscardUnknown()
- func (m *MsgCreateSpotMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSpotMarketOrder) XXX_Merge(src proto.Message)
- func (m *MsgCreateSpotMarketOrder) XXX_Size() int
- func (m *MsgCreateSpotMarketOrder) XXX_Unmarshal(b []byte) error
- type MsgCreateSpotMarketOrderResponse
- func (*MsgCreateSpotMarketOrderResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateSpotMarketOrderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSpotMarketOrderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSpotMarketOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSpotMarketOrderResponse) ProtoMessage()
- func (m *MsgCreateSpotMarketOrderResponse) Reset()
- func (m *MsgCreateSpotMarketOrderResponse) Size() (n int)
- func (m *MsgCreateSpotMarketOrderResponse) String() string
- func (m *MsgCreateSpotMarketOrderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateSpotMarketOrderResponse) XXX_DiscardUnknown()
- func (m *MsgCreateSpotMarketOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSpotMarketOrderResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateSpotMarketOrderResponse) XXX_Size() int
- func (m *MsgCreateSpotMarketOrderResponse) XXX_Unmarshal(b []byte) error
- type MsgDeposit
- func (*MsgDeposit) Descriptor() ([]byte, []int)
- func (msg *MsgDeposit) GetSignBytes() []byte
- func (msg MsgDeposit) GetSigners() []sdk.AccAddress
- func (m *MsgDeposit) Marshal() (dAtA []byte, err error)
- func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeposit) ProtoMessage()
- func (m *MsgDeposit) Reset()
- func (msg MsgDeposit) Route() string
- func (m *MsgDeposit) Size() (n int)
- func (m *MsgDeposit) String() string
- func (msg MsgDeposit) Type() string
- func (m *MsgDeposit) Unmarshal(dAtA []byte) error
- func (msg MsgDeposit) ValidateBasic() error
- func (m *MsgDeposit) XXX_DiscardUnknown()
- func (m *MsgDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeposit) XXX_Merge(src proto.Message)
- func (m *MsgDeposit) XXX_Size() int
- func (m *MsgDeposit) XXX_Unmarshal(b []byte) error
- type MsgDepositResponse
- func (*MsgDepositResponse) Descriptor() ([]byte, []int)
- func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDepositResponse) ProtoMessage()
- func (m *MsgDepositResponse) Reset()
- func (m *MsgDepositResponse) Size() (n int)
- func (m *MsgDepositResponse) String() string
- func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDepositResponse) XXX_DiscardUnknown()
- func (m *MsgDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDepositResponse) XXX_Merge(src proto.Message)
- func (m *MsgDepositResponse) XXX_Size() int
- func (m *MsgDepositResponse) XXX_Unmarshal(b []byte) error
- type MsgExec
- func (*MsgExec) Descriptor() ([]byte, []int)
- func (msg *MsgExec) GetSignBytes() []byte
- func (msg *MsgExec) GetSigners() []sdk.AccAddress
- func (m *MsgExec) Marshal() (dAtA []byte, err error)
- func (m *MsgExec) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExec) ProtoMessage()
- func (m *MsgExec) Reset()
- func (msg *MsgExec) Route() string
- func (m *MsgExec) Size() (n int)
- func (m *MsgExec) String() string
- func (msg *MsgExec) Type() string
- func (m *MsgExec) Unmarshal(dAtA []byte) error
- func (msg *MsgExec) ValidateBasic() error
- func (m *MsgExec) XXX_DiscardUnknown()
- func (m *MsgExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExec) XXX_Merge(src proto.Message)
- func (m *MsgExec) XXX_Size() int
- func (m *MsgExec) XXX_Unmarshal(b []byte) error
- type MsgExecResponse
- func (*MsgExecResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecResponse) ProtoMessage()
- func (m *MsgExecResponse) Reset()
- func (m *MsgExecResponse) Size() (n int)
- func (m *MsgExecResponse) String() string
- func (m *MsgExecResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecResponse) XXX_DiscardUnknown()
- func (m *MsgExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecResponse) XXX_Size() int
- func (m *MsgExecResponse) XXX_Unmarshal(b []byte) error
- type MsgExternalTransfer
- func (*MsgExternalTransfer) Descriptor() ([]byte, []int)
- func (m *MsgExternalTransfer) GetAmount() types.Coin
- func (m *MsgExternalTransfer) GetDestinationSubaccountId() string
- func (m *MsgExternalTransfer) GetSender() string
- func (msg *MsgExternalTransfer) GetSignBytes() []byte
- func (msg *MsgExternalTransfer) GetSigners() []sdk.AccAddress
- func (m *MsgExternalTransfer) GetSourceSubaccountId() string
- func (m *MsgExternalTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgExternalTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExternalTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExternalTransfer) ProtoMessage()
- func (m *MsgExternalTransfer) Reset()
- func (msg *MsgExternalTransfer) Route() string
- func (m *MsgExternalTransfer) Size() (n int)
- func (m *MsgExternalTransfer) String() string
- func (msg *MsgExternalTransfer) Type() string
- func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error
- func (msg *MsgExternalTransfer) ValidateBasic() error
- func (m *MsgExternalTransfer) XXX_DiscardUnknown()
- func (m *MsgExternalTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExternalTransfer) XXX_Merge(src proto.Message)
- func (m *MsgExternalTransfer) XXX_Size() int
- func (m *MsgExternalTransfer) XXX_Unmarshal(b []byte) error
- type MsgExternalTransferResponse
- func (*MsgExternalTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgExternalTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExternalTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExternalTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExternalTransferResponse) ProtoMessage()
- func (m *MsgExternalTransferResponse) Reset()
- func (m *MsgExternalTransferResponse) Size() (n int)
- func (m *MsgExternalTransferResponse) String() string
- func (m *MsgExternalTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExternalTransferResponse) XXX_DiscardUnknown()
- func (m *MsgExternalTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExternalTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgExternalTransferResponse) XXX_Size() int
- func (m *MsgExternalTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgIncreasePositionMargin
- func (*MsgIncreasePositionMargin) Descriptor() ([]byte, []int)
- func (m *MsgIncreasePositionMargin) GetDestinationSubaccountId() string
- func (m *MsgIncreasePositionMargin) GetMarketId() string
- func (m *MsgIncreasePositionMargin) GetSender() string
- func (msg *MsgIncreasePositionMargin) GetSignBytes() []byte
- func (msg *MsgIncreasePositionMargin) GetSigners() []sdk.AccAddress
- func (m *MsgIncreasePositionMargin) GetSourceSubaccountId() string
- func (m *MsgIncreasePositionMargin) Marshal() (dAtA []byte, err error)
- func (m *MsgIncreasePositionMargin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIncreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIncreasePositionMargin) ProtoMessage()
- func (m *MsgIncreasePositionMargin) Reset()
- func (msg *MsgIncreasePositionMargin) Route() string
- func (m *MsgIncreasePositionMargin) Size() (n int)
- func (m *MsgIncreasePositionMargin) String() string
- func (msg *MsgIncreasePositionMargin) Type() string
- func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error
- func (msg *MsgIncreasePositionMargin) ValidateBasic() error
- func (m *MsgIncreasePositionMargin) XXX_DiscardUnknown()
- func (m *MsgIncreasePositionMargin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIncreasePositionMargin) XXX_Merge(src proto.Message)
- func (m *MsgIncreasePositionMargin) XXX_Size() int
- func (m *MsgIncreasePositionMargin) XXX_Unmarshal(b []byte) error
- type MsgIncreasePositionMarginResponse
- func (*MsgIncreasePositionMarginResponse) Descriptor() ([]byte, []int)
- func (m *MsgIncreasePositionMarginResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgIncreasePositionMarginResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgIncreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgIncreasePositionMarginResponse) ProtoMessage()
- func (m *MsgIncreasePositionMarginResponse) Reset()
- func (m *MsgIncreasePositionMarginResponse) Size() (n int)
- func (m *MsgIncreasePositionMarginResponse) String() string
- func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error
- func (m *MsgIncreasePositionMarginResponse) XXX_DiscardUnknown()
- func (m *MsgIncreasePositionMarginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgIncreasePositionMarginResponse) XXX_Merge(src proto.Message)
- func (m *MsgIncreasePositionMarginResponse) XXX_Size() int
- func (m *MsgIncreasePositionMarginResponse) XXX_Unmarshal(b []byte) error
- type MsgInstantExpiryFuturesMarketLaunch
- func (*MsgInstantExpiryFuturesMarketLaunch) Descriptor() ([]byte, []int)
- func (msg *MsgInstantExpiryFuturesMarketLaunch) GetSignBytes() []byte
- func (msg MsgInstantExpiryFuturesMarketLaunch) GetSigners() []sdk.AccAddress
- func (m *MsgInstantExpiryFuturesMarketLaunch) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantExpiryFuturesMarketLaunch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantExpiryFuturesMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantExpiryFuturesMarketLaunch) ProtoMessage()
- func (m *MsgInstantExpiryFuturesMarketLaunch) Reset()
- func (msg MsgInstantExpiryFuturesMarketLaunch) Route() string
- func (m *MsgInstantExpiryFuturesMarketLaunch) Size() (n int)
- func (m *MsgInstantExpiryFuturesMarketLaunch) String() string
- func (msg MsgInstantExpiryFuturesMarketLaunch) Type() string
- func (m *MsgInstantExpiryFuturesMarketLaunch) Unmarshal(dAtA []byte) error
- func (msg MsgInstantExpiryFuturesMarketLaunch) ValidateBasic() error
- func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_DiscardUnknown()
- func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Merge(src proto.Message)
- func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Size() int
- func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Unmarshal(b []byte) error
- type MsgInstantExpiryFuturesMarketLaunchResponse
- func (*MsgInstantExpiryFuturesMarketLaunchResponse) Descriptor() ([]byte, []int)
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantExpiryFuturesMarketLaunchResponse) ProtoMessage()
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Reset()
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Size() (n int)
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) String() string
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_DiscardUnknown()
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Merge(src proto.Message)
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Size() int
- func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Unmarshal(b []byte) error
- type MsgInstantPerpetualMarketLaunch
- func (*MsgInstantPerpetualMarketLaunch) Descriptor() ([]byte, []int)
- func (msg *MsgInstantPerpetualMarketLaunch) GetSignBytes() []byte
- func (msg MsgInstantPerpetualMarketLaunch) GetSigners() []sdk.AccAddress
- func (m *MsgInstantPerpetualMarketLaunch) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantPerpetualMarketLaunch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantPerpetualMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantPerpetualMarketLaunch) ProtoMessage()
- func (m *MsgInstantPerpetualMarketLaunch) Reset()
- func (msg MsgInstantPerpetualMarketLaunch) Route() string
- func (m *MsgInstantPerpetualMarketLaunch) Size() (n int)
- func (m *MsgInstantPerpetualMarketLaunch) String() string
- func (msg MsgInstantPerpetualMarketLaunch) Type() string
- func (m *MsgInstantPerpetualMarketLaunch) Unmarshal(dAtA []byte) error
- func (msg MsgInstantPerpetualMarketLaunch) ValidateBasic() error
- func (m *MsgInstantPerpetualMarketLaunch) XXX_DiscardUnknown()
- func (m *MsgInstantPerpetualMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantPerpetualMarketLaunch) XXX_Merge(src proto.Message)
- func (m *MsgInstantPerpetualMarketLaunch) XXX_Size() int
- func (m *MsgInstantPerpetualMarketLaunch) XXX_Unmarshal(b []byte) error
- type MsgInstantPerpetualMarketLaunchResponse
- func (*MsgInstantPerpetualMarketLaunchResponse) Descriptor() ([]byte, []int)
- func (m *MsgInstantPerpetualMarketLaunchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantPerpetualMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantPerpetualMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantPerpetualMarketLaunchResponse) ProtoMessage()
- func (m *MsgInstantPerpetualMarketLaunchResponse) Reset()
- func (m *MsgInstantPerpetualMarketLaunchResponse) Size() (n int)
- func (m *MsgInstantPerpetualMarketLaunchResponse) String() string
- func (m *MsgInstantPerpetualMarketLaunchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_DiscardUnknown()
- func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Merge(src proto.Message)
- func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Size() int
- func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Unmarshal(b []byte) error
- type MsgInstantSpotMarketLaunch
- func (*MsgInstantSpotMarketLaunch) Descriptor() ([]byte, []int)
- func (msg *MsgInstantSpotMarketLaunch) GetSignBytes() []byte
- func (msg MsgInstantSpotMarketLaunch) GetSigners() []sdk.AccAddress
- func (m *MsgInstantSpotMarketLaunch) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantSpotMarketLaunch) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantSpotMarketLaunch) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantSpotMarketLaunch) ProtoMessage()
- func (m *MsgInstantSpotMarketLaunch) Reset()
- func (msg MsgInstantSpotMarketLaunch) Route() string
- func (m *MsgInstantSpotMarketLaunch) Size() (n int)
- func (m *MsgInstantSpotMarketLaunch) String() string
- func (msg MsgInstantSpotMarketLaunch) Type() string
- func (m *MsgInstantSpotMarketLaunch) Unmarshal(dAtA []byte) error
- func (msg MsgInstantSpotMarketLaunch) ValidateBasic() error
- func (m *MsgInstantSpotMarketLaunch) XXX_DiscardUnknown()
- func (m *MsgInstantSpotMarketLaunch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantSpotMarketLaunch) XXX_Merge(src proto.Message)
- func (m *MsgInstantSpotMarketLaunch) XXX_Size() int
- func (m *MsgInstantSpotMarketLaunch) XXX_Unmarshal(b []byte) error
- type MsgInstantSpotMarketLaunchResponse
- func (*MsgInstantSpotMarketLaunchResponse) Descriptor() ([]byte, []int)
- func (m *MsgInstantSpotMarketLaunchResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgInstantSpotMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgInstantSpotMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgInstantSpotMarketLaunchResponse) ProtoMessage()
- func (m *MsgInstantSpotMarketLaunchResponse) Reset()
- func (m *MsgInstantSpotMarketLaunchResponse) Size() (n int)
- func (m *MsgInstantSpotMarketLaunchResponse) String() string
- func (m *MsgInstantSpotMarketLaunchResponse) Unmarshal(dAtA []byte) error
- func (m *MsgInstantSpotMarketLaunchResponse) XXX_DiscardUnknown()
- func (m *MsgInstantSpotMarketLaunchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgInstantSpotMarketLaunchResponse) XXX_Merge(src proto.Message)
- func (m *MsgInstantSpotMarketLaunchResponse) XXX_Size() int
- func (m *MsgInstantSpotMarketLaunchResponse) XXX_Unmarshal(b []byte) error
- type MsgLiquidatePosition
- func (*MsgLiquidatePosition) Descriptor() ([]byte, []int)
- func (m *MsgLiquidatePosition) GetMarketId() string
- func (m *MsgLiquidatePosition) GetOrder() *DerivativeOrder
- func (m *MsgLiquidatePosition) GetSender() string
- func (msg *MsgLiquidatePosition) GetSignBytes() []byte
- func (msg *MsgLiquidatePosition) GetSigners() []sdk.AccAddress
- func (m *MsgLiquidatePosition) GetSubaccountId() string
- func (m *MsgLiquidatePosition) Marshal() (dAtA []byte, err error)
- func (m *MsgLiquidatePosition) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLiquidatePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLiquidatePosition) ProtoMessage()
- func (m *MsgLiquidatePosition) Reset()
- func (msg *MsgLiquidatePosition) Route() string
- func (m *MsgLiquidatePosition) Size() (n int)
- func (m *MsgLiquidatePosition) String() string
- func (msg *MsgLiquidatePosition) Type() string
- func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error
- func (msg *MsgLiquidatePosition) ValidateBasic() error
- func (m *MsgLiquidatePosition) XXX_DiscardUnknown()
- func (m *MsgLiquidatePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLiquidatePosition) XXX_Merge(src proto.Message)
- func (m *MsgLiquidatePosition) XXX_Size() int
- func (m *MsgLiquidatePosition) XXX_Unmarshal(b []byte) error
- type MsgLiquidatePositionResponse
- func (*MsgLiquidatePositionResponse) Descriptor() ([]byte, []int)
- func (m *MsgLiquidatePositionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLiquidatePositionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLiquidatePositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLiquidatePositionResponse) ProtoMessage()
- func (m *MsgLiquidatePositionResponse) Reset()
- func (m *MsgLiquidatePositionResponse) Size() (n int)
- func (m *MsgLiquidatePositionResponse) String() string
- func (m *MsgLiquidatePositionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLiquidatePositionResponse) XXX_DiscardUnknown()
- func (m *MsgLiquidatePositionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLiquidatePositionResponse) XXX_Merge(src proto.Message)
- func (m *MsgLiquidatePositionResponse) XXX_Size() int
- func (m *MsgLiquidatePositionResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterAsDMM
- func (*MsgRegisterAsDMM) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAsDMM) GetDmmAccount() string
- func (m *MsgRegisterAsDMM) GetSender() string
- func (msg *MsgRegisterAsDMM) GetSignBytes() []byte
- func (msg *MsgRegisterAsDMM) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterAsDMM) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAsDMM) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAsDMM) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAsDMM) ProtoMessage()
- func (m *MsgRegisterAsDMM) Reset()
- func (msg *MsgRegisterAsDMM) Route() string
- func (m *MsgRegisterAsDMM) Size() (n int)
- func (m *MsgRegisterAsDMM) String() string
- func (msg *MsgRegisterAsDMM) Type() string
- func (m *MsgRegisterAsDMM) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterAsDMM) ValidateBasic() error
- func (m *MsgRegisterAsDMM) XXX_DiscardUnknown()
- func (m *MsgRegisterAsDMM) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAsDMM) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAsDMM) XXX_Size() int
- func (m *MsgRegisterAsDMM) XXX_Unmarshal(b []byte) error
- type MsgRegisterAsDMMResponse
- func (*MsgRegisterAsDMMResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAsDMMResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAsDMMResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAsDMMResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAsDMMResponse) ProtoMessage()
- func (m *MsgRegisterAsDMMResponse) Reset()
- func (m *MsgRegisterAsDMMResponse) Size() (n int)
- func (m *MsgRegisterAsDMMResponse) String() string
- func (m *MsgRegisterAsDMMResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterAsDMMResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterAsDMMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAsDMMResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAsDMMResponse) XXX_Size() int
- func (m *MsgRegisterAsDMMResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgSubaccountTransfer
- func (*MsgSubaccountTransfer) Descriptor() ([]byte, []int)
- func (m *MsgSubaccountTransfer) GetAmount() types.Coin
- func (m *MsgSubaccountTransfer) GetDestinationSubaccountId() string
- func (m *MsgSubaccountTransfer) GetSender() string
- func (msg *MsgSubaccountTransfer) GetSignBytes() []byte
- func (msg *MsgSubaccountTransfer) GetSigners() []sdk.AccAddress
- func (m *MsgSubaccountTransfer) GetSourceSubaccountId() string
- func (m *MsgSubaccountTransfer) Marshal() (dAtA []byte, err error)
- func (m *MsgSubaccountTransfer) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubaccountTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubaccountTransfer) ProtoMessage()
- func (m *MsgSubaccountTransfer) Reset()
- func (msg *MsgSubaccountTransfer) Route() string
- func (m *MsgSubaccountTransfer) Size() (n int)
- func (m *MsgSubaccountTransfer) String() string
- func (msg *MsgSubaccountTransfer) Type() string
- func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error
- func (msg *MsgSubaccountTransfer) ValidateBasic() error
- func (m *MsgSubaccountTransfer) XXX_DiscardUnknown()
- func (m *MsgSubaccountTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubaccountTransfer) XXX_Merge(src proto.Message)
- func (m *MsgSubaccountTransfer) XXX_Size() int
- func (m *MsgSubaccountTransfer) XXX_Unmarshal(b []byte) error
- type MsgSubaccountTransferResponse
- func (*MsgSubaccountTransferResponse) Descriptor() ([]byte, []int)
- func (m *MsgSubaccountTransferResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSubaccountTransferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSubaccountTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSubaccountTransferResponse) ProtoMessage()
- func (m *MsgSubaccountTransferResponse) Reset()
- func (m *MsgSubaccountTransferResponse) Size() (n int)
- func (m *MsgSubaccountTransferResponse) String() string
- func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSubaccountTransferResponse) XXX_DiscardUnknown()
- func (m *MsgSubaccountTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSubaccountTransferResponse) XXX_Merge(src proto.Message)
- func (m *MsgSubaccountTransferResponse) XXX_Size() int
- func (m *MsgSubaccountTransferResponse) XXX_Unmarshal(b []byte) error
- type MsgWithdraw
- func (*MsgWithdraw) Descriptor() ([]byte, []int)
- func (msg *MsgWithdraw) GetSignBytes() []byte
- func (msg MsgWithdraw) GetSigners() []sdk.AccAddress
- func (m *MsgWithdraw) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdraw) ProtoMessage()
- func (m *MsgWithdraw) Reset()
- func (msg MsgWithdraw) Route() string
- func (m *MsgWithdraw) Size() (n int)
- func (m *MsgWithdraw) String() string
- func (msg MsgWithdraw) Type() string
- func (m *MsgWithdraw) Unmarshal(dAtA []byte) error
- func (msg MsgWithdraw) ValidateBasic() error
- func (m *MsgWithdraw) XXX_DiscardUnknown()
- func (m *MsgWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdraw) XXX_Merge(src proto.Message)
- func (m *MsgWithdraw) XXX_Size() int
- func (m *MsgWithdraw) XXX_Unmarshal(b []byte) error
- type MsgWithdrawResponse
- func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)
- func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgWithdrawResponse) ProtoMessage()
- func (m *MsgWithdrawResponse) Reset()
- func (m *MsgWithdrawResponse) Size() (n int)
- func (m *MsgWithdrawResponse) String() string
- func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error
- func (m *MsgWithdrawResponse) XXX_DiscardUnknown()
- func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)
- func (m *MsgWithdrawResponse) XXX_Size() int
- func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error
- type NextFundingTimestamp
- func (*NextFundingTimestamp) Descriptor() ([]byte, []int)
- func (m *NextFundingTimestamp) GetNextTimestamp() int64
- func (m *NextFundingTimestamp) Marshal() (dAtA []byte, err error)
- func (m *NextFundingTimestamp) MarshalTo(dAtA []byte) (int, error)
- func (m *NextFundingTimestamp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NextFundingTimestamp) ProtoMessage()
- func (m *NextFundingTimestamp) Reset()
- func (m *NextFundingTimestamp) Size() (n int)
- func (m *NextFundingTimestamp) String() string
- func (m *NextFundingTimestamp) Unmarshal(dAtA []byte) error
- func (m *NextFundingTimestamp) XXX_DiscardUnknown()
- func (m *NextFundingTimestamp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NextFundingTimestamp) XXX_Merge(src proto.Message)
- func (m *NextFundingTimestamp) XXX_Size() int
- func (m *NextFundingTimestamp) XXX_Unmarshal(b []byte) error
- type OracleKeeper
- type OracleParams
- func (*OracleParams) Descriptor() ([]byte, []int)
- func (m *OracleParams) GetOracleBase() string
- func (m *OracleParams) GetOracleQuote() string
- func (m *OracleParams) GetOracleScaleFactor() uint32
- func (m *OracleParams) GetOracleType() types1.OracleType
- func (m *OracleParams) Marshal() (dAtA []byte, err error)
- func (m *OracleParams) MarshalTo(dAtA []byte) (int, error)
- func (m *OracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OracleParams) ProtoMessage()
- func (m *OracleParams) Reset()
- func (m *OracleParams) Size() (n int)
- func (m *OracleParams) String() string
- func (m *OracleParams) Unmarshal(dAtA []byte) error
- func (p *OracleParams) ValidateBasic() error
- func (m *OracleParams) XXX_DiscardUnknown()
- func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OracleParams) XXX_Merge(src proto.Message)
- func (m *OracleParams) XXX_Size() int
- func (m *OracleParams) XXX_Unmarshal(b []byte) error
- type OrderData
- func (*OrderData) Descriptor() ([]byte, []int)
- func (m *OrderData) GetMarketId() string
- func (m *OrderData) GetOrderHash() string
- func (m *OrderData) GetSubaccountId() string
- func (m *OrderData) Marshal() (dAtA []byte, err error)
- func (m *OrderData) MarshalTo(dAtA []byte) (int, error)
- func (m *OrderData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrderData) ProtoMessage()
- func (m *OrderData) Reset()
- func (m *OrderData) Size() (n int)
- func (m *OrderData) String() string
- func (m *OrderData) Unmarshal(dAtA []byte) error
- func (o *OrderData) ValidateBasic(senderAddr sdk.AccAddress) error
- func (m *OrderData) XXX_DiscardUnknown()
- func (m *OrderData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderData) XXX_Merge(src proto.Message)
- func (m *OrderData) XXX_Size() int
- func (m *OrderData) XXX_Unmarshal(b []byte) error
- type OrderInfo
- func (*OrderInfo) Descriptor() ([]byte, []int)
- func (o *OrderInfo) FeeRecipientAddress() common.Address
- func (m *OrderInfo) GetFeeAmount(fee sdk.Dec) sdk.Dec
- func (m *OrderInfo) GetFeeRecipient() string
- func (m *OrderInfo) GetNotional() sdk.Dec
- func (m *OrderInfo) GetSubaccountId() string
- func (m *OrderInfo) Marshal() (dAtA []byte, err error)
- func (m *OrderInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *OrderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrderInfo) ProtoMessage()
- func (m *OrderInfo) Reset()
- func (m *OrderInfo) Size() (n int)
- func (m *OrderInfo) String() string
- func (o *OrderInfo) SubaccountID() common.Hash
- func (m *OrderInfo) Unmarshal(dAtA []byte) error
- func (o *OrderInfo) ValidateBasic(senderAddr sdk.AccAddress) error
- func (m *OrderInfo) XXX_DiscardUnknown()
- func (m *OrderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderInfo) XXX_Merge(src proto.Message)
- func (m *OrderInfo) XXX_Size() int
- func (m *OrderInfo) XXX_Unmarshal(b []byte) error
- type OrderType
- type ParamSet
- type ParamSetPair
- type ParamSetPairs
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetDefaultFundingInterval() int64
- func (m *Params) GetDerivativeMarketInstantListingFee() types.Coin
- func (m *Params) GetFundingMultiple() int64
- func (m *Params) GetMaxDerivativeOrderSideCount() uint32
- func (m *Params) GetSpotMarketInstantListingFee() types.Coin
- func (m *Params) GetTradingRewardsVestingDuration() int64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type PerpetualMarketFunding
- func (*PerpetualMarketFunding) Descriptor() ([]byte, []int)
- func (m *PerpetualMarketFunding) GetLastTimestamp() int64
- func (m *PerpetualMarketFunding) Marshal() (dAtA []byte, err error)
- func (m *PerpetualMarketFunding) MarshalTo(dAtA []byte) (int, error)
- func (m *PerpetualMarketFunding) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerpetualMarketFunding) ProtoMessage()
- func (m *PerpetualMarketFunding) Reset()
- func (m *PerpetualMarketFunding) Size() (n int)
- func (m *PerpetualMarketFunding) String() string
- func (m *PerpetualMarketFunding) Unmarshal(dAtA []byte) error
- func (m *PerpetualMarketFunding) XXX_DiscardUnknown()
- func (m *PerpetualMarketFunding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerpetualMarketFunding) XXX_Merge(src proto.Message)
- func (m *PerpetualMarketFunding) XXX_Size() int
- func (m *PerpetualMarketFunding) XXX_Unmarshal(b []byte) error
- type PerpetualMarketFundingState
- func (*PerpetualMarketFundingState) Descriptor() ([]byte, []int)
- func (m *PerpetualMarketFundingState) GetFunding() *PerpetualMarketFunding
- func (m *PerpetualMarketFundingState) GetMarketId() string
- func (m *PerpetualMarketFundingState) Marshal() (dAtA []byte, err error)
- func (m *PerpetualMarketFundingState) MarshalTo(dAtA []byte) (int, error)
- func (m *PerpetualMarketFundingState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerpetualMarketFundingState) ProtoMessage()
- func (m *PerpetualMarketFundingState) Reset()
- func (m *PerpetualMarketFundingState) Size() (n int)
- func (m *PerpetualMarketFundingState) String() string
- func (m *PerpetualMarketFundingState) Unmarshal(dAtA []byte) error
- func (m *PerpetualMarketFundingState) XXX_DiscardUnknown()
- func (m *PerpetualMarketFundingState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerpetualMarketFundingState) XXX_Merge(src proto.Message)
- func (m *PerpetualMarketFundingState) XXX_Size() int
- func (m *PerpetualMarketFundingState) XXX_Unmarshal(b []byte) error
- type PerpetualMarketInfo
- func (*PerpetualMarketInfo) Descriptor() ([]byte, []int)
- func (m *PerpetualMarketInfo) GetFundingInterval() int64
- func (m *PerpetualMarketInfo) GetMarketId() string
- func (m *PerpetualMarketInfo) GetNextFundingTimestamp() int64
- func (m *PerpetualMarketInfo) Marshal() (dAtA []byte, err error)
- func (m *PerpetualMarketInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *PerpetualMarketInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerpetualMarketInfo) ProtoMessage()
- func (m *PerpetualMarketInfo) Reset()
- func (m *PerpetualMarketInfo) Size() (n int)
- func (m *PerpetualMarketInfo) String() string
- func (m *PerpetualMarketInfo) Unmarshal(dAtA []byte) error
- func (m *PerpetualMarketInfo) XXX_DiscardUnknown()
- func (m *PerpetualMarketInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerpetualMarketInfo) XXX_Merge(src proto.Message)
- func (m *PerpetualMarketInfo) XXX_Size() int
- func (m *PerpetualMarketInfo) XXX_Unmarshal(b []byte) error
- type PerpetualMarketLaunchProposal
- func (*PerpetualMarketLaunchProposal) Descriptor() ([]byte, []int)
- func (p *PerpetualMarketLaunchProposal) GetDescription() string
- func (p *PerpetualMarketLaunchProposal) GetTitle() string
- func (m *PerpetualMarketLaunchProposal) Marshal() (dAtA []byte, err error)
- func (m *PerpetualMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *PerpetualMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *PerpetualMarketLaunchProposal) ProposalRoute() string
- func (p *PerpetualMarketLaunchProposal) ProposalType() string
- func (*PerpetualMarketLaunchProposal) ProtoMessage()
- func (m *PerpetualMarketLaunchProposal) Reset()
- func (m *PerpetualMarketLaunchProposal) Size() (n int)
- func (m *PerpetualMarketLaunchProposal) String() string
- func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error
- func (p *PerpetualMarketLaunchProposal) ValidateBasic() error
- func (m *PerpetualMarketLaunchProposal) XXX_DiscardUnknown()
- func (m *PerpetualMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerpetualMarketLaunchProposal) XXX_Merge(src proto.Message)
- func (m *PerpetualMarketLaunchProposal) XXX_Size() int
- func (m *PerpetualMarketLaunchProposal) XXX_Unmarshal(b []byte) error
- type PerpetualMarketState
- func (*PerpetualMarketState) Descriptor() ([]byte, []int)
- func (m *PerpetualMarketState) GetFundingInfo() *PerpetualMarketFunding
- func (m *PerpetualMarketState) GetMarketInfo() *PerpetualMarketInfo
- func (m *PerpetualMarketState) Marshal() (dAtA []byte, err error)
- func (m *PerpetualMarketState) MarshalTo(dAtA []byte) (int, error)
- func (m *PerpetualMarketState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PerpetualMarketState) ProtoMessage()
- func (m *PerpetualMarketState) Reset()
- func (m *PerpetualMarketState) Size() (n int)
- func (m *PerpetualMarketState) String() string
- func (m *PerpetualMarketState) Unmarshal(dAtA []byte) error
- func (m *PerpetualMarketState) XXX_DiscardUnknown()
- func (m *PerpetualMarketState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PerpetualMarketState) XXX_Merge(src proto.Message)
- func (m *PerpetualMarketState) XXX_Size() int
- func (m *PerpetualMarketState) XXX_Unmarshal(b []byte) error
- type PointsMultiplier
- func (*PointsMultiplier) Descriptor() ([]byte, []int)
- func (p *PointsMultiplier) GetMultiplier(e ExecutionType) sdk.Dec
- func (m *PointsMultiplier) Marshal() (dAtA []byte, err error)
- func (m *PointsMultiplier) MarshalTo(dAtA []byte) (int, error)
- func (m *PointsMultiplier) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PointsMultiplier) ProtoMessage()
- func (m *PointsMultiplier) Reset()
- func (m *PointsMultiplier) Size() (n int)
- func (m *PointsMultiplier) String() string
- func (m *PointsMultiplier) Unmarshal(dAtA []byte) error
- func (m *PointsMultiplier) XXX_DiscardUnknown()
- func (m *PointsMultiplier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PointsMultiplier) XXX_Merge(src proto.Message)
- func (m *PointsMultiplier) XXX_Size() int
- func (m *PointsMultiplier) XXX_Unmarshal(b []byte) error
- type Position
- func (p *Position) ApplyFunding(funding *PerpetualMarketFunding)
- func (p *Position) ApplyPositionDelta(delta *PositionDelta, tradingFeeForReduceOnly sdk.Dec) (payout, closeExecutionMargin, collateralizationMargin sdk.Dec)
- func (p *Position) ApplyProfitHaircut(deficitAmount, totalProfits, settlementPrice sdk.Dec)
- func (p *Position) CheckValidPositionToReduce(reducePrice sdk.Dec, isBuyOrder bool, tradeFeeRate sdk.Dec, ...) error
- func (p *Position) ClosePositionWithSettlePrice(settlementPrice, closingFeeRate sdk.Dec) (payout, closeTradingFee sdk.Dec, positionDelta *PositionDelta)
- func (*Position) Descriptor() ([]byte, []int)
- func (p *Position) GetAverageWeightedEntryPrice(executionQuantity, executionPrice sdk.Dec) sdk.Dec
- func (p *Position) GetBankruptcyPrice(funding *PerpetualMarketFunding) (bankruptcyPrice sdk.Dec)
- func (p *Position) GetDirectionString() string
- func (p *Position) GetEffectiveMargin(funding *PerpetualMarketFunding, closingPrice sdk.Dec) sdk.Dec
- func (p *Position) GetEffectiveMarginRatio(markPrice sdk.Dec) (marginRatio sdk.Dec)
- func (m *Position) GetIsLong() bool
- func (p *Position) GetLiquidationPrice(maintenanceMarginRatio sdk.Dec, funding *PerpetualMarketFunding) sdk.Dec
- func (p *Position) GetPayoutFromPnl(closingPrice, closingQuantity sdk.Dec) sdk.Dec
- func (p *Position) GetPayoutIfFullyClosing(closingPrice, closingFeeRate sdk.Dec) *positionPayout
- func (m *Position) IsShort() bool
- func (m *Position) Marshal() (dAtA []byte, err error)
- func (m *Position) MarshalTo(dAtA []byte) (int, error)
- func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Position) ProtoMessage()
- func (m *Position) Reset()
- func (m *Position) Size() (n int)
- func (m *Position) String() string
- func (m *Position) Unmarshal(dAtA []byte) error
- func (m *Position) XXX_DiscardUnknown()
- func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Position) XXX_Merge(src proto.Message)
- func (m *Position) XXX_Size() int
- func (m *Position) XXX_Unmarshal(b []byte) error
- type PositionDelta
- func (*PositionDelta) Descriptor() ([]byte, []int)
- func (m *PositionDelta) GetIsLong() bool
- func (m *PositionDelta) IsShort() bool
- func (m *PositionDelta) Marshal() (dAtA []byte, err error)
- func (m *PositionDelta) MarshalTo(dAtA []byte) (int, error)
- func (m *PositionDelta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PositionDelta) ProtoMessage()
- func (m *PositionDelta) Reset()
- func (m *PositionDelta) Size() (n int)
- func (m *PositionDelta) String() string
- func (m *PositionDelta) Unmarshal(dAtA []byte) error
- func (m *PositionDelta) XXX_DiscardUnknown()
- func (m *PositionDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PositionDelta) XXX_Merge(src proto.Message)
- func (m *PositionDelta) XXX_Size() int
- func (m *PositionDelta) XXX_Unmarshal(b []byte) error
- type PositionTransfer
- type PriceLevel
- func (*PriceLevel) Descriptor() ([]byte, []int)
- func (m *PriceLevel) Marshal() (dAtA []byte, err error)
- func (m *PriceLevel) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceLevel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceLevel) ProtoMessage()
- func (m *PriceLevel) Reset()
- func (m *PriceLevel) Size() (n int)
- func (m *PriceLevel) String() string
- func (m *PriceLevel) Unmarshal(dAtA []byte) error
- func (m *PriceLevel) XXX_DiscardUnknown()
- func (m *PriceLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceLevel) XXX_Merge(src proto.Message)
- func (m *PriceLevel) XXX_Size() int
- func (m *PriceLevel) XXX_Unmarshal(b []byte) error
- type PrivilegedAction
- type QueryBalanceMismatchesRequest
- func (*QueryBalanceMismatchesRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceMismatchesRequest) GetDustFactor() int64
- func (m *QueryBalanceMismatchesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceMismatchesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceMismatchesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceMismatchesRequest) ProtoMessage()
- func (m *QueryBalanceMismatchesRequest) Reset()
- func (m *QueryBalanceMismatchesRequest) Size() (n int)
- func (m *QueryBalanceMismatchesRequest) String() string
- func (m *QueryBalanceMismatchesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceMismatchesRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceMismatchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceMismatchesRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceMismatchesRequest) XXX_Size() int
- func (m *QueryBalanceMismatchesRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceMismatchesResponse
- func (*QueryBalanceMismatchesResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceMismatchesResponse) GetBalanceMismatches() []*BalanceMismatch
- func (m *QueryBalanceMismatchesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceMismatchesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceMismatchesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceMismatchesResponse) ProtoMessage()
- func (m *QueryBalanceMismatchesResponse) Reset()
- func (m *QueryBalanceMismatchesResponse) Size() (n int)
- func (m *QueryBalanceMismatchesResponse) String() string
- func (m *QueryBalanceMismatchesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceMismatchesResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceMismatchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceMismatchesResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceMismatchesResponse) XXX_Size() int
- func (m *QueryBalanceMismatchesResponse) XXX_Unmarshal(b []byte) error
- type QueryBalanceWithBalanceHoldsRequest
- func (*QueryBalanceWithBalanceHoldsRequest) Descriptor() ([]byte, []int)
- func (m *QueryBalanceWithBalanceHoldsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceWithBalanceHoldsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceWithBalanceHoldsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceWithBalanceHoldsRequest) ProtoMessage()
- func (m *QueryBalanceWithBalanceHoldsRequest) Reset()
- func (m *QueryBalanceWithBalanceHoldsRequest) Size() (n int)
- func (m *QueryBalanceWithBalanceHoldsRequest) String() string
- func (m *QueryBalanceWithBalanceHoldsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceWithBalanceHoldsRequest) XXX_DiscardUnknown()
- func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Merge(src proto.Message)
- func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Size() int
- func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Unmarshal(b []byte) error
- type QueryBalanceWithBalanceHoldsResponse
- func (*QueryBalanceWithBalanceHoldsResponse) Descriptor() ([]byte, []int)
- func (m *QueryBalanceWithBalanceHoldsResponse) GetBalanceWithBalanceHolds() []*BalanceWithMarginHold
- func (m *QueryBalanceWithBalanceHoldsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryBalanceWithBalanceHoldsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryBalanceWithBalanceHoldsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryBalanceWithBalanceHoldsResponse) ProtoMessage()
- func (m *QueryBalanceWithBalanceHoldsResponse) Reset()
- func (m *QueryBalanceWithBalanceHoldsResponse) Size() (n int)
- func (m *QueryBalanceWithBalanceHoldsResponse) String() string
- func (m *QueryBalanceWithBalanceHoldsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryBalanceWithBalanceHoldsResponse) XXX_DiscardUnknown()
- func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Merge(src proto.Message)
- func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Size() int
- func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryDerivativeMarketAddressRequest
- func (*QueryDerivativeMarketAddressRequest) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMarketAddressRequest) GetMarketId() string
- func (m *QueryDerivativeMarketAddressRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMarketAddressRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMarketAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMarketAddressRequest) ProtoMessage()
- func (m *QueryDerivativeMarketAddressRequest) Reset()
- func (m *QueryDerivativeMarketAddressRequest) Size() (n int)
- func (m *QueryDerivativeMarketAddressRequest) String() string
- func (m *QueryDerivativeMarketAddressRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMarketAddressRequest) XXX_DiscardUnknown()
- func (m *QueryDerivativeMarketAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMarketAddressRequest) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMarketAddressRequest) XXX_Size() int
- func (m *QueryDerivativeMarketAddressRequest) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMarketAddressResponse
- func (*QueryDerivativeMarketAddressResponse) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMarketAddressResponse) GetAddress() string
- func (m *QueryDerivativeMarketAddressResponse) GetSubaccountId() string
- func (m *QueryDerivativeMarketAddressResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMarketAddressResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMarketAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMarketAddressResponse) ProtoMessage()
- func (m *QueryDerivativeMarketAddressResponse) Reset()
- func (m *QueryDerivativeMarketAddressResponse) Size() (n int)
- func (m *QueryDerivativeMarketAddressResponse) String() string
- func (m *QueryDerivativeMarketAddressResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMarketAddressResponse) XXX_DiscardUnknown()
- func (m *QueryDerivativeMarketAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMarketAddressResponse) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMarketAddressResponse) XXX_Size() int
- func (m *QueryDerivativeMarketAddressResponse) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMarketRequest
- func (*QueryDerivativeMarketRequest) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMarketRequest) GetMarketId() string
- func (m *QueryDerivativeMarketRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMarketRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMarketRequest) ProtoMessage()
- func (m *QueryDerivativeMarketRequest) Reset()
- func (m *QueryDerivativeMarketRequest) Size() (n int)
- func (m *QueryDerivativeMarketRequest) String() string
- func (m *QueryDerivativeMarketRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMarketRequest) XXX_DiscardUnknown()
- func (m *QueryDerivativeMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMarketRequest) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMarketRequest) XXX_Size() int
- func (m *QueryDerivativeMarketRequest) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMarketResponse
- func (*QueryDerivativeMarketResponse) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMarketResponse) GetMarket() *FullDerivativeMarket
- func (m *QueryDerivativeMarketResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMarketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMarketResponse) ProtoMessage()
- func (m *QueryDerivativeMarketResponse) Reset()
- func (m *QueryDerivativeMarketResponse) Size() (n int)
- func (m *QueryDerivativeMarketResponse) String() string
- func (m *QueryDerivativeMarketResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMarketResponse) XXX_DiscardUnknown()
- func (m *QueryDerivativeMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMarketResponse) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMarketResponse) XXX_Size() int
- func (m *QueryDerivativeMarketResponse) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMarketsRequest
- func (*QueryDerivativeMarketsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMarketsRequest) GetStatus() string
- func (m *QueryDerivativeMarketsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMarketsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMarketsRequest) ProtoMessage()
- func (m *QueryDerivativeMarketsRequest) Reset()
- func (m *QueryDerivativeMarketsRequest) Size() (n int)
- func (m *QueryDerivativeMarketsRequest) String() string
- func (m *QueryDerivativeMarketsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMarketsRequest) XXX_DiscardUnknown()
- func (m *QueryDerivativeMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMarketsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMarketsRequest) XXX_Size() int
- func (m *QueryDerivativeMarketsRequest) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMarketsResponse
- func (*QueryDerivativeMarketsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMarketsResponse) GetMarkets() []*FullDerivativeMarket
- func (m *QueryDerivativeMarketsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMarketsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMarketsResponse) ProtoMessage()
- func (m *QueryDerivativeMarketsResponse) Reset()
- func (m *QueryDerivativeMarketsResponse) Size() (n int)
- func (m *QueryDerivativeMarketsResponse) String() string
- func (m *QueryDerivativeMarketsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMarketsResponse) XXX_DiscardUnknown()
- func (m *QueryDerivativeMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMarketsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMarketsResponse) XXX_Size() int
- func (m *QueryDerivativeMarketsResponse) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMidPriceRequest
- func (*QueryDerivativeMidPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMidPriceRequest) GetMarketId() string
- func (m *QueryDerivativeMidPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMidPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMidPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMidPriceRequest) ProtoMessage()
- func (m *QueryDerivativeMidPriceRequest) Reset()
- func (m *QueryDerivativeMidPriceRequest) Size() (n int)
- func (m *QueryDerivativeMidPriceRequest) String() string
- func (m *QueryDerivativeMidPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMidPriceRequest) XXX_DiscardUnknown()
- func (m *QueryDerivativeMidPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMidPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMidPriceRequest) XXX_Size() int
- func (m *QueryDerivativeMidPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryDerivativeMidPriceResponse
- func (*QueryDerivativeMidPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeMidPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeMidPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeMidPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeMidPriceResponse) ProtoMessage()
- func (m *QueryDerivativeMidPriceResponse) Reset()
- func (m *QueryDerivativeMidPriceResponse) Size() (n int)
- func (m *QueryDerivativeMidPriceResponse) String() string
- func (m *QueryDerivativeMidPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeMidPriceResponse) XXX_DiscardUnknown()
- func (m *QueryDerivativeMidPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeMidPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeMidPriceResponse) XXX_Size() int
- func (m *QueryDerivativeMidPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryDerivativeOrderbookRequest
- func (*QueryDerivativeOrderbookRequest) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeOrderbookRequest) GetLimit() uint64
- func (m *QueryDerivativeOrderbookRequest) GetMarketId() string
- func (m *QueryDerivativeOrderbookRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeOrderbookRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeOrderbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeOrderbookRequest) ProtoMessage()
- func (m *QueryDerivativeOrderbookRequest) Reset()
- func (m *QueryDerivativeOrderbookRequest) Size() (n int)
- func (m *QueryDerivativeOrderbookRequest) String() string
- func (m *QueryDerivativeOrderbookRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeOrderbookRequest) XXX_DiscardUnknown()
- func (m *QueryDerivativeOrderbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeOrderbookRequest) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeOrderbookRequest) XXX_Size() int
- func (m *QueryDerivativeOrderbookRequest) XXX_Unmarshal(b []byte) error
- type QueryDerivativeOrderbookResponse
- func (*QueryDerivativeOrderbookResponse) Descriptor() ([]byte, []int)
- func (m *QueryDerivativeOrderbookResponse) GetBuysPriceLevel() []*PriceLevel
- func (m *QueryDerivativeOrderbookResponse) GetSellsPriceLevel() []*PriceLevel
- func (m *QueryDerivativeOrderbookResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDerivativeOrderbookResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDerivativeOrderbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDerivativeOrderbookResponse) ProtoMessage()
- func (m *QueryDerivativeOrderbookResponse) Reset()
- func (m *QueryDerivativeOrderbookResponse) Size() (n int)
- func (m *QueryDerivativeOrderbookResponse) String() string
- func (m *QueryDerivativeOrderbookResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDerivativeOrderbookResponse) XXX_DiscardUnknown()
- func (m *QueryDerivativeOrderbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDerivativeOrderbookResponse) XXX_Merge(src proto.Message)
- func (m *QueryDerivativeOrderbookResponse) XXX_Size() int
- func (m *QueryDerivativeOrderbookResponse) XXX_Unmarshal(b []byte) error
- type QueryExchangeBalancesRequest
- func (*QueryExchangeBalancesRequest) Descriptor() ([]byte, []int)
- func (m *QueryExchangeBalancesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExchangeBalancesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExchangeBalancesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExchangeBalancesRequest) ProtoMessage()
- func (m *QueryExchangeBalancesRequest) Reset()
- func (m *QueryExchangeBalancesRequest) Size() (n int)
- func (m *QueryExchangeBalancesRequest) String() string
- func (m *QueryExchangeBalancesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExchangeBalancesRequest) XXX_DiscardUnknown()
- func (m *QueryExchangeBalancesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExchangeBalancesRequest) XXX_Merge(src proto.Message)
- func (m *QueryExchangeBalancesRequest) XXX_Size() int
- func (m *QueryExchangeBalancesRequest) XXX_Unmarshal(b []byte) error
- type QueryExchangeBalancesResponse
- func (*QueryExchangeBalancesResponse) Descriptor() ([]byte, []int)
- func (m *QueryExchangeBalancesResponse) GetBalances() []Balance
- func (m *QueryExchangeBalancesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExchangeBalancesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExchangeBalancesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExchangeBalancesResponse) ProtoMessage()
- func (m *QueryExchangeBalancesResponse) Reset()
- func (m *QueryExchangeBalancesResponse) Size() (n int)
- func (m *QueryExchangeBalancesResponse) String() string
- func (m *QueryExchangeBalancesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExchangeBalancesResponse) XXX_DiscardUnknown()
- func (m *QueryExchangeBalancesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExchangeBalancesResponse) XXX_Merge(src proto.Message)
- func (m *QueryExchangeBalancesResponse) XXX_Size() int
- func (m *QueryExchangeBalancesResponse) XXX_Unmarshal(b []byte) error
- type QueryExchangeParamsRequest
- func (*QueryExchangeParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryExchangeParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExchangeParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExchangeParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExchangeParamsRequest) ProtoMessage()
- func (m *QueryExchangeParamsRequest) Reset()
- func (m *QueryExchangeParamsRequest) Size() (n int)
- func (m *QueryExchangeParamsRequest) String() string
- func (m *QueryExchangeParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExchangeParamsRequest) XXX_DiscardUnknown()
- func (m *QueryExchangeParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExchangeParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryExchangeParamsRequest) XXX_Size() int
- func (m *QueryExchangeParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryExchangeParamsResponse
- func (*QueryExchangeParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryExchangeParamsResponse) GetParams() Params
- func (m *QueryExchangeParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExchangeParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExchangeParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExchangeParamsResponse) ProtoMessage()
- func (m *QueryExchangeParamsResponse) Reset()
- func (m *QueryExchangeParamsResponse) Size() (n int)
- func (m *QueryExchangeParamsResponse) String() string
- func (m *QueryExchangeParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExchangeParamsResponse) XXX_DiscardUnknown()
- func (m *QueryExchangeParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExchangeParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryExchangeParamsResponse) XXX_Size() int
- func (m *QueryExchangeParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryExpiryFuturesMarketInfoRequest
- func (*QueryExpiryFuturesMarketInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryExpiryFuturesMarketInfoRequest) GetMarketId() string
- func (m *QueryExpiryFuturesMarketInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryExpiryFuturesMarketInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExpiryFuturesMarketInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExpiryFuturesMarketInfoRequest) ProtoMessage()
- func (m *QueryExpiryFuturesMarketInfoRequest) Reset()
- func (m *QueryExpiryFuturesMarketInfoRequest) Size() (n int)
- func (m *QueryExpiryFuturesMarketInfoRequest) String() string
- func (m *QueryExpiryFuturesMarketInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryExpiryFuturesMarketInfoRequest) XXX_DiscardUnknown()
- func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Size() int
- func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryExpiryFuturesMarketInfoResponse
- func (*QueryExpiryFuturesMarketInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryExpiryFuturesMarketInfoResponse) GetInfo() ExpiryFuturesMarketInfo
- func (m *QueryExpiryFuturesMarketInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryExpiryFuturesMarketInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryExpiryFuturesMarketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryExpiryFuturesMarketInfoResponse) ProtoMessage()
- func (m *QueryExpiryFuturesMarketInfoResponse) Reset()
- func (m *QueryExpiryFuturesMarketInfoResponse) Size() (n int)
- func (m *QueryExpiryFuturesMarketInfoResponse) String() string
- func (m *QueryExpiryFuturesMarketInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryExpiryFuturesMarketInfoResponse) XXX_DiscardUnknown()
- func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Size() int
- func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeDiscountAccountInfoRequest
- func (*QueryFeeDiscountAccountInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeDiscountAccountInfoRequest) GetAccount() string
- func (m *QueryFeeDiscountAccountInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeDiscountAccountInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeDiscountAccountInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeDiscountAccountInfoRequest) ProtoMessage()
- func (m *QueryFeeDiscountAccountInfoRequest) Reset()
- func (m *QueryFeeDiscountAccountInfoRequest) Size() (n int)
- func (m *QueryFeeDiscountAccountInfoRequest) String() string
- func (m *QueryFeeDiscountAccountInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeDiscountAccountInfoRequest) XXX_DiscardUnknown()
- func (m *QueryFeeDiscountAccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeDiscountAccountInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeDiscountAccountInfoRequest) XXX_Size() int
- func (m *QueryFeeDiscountAccountInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeDiscountAccountInfoResponse
- func (*QueryFeeDiscountAccountInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeDiscountAccountInfoResponse) GetAccountInfo() *FeeDiscountTierInfo
- func (m *QueryFeeDiscountAccountInfoResponse) GetAccountTtl() *FeeDiscountTierTTL
- func (m *QueryFeeDiscountAccountInfoResponse) GetTierLevel() uint64
- func (m *QueryFeeDiscountAccountInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeDiscountAccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeDiscountAccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeDiscountAccountInfoResponse) ProtoMessage()
- func (m *QueryFeeDiscountAccountInfoResponse) Reset()
- func (m *QueryFeeDiscountAccountInfoResponse) Size() (n int)
- func (m *QueryFeeDiscountAccountInfoResponse) String() string
- func (m *QueryFeeDiscountAccountInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeDiscountAccountInfoResponse) XXX_DiscardUnknown()
- func (m *QueryFeeDiscountAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeDiscountAccountInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeDiscountAccountInfoResponse) XXX_Size() int
- func (m *QueryFeeDiscountAccountInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeDiscountScheduleRequest
- func (*QueryFeeDiscountScheduleRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeDiscountScheduleRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeDiscountScheduleRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeDiscountScheduleRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeDiscountScheduleRequest) ProtoMessage()
- func (m *QueryFeeDiscountScheduleRequest) Reset()
- func (m *QueryFeeDiscountScheduleRequest) Size() (n int)
- func (m *QueryFeeDiscountScheduleRequest) String() string
- func (m *QueryFeeDiscountScheduleRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeDiscountScheduleRequest) XXX_DiscardUnknown()
- func (m *QueryFeeDiscountScheduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeDiscountScheduleRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeDiscountScheduleRequest) XXX_Size() int
- func (m *QueryFeeDiscountScheduleRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeDiscountScheduleResponse
- func (*QueryFeeDiscountScheduleResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeDiscountScheduleResponse) GetFeeDiscountSchedule() *FeeDiscountSchedule
- func (m *QueryFeeDiscountScheduleResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeDiscountScheduleResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeDiscountScheduleResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeDiscountScheduleResponse) ProtoMessage()
- func (m *QueryFeeDiscountScheduleResponse) Reset()
- func (m *QueryFeeDiscountScheduleResponse) Size() (n int)
- func (m *QueryFeeDiscountScheduleResponse) String() string
- func (m *QueryFeeDiscountScheduleResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeDiscountScheduleResponse) XXX_DiscardUnknown()
- func (m *QueryFeeDiscountScheduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeDiscountScheduleResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeDiscountScheduleResponse) XXX_Size() int
- func (m *QueryFeeDiscountScheduleResponse) XXX_Unmarshal(b []byte) error
- type QueryFeeDiscountTierStatisticsRequest
- func (*QueryFeeDiscountTierStatisticsRequest) Descriptor() ([]byte, []int)
- func (m *QueryFeeDiscountTierStatisticsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeDiscountTierStatisticsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeDiscountTierStatisticsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeDiscountTierStatisticsRequest) ProtoMessage()
- func (m *QueryFeeDiscountTierStatisticsRequest) Reset()
- func (m *QueryFeeDiscountTierStatisticsRequest) Size() (n int)
- func (m *QueryFeeDiscountTierStatisticsRequest) String() string
- func (m *QueryFeeDiscountTierStatisticsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryFeeDiscountTierStatisticsRequest) XXX_DiscardUnknown()
- func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Merge(src proto.Message)
- func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Size() int
- func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Unmarshal(b []byte) error
- type QueryFeeDiscountTierStatisticsResponse
- func (*QueryFeeDiscountTierStatisticsResponse) Descriptor() ([]byte, []int)
- func (m *QueryFeeDiscountTierStatisticsResponse) GetStatistics() []*TierStatistic
- func (m *QueryFeeDiscountTierStatisticsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryFeeDiscountTierStatisticsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryFeeDiscountTierStatisticsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryFeeDiscountTierStatisticsResponse) ProtoMessage()
- func (m *QueryFeeDiscountTierStatisticsResponse) Reset()
- func (m *QueryFeeDiscountTierStatisticsResponse) Size() (n int)
- func (m *QueryFeeDiscountTierStatisticsResponse) String() string
- func (m *QueryFeeDiscountTierStatisticsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryFeeDiscountTierStatisticsResponse) XXX_DiscardUnknown()
- func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Merge(src proto.Message)
- func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Size() int
- func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Unmarshal(b []byte) error
- type QueryHistoricalTradeRecordsRequest
- func (*QueryHistoricalTradeRecordsRequest) Descriptor() ([]byte, []int)
- func (m *QueryHistoricalTradeRecordsRequest) GetMarketId() string
- func (m *QueryHistoricalTradeRecordsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryHistoricalTradeRecordsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHistoricalTradeRecordsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHistoricalTradeRecordsRequest) ProtoMessage()
- func (m *QueryHistoricalTradeRecordsRequest) Reset()
- func (m *QueryHistoricalTradeRecordsRequest) Size() (n int)
- func (m *QueryHistoricalTradeRecordsRequest) String() string
- func (m *QueryHistoricalTradeRecordsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryHistoricalTradeRecordsRequest) XXX_DiscardUnknown()
- func (m *QueryHistoricalTradeRecordsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHistoricalTradeRecordsRequest) XXX_Merge(src proto.Message)
- func (m *QueryHistoricalTradeRecordsRequest) XXX_Size() int
- func (m *QueryHistoricalTradeRecordsRequest) XXX_Unmarshal(b []byte) error
- type QueryHistoricalTradeRecordsResponse
- func (*QueryHistoricalTradeRecordsResponse) Descriptor() ([]byte, []int)
- func (m *QueryHistoricalTradeRecordsResponse) GetTradeRecords() []*TradeRecords
- func (m *QueryHistoricalTradeRecordsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryHistoricalTradeRecordsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryHistoricalTradeRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryHistoricalTradeRecordsResponse) ProtoMessage()
- func (m *QueryHistoricalTradeRecordsResponse) Reset()
- func (m *QueryHistoricalTradeRecordsResponse) Size() (n int)
- func (m *QueryHistoricalTradeRecordsResponse) String() string
- func (m *QueryHistoricalTradeRecordsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryHistoricalTradeRecordsResponse) XXX_DiscardUnknown()
- func (m *QueryHistoricalTradeRecordsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryHistoricalTradeRecordsResponse) XXX_Merge(src proto.Message)
- func (m *QueryHistoricalTradeRecordsResponse) XXX_Size() int
- func (m *QueryHistoricalTradeRecordsResponse) XXX_Unmarshal(b []byte) error
- type QueryIsRegisteredDMMRequest
- func (*QueryIsRegisteredDMMRequest) Descriptor() ([]byte, []int)
- func (m *QueryIsRegisteredDMMRequest) GetAccount() string
- func (m *QueryIsRegisteredDMMRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryIsRegisteredDMMRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIsRegisteredDMMRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIsRegisteredDMMRequest) ProtoMessage()
- func (m *QueryIsRegisteredDMMRequest) Reset()
- func (m *QueryIsRegisteredDMMRequest) Size() (n int)
- func (m *QueryIsRegisteredDMMRequest) String() string
- func (m *QueryIsRegisteredDMMRequest) Unmarshal(dAtA []byte) error
- func (m *QueryIsRegisteredDMMRequest) XXX_DiscardUnknown()
- func (m *QueryIsRegisteredDMMRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIsRegisteredDMMRequest) XXX_Merge(src proto.Message)
- func (m *QueryIsRegisteredDMMRequest) XXX_Size() int
- func (m *QueryIsRegisteredDMMRequest) XXX_Unmarshal(b []byte) error
- type QueryIsRegisteredDMMResponse
- func (*QueryIsRegisteredDMMResponse) Descriptor() ([]byte, []int)
- func (m *QueryIsRegisteredDMMResponse) GetIsRegisteredDmm() bool
- func (m *QueryIsRegisteredDMMResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryIsRegisteredDMMResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryIsRegisteredDMMResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryIsRegisteredDMMResponse) ProtoMessage()
- func (m *QueryIsRegisteredDMMResponse) Reset()
- func (m *QueryIsRegisteredDMMResponse) Size() (n int)
- func (m *QueryIsRegisteredDMMResponse) String() string
- func (m *QueryIsRegisteredDMMResponse) Unmarshal(dAtA []byte) error
- func (m *QueryIsRegisteredDMMResponse) XXX_DiscardUnknown()
- func (m *QueryIsRegisteredDMMResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryIsRegisteredDMMResponse) XXX_Merge(src proto.Message)
- func (m *QueryIsRegisteredDMMResponse) XXX_Size() int
- func (m *QueryIsRegisteredDMMResponse) XXX_Unmarshal(b []byte) error
- type QueryMarketIDFromVaultRequest
- func (*QueryMarketIDFromVaultRequest) Descriptor() ([]byte, []int)
- func (m *QueryMarketIDFromVaultRequest) GetVaultSubaccountId() string
- func (m *QueryMarketIDFromVaultRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketIDFromVaultRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketIDFromVaultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketIDFromVaultRequest) ProtoMessage()
- func (m *QueryMarketIDFromVaultRequest) Reset()
- func (m *QueryMarketIDFromVaultRequest) Size() (n int)
- func (m *QueryMarketIDFromVaultRequest) String() string
- func (m *QueryMarketIDFromVaultRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMarketIDFromVaultRequest) XXX_DiscardUnknown()
- func (m *QueryMarketIDFromVaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketIDFromVaultRequest) XXX_Merge(src proto.Message)
- func (m *QueryMarketIDFromVaultRequest) XXX_Size() int
- func (m *QueryMarketIDFromVaultRequest) XXX_Unmarshal(b []byte) error
- type QueryMarketIDFromVaultResponse
- func (*QueryMarketIDFromVaultResponse) Descriptor() ([]byte, []int)
- func (m *QueryMarketIDFromVaultResponse) GetMarketId() string
- func (m *QueryMarketIDFromVaultResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketIDFromVaultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketIDFromVaultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketIDFromVaultResponse) ProtoMessage()
- func (m *QueryMarketIDFromVaultResponse) Reset()
- func (m *QueryMarketIDFromVaultResponse) Size() (n int)
- func (m *QueryMarketIDFromVaultResponse) String() string
- func (m *QueryMarketIDFromVaultResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMarketIDFromVaultResponse) XXX_DiscardUnknown()
- func (m *QueryMarketIDFromVaultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketIDFromVaultResponse) XXX_Merge(src proto.Message)
- func (m *QueryMarketIDFromVaultResponse) XXX_Size() int
- func (m *QueryMarketIDFromVaultResponse) XXX_Unmarshal(b []byte) error
- type QueryMarketVolatilityRequest
- func (*QueryMarketVolatilityRequest) Descriptor() ([]byte, []int)
- func (m *QueryMarketVolatilityRequest) GetMarketId() string
- func (m *QueryMarketVolatilityRequest) GetTradeHistoryOptions() *TradeHistoryOptions
- func (m *QueryMarketVolatilityRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketVolatilityRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketVolatilityRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketVolatilityRequest) ProtoMessage()
- func (m *QueryMarketVolatilityRequest) Reset()
- func (m *QueryMarketVolatilityRequest) Size() (n int)
- func (m *QueryMarketVolatilityRequest) String() string
- func (m *QueryMarketVolatilityRequest) Unmarshal(dAtA []byte) error
- func (m *QueryMarketVolatilityRequest) XXX_DiscardUnknown()
- func (m *QueryMarketVolatilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketVolatilityRequest) XXX_Merge(src proto.Message)
- func (m *QueryMarketVolatilityRequest) XXX_Size() int
- func (m *QueryMarketVolatilityRequest) XXX_Unmarshal(b []byte) error
- type QueryMarketVolatilityResponse
- func (*QueryMarketVolatilityResponse) Descriptor() ([]byte, []int)
- func (m *QueryMarketVolatilityResponse) GetHistoryMetadata() *types.MetadataStatistics
- func (m *QueryMarketVolatilityResponse) GetRawHistory() []*TradeRecord
- func (m *QueryMarketVolatilityResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryMarketVolatilityResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryMarketVolatilityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryMarketVolatilityResponse) ProtoMessage()
- func (m *QueryMarketVolatilityResponse) Reset()
- func (m *QueryMarketVolatilityResponse) Size() (n int)
- func (m *QueryMarketVolatilityResponse) String() string
- func (m *QueryMarketVolatilityResponse) Unmarshal(dAtA []byte) error
- func (m *QueryMarketVolatilityResponse) XXX_DiscardUnknown()
- func (m *QueryMarketVolatilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryMarketVolatilityResponse) XXX_Merge(src proto.Message)
- func (m *QueryMarketVolatilityResponse) XXX_Size() int
- func (m *QueryMarketVolatilityResponse) XXX_Unmarshal(b []byte) error
- type QueryModuleStateRequest
- func (*QueryModuleStateRequest) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateRequest) ProtoMessage()
- func (m *QueryModuleStateRequest) Reset()
- func (m *QueryModuleStateRequest) Size() (n int)
- func (m *QueryModuleStateRequest) String() string
- func (m *QueryModuleStateRequest) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateRequest) XXX_DiscardUnknown()
- func (m *QueryModuleStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateRequest) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateRequest) XXX_Size() int
- func (m *QueryModuleStateRequest) XXX_Unmarshal(b []byte) error
- type QueryModuleStateResponse
- func (*QueryModuleStateResponse) Descriptor() ([]byte, []int)
- func (m *QueryModuleStateResponse) GetState() *GenesisState
- func (m *QueryModuleStateResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryModuleStateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryModuleStateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryModuleStateResponse) ProtoMessage()
- func (m *QueryModuleStateResponse) Reset()
- func (m *QueryModuleStateResponse) Size() (n int)
- func (m *QueryModuleStateResponse) String() string
- func (m *QueryModuleStateResponse) Unmarshal(dAtA []byte) error
- func (m *QueryModuleStateResponse) XXX_DiscardUnknown()
- func (m *QueryModuleStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryModuleStateResponse) XXX_Merge(src proto.Message)
- func (m *QueryModuleStateResponse) XXX_Size() int
- func (m *QueryModuleStateResponse) XXX_Unmarshal(b []byte) error
- type QueryPerpetualMarketFundingRequest
- func (*QueryPerpetualMarketFundingRequest) Descriptor() ([]byte, []int)
- func (m *QueryPerpetualMarketFundingRequest) GetMarketId() string
- func (m *QueryPerpetualMarketFundingRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPerpetualMarketFundingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPerpetualMarketFundingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPerpetualMarketFundingRequest) ProtoMessage()
- func (m *QueryPerpetualMarketFundingRequest) Reset()
- func (m *QueryPerpetualMarketFundingRequest) Size() (n int)
- func (m *QueryPerpetualMarketFundingRequest) String() string
- func (m *QueryPerpetualMarketFundingRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPerpetualMarketFundingRequest) XXX_DiscardUnknown()
- func (m *QueryPerpetualMarketFundingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPerpetualMarketFundingRequest) XXX_Merge(src proto.Message)
- func (m *QueryPerpetualMarketFundingRequest) XXX_Size() int
- func (m *QueryPerpetualMarketFundingRequest) XXX_Unmarshal(b []byte) error
- type QueryPerpetualMarketFundingResponse
- func (*QueryPerpetualMarketFundingResponse) Descriptor() ([]byte, []int)
- func (m *QueryPerpetualMarketFundingResponse) GetState() PerpetualMarketFunding
- func (m *QueryPerpetualMarketFundingResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPerpetualMarketFundingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPerpetualMarketFundingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPerpetualMarketFundingResponse) ProtoMessage()
- func (m *QueryPerpetualMarketFundingResponse) Reset()
- func (m *QueryPerpetualMarketFundingResponse) Size() (n int)
- func (m *QueryPerpetualMarketFundingResponse) String() string
- func (m *QueryPerpetualMarketFundingResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPerpetualMarketFundingResponse) XXX_DiscardUnknown()
- func (m *QueryPerpetualMarketFundingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPerpetualMarketFundingResponse) XXX_Merge(src proto.Message)
- func (m *QueryPerpetualMarketFundingResponse) XXX_Size() int
- func (m *QueryPerpetualMarketFundingResponse) XXX_Unmarshal(b []byte) error
- type QueryPerpetualMarketInfoRequest
- func (*QueryPerpetualMarketInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryPerpetualMarketInfoRequest) GetMarketId() string
- func (m *QueryPerpetualMarketInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPerpetualMarketInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPerpetualMarketInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPerpetualMarketInfoRequest) ProtoMessage()
- func (m *QueryPerpetualMarketInfoRequest) Reset()
- func (m *QueryPerpetualMarketInfoRequest) Size() (n int)
- func (m *QueryPerpetualMarketInfoRequest) String() string
- func (m *QueryPerpetualMarketInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPerpetualMarketInfoRequest) XXX_DiscardUnknown()
- func (m *QueryPerpetualMarketInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPerpetualMarketInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryPerpetualMarketInfoRequest) XXX_Size() int
- func (m *QueryPerpetualMarketInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryPerpetualMarketInfoResponse
- func (*QueryPerpetualMarketInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryPerpetualMarketInfoResponse) GetInfo() PerpetualMarketInfo
- func (m *QueryPerpetualMarketInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPerpetualMarketInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPerpetualMarketInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPerpetualMarketInfoResponse) ProtoMessage()
- func (m *QueryPerpetualMarketInfoResponse) Reset()
- func (m *QueryPerpetualMarketInfoResponse) Size() (n int)
- func (m *QueryPerpetualMarketInfoResponse) String() string
- func (m *QueryPerpetualMarketInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPerpetualMarketInfoResponse) XXX_DiscardUnknown()
- func (m *QueryPerpetualMarketInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPerpetualMarketInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryPerpetualMarketInfoResponse) XXX_Size() int
- func (m *QueryPerpetualMarketInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryPositionsRequest
- func (*QueryPositionsRequest) Descriptor() ([]byte, []int)
- func (m *QueryPositionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPositionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPositionsRequest) ProtoMessage()
- func (m *QueryPositionsRequest) Reset()
- func (m *QueryPositionsRequest) Size() (n int)
- func (m *QueryPositionsRequest) String() string
- func (m *QueryPositionsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPositionsRequest) XXX_DiscardUnknown()
- func (m *QueryPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPositionsRequest) XXX_Merge(src proto.Message)
- func (m *QueryPositionsRequest) XXX_Size() int
- func (m *QueryPositionsRequest) XXX_Unmarshal(b []byte) error
- type QueryPositionsResponse
- func (*QueryPositionsResponse) Descriptor() ([]byte, []int)
- func (m *QueryPositionsResponse) GetState() []DerivativePosition
- func (m *QueryPositionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPositionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPositionsResponse) ProtoMessage()
- func (m *QueryPositionsResponse) Reset()
- func (m *QueryPositionsResponse) Size() (n int)
- func (m *QueryPositionsResponse) String() string
- func (m *QueryPositionsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPositionsResponse) XXX_DiscardUnknown()
- func (m *QueryPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPositionsResponse) XXX_Merge(src proto.Message)
- func (m *QueryPositionsResponse) XXX_Size() int
- func (m *QueryPositionsResponse) XXX_Unmarshal(b []byte) error
- type QueryRegisteredDMMsRequest
- func (*QueryRegisteredDMMsRequest) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredDMMsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredDMMsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredDMMsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredDMMsRequest) ProtoMessage()
- func (m *QueryRegisteredDMMsRequest) Reset()
- func (m *QueryRegisteredDMMsRequest) Size() (n int)
- func (m *QueryRegisteredDMMsRequest) String() string
- func (m *QueryRegisteredDMMsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredDMMsRequest) XXX_DiscardUnknown()
- func (m *QueryRegisteredDMMsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredDMMsRequest) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredDMMsRequest) XXX_Size() int
- func (m *QueryRegisteredDMMsRequest) XXX_Unmarshal(b []byte) error
- type QueryRegisteredDMMsResponse
- func (*QueryRegisteredDMMsResponse) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredDMMsResponse) GetRegisteredDmms() []string
- func (m *QueryRegisteredDMMsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredDMMsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredDMMsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredDMMsResponse) ProtoMessage()
- func (m *QueryRegisteredDMMsResponse) Reset()
- func (m *QueryRegisteredDMMsResponse) Size() (n int)
- func (m *QueryRegisteredDMMsResponse) String() string
- func (m *QueryRegisteredDMMsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredDMMsResponse) XXX_DiscardUnknown()
- func (m *QueryRegisteredDMMsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredDMMsResponse) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredDMMsResponse) XXX_Size() int
- func (m *QueryRegisteredDMMsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QuerySpotMarketRequest
- func (*QuerySpotMarketRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpotMarketRequest) GetMarketId() string
- func (m *QuerySpotMarketRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotMarketRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotMarketRequest) ProtoMessage()
- func (m *QuerySpotMarketRequest) Reset()
- func (m *QuerySpotMarketRequest) Size() (n int)
- func (m *QuerySpotMarketRequest) String() string
- func (m *QuerySpotMarketRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpotMarketRequest) XXX_DiscardUnknown()
- func (m *QuerySpotMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotMarketRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpotMarketRequest) XXX_Size() int
- func (m *QuerySpotMarketRequest) XXX_Unmarshal(b []byte) error
- type QuerySpotMarketResponse
- func (*QuerySpotMarketResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpotMarketResponse) GetMarket() *SpotMarket
- func (m *QuerySpotMarketResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotMarketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotMarketResponse) ProtoMessage()
- func (m *QuerySpotMarketResponse) Reset()
- func (m *QuerySpotMarketResponse) Size() (n int)
- func (m *QuerySpotMarketResponse) String() string
- func (m *QuerySpotMarketResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpotMarketResponse) XXX_DiscardUnknown()
- func (m *QuerySpotMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotMarketResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpotMarketResponse) XXX_Size() int
- func (m *QuerySpotMarketResponse) XXX_Unmarshal(b []byte) error
- type QuerySpotMarketsRequest
- func (*QuerySpotMarketsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpotMarketsRequest) GetStatus() string
- func (m *QuerySpotMarketsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotMarketsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotMarketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotMarketsRequest) ProtoMessage()
- func (m *QuerySpotMarketsRequest) Reset()
- func (m *QuerySpotMarketsRequest) Size() (n int)
- func (m *QuerySpotMarketsRequest) String() string
- func (m *QuerySpotMarketsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpotMarketsRequest) XXX_DiscardUnknown()
- func (m *QuerySpotMarketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotMarketsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpotMarketsRequest) XXX_Size() int
- func (m *QuerySpotMarketsRequest) XXX_Unmarshal(b []byte) error
- type QuerySpotMarketsResponse
- func (*QuerySpotMarketsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpotMarketsResponse) GetMarkets() []*SpotMarket
- func (m *QuerySpotMarketsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotMarketsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotMarketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotMarketsResponse) ProtoMessage()
- func (m *QuerySpotMarketsResponse) Reset()
- func (m *QuerySpotMarketsResponse) Size() (n int)
- func (m *QuerySpotMarketsResponse) String() string
- func (m *QuerySpotMarketsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpotMarketsResponse) XXX_DiscardUnknown()
- func (m *QuerySpotMarketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotMarketsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpotMarketsResponse) XXX_Size() int
- func (m *QuerySpotMarketsResponse) XXX_Unmarshal(b []byte) error
- type QuerySpotMidPriceRequest
- func (*QuerySpotMidPriceRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpotMidPriceRequest) GetMarketId() string
- func (m *QuerySpotMidPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotMidPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotMidPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotMidPriceRequest) ProtoMessage()
- func (m *QuerySpotMidPriceRequest) Reset()
- func (m *QuerySpotMidPriceRequest) Size() (n int)
- func (m *QuerySpotMidPriceRequest) String() string
- func (m *QuerySpotMidPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpotMidPriceRequest) XXX_DiscardUnknown()
- func (m *QuerySpotMidPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotMidPriceRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpotMidPriceRequest) XXX_Size() int
- func (m *QuerySpotMidPriceRequest) XXX_Unmarshal(b []byte) error
- type QuerySpotMidPriceResponse
- func (*QuerySpotMidPriceResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpotMidPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotMidPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotMidPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotMidPriceResponse) ProtoMessage()
- func (m *QuerySpotMidPriceResponse) Reset()
- func (m *QuerySpotMidPriceResponse) Size() (n int)
- func (m *QuerySpotMidPriceResponse) String() string
- func (m *QuerySpotMidPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpotMidPriceResponse) XXX_DiscardUnknown()
- func (m *QuerySpotMidPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotMidPriceResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpotMidPriceResponse) XXX_Size() int
- func (m *QuerySpotMidPriceResponse) XXX_Unmarshal(b []byte) error
- type QuerySpotOrderbookRequest
- func (*QuerySpotOrderbookRequest) Descriptor() ([]byte, []int)
- func (m *QuerySpotOrderbookRequest) GetLimit() uint64
- func (m *QuerySpotOrderbookRequest) GetMarketId() string
- func (m *QuerySpotOrderbookRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotOrderbookRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotOrderbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotOrderbookRequest) ProtoMessage()
- func (m *QuerySpotOrderbookRequest) Reset()
- func (m *QuerySpotOrderbookRequest) Size() (n int)
- func (m *QuerySpotOrderbookRequest) String() string
- func (m *QuerySpotOrderbookRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySpotOrderbookRequest) XXX_DiscardUnknown()
- func (m *QuerySpotOrderbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotOrderbookRequest) XXX_Merge(src proto.Message)
- func (m *QuerySpotOrderbookRequest) XXX_Size() int
- func (m *QuerySpotOrderbookRequest) XXX_Unmarshal(b []byte) error
- type QuerySpotOrderbookResponse
- func (*QuerySpotOrderbookResponse) Descriptor() ([]byte, []int)
- func (m *QuerySpotOrderbookResponse) GetBuysPriceLevel() []*PriceLevel
- func (m *QuerySpotOrderbookResponse) GetSellsPriceLevel() []*PriceLevel
- func (m *QuerySpotOrderbookResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySpotOrderbookResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySpotOrderbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySpotOrderbookResponse) ProtoMessage()
- func (m *QuerySpotOrderbookResponse) Reset()
- func (m *QuerySpotOrderbookResponse) Size() (n int)
- func (m *QuerySpotOrderbookResponse) String() string
- func (m *QuerySpotOrderbookResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySpotOrderbookResponse) XXX_DiscardUnknown()
- func (m *QuerySpotOrderbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySpotOrderbookResponse) XXX_Merge(src proto.Message)
- func (m *QuerySpotOrderbookResponse) XXX_Size() int
- func (m *QuerySpotOrderbookResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountDepositRequest
- func (*QuerySubaccountDepositRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountDepositRequest) GetDenom() string
- func (m *QuerySubaccountDepositRequest) GetSubaccountId() string
- func (m *QuerySubaccountDepositRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountDepositRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountDepositRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountDepositRequest) ProtoMessage()
- func (m *QuerySubaccountDepositRequest) Reset()
- func (m *QuerySubaccountDepositRequest) Size() (n int)
- func (m *QuerySubaccountDepositRequest) String() string
- func (m *QuerySubaccountDepositRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountDepositRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountDepositRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountDepositRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountDepositRequest) XXX_Size() int
- func (m *QuerySubaccountDepositRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountDepositResponse
- func (*QuerySubaccountDepositResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountDepositResponse) GetDeposits() *Deposit
- func (m *QuerySubaccountDepositResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountDepositResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountDepositResponse) ProtoMessage()
- func (m *QuerySubaccountDepositResponse) Reset()
- func (m *QuerySubaccountDepositResponse) Size() (n int)
- func (m *QuerySubaccountDepositResponse) String() string
- func (m *QuerySubaccountDepositResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountDepositResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountDepositResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountDepositResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountDepositResponse) XXX_Size() int
- func (m *QuerySubaccountDepositResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountDepositsRequest
- func (*QuerySubaccountDepositsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountDepositsRequest) GetSubaccount() *Subaccount
- func (m *QuerySubaccountDepositsRequest) GetSubaccountId() string
- func (m *QuerySubaccountDepositsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountDepositsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountDepositsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountDepositsRequest) ProtoMessage()
- func (m *QuerySubaccountDepositsRequest) Reset()
- func (m *QuerySubaccountDepositsRequest) Size() (n int)
- func (m *QuerySubaccountDepositsRequest) String() string
- func (m *QuerySubaccountDepositsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountDepositsRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountDepositsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountDepositsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountDepositsRequest) XXX_Size() int
- func (m *QuerySubaccountDepositsRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountDepositsResponse
- func (*QuerySubaccountDepositsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountDepositsResponse) GetDeposits() map[string]*Deposit
- func (m *QuerySubaccountDepositsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountDepositsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountDepositsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountDepositsResponse) ProtoMessage()
- func (m *QuerySubaccountDepositsResponse) Reset()
- func (m *QuerySubaccountDepositsResponse) Size() (n int)
- func (m *QuerySubaccountDepositsResponse) String() string
- func (m *QuerySubaccountDepositsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountDepositsResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountDepositsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountDepositsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountDepositsResponse) XXX_Size() int
- func (m *QuerySubaccountDepositsResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountEffectivePositionInMarketRequest
- func (*QuerySubaccountEffectivePositionInMarketRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountEffectivePositionInMarketRequest) GetMarketId() string
- func (m *QuerySubaccountEffectivePositionInMarketRequest) GetSubaccountId() string
- func (m *QuerySubaccountEffectivePositionInMarketRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountEffectivePositionInMarketRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountEffectivePositionInMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountEffectivePositionInMarketRequest) ProtoMessage()
- func (m *QuerySubaccountEffectivePositionInMarketRequest) Reset()
- func (m *QuerySubaccountEffectivePositionInMarketRequest) Size() (n int)
- func (m *QuerySubaccountEffectivePositionInMarketRequest) String() string
- func (m *QuerySubaccountEffectivePositionInMarketRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Size() int
- func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountEffectivePositionInMarketResponse
- func (*QuerySubaccountEffectivePositionInMarketResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountEffectivePositionInMarketResponse) GetState() *EffectivePosition
- func (m *QuerySubaccountEffectivePositionInMarketResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountEffectivePositionInMarketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountEffectivePositionInMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountEffectivePositionInMarketResponse) ProtoMessage()
- func (m *QuerySubaccountEffectivePositionInMarketResponse) Reset()
- func (m *QuerySubaccountEffectivePositionInMarketResponse) Size() (n int)
- func (m *QuerySubaccountEffectivePositionInMarketResponse) String() string
- func (m *QuerySubaccountEffectivePositionInMarketResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Size() int
- func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountOrderMetadataRequest
- func (*QuerySubaccountOrderMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountOrderMetadataRequest) GetSubaccountId() string
- func (m *QuerySubaccountOrderMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountOrderMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountOrderMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountOrderMetadataRequest) ProtoMessage()
- func (m *QuerySubaccountOrderMetadataRequest) Reset()
- func (m *QuerySubaccountOrderMetadataRequest) Size() (n int)
- func (m *QuerySubaccountOrderMetadataRequest) String() string
- func (m *QuerySubaccountOrderMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountOrderMetadataRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountOrderMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountOrderMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountOrderMetadataRequest) XXX_Size() int
- func (m *QuerySubaccountOrderMetadataRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountOrderMetadataResponse
- func (*QuerySubaccountOrderMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountOrderMetadataResponse) GetMetadata() []SubaccountOrderbookMetadataWithMarket
- func (m *QuerySubaccountOrderMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountOrderMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountOrderMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountOrderMetadataResponse) ProtoMessage()
- func (m *QuerySubaccountOrderMetadataResponse) Reset()
- func (m *QuerySubaccountOrderMetadataResponse) Size() (n int)
- func (m *QuerySubaccountOrderMetadataResponse) String() string
- func (m *QuerySubaccountOrderMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountOrderMetadataResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountOrderMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountOrderMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountOrderMetadataResponse) XXX_Size() int
- func (m *QuerySubaccountOrderMetadataResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountPositionInMarketRequest
- func (*QuerySubaccountPositionInMarketRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountPositionInMarketRequest) GetMarketId() string
- func (m *QuerySubaccountPositionInMarketRequest) GetSubaccountId() string
- func (m *QuerySubaccountPositionInMarketRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountPositionInMarketRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountPositionInMarketRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountPositionInMarketRequest) ProtoMessage()
- func (m *QuerySubaccountPositionInMarketRequest) Reset()
- func (m *QuerySubaccountPositionInMarketRequest) Size() (n int)
- func (m *QuerySubaccountPositionInMarketRequest) String() string
- func (m *QuerySubaccountPositionInMarketRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountPositionInMarketRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountPositionInMarketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountPositionInMarketRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountPositionInMarketRequest) XXX_Size() int
- func (m *QuerySubaccountPositionInMarketRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountPositionInMarketResponse
- func (*QuerySubaccountPositionInMarketResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountPositionInMarketResponse) GetState() *Position
- func (m *QuerySubaccountPositionInMarketResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountPositionInMarketResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountPositionInMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountPositionInMarketResponse) ProtoMessage()
- func (m *QuerySubaccountPositionInMarketResponse) Reset()
- func (m *QuerySubaccountPositionInMarketResponse) Size() (n int)
- func (m *QuerySubaccountPositionInMarketResponse) String() string
- func (m *QuerySubaccountPositionInMarketResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountPositionInMarketResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountPositionInMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountPositionInMarketResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountPositionInMarketResponse) XXX_Size() int
- func (m *QuerySubaccountPositionInMarketResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountPositionsRequest
- func (*QuerySubaccountPositionsRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountPositionsRequest) GetSubaccountId() string
- func (m *QuerySubaccountPositionsRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountPositionsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountPositionsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountPositionsRequest) ProtoMessage()
- func (m *QuerySubaccountPositionsRequest) Reset()
- func (m *QuerySubaccountPositionsRequest) Size() (n int)
- func (m *QuerySubaccountPositionsRequest) String() string
- func (m *QuerySubaccountPositionsRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountPositionsRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountPositionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountPositionsRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountPositionsRequest) XXX_Size() int
- func (m *QuerySubaccountPositionsRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountPositionsResponse
- func (*QuerySubaccountPositionsResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountPositionsResponse) GetState() []DerivativePosition
- func (m *QuerySubaccountPositionsResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountPositionsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountPositionsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountPositionsResponse) ProtoMessage()
- func (m *QuerySubaccountPositionsResponse) Reset()
- func (m *QuerySubaccountPositionsResponse) Size() (n int)
- func (m *QuerySubaccountPositionsResponse) String() string
- func (m *QuerySubaccountPositionsResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountPositionsResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountPositionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountPositionsResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountPositionsResponse) XXX_Size() int
- func (m *QuerySubaccountPositionsResponse) XXX_Unmarshal(b []byte) error
- type QuerySubaccountTradeNonceRequest
- func (*QuerySubaccountTradeNonceRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountTradeNonceRequest) GetSubaccountId() string
- func (m *QuerySubaccountTradeNonceRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountTradeNonceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountTradeNonceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountTradeNonceRequest) ProtoMessage()
- func (m *QuerySubaccountTradeNonceRequest) Reset()
- func (m *QuerySubaccountTradeNonceRequest) Size() (n int)
- func (m *QuerySubaccountTradeNonceRequest) String() string
- func (m *QuerySubaccountTradeNonceRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountTradeNonceRequest) XXX_DiscardUnknown()
- func (m *QuerySubaccountTradeNonceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountTradeNonceRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountTradeNonceRequest) XXX_Size() int
- func (m *QuerySubaccountTradeNonceRequest) XXX_Unmarshal(b []byte) error
- type QuerySubaccountTradeNonceResponse
- func (*QuerySubaccountTradeNonceResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubaccountTradeNonceResponse) GetNonce() uint32
- func (m *QuerySubaccountTradeNonceResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubaccountTradeNonceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubaccountTradeNonceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubaccountTradeNonceResponse) ProtoMessage()
- func (m *QuerySubaccountTradeNonceResponse) Reset()
- func (m *QuerySubaccountTradeNonceResponse) Size() (n int)
- func (m *QuerySubaccountTradeNonceResponse) String() string
- func (m *QuerySubaccountTradeNonceResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubaccountTradeNonceResponse) XXX_DiscardUnknown()
- func (m *QuerySubaccountTradeNonceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubaccountTradeNonceResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubaccountTradeNonceResponse) XXX_Size() int
- func (m *QuerySubaccountTradeNonceResponse) XXX_Unmarshal(b []byte) error
- type QueryTradeRewardCampaignRequest
- func (*QueryTradeRewardCampaignRequest) Descriptor() ([]byte, []int)
- func (m *QueryTradeRewardCampaignRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTradeRewardCampaignRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTradeRewardCampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTradeRewardCampaignRequest) ProtoMessage()
- func (m *QueryTradeRewardCampaignRequest) Reset()
- func (m *QueryTradeRewardCampaignRequest) Size() (n int)
- func (m *QueryTradeRewardCampaignRequest) String() string
- func (m *QueryTradeRewardCampaignRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTradeRewardCampaignRequest) XXX_DiscardUnknown()
- func (m *QueryTradeRewardCampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTradeRewardCampaignRequest) XXX_Merge(src proto.Message)
- func (m *QueryTradeRewardCampaignRequest) XXX_Size() int
- func (m *QueryTradeRewardCampaignRequest) XXX_Unmarshal(b []byte) error
- type QueryTradeRewardCampaignResponse
- func (*QueryTradeRewardCampaignResponse) Descriptor() ([]byte, []int)
- func (m *QueryTradeRewardCampaignResponse) GetPendingTradingRewardPoolCampaignSchedule() []*CampaignRewardPool
- func (m *QueryTradeRewardCampaignResponse) GetTradingRewardCampaignInfo() *TradingRewardCampaignInfo
- func (m *QueryTradeRewardCampaignResponse) GetTradingRewardPoolCampaignSchedule() []*CampaignRewardPool
- func (m *QueryTradeRewardCampaignResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTradeRewardCampaignResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTradeRewardCampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTradeRewardCampaignResponse) ProtoMessage()
- func (m *QueryTradeRewardCampaignResponse) Reset()
- func (m *QueryTradeRewardCampaignResponse) Size() (n int)
- func (m *QueryTradeRewardCampaignResponse) String() string
- func (m *QueryTradeRewardCampaignResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTradeRewardCampaignResponse) XXX_DiscardUnknown()
- func (m *QueryTradeRewardCampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTradeRewardCampaignResponse) XXX_Merge(src proto.Message)
- func (m *QueryTradeRewardCampaignResponse) XXX_Size() int
- func (m *QueryTradeRewardCampaignResponse) XXX_Unmarshal(b []byte) error
- type QueryTradeRewardPointsRequest
- func (*QueryTradeRewardPointsRequest) Descriptor() ([]byte, []int)
- func (m *QueryTradeRewardPointsRequest) GetAccounts() []string
- func (m *QueryTradeRewardPointsRequest) GetPendingPoolTimestamp() int64
- func (m *QueryTradeRewardPointsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTradeRewardPointsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTradeRewardPointsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTradeRewardPointsRequest) ProtoMessage()
- func (m *QueryTradeRewardPointsRequest) Reset()
- func (m *QueryTradeRewardPointsRequest) Size() (n int)
- func (m *QueryTradeRewardPointsRequest) String() string
- func (m *QueryTradeRewardPointsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTradeRewardPointsRequest) XXX_DiscardUnknown()
- func (m *QueryTradeRewardPointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTradeRewardPointsRequest) XXX_Merge(src proto.Message)
- func (m *QueryTradeRewardPointsRequest) XXX_Size() int
- func (m *QueryTradeRewardPointsRequest) XXX_Unmarshal(b []byte) error
- type QueryTradeRewardPointsResponse
- func (*QueryTradeRewardPointsResponse) Descriptor() ([]byte, []int)
- func (m *QueryTradeRewardPointsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTradeRewardPointsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTradeRewardPointsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTradeRewardPointsResponse) ProtoMessage()
- func (m *QueryTradeRewardPointsResponse) Reset()
- func (m *QueryTradeRewardPointsResponse) Size() (n int)
- func (m *QueryTradeRewardPointsResponse) String() string
- func (m *QueryTradeRewardPointsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTradeRewardPointsResponse) XXX_DiscardUnknown()
- func (m *QueryTradeRewardPointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTradeRewardPointsResponse) XXX_Merge(src proto.Message)
- func (m *QueryTradeRewardPointsResponse) XXX_Size() int
- func (m *QueryTradeRewardPointsResponse) XXX_Unmarshal(b []byte) error
- type QueryTraderDerivativeOrdersRequest
- func (*QueryTraderDerivativeOrdersRequest) Descriptor() ([]byte, []int)
- func (m *QueryTraderDerivativeOrdersRequest) GetMarketId() string
- func (m *QueryTraderDerivativeOrdersRequest) GetSubaccountId() string
- func (m *QueryTraderDerivativeOrdersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTraderDerivativeOrdersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraderDerivativeOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraderDerivativeOrdersRequest) ProtoMessage()
- func (m *QueryTraderDerivativeOrdersRequest) Reset()
- func (m *QueryTraderDerivativeOrdersRequest) Size() (n int)
- func (m *QueryTraderDerivativeOrdersRequest) String() string
- func (m *QueryTraderDerivativeOrdersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTraderDerivativeOrdersRequest) XXX_DiscardUnknown()
- func (m *QueryTraderDerivativeOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraderDerivativeOrdersRequest) XXX_Merge(src proto.Message)
- func (m *QueryTraderDerivativeOrdersRequest) XXX_Size() int
- func (m *QueryTraderDerivativeOrdersRequest) XXX_Unmarshal(b []byte) error
- type QueryTraderDerivativeOrdersResponse
- func (*QueryTraderDerivativeOrdersResponse) Descriptor() ([]byte, []int)
- func (m *QueryTraderDerivativeOrdersResponse) GetOrders() []*TrimmedDerivativeLimitOrder
- func (m *QueryTraderDerivativeOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTraderDerivativeOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraderDerivativeOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraderDerivativeOrdersResponse) ProtoMessage()
- func (m *QueryTraderDerivativeOrdersResponse) Reset()
- func (m *QueryTraderDerivativeOrdersResponse) Size() (n int)
- func (m *QueryTraderDerivativeOrdersResponse) String() string
- func (m *QueryTraderDerivativeOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTraderDerivativeOrdersResponse) XXX_DiscardUnknown()
- func (m *QueryTraderDerivativeOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraderDerivativeOrdersResponse) XXX_Merge(src proto.Message)
- func (m *QueryTraderDerivativeOrdersResponse) XXX_Size() int
- func (m *QueryTraderDerivativeOrdersResponse) XXX_Unmarshal(b []byte) error
- type QueryTraderSpotOrdersRequest
- func (*QueryTraderSpotOrdersRequest) Descriptor() ([]byte, []int)
- func (m *QueryTraderSpotOrdersRequest) GetMarketId() string
- func (m *QueryTraderSpotOrdersRequest) GetSubaccountId() string
- func (m *QueryTraderSpotOrdersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryTraderSpotOrdersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraderSpotOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraderSpotOrdersRequest) ProtoMessage()
- func (m *QueryTraderSpotOrdersRequest) Reset()
- func (m *QueryTraderSpotOrdersRequest) Size() (n int)
- func (m *QueryTraderSpotOrdersRequest) String() string
- func (m *QueryTraderSpotOrdersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryTraderSpotOrdersRequest) XXX_DiscardUnknown()
- func (m *QueryTraderSpotOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraderSpotOrdersRequest) XXX_Merge(src proto.Message)
- func (m *QueryTraderSpotOrdersRequest) XXX_Size() int
- func (m *QueryTraderSpotOrdersRequest) XXX_Unmarshal(b []byte) error
- type QueryTraderSpotOrdersResponse
- func (*QueryTraderSpotOrdersResponse) Descriptor() ([]byte, []int)
- func (m *QueryTraderSpotOrdersResponse) GetOrders() []*TrimmedSpotLimitOrder
- func (m *QueryTraderSpotOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryTraderSpotOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryTraderSpotOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryTraderSpotOrdersResponse) ProtoMessage()
- func (m *QueryTraderSpotOrdersResponse) Reset()
- func (m *QueryTraderSpotOrdersResponse) Size() (n int)
- func (m *QueryTraderSpotOrdersResponse) String() string
- func (m *QueryTraderSpotOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryTraderSpotOrdersResponse) XXX_DiscardUnknown()
- func (m *QueryTraderSpotOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryTraderSpotOrdersResponse) XXX_Merge(src proto.Message)
- func (m *QueryTraderSpotOrdersResponse) XXX_Size() int
- func (m *QueryTraderSpotOrdersResponse) XXX_Unmarshal(b []byte) error
- type RewardPointUpdate
- func (*RewardPointUpdate) Descriptor() ([]byte, []int)
- func (m *RewardPointUpdate) GetAccountAddress() string
- func (m *RewardPointUpdate) Marshal() (dAtA []byte, err error)
- func (m *RewardPointUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *RewardPointUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RewardPointUpdate) ProtoMessage()
- func (m *RewardPointUpdate) Reset()
- func (m *RewardPointUpdate) Size() (n int)
- func (m *RewardPointUpdate) String() string
- func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error
- func (m *RewardPointUpdate) XXX_DiscardUnknown()
- func (m *RewardPointUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewardPointUpdate) XXX_Merge(src proto.Message)
- func (m *RewardPointUpdate) XXX_Size() int
- func (m *RewardPointUpdate) XXX_Unmarshal(b []byte) error
- type SpotLimitOrder
- func (*SpotLimitOrder) Descriptor() ([]byte, []int)
- func (o *SpotLimitOrder) FeeRecipient() common.Address
- func (m *SpotLimitOrder) GetOrderHash() []byte
- func (m *SpotLimitOrder) GetOrderInfo() OrderInfo
- func (m *SpotLimitOrder) GetOrderType() OrderType
- func (m *SpotLimitOrder) GetUnfilledFeeAmount(fee sdk.Dec) sdk.Dec
- func (m *SpotLimitOrder) GetUnfilledMarginHoldAndMarginDenom(market *SpotMarket, isTransient bool) (sdk.Dec, string)
- func (m *SpotLimitOrder) GetUnfilledNotional() sdk.Dec
- func (m *SpotLimitOrder) Hash() common.Hash
- func (m *SpotLimitOrder) IsBuy() bool
- func (m *SpotLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *SpotLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotLimitOrder) ProtoMessage()
- func (m *SpotLimitOrder) Reset()
- func (o *SpotLimitOrder) SdkAccAddress() sdk.AccAddress
- func (m *SpotLimitOrder) Size() (n int)
- func (m *SpotLimitOrder) String() string
- func (o *SpotLimitOrder) SubaccountID() common.Hash
- func (m *SpotLimitOrder) ToTrimmed() *TrimmedSpotLimitOrder
- func (m *SpotLimitOrder) Unmarshal(dAtA []byte) error
- func (m *SpotLimitOrder) XXX_DiscardUnknown()
- func (m *SpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotLimitOrder) XXX_Merge(src proto.Message)
- func (m *SpotLimitOrder) XXX_Size() int
- func (m *SpotLimitOrder) XXX_Unmarshal(b []byte) error
- type SpotLimitOrderDelta
- type SpotMarket
- func (*SpotMarket) Descriptor() ([]byte, []int)
- func (m *SpotMarket) GetBaseDenom() string
- func (m *SpotMarket) GetMarketId() string
- func (m *SpotMarket) GetQuoteDenom() string
- func (m *SpotMarket) GetStatus() MarketStatus
- func (m *SpotMarket) GetTicker() string
- func (m *SpotMarket) IsActive() bool
- func (m *SpotMarket) IsInactive() bool
- func (m *SpotMarket) MarketID() common.Hash
- func (m *SpotMarket) Marshal() (dAtA []byte, err error)
- func (m *SpotMarket) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotMarket) ProtoMessage()
- func (m *SpotMarket) Reset()
- func (m *SpotMarket) Size() (n int)
- func (m *SpotMarket) StatusSupportsOrderCancellations() bool
- func (m *SpotMarket) String() string
- func (m *SpotMarket) Unmarshal(dAtA []byte) error
- func (m *SpotMarket) XXX_DiscardUnknown()
- func (m *SpotMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotMarket) XXX_Merge(src proto.Message)
- func (m *SpotMarket) XXX_Size() int
- func (m *SpotMarket) XXX_Unmarshal(b []byte) error
- type SpotMarketLaunchProposal
- func (*SpotMarketLaunchProposal) Descriptor() ([]byte, []int)
- func (p *SpotMarketLaunchProposal) GetDescription() string
- func (p *SpotMarketLaunchProposal) GetTitle() string
- func (m *SpotMarketLaunchProposal) Marshal() (dAtA []byte, err error)
- func (m *SpotMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *SpotMarketLaunchProposal) ProposalRoute() string
- func (p *SpotMarketLaunchProposal) ProposalType() string
- func (*SpotMarketLaunchProposal) ProtoMessage()
- func (m *SpotMarketLaunchProposal) Reset()
- func (m *SpotMarketLaunchProposal) Size() (n int)
- func (m *SpotMarketLaunchProposal) String() string
- func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error
- func (p *SpotMarketLaunchProposal) ValidateBasic() error
- func (m *SpotMarketLaunchProposal) XXX_DiscardUnknown()
- func (m *SpotMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotMarketLaunchProposal) XXX_Merge(src proto.Message)
- func (m *SpotMarketLaunchProposal) XXX_Size() int
- func (m *SpotMarketLaunchProposal) XXX_Unmarshal(b []byte) error
- type SpotMarketOrder
- func (*SpotMarketOrder) Descriptor() ([]byte, []int)
- func (o *SpotMarketOrder) FeeRecipient() common.Address
- func (m *SpotMarketOrder) GetOrderHash() []byte
- func (m *SpotMarketOrder) GetOrderInfo() OrderInfo
- func (m *SpotMarketOrder) Marshal() (dAtA []byte, err error)
- func (m *SpotMarketOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotMarketOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotMarketOrder) ProtoMessage()
- func (m *SpotMarketOrder) Reset()
- func (o *SpotMarketOrder) SdkAccAddress() sdk.AccAddress
- func (m *SpotMarketOrder) Size() (n int)
- func (m *SpotMarketOrder) String() string
- func (o *SpotMarketOrder) SubaccountID() common.Hash
- func (m *SpotMarketOrder) Unmarshal(dAtA []byte) error
- func (m *SpotMarketOrder) XXX_DiscardUnknown()
- func (m *SpotMarketOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotMarketOrder) XXX_Merge(src proto.Message)
- func (m *SpotMarketOrder) XXX_Size() int
- func (m *SpotMarketOrder) XXX_Unmarshal(b []byte) error
- type SpotMarketParamUpdateProposal
- func (*SpotMarketParamUpdateProposal) Descriptor() ([]byte, []int)
- func (p *SpotMarketParamUpdateProposal) GetDescription() string
- func (p *SpotMarketParamUpdateProposal) GetTitle() string
- func (m *SpotMarketParamUpdateProposal) Marshal() (dAtA []byte, err error)
- func (m *SpotMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *SpotMarketParamUpdateProposal) ProposalRoute() string
- func (p *SpotMarketParamUpdateProposal) ProposalType() string
- func (*SpotMarketParamUpdateProposal) ProtoMessage()
- func (m *SpotMarketParamUpdateProposal) Reset()
- func (m *SpotMarketParamUpdateProposal) Size() (n int)
- func (m *SpotMarketParamUpdateProposal) String() string
- func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error
- func (p *SpotMarketParamUpdateProposal) ValidateBasic() error
- func (m *SpotMarketParamUpdateProposal) XXX_DiscardUnknown()
- func (m *SpotMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotMarketParamUpdateProposal) XXX_Merge(src proto.Message)
- func (m *SpotMarketParamUpdateProposal) XXX_Size() int
- func (m *SpotMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error
- type SpotOrder
- func (m *SpotOrder) CheckMarketOrderBalanceHold(market *SpotMarket, availableBalance, bestPrice sdk.Dec) (sdk.Dec, error)
- func (o *SpotOrder) CheckTickSize(minPriceTickSize, minQuantityTickSize sdk.Dec) error
- func (o *SpotOrder) ComputeOrderHash(nonce uint32) (common.Hash, error)
- func (*SpotOrder) Descriptor() ([]byte, []int)
- func (m *SpotOrder) GetBalanceHoldAndMarginDenom(market *SpotMarket) (sdk.Dec, string)
- func (m *SpotOrder) GetMarginDenom(market *SpotMarket) string
- func (m *SpotOrder) GetMarketId() string
- func (o *SpotOrder) GetNewSpotLimitOrder(orderHash common.Hash) *SpotLimitOrder
- func (m *SpotOrder) GetOrderInfo() OrderInfo
- func (m *SpotOrder) GetOrderType() OrderType
- func (o *SpotOrder) IsBuy() bool
- func (m *SpotOrder) Marshal() (dAtA []byte, err error)
- func (m *SpotOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotOrder) ProtoMessage()
- func (m *SpotOrder) Reset()
- func (m *SpotOrder) Size() (n int)
- func (m *SpotOrder) String() string
- func (o *SpotOrder) SubaccountID() common.Hash
- func (m *SpotOrder) Unmarshal(dAtA []byte) error
- func (o *SpotOrder) ValidateBasic(senderAddr sdk.AccAddress) error
- func (m *SpotOrder) XXX_DiscardUnknown()
- func (m *SpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotOrder) XXX_Merge(src proto.Message)
- func (m *SpotOrder) XXX_Size() int
- func (m *SpotOrder) XXX_Unmarshal(b []byte) error
- type SpotOrderBook
- func (*SpotOrderBook) Descriptor() ([]byte, []int)
- func (m *SpotOrderBook) Marshal() (dAtA []byte, err error)
- func (m *SpotOrderBook) MarshalTo(dAtA []byte) (int, error)
- func (m *SpotOrderBook) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SpotOrderBook) ProtoMessage()
- func (m *SpotOrderBook) Reset()
- func (m *SpotOrderBook) Size() (n int)
- func (m *SpotOrderBook) String() string
- func (m *SpotOrderBook) Unmarshal(dAtA []byte) error
- func (m *SpotOrderBook) XXX_DiscardUnknown()
- func (m *SpotOrderBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SpotOrderBook) XXX_Merge(src proto.Message)
- func (m *SpotOrderBook) XXX_Size() int
- func (m *SpotOrderBook) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type Subaccount
- func (*Subaccount) Descriptor() ([]byte, []int)
- func (s *Subaccount) GetSubaccountID() (*common.Hash, error)
- func (m *Subaccount) GetSubaccountNonce() uint32
- func (m *Subaccount) GetTrader() string
- func (m *Subaccount) Marshal() (dAtA []byte, err error)
- func (m *Subaccount) MarshalTo(dAtA []byte) (int, error)
- func (m *Subaccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Subaccount) ProtoMessage()
- func (m *Subaccount) Reset()
- func (m *Subaccount) Size() (n int)
- func (m *Subaccount) String() string
- func (m *Subaccount) Unmarshal(dAtA []byte) error
- func (m *Subaccount) XXX_DiscardUnknown()
- func (m *Subaccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subaccount) XXX_Merge(src proto.Message)
- func (m *Subaccount) XXX_Size() int
- func (m *Subaccount) XXX_Unmarshal(b []byte) error
- type SubaccountDeposit
- func (*SubaccountDeposit) Descriptor() ([]byte, []int)
- func (m *SubaccountDeposit) GetDeposit() *Deposit
- func (m *SubaccountDeposit) GetSubaccountId() []byte
- func (m *SubaccountDeposit) Marshal() (dAtA []byte, err error)
- func (m *SubaccountDeposit) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountDeposit) ProtoMessage()
- func (m *SubaccountDeposit) Reset()
- func (m *SubaccountDeposit) Size() (n int)
- func (m *SubaccountDeposit) String() string
- func (m *SubaccountDeposit) Unmarshal(dAtA []byte) error
- func (m *SubaccountDeposit) XXX_DiscardUnknown()
- func (m *SubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountDeposit) XXX_Merge(src proto.Message)
- func (m *SubaccountDeposit) XXX_Size() int
- func (m *SubaccountDeposit) XXX_Unmarshal(b []byte) error
- type SubaccountNonce
- func (*SubaccountNonce) Descriptor() ([]byte, []int)
- func (m *SubaccountNonce) Marshal() (dAtA []byte, err error)
- func (m *SubaccountNonce) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountNonce) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountNonce) ProtoMessage()
- func (m *SubaccountNonce) Reset()
- func (m *SubaccountNonce) Size() (n int)
- func (m *SubaccountNonce) String() string
- func (m *SubaccountNonce) Unmarshal(dAtA []byte) error
- func (m *SubaccountNonce) XXX_DiscardUnknown()
- func (m *SubaccountNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountNonce) XXX_Merge(src proto.Message)
- func (m *SubaccountNonce) XXX_Size() int
- func (m *SubaccountNonce) XXX_Unmarshal(b []byte) error
- type SubaccountOrder
- func (*SubaccountOrder) Descriptor() ([]byte, []int)
- func (m *SubaccountOrder) GetIsReduceOnly() bool
- func (o *SubaccountOrder) IsVanilla() bool
- func (m *SubaccountOrder) Marshal() (dAtA []byte, err error)
- func (m *SubaccountOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountOrder) ProtoMessage()
- func (m *SubaccountOrder) Reset()
- func (m *SubaccountOrder) Size() (n int)
- func (m *SubaccountOrder) String() string
- func (m *SubaccountOrder) Unmarshal(dAtA []byte) error
- func (m *SubaccountOrder) XXX_DiscardUnknown()
- func (m *SubaccountOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountOrder) XXX_Merge(src proto.Message)
- func (m *SubaccountOrder) XXX_Size() int
- func (m *SubaccountOrder) XXX_Unmarshal(b []byte) error
- type SubaccountOrderbookMetadata
- func (m *SubaccountOrderbookMetadata) ApplyDelta(d *SubaccountOrderbookMetadata)
- func (m *SubaccountOrderbookMetadata) AssertValid()
- func (*SubaccountOrderbookMetadata) Descriptor() ([]byte, []int)
- func (m *SubaccountOrderbookMetadata) GetOrderSideCount() uint32
- func (m *SubaccountOrderbookMetadata) GetReduceOnlyLimitOrderCount() uint32
- func (m *SubaccountOrderbookMetadata) GetVanillaLimitOrderCount() uint32
- func (m *SubaccountOrderbookMetadata) Marshal() (dAtA []byte, err error)
- func (m *SubaccountOrderbookMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountOrderbookMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountOrderbookMetadata) ProtoMessage()
- func (m *SubaccountOrderbookMetadata) Reset()
- func (m *SubaccountOrderbookMetadata) Size() (n int)
- func (m *SubaccountOrderbookMetadata) String() string
- func (m *SubaccountOrderbookMetadata) Unmarshal(dAtA []byte) error
- func (m *SubaccountOrderbookMetadata) XXX_DiscardUnknown()
- func (m *SubaccountOrderbookMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountOrderbookMetadata) XXX_Merge(src proto.Message)
- func (m *SubaccountOrderbookMetadata) XXX_Size() int
- func (m *SubaccountOrderbookMetadata) XXX_Unmarshal(b []byte) error
- type SubaccountOrderbookMetadataWithMarket
- func (*SubaccountOrderbookMetadataWithMarket) Descriptor() ([]byte, []int)
- func (m *SubaccountOrderbookMetadataWithMarket) GetIsBuy() bool
- func (m *SubaccountOrderbookMetadataWithMarket) GetMarketId() string
- func (m *SubaccountOrderbookMetadataWithMarket) GetMetadata() *SubaccountOrderbookMetadata
- func (m *SubaccountOrderbookMetadataWithMarket) Marshal() (dAtA []byte, err error)
- func (m *SubaccountOrderbookMetadataWithMarket) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountOrderbookMetadataWithMarket) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountOrderbookMetadataWithMarket) ProtoMessage()
- func (m *SubaccountOrderbookMetadataWithMarket) Reset()
- func (m *SubaccountOrderbookMetadataWithMarket) Size() (n int)
- func (m *SubaccountOrderbookMetadataWithMarket) String() string
- func (m *SubaccountOrderbookMetadataWithMarket) Unmarshal(dAtA []byte) error
- func (m *SubaccountOrderbookMetadataWithMarket) XXX_DiscardUnknown()
- func (m *SubaccountOrderbookMetadataWithMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountOrderbookMetadataWithMarket) XXX_Merge(src proto.Message)
- func (m *SubaccountOrderbookMetadataWithMarket) XXX_Size() int
- func (m *SubaccountOrderbookMetadataWithMarket) XXX_Unmarshal(b []byte) error
- type SubaccountPosition
- func (*SubaccountPosition) Descriptor() ([]byte, []int)
- func (m *SubaccountPosition) GetPosition() *Position
- func (m *SubaccountPosition) GetSubaccountId() []byte
- func (m *SubaccountPosition) Marshal() (dAtA []byte, err error)
- func (m *SubaccountPosition) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountPosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountPosition) ProtoMessage()
- func (m *SubaccountPosition) Reset()
- func (m *SubaccountPosition) Size() (n int)
- func (m *SubaccountPosition) String() string
- func (m *SubaccountPosition) Unmarshal(dAtA []byte) error
- func (m *SubaccountPosition) XXX_DiscardUnknown()
- func (m *SubaccountPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountPosition) XXX_Merge(src proto.Message)
- func (m *SubaccountPosition) XXX_Size() int
- func (m *SubaccountPosition) XXX_Unmarshal(b []byte) error
- type SubaccountTradeNonce
- func (*SubaccountTradeNonce) Descriptor() ([]byte, []int)
- func (m *SubaccountTradeNonce) GetNonce() uint32
- func (m *SubaccountTradeNonce) Marshal() (dAtA []byte, err error)
- func (m *SubaccountTradeNonce) MarshalTo(dAtA []byte) (int, error)
- func (m *SubaccountTradeNonce) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubaccountTradeNonce) ProtoMessage()
- func (m *SubaccountTradeNonce) Reset()
- func (m *SubaccountTradeNonce) Size() (n int)
- func (m *SubaccountTradeNonce) String() string
- func (m *SubaccountTradeNonce) Unmarshal(dAtA []byte) error
- func (m *SubaccountTradeNonce) XXX_DiscardUnknown()
- func (m *SubaccountTradeNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubaccountTradeNonce) XXX_Merge(src proto.Message)
- func (m *SubaccountTradeNonce) XXX_Size() int
- func (m *SubaccountTradeNonce) XXX_Unmarshal(b []byte) error
- type SyntheticTrade
- type SyntheticTradeAction
- type SyntheticTradeActionSummary
- type TierStatistic
- func (*TierStatistic) Descriptor() ([]byte, []int)
- func (m *TierStatistic) GetCount() uint64
- func (m *TierStatistic) GetTier() uint64
- func (m *TierStatistic) Marshal() (dAtA []byte, err error)
- func (m *TierStatistic) MarshalTo(dAtA []byte) (int, error)
- func (m *TierStatistic) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TierStatistic) ProtoMessage()
- func (m *TierStatistic) Reset()
- func (m *TierStatistic) Size() (n int)
- func (m *TierStatistic) String() string
- func (m *TierStatistic) Unmarshal(dAtA []byte) error
- func (m *TierStatistic) XXX_DiscardUnknown()
- func (m *TierStatistic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TierStatistic) XXX_Merge(src proto.Message)
- func (m *TierStatistic) XXX_Size() int
- func (m *TierStatistic) XXX_Unmarshal(b []byte) error
- type TradeHistoryOptions
- func (*TradeHistoryOptions) Descriptor() ([]byte, []int)
- func (m *TradeHistoryOptions) GetIncludeMetadata() bool
- func (m *TradeHistoryOptions) GetIncludeRawHistory() bool
- func (m *TradeHistoryOptions) GetMaxAge() uint64
- func (m *TradeHistoryOptions) GetTradeGroupingSec() uint64
- func (m *TradeHistoryOptions) Marshal() (dAtA []byte, err error)
- func (m *TradeHistoryOptions) MarshalTo(dAtA []byte) (int, error)
- func (m *TradeHistoryOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradeHistoryOptions) ProtoMessage()
- func (m *TradeHistoryOptions) Reset()
- func (m *TradeHistoryOptions) Size() (n int)
- func (m *TradeHistoryOptions) String() string
- func (m *TradeHistoryOptions) Unmarshal(dAtA []byte) error
- func (m *TradeHistoryOptions) XXX_DiscardUnknown()
- func (m *TradeHistoryOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeHistoryOptions) XXX_Merge(src proto.Message)
- func (m *TradeHistoryOptions) XXX_Size() int
- func (m *TradeHistoryOptions) XXX_Unmarshal(b []byte) error
- type TradeLog
- func (*TradeLog) Descriptor() ([]byte, []int)
- func (m *TradeLog) GetFeeRecipientAddress() []byte
- func (m *TradeLog) GetOrderHash() []byte
- func (m *TradeLog) GetSubaccountId() []byte
- func (m *TradeLog) Marshal() (dAtA []byte, err error)
- func (m *TradeLog) MarshalTo(dAtA []byte) (int, error)
- func (m *TradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradeLog) ProtoMessage()
- func (m *TradeLog) Reset()
- func (m *TradeLog) Size() (n int)
- func (m *TradeLog) String() string
- func (m *TradeLog) Unmarshal(dAtA []byte) error
- func (m *TradeLog) XXX_DiscardUnknown()
- func (m *TradeLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeLog) XXX_Merge(src proto.Message)
- func (m *TradeLog) XXX_Size() int
- func (m *TradeLog) XXX_Unmarshal(b []byte) error
- type TradeRecord
- func (*TradeRecord) Descriptor() ([]byte, []int)
- func (m *TradeRecord) GetTimestamp() int64
- func (m *TradeRecord) Marshal() (dAtA []byte, err error)
- func (m *TradeRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *TradeRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradeRecord) ProtoMessage()
- func (m *TradeRecord) Reset()
- func (m *TradeRecord) Size() (n int)
- func (m *TradeRecord) String() string
- func (m *TradeRecord) Unmarshal(dAtA []byte) error
- func (m *TradeRecord) XXX_DiscardUnknown()
- func (m *TradeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeRecord) XXX_Merge(src proto.Message)
- func (m *TradeRecord) XXX_Size() int
- func (m *TradeRecord) XXX_Unmarshal(b []byte) error
- type TradeRecords
- func (*TradeRecords) Descriptor() ([]byte, []int)
- func (m *TradeRecords) GetLatestTradeRecords() []*TradeRecord
- func (m *TradeRecords) GetMarketId() string
- func (m *TradeRecords) Marshal() (dAtA []byte, err error)
- func (m *TradeRecords) MarshalTo(dAtA []byte) (int, error)
- func (m *TradeRecords) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradeRecords) ProtoMessage()
- func (m *TradeRecords) Reset()
- func (m *TradeRecords) Size() (n int)
- func (m *TradeRecords) String() string
- func (m *TradeRecords) Unmarshal(dAtA []byte) error
- func (m *TradeRecords) XXX_DiscardUnknown()
- func (m *TradeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradeRecords) XXX_Merge(src proto.Message)
- func (m *TradeRecords) XXX_Size() int
- func (m *TradeRecords) XXX_Unmarshal(b []byte) error
- type TradingRewardAccountPoints
- type TradingRewardCampaignAccountPendingPoints
- func (*TradingRewardCampaignAccountPendingPoints) Descriptor() ([]byte, []int)
- func (m *TradingRewardCampaignAccountPendingPoints) GetAccountPoints() []*TradingRewardCampaignAccountPoints
- func (m *TradingRewardCampaignAccountPendingPoints) GetRewardPoolStartTimestamp() int64
- func (m *TradingRewardCampaignAccountPendingPoints) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardCampaignAccountPendingPoints) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardCampaignAccountPendingPoints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingRewardCampaignAccountPendingPoints) ProtoMessage()
- func (m *TradingRewardCampaignAccountPendingPoints) Reset()
- func (m *TradingRewardCampaignAccountPendingPoints) Size() (n int)
- func (m *TradingRewardCampaignAccountPendingPoints) String() string
- func (m *TradingRewardCampaignAccountPendingPoints) Unmarshal(dAtA []byte) error
- func (m *TradingRewardCampaignAccountPendingPoints) XXX_DiscardUnknown()
- func (m *TradingRewardCampaignAccountPendingPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardCampaignAccountPendingPoints) XXX_Merge(src proto.Message)
- func (m *TradingRewardCampaignAccountPendingPoints) XXX_Size() int
- func (m *TradingRewardCampaignAccountPendingPoints) XXX_Unmarshal(b []byte) error
- type TradingRewardCampaignAccountPoints
- func (*TradingRewardCampaignAccountPoints) Descriptor() ([]byte, []int)
- func (m *TradingRewardCampaignAccountPoints) GetAccount() string
- func (m *TradingRewardCampaignAccountPoints) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardCampaignAccountPoints) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardCampaignAccountPoints) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingRewardCampaignAccountPoints) ProtoMessage()
- func (m *TradingRewardCampaignAccountPoints) Reset()
- func (m *TradingRewardCampaignAccountPoints) Size() (n int)
- func (m *TradingRewardCampaignAccountPoints) String() string
- func (m *TradingRewardCampaignAccountPoints) Unmarshal(dAtA []byte) error
- func (m *TradingRewardCampaignAccountPoints) XXX_DiscardUnknown()
- func (m *TradingRewardCampaignAccountPoints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardCampaignAccountPoints) XXX_Merge(src proto.Message)
- func (m *TradingRewardCampaignAccountPoints) XXX_Size() int
- func (m *TradingRewardCampaignAccountPoints) XXX_Unmarshal(b []byte) error
- type TradingRewardCampaignBoostInfo
- func (*TradingRewardCampaignBoostInfo) Descriptor() ([]byte, []int)
- func (m *TradingRewardCampaignBoostInfo) GetBoostedDerivativeMarketIds() []string
- func (m *TradingRewardCampaignBoostInfo) GetBoostedSpotMarketIds() []string
- func (m *TradingRewardCampaignBoostInfo) GetDerivativeMarketMultipliers() []PointsMultiplier
- func (m *TradingRewardCampaignBoostInfo) GetSpotMarketMultipliers() []PointsMultiplier
- func (m *TradingRewardCampaignBoostInfo) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardCampaignBoostInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardCampaignBoostInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingRewardCampaignBoostInfo) ProtoMessage()
- func (m *TradingRewardCampaignBoostInfo) Reset()
- func (m *TradingRewardCampaignBoostInfo) Size() (n int)
- func (m *TradingRewardCampaignBoostInfo) String() string
- func (m *TradingRewardCampaignBoostInfo) Unmarshal(dAtA []byte) error
- func (t *TradingRewardCampaignBoostInfo) ValidateBasic() error
- func (m *TradingRewardCampaignBoostInfo) XXX_DiscardUnknown()
- func (m *TradingRewardCampaignBoostInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardCampaignBoostInfo) XXX_Merge(src proto.Message)
- func (m *TradingRewardCampaignBoostInfo) XXX_Size() int
- func (m *TradingRewardCampaignBoostInfo) XXX_Unmarshal(b []byte) error
- type TradingRewardCampaignInfo
- func (*TradingRewardCampaignInfo) Descriptor() ([]byte, []int)
- func (m *TradingRewardCampaignInfo) GetCampaignDurationSeconds() int64
- func (m *TradingRewardCampaignInfo) GetDisqualifiedMarketIds() []string
- func (m *TradingRewardCampaignInfo) GetQuoteDenoms() []string
- func (m *TradingRewardCampaignInfo) GetTradingRewardBoostInfo() *TradingRewardCampaignBoostInfo
- func (m *TradingRewardCampaignInfo) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardCampaignInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardCampaignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TradingRewardCampaignInfo) ProtoMessage()
- func (m *TradingRewardCampaignInfo) Reset()
- func (m *TradingRewardCampaignInfo) Size() (n int)
- func (m *TradingRewardCampaignInfo) String() string
- func (m *TradingRewardCampaignInfo) Unmarshal(dAtA []byte) error
- func (c *TradingRewardCampaignInfo) ValidateBasic() error
- func (m *TradingRewardCampaignInfo) XXX_DiscardUnknown()
- func (m *TradingRewardCampaignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardCampaignInfo) XXX_Merge(src proto.Message)
- func (m *TradingRewardCampaignInfo) XXX_Size() int
- func (m *TradingRewardCampaignInfo) XXX_Unmarshal(b []byte) error
- type TradingRewardCampaignLaunchProposal
- func (*TradingRewardCampaignLaunchProposal) Descriptor() ([]byte, []int)
- func (p *TradingRewardCampaignLaunchProposal) GetDescription() string
- func (p *TradingRewardCampaignLaunchProposal) GetTitle() string
- func (m *TradingRewardCampaignLaunchProposal) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardCampaignLaunchProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardCampaignLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *TradingRewardCampaignLaunchProposal) ProposalRoute() string
- func (p *TradingRewardCampaignLaunchProposal) ProposalType() string
- func (*TradingRewardCampaignLaunchProposal) ProtoMessage()
- func (m *TradingRewardCampaignLaunchProposal) Reset()
- func (m *TradingRewardCampaignLaunchProposal) Size() (n int)
- func (m *TradingRewardCampaignLaunchProposal) String() string
- func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error
- func (p *TradingRewardCampaignLaunchProposal) ValidateBasic() error
- func (m *TradingRewardCampaignLaunchProposal) XXX_DiscardUnknown()
- func (m *TradingRewardCampaignLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardCampaignLaunchProposal) XXX_Merge(src proto.Message)
- func (m *TradingRewardCampaignLaunchProposal) XXX_Size() int
- func (m *TradingRewardCampaignLaunchProposal) XXX_Unmarshal(b []byte) error
- type TradingRewardCampaignUpdateProposal
- func (*TradingRewardCampaignUpdateProposal) Descriptor() ([]byte, []int)
- func (p *TradingRewardCampaignUpdateProposal) GetDescription() string
- func (p *TradingRewardCampaignUpdateProposal) GetTitle() string
- func (m *TradingRewardCampaignUpdateProposal) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardCampaignUpdateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardCampaignUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *TradingRewardCampaignUpdateProposal) ProposalRoute() string
- func (p *TradingRewardCampaignUpdateProposal) ProposalType() string
- func (*TradingRewardCampaignUpdateProposal) ProtoMessage()
- func (m *TradingRewardCampaignUpdateProposal) Reset()
- func (m *TradingRewardCampaignUpdateProposal) Size() (n int)
- func (m *TradingRewardCampaignUpdateProposal) String() string
- func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error
- func (p *TradingRewardCampaignUpdateProposal) ValidateBasic() error
- func (m *TradingRewardCampaignUpdateProposal) XXX_DiscardUnknown()
- func (m *TradingRewardCampaignUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardCampaignUpdateProposal) XXX_Merge(src proto.Message)
- func (m *TradingRewardCampaignUpdateProposal) XXX_Size() int
- func (m *TradingRewardCampaignUpdateProposal) XXX_Unmarshal(b []byte) error
- type TradingRewardPendingPointsUpdateProposal
- func (*TradingRewardPendingPointsUpdateProposal) Descriptor() ([]byte, []int)
- func (p *TradingRewardPendingPointsUpdateProposal) GetDescription() string
- func (p *TradingRewardPendingPointsUpdateProposal) GetTitle() string
- func (m *TradingRewardPendingPointsUpdateProposal) Marshal() (dAtA []byte, err error)
- func (m *TradingRewardPendingPointsUpdateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *TradingRewardPendingPointsUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *TradingRewardPendingPointsUpdateProposal) ProposalRoute() string
- func (p *TradingRewardPendingPointsUpdateProposal) ProposalType() string
- func (*TradingRewardPendingPointsUpdateProposal) ProtoMessage()
- func (m *TradingRewardPendingPointsUpdateProposal) Reset()
- func (m *TradingRewardPendingPointsUpdateProposal) Size() (n int)
- func (m *TradingRewardPendingPointsUpdateProposal) String() string
- func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error
- func (p *TradingRewardPendingPointsUpdateProposal) ValidateBasic() error
- func (m *TradingRewardPendingPointsUpdateProposal) XXX_DiscardUnknown()
- func (m *TradingRewardPendingPointsUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TradingRewardPendingPointsUpdateProposal) XXX_Merge(src proto.Message)
- func (m *TradingRewardPendingPointsUpdateProposal) XXX_Size() int
- func (m *TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal(b []byte) error
- type TradingRewardPoints
- type TrimmedDerivativeLimitOrder
- func (*TrimmedDerivativeLimitOrder) Descriptor() ([]byte, []int)
- func (m *TrimmedDerivativeLimitOrder) GetIsBuy() bool
- func (m *TrimmedDerivativeLimitOrder) GetOrderHash() string
- func (m *TrimmedDerivativeLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *TrimmedDerivativeLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *TrimmedDerivativeLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TrimmedDerivativeLimitOrder) ProtoMessage()
- func (m *TrimmedDerivativeLimitOrder) Reset()
- func (m *TrimmedDerivativeLimitOrder) Size() (n int)
- func (m *TrimmedDerivativeLimitOrder) String() string
- func (m *TrimmedDerivativeLimitOrder) Unmarshal(dAtA []byte) error
- func (m *TrimmedDerivativeLimitOrder) XXX_DiscardUnknown()
- func (m *TrimmedDerivativeLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrimmedDerivativeLimitOrder) XXX_Merge(src proto.Message)
- func (m *TrimmedDerivativeLimitOrder) XXX_Size() int
- func (m *TrimmedDerivativeLimitOrder) XXX_Unmarshal(b []byte) error
- type TrimmedSpotLimitOrder
- func (*TrimmedSpotLimitOrder) Descriptor() ([]byte, []int)
- func (m *TrimmedSpotLimitOrder) GetIsBuy() bool
- func (m *TrimmedSpotLimitOrder) GetOrderHash() string
- func (m *TrimmedSpotLimitOrder) Marshal() (dAtA []byte, err error)
- func (m *TrimmedSpotLimitOrder) MarshalTo(dAtA []byte) (int, error)
- func (m *TrimmedSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TrimmedSpotLimitOrder) ProtoMessage()
- func (m *TrimmedSpotLimitOrder) Reset()
- func (m *TrimmedSpotLimitOrder) Size() (n int)
- func (m *TrimmedSpotLimitOrder) String() string
- func (m *TrimmedSpotLimitOrder) Unmarshal(dAtA []byte) error
- func (m *TrimmedSpotLimitOrder) XXX_DiscardUnknown()
- func (m *TrimmedSpotLimitOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TrimmedSpotLimitOrder) XXX_Merge(src proto.Message)
- func (m *TrimmedSpotLimitOrder) XXX_Size() int
- func (m *TrimmedSpotLimitOrder) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) BatchCancelDerivativeOrders(ctx context.Context, req *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error)
- func (*UnimplementedMsgServer) BatchCancelSpotOrders(ctx context.Context, req *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error)
- func (*UnimplementedMsgServer) BatchCreateDerivativeLimitOrders(ctx context.Context, req *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
- func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders(ctx context.Context, req *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error)
- func (*UnimplementedMsgServer) BatchUpdateOrders(ctx context.Context, req *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error)
- func (*UnimplementedMsgServer) CancelDerivativeOrder(ctx context.Context, req *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error)
- func (*UnimplementedMsgServer) CancelSpotOrder(ctx context.Context, req *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
- func (*UnimplementedMsgServer) CreateDerivativeLimitOrder(ctx context.Context, req *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error)
- func (*UnimplementedMsgServer) CreateDerivativeMarketOrder(ctx context.Context, req *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error)
- func (*UnimplementedMsgServer) CreateSpotLimitOrder(ctx context.Context, req *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error)
- func (*UnimplementedMsgServer) CreateSpotMarketOrder(ctx context.Context, req *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error)
- func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
- func (*UnimplementedMsgServer) Exec(ctx context.Context, req *MsgExec) (*MsgExecResponse, error)
- func (*UnimplementedMsgServer) ExternalTransfer(ctx context.Context, req *MsgExternalTransfer) (*MsgExternalTransferResponse, error)
- func (*UnimplementedMsgServer) IncreasePositionMargin(ctx context.Context, req *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error)
- func (*UnimplementedMsgServer) InstantExpiryFuturesMarketLaunch(ctx context.Context, req *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
- func (*UnimplementedMsgServer) InstantPerpetualMarketLaunch(ctx context.Context, req *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error)
- func (*UnimplementedMsgServer) InstantSpotMarketLaunch(ctx context.Context, req *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error)
- func (*UnimplementedMsgServer) LiquidatePosition(ctx context.Context, req *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error)
- func (*UnimplementedMsgServer) RegisterAsDMM(ctx context.Context, req *MsgRegisterAsDMM) (*MsgRegisterAsDMMResponse, error)
- func (*UnimplementedMsgServer) SubaccountTransfer(ctx context.Context, req *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error)
- func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) BalanceMismatches(ctx context.Context, req *QueryBalanceMismatchesRequest) (*QueryBalanceMismatchesResponse, error)
- func (*UnimplementedQueryServer) BalanceWithBalanceHolds(ctx context.Context, req *QueryBalanceWithBalanceHoldsRequest) (*QueryBalanceWithBalanceHoldsResponse, error)
- func (*UnimplementedQueryServer) DerivativeMarket(ctx context.Context, req *QueryDerivativeMarketRequest) (*QueryDerivativeMarketResponse, error)
- func (*UnimplementedQueryServer) DerivativeMarketAddress(ctx context.Context, req *QueryDerivativeMarketAddressRequest) (*QueryDerivativeMarketAddressResponse, error)
- func (*UnimplementedQueryServer) DerivativeMarkets(ctx context.Context, req *QueryDerivativeMarketsRequest) (*QueryDerivativeMarketsResponse, error)
- func (*UnimplementedQueryServer) DerivativeMidPrice(ctx context.Context, req *QueryDerivativeMidPriceRequest) (*QueryDerivativeMidPriceResponse, error)
- func (*UnimplementedQueryServer) DerivativeOrderbook(ctx context.Context, req *QueryDerivativeOrderbookRequest) (*QueryDerivativeOrderbookResponse, error)
- func (*UnimplementedQueryServer) ExchangeBalances(ctx context.Context, req *QueryExchangeBalancesRequest) (*QueryExchangeBalancesResponse, error)
- func (*UnimplementedQueryServer) ExchangeModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
- func (*UnimplementedQueryServer) ExpiryFuturesMarketInfo(ctx context.Context, req *QueryExpiryFuturesMarketInfoRequest) (*QueryExpiryFuturesMarketInfoResponse, error)
- func (*UnimplementedQueryServer) FeeDiscountAccountInfo(ctx context.Context, req *QueryFeeDiscountAccountInfoRequest) (*QueryFeeDiscountAccountInfoResponse, error)
- func (*UnimplementedQueryServer) FeeDiscountSchedule(ctx context.Context, req *QueryFeeDiscountScheduleRequest) (*QueryFeeDiscountScheduleResponse, error)
- func (*UnimplementedQueryServer) FeeDiscountTierStatistics(ctx context.Context, req *QueryFeeDiscountTierStatisticsRequest) (*QueryFeeDiscountTierStatisticsResponse, error)
- func (*UnimplementedQueryServer) HistoricalTradeRecords(ctx context.Context, req *QueryHistoricalTradeRecordsRequest) (*QueryHistoricalTradeRecordsResponse, error)
- func (*UnimplementedQueryServer) IsRegisteredDMM(ctx context.Context, req *QueryIsRegisteredDMMRequest) (*QueryIsRegisteredDMMResponse, error)
- func (*UnimplementedQueryServer) MarketMakingPoolInfo(ctx context.Context, req *MarketMakingPoolInfoRequest) (*MarketMakingPoolInfoResponse, error)
- func (*UnimplementedQueryServer) MarketVolatility(ctx context.Context, req *QueryMarketVolatilityRequest) (*QueryMarketVolatilityResponse, error)
- func (*UnimplementedQueryServer) PendingTradeRewardPoints(ctx context.Context, req *QueryTradeRewardPointsRequest) (*QueryTradeRewardPointsResponse, error)
- func (*UnimplementedQueryServer) PerpetualMarketFunding(ctx context.Context, req *QueryPerpetualMarketFundingRequest) (*QueryPerpetualMarketFundingResponse, error)
- func (*UnimplementedQueryServer) PerpetualMarketInfo(ctx context.Context, req *QueryPerpetualMarketInfoRequest) (*QueryPerpetualMarketInfoResponse, error)
- func (*UnimplementedQueryServer) Positions(ctx context.Context, req *QueryPositionsRequest) (*QueryPositionsResponse, error)
- func (*UnimplementedQueryServer) QueryExchangeParams(ctx context.Context, req *QueryExchangeParamsRequest) (*QueryExchangeParamsResponse, error)
- func (*UnimplementedQueryServer) QueryMarketIDFromVault(ctx context.Context, req *QueryMarketIDFromVaultRequest) (*QueryMarketIDFromVaultResponse, error)
- func (*UnimplementedQueryServer) RegisteredDMMs(ctx context.Context, req *QueryRegisteredDMMsRequest) (*QueryRegisteredDMMsResponse, error)
- func (*UnimplementedQueryServer) SpotMarket(ctx context.Context, req *QuerySpotMarketRequest) (*QuerySpotMarketResponse, error)
- func (*UnimplementedQueryServer) SpotMarkets(ctx context.Context, req *QuerySpotMarketsRequest) (*QuerySpotMarketsResponse, error)
- func (*UnimplementedQueryServer) SpotMidPrice(ctx context.Context, req *QuerySpotMidPriceRequest) (*QuerySpotMidPriceResponse, error)
- func (*UnimplementedQueryServer) SpotOrderbook(ctx context.Context, req *QuerySpotOrderbookRequest) (*QuerySpotOrderbookResponse, error)
- func (*UnimplementedQueryServer) SubaccountDeposit(ctx context.Context, req *QuerySubaccountDepositRequest) (*QuerySubaccountDepositResponse, error)
- func (*UnimplementedQueryServer) SubaccountDeposits(ctx context.Context, req *QuerySubaccountDepositsRequest) (*QuerySubaccountDepositsResponse, error)
- func (*UnimplementedQueryServer) SubaccountEffectivePositionInMarket(ctx context.Context, req *QuerySubaccountEffectivePositionInMarketRequest) (*QuerySubaccountEffectivePositionInMarketResponse, error)
- func (*UnimplementedQueryServer) SubaccountOrderMetadata(ctx context.Context, req *QuerySubaccountOrderMetadataRequest) (*QuerySubaccountOrderMetadataResponse, error)
- func (*UnimplementedQueryServer) SubaccountPositionInMarket(ctx context.Context, req *QuerySubaccountPositionInMarketRequest) (*QuerySubaccountPositionInMarketResponse, error)
- func (*UnimplementedQueryServer) SubaccountPositions(ctx context.Context, req *QuerySubaccountPositionsRequest) (*QuerySubaccountPositionsResponse, error)
- func (*UnimplementedQueryServer) SubaccountTradeNonce(ctx context.Context, req *QuerySubaccountTradeNonceRequest) (*QuerySubaccountTradeNonceResponse, error)
- func (*UnimplementedQueryServer) TradeRewardCampaign(ctx context.Context, req *QueryTradeRewardCampaignRequest) (*QueryTradeRewardCampaignResponse, error)
- func (*UnimplementedQueryServer) TradeRewardPoints(ctx context.Context, req *QueryTradeRewardPointsRequest) (*QueryTradeRewardPointsResponse, error)
- func (*UnimplementedQueryServer) TraderDerivativeOrders(ctx context.Context, req *QueryTraderDerivativeOrdersRequest) (*QueryTraderDerivativeOrdersResponse, error)
- func (*UnimplementedQueryServer) TraderDerivativeTransientOrders(ctx context.Context, req *QueryTraderDerivativeOrdersRequest) (*QueryTraderDerivativeOrdersResponse, error)
- func (*UnimplementedQueryServer) TraderSpotOrders(ctx context.Context, req *QueryTraderSpotOrdersRequest) (*QueryTraderSpotOrdersResponse, error)
- type ValueValidatorFn
- type WasmContractOpsKeeper
- type WasmViewKeeper
- type WasmxExecutionKeeper
Constants ¶
const ( // module name ModuleName = "exchange" // StoreKey to be used when creating the KVStore StoreKey = ModuleName TStoreKey = "transient_exchange" )
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
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
const DefaultQueryOrderbookLimit = 20
const FalseByte byte = byte(0)
const PriceDecimalPlaces = 18
const RouterKey = ModuleName
const TrueByte byte = byte(1)
const Uint64BytesLen = 8
Variables ¶
var ( ErrInvalidLengthAuthz = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAuthz = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group") )
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") )
var ( ErrInvalidLengthExchange = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowExchange = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupExchange = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
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 )
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") KeyDefaultHourlyFundingRateCap = []byte("DefaultHourlyFundingRateCap") KeyDefaultHourlyInterestRate = []byte("DefaultHourlyInterestRate") KeyMaxDerivativeOrderSideCount = []byte("MaxDerivativeOrderSideCount") KeyInjRewardStakedRequirementThreshold = []byte("KeyInjRewardStakedRequirementThreshold") KeyTradingRewardsVestingDuration = []byte("TradingRewardsVestingDuration") )
Parameter keys
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var AuctionSubaccountID = common.HexToHash("0x1111111111111111111111111111111111111111111111111111111111111111")
var (
AuthorizedMarketsLimit = 200
)
var ExchangeType_name = map[int32]string{
0: "EXCHANGE_UNSPECIFIED",
1: "SPOT",
2: "DERIVATIVES",
}
var ExchangeType_value = map[string]int32{
"EXCHANGE_UNSPECIFIED": 0,
"SPOT": 1,
"DERIVATIVES": 2,
}
var ExecutionType_name = map[int32]string{
0: "UnspecifiedExecutionType",
1: "Market",
2: "LimitFill",
3: "LimitMatchRestingOrder",
4: "LimitMatchNewOrder",
5: "MarketLiquidation",
6: "ExpiryMarketSettlement",
}
var ExecutionType_value = map[string]int32{
"UnspecifiedExecutionType": 0,
"Market": 1,
"LimitFill": 2,
"LimitMatchRestingOrder": 3,
"LimitMatchNewOrder": 4,
"MarketLiquidation": 5,
"ExpiryMarketSettlement": 6,
}
var MarketStatus_name = map[int32]string{
0: "Unspecified",
1: "Active",
2: "Paused",
3: "Suspended",
4: "Demolished",
5: "Expired",
}
var MarketStatus_value = map[string]int32{
"Unspecified": 0,
"Active": 1,
"Paused": 2,
"Suspended": 3,
"Demolished": 4,
"Expired": 5,
}
var MaxOrderPrice = sdk.MustNewDecFromStr("100000000000000000000000000000000")
MaxOrderPrice equals 10^32
var MaxOrderQuantity = sdk.MustNewDecFromStr("100000000000000000000000000000000")
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) )
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",
}
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,
}
var TempRewardsSenderAddress = sdk.AccAddress(common.HexToAddress(AuctionSubaccountID.Hex()).Bytes())
var ZeroSubaccountID = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")
Functions ¶
func BreachesMinimumTickSize ¶
func DecBytesToDec ¶ added in v1.26.0
func DecToDecBytes ¶ added in v1.26.0
func GetCampaignMarketQualificationKey ¶ added in v1.27.0
GetCampaignMarketQualificationKey provides the key for the market trading rewards qualification status
func GetCampaignRewardPendingPoolKey ¶ added in v1.30.0
GetCampaignRewardPendingPoolKey provides the key for a pending reward pool for a given start time
func GetCampaignRewardPoolKey ¶ added in v1.27.0
GetCampaignRewardPoolKey provides the key for a reward pool for a given start time
func GetDepositKey ¶
GetDepositKey provides the key to obtain a given subaccount's deposits for a given denom
func GetDerivativeMarketKey ¶
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
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 GetLimitOrderIndexKey ¶
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 GetMarketIdDirectionFromTransientKey ¶
GetMarketIdDirectionFromTransientKey parses the marketID and direction from a transient Key. NOTE: this will not work for a normal key.
func GetSortedBalanceKeys ¶ added in v1.28.3
func GetSpotMarketKey ¶
func GetSubaccountOrderKey ¶
func GetSubaccountTradeNonceKey ¶
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
GetTradingRewardAccountPendingPointsPrefix provides the prefix for the account's trading rewards pending points.
func GetTradingRewardAccountPendingPointsStartTimestamp ¶ added in v1.30.0
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
GetTradingRewardTotalPendingPointsKey provides the key for the total pending trading rewards points.
func GetTradingRewardsMarketPointsMultiplierKey ¶ added in v1.27.0
GetTradingRewardsMarketPointsMultiplierKey provides the key for the market trading rewards multiplier
func GetTransientLimitOrderIndexIteratorPrefix ¶ added in v1.28.4
func HasDuplicates ¶ added in v1.26.0
func HasDuplicatesCoin ¶ added in v1.26.0
func HasDuplicatesHexHash ¶ added in v1.28.4
func HasDuplicatesOrder ¶ added in v1.28.4
func IsEqualDenoms ¶ added in v1.27.0
func IsHexHash ¶ added in v1.28.7
IsHexHash verifies whether a string can represent a valid hex-encoded hash or not.
func IsTrueByte ¶ added in v1.27.0
func IsValidOrderHash ¶
func IsZeroOrNilDec ¶ added in v1.27.2
func IsZeroOrNilInt ¶ added in v1.27.2
func MarketDirectionPrefix ¶
MarketDirectionPrefix allows to obtain prefix against a particular marketID, direction
func MarketSubaccountInfix ¶
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 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 ParseDepositTransientStoreKey ¶
ParseDepositTransientStoreKey parses the deposit transient store key.
func ParseFeeDiscountBucketAccountVolumeIteratorKey ¶ added in v1.39.3
func ParseFeeDiscountBucketAccountVolumeIteratorKey(key []byte) (bucketStartTimestamp int64, account sdk.AccAddress)
func ParseTradingRewardAccountPendingPointsKey ¶ added in v1.32.1
func ParseTradingRewardAccountPendingPointsKey(key []byte) (bucketStartTimestamp int64, account sdk.AccAddress)
func PositionIndexBySubaccountMarketPrefix ¶
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 RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SafeIsPositiveDec ¶ added in v1.27.2
func SafeIsPositiveInt ¶ added in v1.27.2
func SdkAddressToEthAddress ¶
func SdkAddressToEthAddress(addr sdk.AccAddress) common.Address
func SdkAddressToSubaccountID ¶
func SdkAddressToSubaccountID(addr sdk.AccAddress) common.Hash
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 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 (m *AccountRewards) GetRewards() github_com_cosmos_cosmos_sdk_types.Coins
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) MarshalToSizedBuffer ¶
func (*Balance) ProtoMessage ¶
func (*Balance) ProtoMessage()
func (*Balance) XXX_DiscardUnknown ¶
func (m *Balance) XXX_DiscardUnknown()
func (*Balance) XXX_Marshal ¶
func (*Balance) XXX_Unmarshal ¶
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 (a BatchCancelDerivativeOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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
func (a BatchCancelDerivativeOrdersAuthz) MsgTypeURL() string
BatchCancelDerivativeOrdersAuthz impl
func (*BatchCancelDerivativeOrdersAuthz) ProtoMessage ¶ added in v1.37.5
func (*BatchCancelDerivativeOrdersAuthz) ProtoMessage()
func (*BatchCancelDerivativeOrdersAuthz) Reset ¶ added in v1.37.5
func (m *BatchCancelDerivativeOrdersAuthz) Reset()
func (*BatchCancelDerivativeOrdersAuthz) Size ¶ added in v1.37.5
func (m *BatchCancelDerivativeOrdersAuthz) Size() (n int)
func (*BatchCancelDerivativeOrdersAuthz) String ¶ added in v1.37.5
func (m *BatchCancelDerivativeOrdersAuthz) String() string
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 (m *BatchCancelDerivativeOrdersAuthz) XXX_Merge(src proto.Message)
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 (a BatchCancelSpotOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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
func (p *BatchCommunityPoolSpendProposal) GetTitle() string
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 (m *BatchCommunityPoolSpendProposal) Reset()
func (*BatchCommunityPoolSpendProposal) Size ¶ added in v1.27.3
func (m *BatchCommunityPoolSpendProposal) Size() (n int)
func (*BatchCommunityPoolSpendProposal) String ¶ added in v1.27.3
func (m *BatchCommunityPoolSpendProposal) String() string
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 (a BatchCreateDerivativeLimitOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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
func (a BatchCreateDerivativeLimitOrdersAuthz) MsgTypeURL() string
BatchCreateDerivativeLimitOrdersAuthz impl
func (*BatchCreateDerivativeLimitOrdersAuthz) ProtoMessage ¶ added in v1.37.5
func (*BatchCreateDerivativeLimitOrdersAuthz) ProtoMessage()
func (*BatchCreateDerivativeLimitOrdersAuthz) Reset ¶ added in v1.37.5
func (m *BatchCreateDerivativeLimitOrdersAuthz) Reset()
func (*BatchCreateDerivativeLimitOrdersAuthz) Size ¶ added in v1.37.5
func (m *BatchCreateDerivativeLimitOrdersAuthz) Size() (n int)
func (*BatchCreateDerivativeLimitOrdersAuthz) String ¶ added in v1.37.5
func (m *BatchCreateDerivativeLimitOrdersAuthz) String() string
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 (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Merge(src proto.Message)
func (*BatchCreateDerivativeLimitOrdersAuthz) XXX_Size ¶ added in v1.37.5
func (m *BatchCreateDerivativeLimitOrdersAuthz) XXX_Size() int
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 (a BatchCreateSpotLimitOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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 (m *BatchCreateSpotLimitOrdersAuthz) Reset()
func (*BatchCreateSpotLimitOrdersAuthz) Size ¶ added in v1.37.5
func (m *BatchCreateSpotLimitOrdersAuthz) Size() (n int)
func (*BatchCreateSpotLimitOrdersAuthz) String ¶ added in v1.37.5
func (m *BatchCreateSpotLimitOrdersAuthz) String() string
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
func (p *BatchExchangeModificationProposal) GetTitle() string
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 (m *BatchExchangeModificationProposal) Reset()
func (*BatchExchangeModificationProposal) Size ¶ added in v1.27.2
func (m *BatchExchangeModificationProposal) Size() (n int)
func (*BatchExchangeModificationProposal) String ¶ added in v1.27.2
func (m *BatchExchangeModificationProposal) String() string
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 (m *BatchExchangeModificationProposal) XXX_Merge(src proto.Message)
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 (a BatchUpdateOrdersAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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 (a CancelDerivativeOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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 (a CancelSpotOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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 (a CreateDerivativeLimitOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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 (m *CreateDerivativeLimitOrderAuthz) Reset()
func (*CreateDerivativeLimitOrderAuthz) Size ¶ added in v1.37.5
func (m *CreateDerivativeLimitOrderAuthz) Size() (n int)
func (*CreateDerivativeLimitOrderAuthz) String ¶ added in v1.37.5
func (m *CreateDerivativeLimitOrderAuthz) String() string
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 (a CreateDerivativeMarketOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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
func (a CreateDerivativeMarketOrderAuthz) MsgTypeURL() string
CreateDerivativeMarketOrderAuthz impl
func (*CreateDerivativeMarketOrderAuthz) ProtoMessage ¶ added in v1.37.5
func (*CreateDerivativeMarketOrderAuthz) ProtoMessage()
func (*CreateDerivativeMarketOrderAuthz) Reset ¶ added in v1.37.5
func (m *CreateDerivativeMarketOrderAuthz) Reset()
func (*CreateDerivativeMarketOrderAuthz) Size ¶ added in v1.37.5
func (m *CreateDerivativeMarketOrderAuthz) Size() (n int)
func (*CreateDerivativeMarketOrderAuthz) String ¶ added in v1.37.5
func (m *CreateDerivativeMarketOrderAuthz) String() string
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 (m *CreateDerivativeMarketOrderAuthz) XXX_Merge(src proto.Message)
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 (a CreateSpotLimitOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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 (a CreateSpotMarketOrderAuthz) Accept(ctx sdk.Context, msg sdk.Msg) (authz.AcceptResponse, error)
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) HasTransientOrRestingVanillaLimitOrders ¶
func (*Deposit) MarshalToSizedBuffer ¶
func (*Deposit) ProtoMessage ¶
func (*Deposit) ProtoMessage()
func (*Deposit) XXX_DiscardUnknown ¶
func (m *Deposit) XXX_DiscardUnknown()
func (*Deposit) XXX_Marshal ¶
func (*Deposit) XXX_Unmarshal ¶
type DepositDelta ¶
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) 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 (m *DerivativeLimitOrder) ToTrimmed() *TrimmedDerivativeLimitOrder
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 */ 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) 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 (*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 (m *DerivativeMarketOrderCancel) GetMarketOrder() *DerivativeMarketOrder
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 */ 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 ¶
func (p *DerivativeMarketParamUpdateProposal) GetTitle() string
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 (m *DerivativeMarketParamUpdateProposal) Reset()
func (*DerivativeMarketParamUpdateProposal) Size ¶
func (m *DerivativeMarketParamUpdateProposal) Size() (n int)
func (*DerivativeMarketParamUpdateProposal) String ¶
func (m *DerivativeMarketParamUpdateProposal) String() 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 (m *DerivativeMarketParamUpdateProposal) XXX_Merge(src proto.Message)
func (*DerivativeMarketParamUpdateProposal) XXX_Size ¶
func (m *DerivativeMarketParamUpdateProposal) XXX_Size() int
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 (m *DerivativeMarketSettlementInfo) String() 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) 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 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 (m *EventBatchDerivativeExecution) GetTrades() []*DerivativeTradeLog
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 (m *EventBatchDerivativeExecution) String() 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 (m *EventBatchDerivativePosition) String() 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 (m *EventCancelDerivativeOrder) GetLimitOrder() *DerivativeLimitOrder
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 (m *EventExpiryFuturesMarketUpdate) GetMarket() DerivativeMarket
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 (m *EventExpiryFuturesMarketUpdate) String() 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 (m *EventFeeDiscountSchedule) GetSchedule() *FeeDiscountSchedule
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 (m *EventLostFundsFromLiquidation) String() string
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 (m *EventPerpetualMarketFundingUpdate) GetFunding() PerpetualMarketFunding
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 (m *EventPerpetualMarketFundingUpdate) Reset()
func (*EventPerpetualMarketFundingUpdate) Size ¶
func (m *EventPerpetualMarketFundingUpdate) Size() (n int)
func (*EventPerpetualMarketFundingUpdate) String ¶
func (m *EventPerpetualMarketFundingUpdate) String() 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 (m *EventPerpetualMarketFundingUpdate) XXX_Merge(src proto.Message)
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 (m *EventPerpetualMarketUpdate) GetFunding() *PerpetualMarketFunding
func (*EventPerpetualMarketUpdate) GetMarket ¶
func (m *EventPerpetualMarketUpdate) GetMarket() DerivativeMarket
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 (m *EventSubaccountBalanceTransfer) String() 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 (m *EventTradingRewardCampaignUpdate) GetCampaignInfo() *TradingRewardCampaignInfo
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 (m *EventTradingRewardCampaignUpdate) Reset()
func (*EventTradingRewardCampaignUpdate) Size ¶ added in v1.27.1
func (m *EventTradingRewardCampaignUpdate) Size() (n int)
func (*EventTradingRewardCampaignUpdate) String ¶ added in v1.27.1
func (m *EventTradingRewardCampaignUpdate) String() string
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 (m *EventTradingRewardCampaignUpdate) XXX_Merge(src proto.Message)
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 (m *EventTradingRewardDistribution) String() string
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 (m *ExpiryFuturesMarketInfoState) GetMarketInfo() *ExpiryFuturesMarketInfo
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 (m *ExpiryFuturesMarketInfoState) String() 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 ¶
func (p *ExpiryFuturesMarketLaunchProposal) GetTitle() string
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 (m *ExpiryFuturesMarketLaunchProposal) Reset()
func (*ExpiryFuturesMarketLaunchProposal) Size ¶
func (m *ExpiryFuturesMarketLaunchProposal) Size() (n int)
func (*ExpiryFuturesMarketLaunchProposal) String ¶
func (m *ExpiryFuturesMarketLaunchProposal) String() 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 (m *ExpiryFuturesMarketLaunchProposal) XXX_Merge(src proto.Message)
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 (m *FeeDiscountAccountTierTTL) GetTierTtl() *FeeDiscountTierTTL
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 (m *FeeDiscountBucketVolumeAccounts) Reset()
func (*FeeDiscountBucketVolumeAccounts) Size ¶ added in v1.39.3
func (m *FeeDiscountBucketVolumeAccounts) Size() (n int)
func (*FeeDiscountBucketVolumeAccounts) String ¶ added in v1.39.3
func (m *FeeDiscountBucketVolumeAccounts) String() string
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 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 ¶
func (m *FullDerivativeMarket_PerpetualInfo) Size() (n int)
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) 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 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) GetCw20ContractAddress ¶ added in v1.33.5
func (*MMPool) GetMakerContractAddress ¶ added in v1.33.5
func (*MMPool) GetMarketId ¶ added in v1.33.5
func (*MMPool) GetPoolSubaccountId ¶ added in v1.33.5
func (*MMPool) MarshalToSizedBuffer ¶ added in v1.33.5
func (*MMPool) ProtoMessage ¶ added in v1.33.5
func (*MMPool) ProtoMessage()
func (*MMPool) XXX_DiscardUnknown ¶ added in v1.33.5
func (m *MMPool) XXX_DiscardUnknown()
func (*MMPool) XXX_Marshal ¶ added in v1.33.5
func (*MMPool) XXX_Unmarshal ¶ added in v1.33.5
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 (m *MarketMakingPoolInfoResponse) String() string
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 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 ¶
func (msg *MsgBatchCancelDerivativeOrders) Route() string
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 (m *MsgBatchCancelDerivativeOrders) String() string
func (*MsgBatchCancelDerivativeOrders) Type ¶
func (msg *MsgBatchCancelDerivativeOrders) Type() string
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) ProtoMessage()
func (*MsgBatchCancelDerivativeOrdersResponse) Reset ¶
func (m *MsgBatchCancelDerivativeOrdersResponse) Reset()
func (*MsgBatchCancelDerivativeOrdersResponse) Size ¶
func (m *MsgBatchCancelDerivativeOrdersResponse) Size() (n int)
func (*MsgBatchCancelDerivativeOrdersResponse) String ¶
func (m *MsgBatchCancelDerivativeOrdersResponse) String() 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 (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Merge(src proto.Message)
func (*MsgBatchCancelDerivativeOrdersResponse) XXX_Size ¶
func (m *MsgBatchCancelDerivativeOrdersResponse) XXX_Size() int
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 (m *MsgBatchCancelSpotOrdersResponse) Reset()
func (*MsgBatchCancelSpotOrdersResponse) Size ¶
func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int)
func (*MsgBatchCancelSpotOrdersResponse) String ¶
func (m *MsgBatchCancelSpotOrdersResponse) String() 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 (m *MsgBatchCancelSpotOrdersResponse) XXX_Merge(src proto.Message)
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 ¶
func (msg MsgBatchCreateDerivativeLimitOrders) GetSigners() []sdk.AccAddress
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 (m *MsgBatchCreateDerivativeLimitOrders) Reset()
func (MsgBatchCreateDerivativeLimitOrders) Route ¶
func (msg MsgBatchCreateDerivativeLimitOrders) Route() string
Route should return the name of the module
func (*MsgBatchCreateDerivativeLimitOrders) Size ¶
func (m *MsgBatchCreateDerivativeLimitOrders) Size() (n int)
func (*MsgBatchCreateDerivativeLimitOrders) String ¶
func (m *MsgBatchCreateDerivativeLimitOrders) String() string
func (MsgBatchCreateDerivativeLimitOrders) Type ¶
func (msg MsgBatchCreateDerivativeLimitOrders) Type() string
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 (m *MsgBatchCreateDerivativeLimitOrders) XXX_Merge(src proto.Message)
func (*MsgBatchCreateDerivativeLimitOrders) XXX_Size ¶
func (m *MsgBatchCreateDerivativeLimitOrders) XXX_Size() int
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) Descriptor() ([]byte, []int)
func (*MsgBatchCreateDerivativeLimitOrdersResponse) Marshal ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Marshal() (dAtA []byte, err error)
func (*MsgBatchCreateDerivativeLimitOrdersResponse) MarshalTo ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgBatchCreateDerivativeLimitOrdersResponse) MarshalToSizedBuffer ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgBatchCreateDerivativeLimitOrdersResponse) ProtoMessage ¶
func (*MsgBatchCreateDerivativeLimitOrdersResponse) ProtoMessage()
func (*MsgBatchCreateDerivativeLimitOrdersResponse) Reset ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Reset()
func (*MsgBatchCreateDerivativeLimitOrdersResponse) Size ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Size() (n int)
func (*MsgBatchCreateDerivativeLimitOrdersResponse) String ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) String() string
func (*MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal(dAtA []byte) error
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 (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Merge(src proto.Message)
func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Size ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Size() int
func (*MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Unmarshal ¶
func (m *MsgBatchCreateDerivativeLimitOrdersResponse) XXX_Unmarshal(b []byte) error
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 ¶
func (msg MsgBatchCreateSpotLimitOrders) Route() string
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 (m *MsgBatchCreateSpotLimitOrders) String() string
func (MsgBatchCreateSpotLimitOrders) Type ¶
func (msg MsgBatchCreateSpotLimitOrders) Type() string
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 (m *MsgBatchCreateSpotLimitOrdersResponse) Reset()
func (*MsgBatchCreateSpotLimitOrdersResponse) Size ¶
func (m *MsgBatchCreateSpotLimitOrdersResponse) Size() (n int)
func (*MsgBatchCreateSpotLimitOrdersResponse) String ¶
func (m *MsgBatchCreateSpotLimitOrdersResponse) String() 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 (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Merge(src proto.Message)
func (*MsgBatchCreateSpotLimitOrdersResponse) XXX_Size ¶
func (m *MsgBatchCreateSpotLimitOrdersResponse) XXX_Size() int
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 (m *MsgBatchUpdateOrdersResponse) String() string
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 (m *MsgCancelDerivativeOrderResponse) Reset()
func (*MsgCancelDerivativeOrderResponse) Size ¶
func (m *MsgCancelDerivativeOrderResponse) Size() (n int)
func (*MsgCancelDerivativeOrderResponse) String ¶
func (m *MsgCancelDerivativeOrderResponse) String() 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 (m *MsgCancelDerivativeOrderResponse) XXX_Merge(src proto.Message)
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 ¶
func (msg MsgCreateDerivativeLimitOrder) Route() string
Route should return the name of the module
func (*MsgCreateDerivativeLimitOrder) Size ¶
func (m *MsgCreateDerivativeLimitOrder) Size() (n int)
func (*MsgCreateDerivativeLimitOrder) String ¶
func (m *MsgCreateDerivativeLimitOrder) String() string
func (MsgCreateDerivativeLimitOrder) Type ¶
func (msg MsgCreateDerivativeLimitOrder) Type() string
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 (m *MsgCreateDerivativeLimitOrderResponse) Reset()
func (*MsgCreateDerivativeLimitOrderResponse) Size ¶
func (m *MsgCreateDerivativeLimitOrderResponse) Size() (n int)
func (*MsgCreateDerivativeLimitOrderResponse) String ¶
func (m *MsgCreateDerivativeLimitOrderResponse) String() 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 (m *MsgCreateDerivativeLimitOrderResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDerivativeLimitOrderResponse) XXX_Size ¶
func (m *MsgCreateDerivativeLimitOrderResponse) XXX_Size() int
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 ¶
func (msg MsgCreateDerivativeMarketOrder) Route() string
Route should return the name of the module
func (*MsgCreateDerivativeMarketOrder) Size ¶
func (m *MsgCreateDerivativeMarketOrder) Size() (n int)
func (*MsgCreateDerivativeMarketOrder) String ¶
func (m *MsgCreateDerivativeMarketOrder) String() string
func (MsgCreateDerivativeMarketOrder) Type ¶
func (msg MsgCreateDerivativeMarketOrder) Type() string
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) ProtoMessage()
func (*MsgCreateDerivativeMarketOrderResponse) Reset ¶
func (m *MsgCreateDerivativeMarketOrderResponse) Reset()
func (*MsgCreateDerivativeMarketOrderResponse) Size ¶
func (m *MsgCreateDerivativeMarketOrderResponse) Size() (n int)
func (*MsgCreateDerivativeMarketOrderResponse) String ¶
func (m *MsgCreateDerivativeMarketOrderResponse) String() 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 (m *MsgCreateDerivativeMarketOrderResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDerivativeMarketOrderResponse) XXX_Size ¶
func (m *MsgCreateDerivativeMarketOrderResponse) XXX_Size() int
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 (m *MsgCreateSpotLimitOrderResponse) Reset()
func (*MsgCreateSpotLimitOrderResponse) Size ¶
func (m *MsgCreateSpotLimitOrderResponse) Size() (n int)
func (*MsgCreateSpotLimitOrderResponse) String ¶
func (m *MsgCreateSpotLimitOrderResponse) String() 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 (m *MsgCreateSpotMarketOrderResponse) Reset()
func (*MsgCreateSpotMarketOrderResponse) Size ¶
func (m *MsgCreateSpotMarketOrderResponse) Size() (n int)
func (*MsgCreateSpotMarketOrderResponse) String ¶
func (m *MsgCreateSpotMarketOrderResponse) String() 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 (m *MsgCreateSpotMarketOrderResponse) XXX_Merge(src proto.Message)
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) 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) GetSignBytes ¶ added in v1.39.0
func (*MsgExec) GetSigners ¶ added in v1.39.0
func (msg *MsgExec) GetSigners() []sdk.AccAddress
func (*MsgExec) MarshalToSizedBuffer ¶ added in v1.39.0
func (*MsgExec) ProtoMessage ¶ added in v1.39.0
func (*MsgExec) ProtoMessage()
func (*MsgExec) ValidateBasic ¶ added in v1.39.0
func (*MsgExec) XXX_DiscardUnknown ¶ added in v1.39.0
func (m *MsgExec) XXX_DiscardUnknown()
func (*MsgExec) XXX_Marshal ¶ added in v1.39.0
func (*MsgExec) XXX_Unmarshal ¶ added in v1.39.0
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 (m *MsgIncreasePositionMarginResponse) Reset()
func (*MsgIncreasePositionMarginResponse) Size ¶
func (m *MsgIncreasePositionMarginResponse) Size() (n int)
func (*MsgIncreasePositionMarginResponse) String ¶
func (m *MsgIncreasePositionMarginResponse) String() 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 (m *MsgIncreasePositionMarginResponse) XXX_Merge(src proto.Message)
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 ¶
func (msg MsgInstantExpiryFuturesMarketLaunch) GetSigners() []sdk.AccAddress
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 (m *MsgInstantExpiryFuturesMarketLaunch) Reset()
func (MsgInstantExpiryFuturesMarketLaunch) Route ¶
func (msg MsgInstantExpiryFuturesMarketLaunch) Route() string
Route implements the sdk.Msg interface. It should return the name of the module
func (*MsgInstantExpiryFuturesMarketLaunch) Size ¶
func (m *MsgInstantExpiryFuturesMarketLaunch) Size() (n int)
func (*MsgInstantExpiryFuturesMarketLaunch) String ¶
func (m *MsgInstantExpiryFuturesMarketLaunch) String() string
func (MsgInstantExpiryFuturesMarketLaunch) Type ¶
func (msg MsgInstantExpiryFuturesMarketLaunch) Type() string
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 (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Merge(src proto.Message)
func (*MsgInstantExpiryFuturesMarketLaunch) XXX_Size ¶
func (m *MsgInstantExpiryFuturesMarketLaunch) XXX_Size() int
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) Descriptor() ([]byte, []int)
func (*MsgInstantExpiryFuturesMarketLaunchResponse) Marshal ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Marshal() (dAtA []byte, err error)
func (*MsgInstantExpiryFuturesMarketLaunchResponse) MarshalTo ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgInstantExpiryFuturesMarketLaunchResponse) MarshalToSizedBuffer ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgInstantExpiryFuturesMarketLaunchResponse) ProtoMessage ¶
func (*MsgInstantExpiryFuturesMarketLaunchResponse) ProtoMessage()
func (*MsgInstantExpiryFuturesMarketLaunchResponse) Reset ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Reset()
func (*MsgInstantExpiryFuturesMarketLaunchResponse) Size ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Size() (n int)
func (*MsgInstantExpiryFuturesMarketLaunchResponse) String ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) String() string
func (*MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal(dAtA []byte) error
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 (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Merge(src proto.Message)
func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Size ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Size() int
func (*MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Unmarshal ¶
func (m *MsgInstantExpiryFuturesMarketLaunchResponse) XXX_Unmarshal(b []byte) error
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 (m *MsgInstantPerpetualMarketLaunch) Reset()
func (MsgInstantPerpetualMarketLaunch) Route ¶
func (msg MsgInstantPerpetualMarketLaunch) Route() string
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 (m *MsgInstantPerpetualMarketLaunch) String() string
func (MsgInstantPerpetualMarketLaunch) Type ¶
func (msg MsgInstantPerpetualMarketLaunch) Type() string
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) ProtoMessage()
func (*MsgInstantPerpetualMarketLaunchResponse) Reset ¶
func (m *MsgInstantPerpetualMarketLaunchResponse) Reset()
func (*MsgInstantPerpetualMarketLaunchResponse) Size ¶
func (m *MsgInstantPerpetualMarketLaunchResponse) Size() (n int)
func (*MsgInstantPerpetualMarketLaunchResponse) String ¶
func (m *MsgInstantPerpetualMarketLaunchResponse) String() 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 (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Merge(src proto.Message)
func (*MsgInstantPerpetualMarketLaunchResponse) XXX_Size ¶
func (m *MsgInstantPerpetualMarketLaunchResponse) XXX_Size() int
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 ¶
func (msg MsgInstantSpotMarketLaunch) Type() string
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 (m *MsgInstantSpotMarketLaunchResponse) Reset()
func (*MsgInstantSpotMarketLaunchResponse) Size ¶
func (m *MsgInstantSpotMarketLaunchResponse) Size() (n int)
func (*MsgInstantSpotMarketLaunchResponse) String ¶
func (m *MsgInstantSpotMarketLaunchResponse) String() 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 (m *MsgInstantSpotMarketLaunchResponse) XXX_Merge(src proto.Message)
func (*MsgInstantSpotMarketLaunchResponse) XXX_Size ¶
func (m *MsgInstantSpotMarketLaunchResponse) XXX_Size() int
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 (m *MsgLiquidatePositionResponse) String() 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 (m *MsgSubaccountTransferResponse) String() 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) 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) GetMarketId ¶
func (*OrderData) GetOrderHash ¶
func (*OrderData) GetSubaccountId ¶
func (*OrderData) MarshalToSizedBuffer ¶
func (*OrderData) ProtoMessage ¶
func (*OrderData) ProtoMessage()
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 (*OrderData) XXX_Unmarshal ¶
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) FeeRecipientAddress ¶ added in v1.23.7
func (*OrderInfo) GetFeeRecipient ¶
func (*OrderInfo) GetNotional ¶
func (*OrderInfo) GetSubaccountId ¶
func (*OrderInfo) MarshalToSizedBuffer ¶
func (*OrderInfo) ProtoMessage ¶
func (*OrderInfo) ProtoMessage()
func (*OrderInfo) SubaccountID ¶
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 (*OrderInfo) XXX_Unmarshal ¶
type OrderType ¶
type OrderType int32
func (OrderType) EnumDescriptor ¶
func (OrderType) IsPostOnly ¶ added in v1.32.1
func (*OrderType) UnmarshalJSON ¶
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 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"` 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 */ LiquidatorRewardShareRate github_com_cosmos_cosmos_sdk_types.Dec `` /* 181-byte string literal not displayed */ }
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) GetDefaultFundingInterval ¶
func (*Params) GetDerivativeMarketInstantListingFee ¶
func (*Params) GetFundingMultiple ¶
func (*Params) GetMaxDerivativeOrderSideCount ¶
func (*Params) GetSpotMarketInstantListingFee ¶
func (*Params) GetTradingRewardsVestingDuration ¶ added in v1.30.0
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs returns the parameter set pairs.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
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 (m *PerpetualMarketFundingState) GetFunding() *PerpetualMarketFunding
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 (m *PerpetualMarketLaunchProposal) String() 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 ¶
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 (*Position) ApplyProfitHaircut ¶
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 (*Position) ClosePositionWithSettlePrice ¶
func (*Position) Descriptor ¶
func (*Position) GetAverageWeightedEntryPrice ¶
func (*Position) GetBankruptcyPrice ¶
func (p *Position) GetBankruptcyPrice(funding *PerpetualMarketFunding) (bankruptcyPrice sdk.Dec)
func (*Position) GetDirectionString ¶
func (*Position) GetEffectiveMargin ¶ added in v1.39.0
func (*Position) GetEffectiveMarginRatio ¶ added in v1.39.0
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) GetLiquidationPrice ¶
func (*Position) GetPayoutFromPnl ¶
func (*Position) GetPayoutIfFullyClosing ¶
func (*Position) MarshalToSizedBuffer ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) XXX_DiscardUnknown ¶
func (m *Position) XXX_DiscardUnknown()
func (*Position) XXX_Marshal ¶
func (*Position) XXX_Unmarshal ¶
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) 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) 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 (m *QueryBalanceMismatchesRequest) String() string
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 (m *QueryBalanceMismatchesResponse) String() string
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 (m *QueryBalanceWithBalanceHoldsRequest) Reset()
func (*QueryBalanceWithBalanceHoldsRequest) Size ¶ added in v1.30.0
func (m *QueryBalanceWithBalanceHoldsRequest) Size() (n int)
func (*QueryBalanceWithBalanceHoldsRequest) String ¶ added in v1.30.0
func (m *QueryBalanceWithBalanceHoldsRequest) String() string
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 (m *QueryBalanceWithBalanceHoldsRequest) XXX_Merge(src proto.Message)
func (*QueryBalanceWithBalanceHoldsRequest) XXX_Size ¶ added in v1.30.0
func (m *QueryBalanceWithBalanceHoldsRequest) XXX_Size() int
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 (m *QueryBalanceWithBalanceHoldsResponse) Reset()
func (*QueryBalanceWithBalanceHoldsResponse) Size ¶ added in v1.30.0
func (m *QueryBalanceWithBalanceHoldsResponse) Size() (n int)
func (*QueryBalanceWithBalanceHoldsResponse) String ¶ added in v1.30.0
func (m *QueryBalanceWithBalanceHoldsResponse) String() string
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 (m *QueryBalanceWithBalanceHoldsResponse) XXX_Merge(src proto.Message)
func (*QueryBalanceWithBalanceHoldsResponse) XXX_Size ¶ added in v1.30.0
func (m *QueryBalanceWithBalanceHoldsResponse) XXX_Size() int
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 (m *QueryDerivativeMarketAddressRequest) GetMarketId() string
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 (m *QueryDerivativeMarketAddressRequest) Reset()
func (*QueryDerivativeMarketAddressRequest) Size ¶ added in v1.28.3
func (m *QueryDerivativeMarketAddressRequest) Size() (n int)
func (*QueryDerivativeMarketAddressRequest) String ¶ added in v1.28.3
func (m *QueryDerivativeMarketAddressRequest) String() string
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 (m *QueryDerivativeMarketAddressRequest) XXX_Merge(src proto.Message)
func (*QueryDerivativeMarketAddressRequest) XXX_Size ¶ added in v1.28.3
func (m *QueryDerivativeMarketAddressRequest) XXX_Size() int
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 (m *QueryDerivativeMarketAddressResponse) GetAddress() string
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 (m *QueryDerivativeMarketAddressResponse) Reset()
func (*QueryDerivativeMarketAddressResponse) Size ¶ added in v1.28.3
func (m *QueryDerivativeMarketAddressResponse) Size() (n int)
func (*QueryDerivativeMarketAddressResponse) String ¶ added in v1.28.3
func (m *QueryDerivativeMarketAddressResponse) String() string
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 (m *QueryDerivativeMarketAddressResponse) XXX_Merge(src proto.Message)
func (*QueryDerivativeMarketAddressResponse) XXX_Size ¶ added in v1.28.3
func (m *QueryDerivativeMarketAddressResponse) XXX_Size() int
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 (m *QueryDerivativeMarketRequest) String() 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 (m *QueryDerivativeMarketResponse) GetMarket() *FullDerivativeMarket
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 (m *QueryDerivativeMarketResponse) String() 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 (m *QueryDerivativeMarketsRequest) String() 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 (m *QueryDerivativeMarketsResponse) GetMarkets() []*FullDerivativeMarket
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 (m *QueryDerivativeMarketsResponse) String() 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 (m *QueryDerivativeMidPriceRequest) String() string
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 (m *QueryDerivativeMidPriceResponse) Reset()
func (*QueryDerivativeMidPriceResponse) Size ¶ added in v1.39.0
func (m *QueryDerivativeMidPriceResponse) Size() (n int)
func (*QueryDerivativeMidPriceResponse) String ¶ added in v1.39.0
func (m *QueryDerivativeMidPriceResponse) String() string
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 (m *QueryDerivativeOrderbookRequest) GetLimit() uint64
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 (m *QueryDerivativeOrderbookRequest) Reset()
func (*QueryDerivativeOrderbookRequest) Size ¶
func (m *QueryDerivativeOrderbookRequest) Size() (n int)
func (*QueryDerivativeOrderbookRequest) String ¶
func (m *QueryDerivativeOrderbookRequest) String() 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 (m *QueryDerivativeOrderbookResponse) Reset()
func (*QueryDerivativeOrderbookResponse) Size ¶
func (m *QueryDerivativeOrderbookResponse) Size() (n int)
func (*QueryDerivativeOrderbookResponse) String ¶
func (m *QueryDerivativeOrderbookResponse) String() 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 (m *QueryDerivativeOrderbookResponse) XXX_Merge(src proto.Message)
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 (m *QueryExchangeBalancesRequest) String() 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 (m *QueryExchangeBalancesResponse) String() 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 (m *QueryExpiryFuturesMarketInfoRequest) GetMarketId() string
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 (m *QueryExpiryFuturesMarketInfoRequest) Reset()
func (*QueryExpiryFuturesMarketInfoRequest) Size ¶ added in v1.33.5
func (m *QueryExpiryFuturesMarketInfoRequest) Size() (n int)
func (*QueryExpiryFuturesMarketInfoRequest) String ¶ added in v1.33.5
func (m *QueryExpiryFuturesMarketInfoRequest) String() string
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 (m *QueryExpiryFuturesMarketInfoRequest) XXX_Merge(src proto.Message)
func (*QueryExpiryFuturesMarketInfoRequest) XXX_Size ¶ added in v1.33.5
func (m *QueryExpiryFuturesMarketInfoRequest) XXX_Size() int
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 (m *QueryExpiryFuturesMarketInfoResponse) GetInfo() ExpiryFuturesMarketInfo
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 (m *QueryExpiryFuturesMarketInfoResponse) Reset()
func (*QueryExpiryFuturesMarketInfoResponse) Size ¶ added in v1.33.5
func (m *QueryExpiryFuturesMarketInfoResponse) Size() (n int)
func (*QueryExpiryFuturesMarketInfoResponse) String ¶ added in v1.33.5
func (m *QueryExpiryFuturesMarketInfoResponse) String() string
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 (m *QueryExpiryFuturesMarketInfoResponse) XXX_Merge(src proto.Message)
func (*QueryExpiryFuturesMarketInfoResponse) XXX_Size ¶ added in v1.33.5
func (m *QueryExpiryFuturesMarketInfoResponse) XXX_Size() int
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 (m *QueryFeeDiscountAccountInfoRequest) GetAccount() string
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 (m *QueryFeeDiscountAccountInfoRequest) Reset()
func (*QueryFeeDiscountAccountInfoRequest) Size ¶ added in v1.27.0
func (m *QueryFeeDiscountAccountInfoRequest) Size() (n int)
func (*QueryFeeDiscountAccountInfoRequest) String ¶ added in v1.27.0
func (m *QueryFeeDiscountAccountInfoRequest) String() string
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 (m *QueryFeeDiscountAccountInfoRequest) XXX_Merge(src proto.Message)
func (*QueryFeeDiscountAccountInfoRequest) XXX_Size ¶ added in v1.27.0
func (m *QueryFeeDiscountAccountInfoRequest) XXX_Size() int
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 (m *QueryFeeDiscountAccountInfoResponse) GetAccountInfo() *FeeDiscountTierInfo
func (*QueryFeeDiscountAccountInfoResponse) GetAccountTtl ¶ added in v1.28.3
func (m *QueryFeeDiscountAccountInfoResponse) GetAccountTtl() *FeeDiscountTierTTL
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 (m *QueryFeeDiscountAccountInfoResponse) Reset()
func (*QueryFeeDiscountAccountInfoResponse) Size ¶ added in v1.27.0
func (m *QueryFeeDiscountAccountInfoResponse) Size() (n int)
func (*QueryFeeDiscountAccountInfoResponse) String ¶ added in v1.27.0
func (m *QueryFeeDiscountAccountInfoResponse) String() string
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 (m *QueryFeeDiscountAccountInfoResponse) XXX_Merge(src proto.Message)
func (*QueryFeeDiscountAccountInfoResponse) XXX_Size ¶ added in v1.27.0
func (m *QueryFeeDiscountAccountInfoResponse) XXX_Size() int
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 (m *QueryFeeDiscountScheduleRequest) Reset()
func (*QueryFeeDiscountScheduleRequest) Size ¶ added in v1.27.0
func (m *QueryFeeDiscountScheduleRequest) Size() (n int)
func (*QueryFeeDiscountScheduleRequest) String ¶ added in v1.27.0
func (m *QueryFeeDiscountScheduleRequest) String() string
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 (m *QueryFeeDiscountScheduleResponse) Reset()
func (*QueryFeeDiscountScheduleResponse) Size ¶ added in v1.27.0
func (m *QueryFeeDiscountScheduleResponse) Size() (n int)
func (*QueryFeeDiscountScheduleResponse) String ¶ added in v1.27.0
func (m *QueryFeeDiscountScheduleResponse) String() string
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 (m *QueryFeeDiscountScheduleResponse) XXX_Merge(src proto.Message)
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 (m *QueryFeeDiscountTierStatisticsRequest) Reset()
func (*QueryFeeDiscountTierStatisticsRequest) Size ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsRequest) Size() (n int)
func (*QueryFeeDiscountTierStatisticsRequest) String ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsRequest) String() string
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 (m *QueryFeeDiscountTierStatisticsRequest) XXX_Merge(src proto.Message)
func (*QueryFeeDiscountTierStatisticsRequest) XXX_Size ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsRequest) XXX_Size() int
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 (m *QueryFeeDiscountTierStatisticsResponse) GetStatistics() []*TierStatistic
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) ProtoMessage()
func (*QueryFeeDiscountTierStatisticsResponse) Reset ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsResponse) Reset()
func (*QueryFeeDiscountTierStatisticsResponse) Size ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsResponse) Size() (n int)
func (*QueryFeeDiscountTierStatisticsResponse) String ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsResponse) String() string
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 (m *QueryFeeDiscountTierStatisticsResponse) XXX_Merge(src proto.Message)
func (*QueryFeeDiscountTierStatisticsResponse) XXX_Size ¶ added in v1.32.1
func (m *QueryFeeDiscountTierStatisticsResponse) XXX_Size() int
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 (m *QueryHistoricalTradeRecordsRequest) Reset()
func (*QueryHistoricalTradeRecordsRequest) Size ¶ added in v1.39.0
func (m *QueryHistoricalTradeRecordsRequest) Size() (n int)
func (*QueryHistoricalTradeRecordsRequest) String ¶ added in v1.39.0
func (m *QueryHistoricalTradeRecordsRequest) String() string
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 (m *QueryHistoricalTradeRecordsRequest) XXX_Merge(src proto.Message)
func (*QueryHistoricalTradeRecordsRequest) XXX_Size ¶ added in v1.39.0
func (m *QueryHistoricalTradeRecordsRequest) XXX_Size() int
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 (m *QueryHistoricalTradeRecordsResponse) Reset()
func (*QueryHistoricalTradeRecordsResponse) Size ¶ added in v1.39.0
func (m *QueryHistoricalTradeRecordsResponse) Size() (n int)
func (*QueryHistoricalTradeRecordsResponse) String ¶ added in v1.39.0
func (m *QueryHistoricalTradeRecordsResponse) String() string
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 (m *QueryHistoricalTradeRecordsResponse) XXX_Merge(src proto.Message)
func (*QueryHistoricalTradeRecordsResponse) XXX_Size ¶ added in v1.39.0
func (m *QueryHistoricalTradeRecordsResponse) XXX_Size() int
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 (m *QueryIsRegisteredDMMResponse) String() string
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 (m *QueryMarketIDFromVaultRequest) String() string
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 (m *QueryMarketIDFromVaultResponse) String() string
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 (m *QueryMarketVolatilityRequest) String() string
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 (m *QueryMarketVolatilityResponse) String() string
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 (m *QueryPerpetualMarketFundingRequest) Reset()
func (*QueryPerpetualMarketFundingRequest) Size ¶ added in v1.33.5
func (m *QueryPerpetualMarketFundingRequest) Size() (n int)
func (*QueryPerpetualMarketFundingRequest) String ¶ added in v1.33.5
func (m *QueryPerpetualMarketFundingRequest) String() string
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 (m *QueryPerpetualMarketFundingRequest) XXX_Merge(src proto.Message)
func (*QueryPerpetualMarketFundingRequest) XXX_Size ¶ added in v1.33.5
func (m *QueryPerpetualMarketFundingRequest) XXX_Size() int
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 (m *QueryPerpetualMarketFundingResponse) GetState() PerpetualMarketFunding
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 (m *QueryPerpetualMarketFundingResponse) Reset()
func (*QueryPerpetualMarketFundingResponse) Size ¶ added in v1.33.5
func (m *QueryPerpetualMarketFundingResponse) Size() (n int)
func (*QueryPerpetualMarketFundingResponse) String ¶ added in v1.33.5
func (m *QueryPerpetualMarketFundingResponse) String() string
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 (m *QueryPerpetualMarketFundingResponse) XXX_Merge(src proto.Message)
func (*QueryPerpetualMarketFundingResponse) XXX_Size ¶ added in v1.33.5
func (m *QueryPerpetualMarketFundingResponse) XXX_Size() int
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 (m *QueryPerpetualMarketInfoRequest) Reset()
func (*QueryPerpetualMarketInfoRequest) Size ¶ added in v1.33.5
func (m *QueryPerpetualMarketInfoRequest) Size() (n int)
func (*QueryPerpetualMarketInfoRequest) String ¶ added in v1.33.5
func (m *QueryPerpetualMarketInfoRequest) String() string
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 (m *QueryPerpetualMarketInfoResponse) GetInfo() PerpetualMarketInfo
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 (m *QueryPerpetualMarketInfoResponse) Reset()
func (*QueryPerpetualMarketInfoResponse) Size ¶ added in v1.33.5
func (m *QueryPerpetualMarketInfoResponse) Size() (n int)
func (*QueryPerpetualMarketInfoResponse) String ¶ added in v1.33.5
func (m *QueryPerpetualMarketInfoResponse) String() string
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 (m *QueryPerpetualMarketInfoResponse) XXX_Merge(src proto.Message)
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 (m *QueryPositionsResponse) GetState() []DerivativePosition
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 (m *QuerySubaccountDepositRequest) String() 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 (m *QuerySubaccountDepositResponse) String() 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 (m *QuerySubaccountDepositsRequest) String() 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 (m *QuerySubaccountDepositsResponse) Reset()
func (*QuerySubaccountDepositsResponse) Size ¶
func (m *QuerySubaccountDepositsResponse) Size() (n int)
func (*QuerySubaccountDepositsResponse) String ¶
func (m *QuerySubaccountDepositsResponse) String() 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) Descriptor() ([]byte, []int)
func (*QuerySubaccountEffectivePositionInMarketRequest) GetMarketId ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) GetMarketId() string
func (*QuerySubaccountEffectivePositionInMarketRequest) GetSubaccountId ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) GetSubaccountId() string
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 (m *QuerySubaccountEffectivePositionInMarketRequest) MarshalTo(dAtA []byte) (int, error)
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) ProtoMessage()
func (*QuerySubaccountEffectivePositionInMarketRequest) Reset ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) Reset()
func (*QuerySubaccountEffectivePositionInMarketRequest) Size ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) Size() (n int)
func (*QuerySubaccountEffectivePositionInMarketRequest) String ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) String() string
func (*QuerySubaccountEffectivePositionInMarketRequest) Unmarshal ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) Unmarshal(dAtA []byte) error
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 (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Merge(src proto.Message)
func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_Size ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Size() int
func (*QuerySubaccountEffectivePositionInMarketRequest) XXX_Unmarshal ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketRequest) XXX_Unmarshal(b []byte) error
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) Descriptor() ([]byte, []int)
func (*QuerySubaccountEffectivePositionInMarketResponse) GetState ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) GetState() *EffectivePosition
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 (m *QuerySubaccountEffectivePositionInMarketResponse) MarshalTo(dAtA []byte) (int, error)
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) ProtoMessage()
func (*QuerySubaccountEffectivePositionInMarketResponse) Reset ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) Reset()
func (*QuerySubaccountEffectivePositionInMarketResponse) Size ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) Size() (n int)
func (*QuerySubaccountEffectivePositionInMarketResponse) String ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) String() string
func (*QuerySubaccountEffectivePositionInMarketResponse) Unmarshal ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) Unmarshal(dAtA []byte) error
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 (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Merge(src proto.Message)
func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_Size ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Size() int
func (*QuerySubaccountEffectivePositionInMarketResponse) XXX_Unmarshal ¶ added in v1.39.0
func (m *QuerySubaccountEffectivePositionInMarketResponse) XXX_Unmarshal(b []byte) error
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 (m *QuerySubaccountOrderMetadataRequest) Reset()
func (*QuerySubaccountOrderMetadataRequest) Size ¶ added in v1.28.3
func (m *QuerySubaccountOrderMetadataRequest) Size() (n int)
func (*QuerySubaccountOrderMetadataRequest) String ¶ added in v1.28.3
func (m *QuerySubaccountOrderMetadataRequest) String() string
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 (m *QuerySubaccountOrderMetadataRequest) XXX_Merge(src proto.Message)
func (*QuerySubaccountOrderMetadataRequest) XXX_Size ¶ added in v1.28.3
func (m *QuerySubaccountOrderMetadataRequest) XXX_Size() int
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 (m *QuerySubaccountOrderMetadataResponse) GetMetadata() []SubaccountOrderbookMetadataWithMarket
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 (m *QuerySubaccountOrderMetadataResponse) Reset()
func (*QuerySubaccountOrderMetadataResponse) Size ¶ added in v1.28.3
func (m *QuerySubaccountOrderMetadataResponse) Size() (n int)
func (*QuerySubaccountOrderMetadataResponse) String ¶ added in v1.28.3
func (m *QuerySubaccountOrderMetadataResponse) String() string
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 (m *QuerySubaccountOrderMetadataResponse) XXX_Merge(src proto.Message)
func (*QuerySubaccountOrderMetadataResponse) XXX_Size ¶ added in v1.28.3
func (m *QuerySubaccountOrderMetadataResponse) XXX_Size() int
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 (m *QuerySubaccountPositionInMarketRequest) GetMarketId() string
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) ProtoMessage()
func (*QuerySubaccountPositionInMarketRequest) Reset ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketRequest) Reset()
func (*QuerySubaccountPositionInMarketRequest) Size ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketRequest) Size() (n int)
func (*QuerySubaccountPositionInMarketRequest) String ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketRequest) String() string
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 (m *QuerySubaccountPositionInMarketRequest) XXX_Merge(src proto.Message)
func (*QuerySubaccountPositionInMarketRequest) XXX_Size ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketRequest) XXX_Size() int
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 (m *QuerySubaccountPositionInMarketResponse) GetState() *Position
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) ProtoMessage()
func (*QuerySubaccountPositionInMarketResponse) Reset ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketResponse) Reset()
func (*QuerySubaccountPositionInMarketResponse) Size ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketResponse) Size() (n int)
func (*QuerySubaccountPositionInMarketResponse) String ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketResponse) String() string
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 (m *QuerySubaccountPositionInMarketResponse) XXX_Merge(src proto.Message)
func (*QuerySubaccountPositionInMarketResponse) XXX_Size ¶ added in v1.33.12
func (m *QuerySubaccountPositionInMarketResponse) XXX_Size() int
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 (m *QuerySubaccountPositionsRequest) Reset()
func (*QuerySubaccountPositionsRequest) Size ¶ added in v1.28.0
func (m *QuerySubaccountPositionsRequest) Size() (n int)
func (*QuerySubaccountPositionsRequest) String ¶ added in v1.28.0
func (m *QuerySubaccountPositionsRequest) String() string
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 (m *QuerySubaccountPositionsResponse) GetState() []DerivativePosition
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 (m *QuerySubaccountPositionsResponse) Reset()
func (*QuerySubaccountPositionsResponse) Size ¶ added in v1.28.0
func (m *QuerySubaccountPositionsResponse) Size() (n int)
func (*QuerySubaccountPositionsResponse) String ¶ added in v1.28.0
func (m *QuerySubaccountPositionsResponse) String() string
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 (m *QuerySubaccountPositionsResponse) XXX_Merge(src proto.Message)
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 (m *QuerySubaccountTradeNonceRequest) Reset()
func (*QuerySubaccountTradeNonceRequest) Size ¶
func (m *QuerySubaccountTradeNonceRequest) Size() (n int)
func (*QuerySubaccountTradeNonceRequest) String ¶
func (m *QuerySubaccountTradeNonceRequest) String() 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 (m *QuerySubaccountTradeNonceRequest) XXX_Merge(src proto.Message)
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 (m *QuerySubaccountTradeNonceResponse) GetNonce() uint32
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 (m *QuerySubaccountTradeNonceResponse) Reset()
func (*QuerySubaccountTradeNonceResponse) Size ¶
func (m *QuerySubaccountTradeNonceResponse) Size() (n int)
func (*QuerySubaccountTradeNonceResponse) String ¶
func (m *QuerySubaccountTradeNonceResponse) String() 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 (m *QuerySubaccountTradeNonceResponse) XXX_Merge(src proto.Message)
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 (m *QueryTradeRewardCampaignRequest) Reset()
func (*QueryTradeRewardCampaignRequest) Size ¶ added in v1.27.0
func (m *QueryTradeRewardCampaignRequest) Size() (n int)
func (*QueryTradeRewardCampaignRequest) String ¶ added in v1.27.0
func (m *QueryTradeRewardCampaignRequest) String() string
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 (m *QueryTradeRewardCampaignResponse) Reset()
func (*QueryTradeRewardCampaignResponse) Size ¶ added in v1.27.0
func (m *QueryTradeRewardCampaignResponse) Size() (n int)
func (*QueryTradeRewardCampaignResponse) String ¶ added in v1.27.0
func (m *QueryTradeRewardCampaignResponse) String() string
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 (m *QueryTradeRewardCampaignResponse) XXX_Merge(src proto.Message)
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 (m *QueryTradeRewardPointsRequest) String() string
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 (m *QueryTradeRewardPointsResponse) String() string
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 (m *QueryTraderDerivativeOrdersRequest) Reset()
func (*QueryTraderDerivativeOrdersRequest) Size ¶
func (m *QueryTraderDerivativeOrdersRequest) Size() (n int)
func (*QueryTraderDerivativeOrdersRequest) String ¶
func (m *QueryTraderDerivativeOrdersRequest) String() 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 (m *QueryTraderDerivativeOrdersRequest) XXX_Merge(src proto.Message)
func (*QueryTraderDerivativeOrdersRequest) XXX_Size ¶
func (m *QueryTraderDerivativeOrdersRequest) XXX_Size() int
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 (m *QueryTraderDerivativeOrdersResponse) GetOrders() []*TrimmedDerivativeLimitOrder
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 (m *QueryTraderDerivativeOrdersResponse) Reset()
func (*QueryTraderDerivativeOrdersResponse) Size ¶
func (m *QueryTraderDerivativeOrdersResponse) Size() (n int)
func (*QueryTraderDerivativeOrdersResponse) String ¶
func (m *QueryTraderDerivativeOrdersResponse) String() 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 (m *QueryTraderDerivativeOrdersResponse) XXX_Merge(src proto.Message)
func (*QueryTraderDerivativeOrdersResponse) XXX_Size ¶
func (m *QueryTraderDerivativeOrdersResponse) XXX_Size() int
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 (m *QueryTraderSpotOrdersRequest) String() 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 (m *QueryTraderSpotOrdersResponse) GetOrders() []*TrimmedSpotLimitOrder
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 (m *QueryTraderSpotOrdersResponse) String() 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) 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 */ 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) 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) 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 */ 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 (m *SpotMarketParamUpdateProposal) String() 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 (*SpotOrder) ComputeOrderHash ¶
ComputeOrderHash computes the order hash for given spot limit order
func (*SpotOrder) Descriptor ¶
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 (*SpotOrder) GetNewSpotLimitOrder ¶
func (o *SpotOrder) GetNewSpotLimitOrder(orderHash common.Hash) *SpotLimitOrder
func (*SpotOrder) GetOrderInfo ¶
func (*SpotOrder) GetOrderType ¶
func (*SpotOrder) MarshalToSizedBuffer ¶
func (*SpotOrder) ProtoMessage ¶
func (*SpotOrder) ProtoMessage()
func (*SpotOrder) SubaccountID ¶
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 (*SpotOrder) XXX_Unmarshal ¶
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) 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) 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) 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) 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 (m *SubaccountOrderbookMetadata) ApplyDelta(d *SubaccountOrderbookMetadata)
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 (m *SubaccountOrderbookMetadataWithMarket) GetIsBuy() bool
func (*SubaccountOrderbookMetadataWithMarket) GetMarketId ¶ added in v1.28.3
func (m *SubaccountOrderbookMetadataWithMarket) GetMarketId() string
func (*SubaccountOrderbookMetadataWithMarket) GetMetadata ¶ added in v1.28.3
func (m *SubaccountOrderbookMetadataWithMarket) GetMetadata() *SubaccountOrderbookMetadata
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 (m *SubaccountOrderbookMetadataWithMarket) Reset()
func (*SubaccountOrderbookMetadataWithMarket) Size ¶ added in v1.28.3
func (m *SubaccountOrderbookMetadataWithMarket) Size() (n int)
func (*SubaccountOrderbookMetadataWithMarket) String ¶ added in v1.28.3
func (m *SubaccountOrderbookMetadataWithMarket) String() string
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 (m *SubaccountOrderbookMetadataWithMarket) XXX_Merge(src proto.Message)
func (*SubaccountOrderbookMetadataWithMarket) XXX_Size ¶ added in v1.28.3
func (m *SubaccountOrderbookMetadataWithMarket) XXX_Size() int
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 (a *SyntheticTradeAction) Summarize() (*SyntheticTradeActionSummary, error)
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) GetFeeRecipientAddress ¶ added in v1.28.4
func (*TradeLog) GetOrderHash ¶
func (*TradeLog) GetSubaccountId ¶
func (*TradeLog) MarshalToSizedBuffer ¶
func (*TradeLog) ProtoMessage ¶
func (*TradeLog) ProtoMessage()
func (*TradeLog) XXX_DiscardUnknown ¶
func (m *TradeLog) XXX_DiscardUnknown()
func (*TradeLog) XXX_Marshal ¶
func (*TradeLog) XXX_Unmarshal ¶
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 (m *TradingRewardCampaignAccountPendingPoints) GetAccountPoints() []*TradingRewardCampaignAccountPoints
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) ProtoMessage()
func (*TradingRewardCampaignAccountPendingPoints) Reset ¶ added in v1.30.0
func (m *TradingRewardCampaignAccountPendingPoints) Reset()
func (*TradingRewardCampaignAccountPendingPoints) Size ¶ added in v1.30.0
func (m *TradingRewardCampaignAccountPendingPoints) Size() (n int)
func (*TradingRewardCampaignAccountPendingPoints) String ¶ added in v1.30.0
func (m *TradingRewardCampaignAccountPendingPoints) String() string
func (*TradingRewardCampaignAccountPendingPoints) Unmarshal ¶ added in v1.30.0
func (m *TradingRewardCampaignAccountPendingPoints) Unmarshal(dAtA []byte) error
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 (m *TradingRewardCampaignAccountPendingPoints) XXX_Merge(src proto.Message)
func (*TradingRewardCampaignAccountPendingPoints) XXX_Size ¶ added in v1.30.0
func (m *TradingRewardCampaignAccountPendingPoints) XXX_Size() int
func (*TradingRewardCampaignAccountPendingPoints) XXX_Unmarshal ¶ added in v1.30.0
func (m *TradingRewardCampaignAccountPendingPoints) XXX_Unmarshal(b []byte) error
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 (m *TradingRewardCampaignAccountPoints) GetAccount() string
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 (m *TradingRewardCampaignAccountPoints) Reset()
func (*TradingRewardCampaignAccountPoints) Size ¶ added in v1.27.0
func (m *TradingRewardCampaignAccountPoints) Size() (n int)
func (*TradingRewardCampaignAccountPoints) String ¶ added in v1.27.0
func (m *TradingRewardCampaignAccountPoints) String() string
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 (m *TradingRewardCampaignAccountPoints) XXX_Merge(src proto.Message)
func (*TradingRewardCampaignAccountPoints) XXX_Size ¶ added in v1.27.0
func (m *TradingRewardCampaignAccountPoints) XXX_Size() int
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 (m *TradingRewardCampaignBoostInfo) String() string
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
func (p *TradingRewardCampaignLaunchProposal) GetTitle() string
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 (m *TradingRewardCampaignLaunchProposal) Reset()
func (*TradingRewardCampaignLaunchProposal) Size ¶ added in v1.27.0
func (m *TradingRewardCampaignLaunchProposal) Size() (n int)
func (*TradingRewardCampaignLaunchProposal) String ¶ added in v1.27.0
func (m *TradingRewardCampaignLaunchProposal) String() string
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 (m *TradingRewardCampaignLaunchProposal) XXX_Merge(src proto.Message)
func (*TradingRewardCampaignLaunchProposal) XXX_Size ¶ added in v1.27.0
func (m *TradingRewardCampaignLaunchProposal) XXX_Size() int
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
func (p *TradingRewardCampaignUpdateProposal) GetTitle() string
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 (m *TradingRewardCampaignUpdateProposal) Reset()
func (*TradingRewardCampaignUpdateProposal) Size ¶ added in v1.27.0
func (m *TradingRewardCampaignUpdateProposal) Size() (n int)
func (*TradingRewardCampaignUpdateProposal) String ¶ added in v1.27.0
func (m *TradingRewardCampaignUpdateProposal) String() string
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 (m *TradingRewardCampaignUpdateProposal) XXX_Merge(src proto.Message)
func (*TradingRewardCampaignUpdateProposal) XXX_Size ¶ added in v1.27.0
func (m *TradingRewardCampaignUpdateProposal) XXX_Size() int
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
func (p *TradingRewardPendingPointsUpdateProposal) GetDescription() string
GetDescription returns the description of this proposal
func (*TradingRewardPendingPointsUpdateProposal) GetTitle ¶ added in v1.30.0
func (p *TradingRewardPendingPointsUpdateProposal) GetTitle() string
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
func (p *TradingRewardPendingPointsUpdateProposal) ProposalRoute() string
ProposalRoute returns router key of this proposal.
func (*TradingRewardPendingPointsUpdateProposal) ProposalType ¶ added in v1.30.0
func (p *TradingRewardPendingPointsUpdateProposal) ProposalType() string
ProposalType returns proposal type of this proposal.
func (*TradingRewardPendingPointsUpdateProposal) ProtoMessage ¶ added in v1.30.0
func (*TradingRewardPendingPointsUpdateProposal) ProtoMessage()
func (*TradingRewardPendingPointsUpdateProposal) Reset ¶ added in v1.30.0
func (m *TradingRewardPendingPointsUpdateProposal) Reset()
func (*TradingRewardPendingPointsUpdateProposal) Size ¶ added in v1.30.0
func (m *TradingRewardPendingPointsUpdateProposal) Size() (n int)
func (*TradingRewardPendingPointsUpdateProposal) String ¶ added in v1.30.0
func (m *TradingRewardPendingPointsUpdateProposal) String() string
func (*TradingRewardPendingPointsUpdateProposal) Unmarshal ¶ added in v1.30.0
func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error
func (*TradingRewardPendingPointsUpdateProposal) ValidateBasic ¶ added in v1.30.0
func (p *TradingRewardPendingPointsUpdateProposal) ValidateBasic() error
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 (m *TradingRewardPendingPointsUpdateProposal) XXX_Merge(src proto.Message)
func (*TradingRewardPendingPointsUpdateProposal) XXX_Size ¶ added in v1.30.0
func (m *TradingRewardPendingPointsUpdateProposal) XXX_Size() int
func (*TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal ¶ added in v1.30.0
func (m *TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal(b []byte) error
type TradingRewardPoints ¶ added in v1.27.0
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) BatchCancelDerivativeOrders ¶
func (*UnimplementedMsgServer) BatchCancelDerivativeOrders(ctx context.Context, req *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error)
func (*UnimplementedMsgServer) BatchCancelSpotOrders ¶
func (*UnimplementedMsgServer) BatchCancelSpotOrders(ctx context.Context, req *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error)
func (*UnimplementedMsgServer) BatchCreateDerivativeLimitOrders ¶
func (*UnimplementedMsgServer) BatchCreateDerivativeLimitOrders(ctx context.Context, req *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders ¶
func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders(ctx context.Context, req *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error)
func (*UnimplementedMsgServer) BatchUpdateOrders ¶ added in v1.28.4
func (*UnimplementedMsgServer) BatchUpdateOrders(ctx context.Context, req *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error)
func (*UnimplementedMsgServer) CancelDerivativeOrder ¶
func (*UnimplementedMsgServer) CancelDerivativeOrder(ctx context.Context, req *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error)
func (*UnimplementedMsgServer) CancelSpotOrder ¶
func (*UnimplementedMsgServer) CancelSpotOrder(ctx context.Context, req *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
func (*UnimplementedMsgServer) CreateDerivativeLimitOrder ¶
func (*UnimplementedMsgServer) CreateDerivativeLimitOrder(ctx context.Context, req *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error)
func (*UnimplementedMsgServer) CreateDerivativeMarketOrder ¶
func (*UnimplementedMsgServer) CreateDerivativeMarketOrder(ctx context.Context, req *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error)
func (*UnimplementedMsgServer) CreateSpotLimitOrder ¶
func (*UnimplementedMsgServer) CreateSpotLimitOrder(ctx context.Context, req *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error)
func (*UnimplementedMsgServer) CreateSpotMarketOrder ¶
func (*UnimplementedMsgServer) CreateSpotMarketOrder(ctx context.Context, req *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error)
func (*UnimplementedMsgServer) Deposit ¶
func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error)
func (*UnimplementedMsgServer) Exec ¶ added in v1.39.0
func (*UnimplementedMsgServer) Exec(ctx context.Context, req *MsgExec) (*MsgExecResponse, error)
func (*UnimplementedMsgServer) ExternalTransfer ¶
func (*UnimplementedMsgServer) ExternalTransfer(ctx context.Context, req *MsgExternalTransfer) (*MsgExternalTransferResponse, error)
func (*UnimplementedMsgServer) IncreasePositionMargin ¶
func (*UnimplementedMsgServer) IncreasePositionMargin(ctx context.Context, req *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error)
func (*UnimplementedMsgServer) InstantExpiryFuturesMarketLaunch ¶
func (*UnimplementedMsgServer) InstantExpiryFuturesMarketLaunch(ctx context.Context, req *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
func (*UnimplementedMsgServer) InstantPerpetualMarketLaunch ¶
func (*UnimplementedMsgServer) InstantPerpetualMarketLaunch(ctx context.Context, req *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error)
func (*UnimplementedMsgServer) InstantSpotMarketLaunch ¶
func (*UnimplementedMsgServer) InstantSpotMarketLaunch(ctx context.Context, req *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error)
func (*UnimplementedMsgServer) LiquidatePosition ¶
func (*UnimplementedMsgServer) LiquidatePosition(ctx context.Context, req *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error)
func (*UnimplementedMsgServer) RegisterAsDMM ¶ added in v1.36.1
func (*UnimplementedMsgServer) RegisterAsDMM(ctx context.Context, req *MsgRegisterAsDMM) (*MsgRegisterAsDMMResponse, error)
func (*UnimplementedMsgServer) SubaccountTransfer ¶
func (*UnimplementedMsgServer) SubaccountTransfer(ctx context.Context, req *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error)
func (*UnimplementedMsgServer) Withdraw ¶
func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) BalanceMismatches ¶ added in v1.30.0
func (*UnimplementedQueryServer) BalanceMismatches(ctx context.Context, req *QueryBalanceMismatchesRequest) (*QueryBalanceMismatchesResponse, error)
func (*UnimplementedQueryServer) BalanceWithBalanceHolds ¶ added in v1.30.0
func (*UnimplementedQueryServer) BalanceWithBalanceHolds(ctx context.Context, req *QueryBalanceWithBalanceHoldsRequest) (*QueryBalanceWithBalanceHoldsResponse, error)
func (*UnimplementedQueryServer) DerivativeMarket ¶
func (*UnimplementedQueryServer) DerivativeMarket(ctx context.Context, req *QueryDerivativeMarketRequest) (*QueryDerivativeMarketResponse, error)
func (*UnimplementedQueryServer) DerivativeMarketAddress ¶ added in v1.28.3
func (*UnimplementedQueryServer) DerivativeMarketAddress(ctx context.Context, req *QueryDerivativeMarketAddressRequest) (*QueryDerivativeMarketAddressResponse, error)
func (*UnimplementedQueryServer) DerivativeMarkets ¶
func (*UnimplementedQueryServer) DerivativeMarkets(ctx context.Context, req *QueryDerivativeMarketsRequest) (*QueryDerivativeMarketsResponse, error)
func (*UnimplementedQueryServer) DerivativeMidPrice ¶ added in v1.39.0
func (*UnimplementedQueryServer) DerivativeMidPrice(ctx context.Context, req *QueryDerivativeMidPriceRequest) (*QueryDerivativeMidPriceResponse, error)
func (*UnimplementedQueryServer) DerivativeOrderbook ¶
func (*UnimplementedQueryServer) DerivativeOrderbook(ctx context.Context, req *QueryDerivativeOrderbookRequest) (*QueryDerivativeOrderbookResponse, error)
func (*UnimplementedQueryServer) ExchangeBalances ¶
func (*UnimplementedQueryServer) ExchangeBalances(ctx context.Context, req *QueryExchangeBalancesRequest) (*QueryExchangeBalancesResponse, error)
func (*UnimplementedQueryServer) ExchangeModuleState ¶
func (*UnimplementedQueryServer) ExchangeModuleState(ctx context.Context, req *QueryModuleStateRequest) (*QueryModuleStateResponse, error)
func (*UnimplementedQueryServer) ExpiryFuturesMarketInfo ¶ added in v1.33.5
func (*UnimplementedQueryServer) ExpiryFuturesMarketInfo(ctx context.Context, req *QueryExpiryFuturesMarketInfoRequest) (*QueryExpiryFuturesMarketInfoResponse, error)
func (*UnimplementedQueryServer) FeeDiscountAccountInfo ¶ added in v1.27.0
func (*UnimplementedQueryServer) FeeDiscountAccountInfo(ctx context.Context, req *QueryFeeDiscountAccountInfoRequest) (*QueryFeeDiscountAccountInfoResponse, error)
func (*UnimplementedQueryServer) FeeDiscountSchedule ¶ added in v1.27.0
func (*UnimplementedQueryServer) FeeDiscountSchedule(ctx context.Context, req *QueryFeeDiscountScheduleRequest) (*QueryFeeDiscountScheduleResponse, error)
func (*UnimplementedQueryServer) FeeDiscountTierStatistics ¶ added in v1.32.1
func (*UnimplementedQueryServer) FeeDiscountTierStatistics(ctx context.Context, req *QueryFeeDiscountTierStatisticsRequest) (*QueryFeeDiscountTierStatisticsResponse, error)
func (*UnimplementedQueryServer) HistoricalTradeRecords ¶ added in v1.39.0
func (*UnimplementedQueryServer) HistoricalTradeRecords(ctx context.Context, req *QueryHistoricalTradeRecordsRequest) (*QueryHistoricalTradeRecordsResponse, error)
func (*UnimplementedQueryServer) IsRegisteredDMM ¶ added in v1.36.2
func (*UnimplementedQueryServer) IsRegisteredDMM(ctx context.Context, req *QueryIsRegisteredDMMRequest) (*QueryIsRegisteredDMMResponse, error)
func (*UnimplementedQueryServer) MarketMakingPoolInfo ¶ added in v1.33.5
func (*UnimplementedQueryServer) MarketMakingPoolInfo(ctx context.Context, req *MarketMakingPoolInfoRequest) (*MarketMakingPoolInfoResponse, error)
func (*UnimplementedQueryServer) MarketVolatility ¶ added in v1.39.0
func (*UnimplementedQueryServer) MarketVolatility(ctx context.Context, req *QueryMarketVolatilityRequest) (*QueryMarketVolatilityResponse, error)
func (*UnimplementedQueryServer) PendingTradeRewardPoints ¶ added in v1.30.0
func (*UnimplementedQueryServer) PendingTradeRewardPoints(ctx context.Context, req *QueryTradeRewardPointsRequest) (*QueryTradeRewardPointsResponse, error)
func (*UnimplementedQueryServer) PerpetualMarketFunding ¶ added in v1.33.5
func (*UnimplementedQueryServer) PerpetualMarketFunding(ctx context.Context, req *QueryPerpetualMarketFundingRequest) (*QueryPerpetualMarketFundingResponse, error)
func (*UnimplementedQueryServer) PerpetualMarketInfo ¶ added in v1.33.5
func (*UnimplementedQueryServer) PerpetualMarketInfo(ctx context.Context, req *QueryPerpetualMarketInfoRequest) (*QueryPerpetualMarketInfoResponse, error)
func (*UnimplementedQueryServer) Positions ¶
func (*UnimplementedQueryServer) Positions(ctx context.Context, req *QueryPositionsRequest) (*QueryPositionsResponse, error)
func (*UnimplementedQueryServer) QueryExchangeParams ¶
func (*UnimplementedQueryServer) QueryExchangeParams(ctx context.Context, req *QueryExchangeParamsRequest) (*QueryExchangeParamsResponse, error)
func (*UnimplementedQueryServer) QueryMarketIDFromVault ¶ added in v1.39.0
func (*UnimplementedQueryServer) QueryMarketIDFromVault(ctx context.Context, req *QueryMarketIDFromVaultRequest) (*QueryMarketIDFromVaultResponse, error)
func (*UnimplementedQueryServer) RegisteredDMMs ¶ added in v1.38.0
func (*UnimplementedQueryServer) RegisteredDMMs(ctx context.Context, req *QueryRegisteredDMMsRequest) (*QueryRegisteredDMMsResponse, error)
func (*UnimplementedQueryServer) SpotMarket ¶
func (*UnimplementedQueryServer) SpotMarket(ctx context.Context, req *QuerySpotMarketRequest) (*QuerySpotMarketResponse, error)
func (*UnimplementedQueryServer) SpotMarkets ¶
func (*UnimplementedQueryServer) SpotMarkets(ctx context.Context, req *QuerySpotMarketsRequest) (*QuerySpotMarketsResponse, error)
func (*UnimplementedQueryServer) SpotMidPrice ¶ added in v1.39.0
func (*UnimplementedQueryServer) SpotMidPrice(ctx context.Context, req *QuerySpotMidPriceRequest) (*QuerySpotMidPriceResponse, error)
func (*UnimplementedQueryServer) SpotOrderbook ¶
func (*UnimplementedQueryServer) SpotOrderbook(ctx context.Context, req *QuerySpotOrderbookRequest) (*QuerySpotOrderbookResponse, error)
func (*UnimplementedQueryServer) SubaccountDeposit ¶
func (*UnimplementedQueryServer) SubaccountDeposit(ctx context.Context, req *QuerySubaccountDepositRequest) (*QuerySubaccountDepositResponse, error)
func (*UnimplementedQueryServer) SubaccountDeposits ¶
func (*UnimplementedQueryServer) SubaccountDeposits(ctx context.Context, req *QuerySubaccountDepositsRequest) (*QuerySubaccountDepositsResponse, error)
func (*UnimplementedQueryServer) SubaccountEffectivePositionInMarket ¶ added in v1.39.0
func (*UnimplementedQueryServer) SubaccountEffectivePositionInMarket(ctx context.Context, req *QuerySubaccountEffectivePositionInMarketRequest) (*QuerySubaccountEffectivePositionInMarketResponse, error)
func (*UnimplementedQueryServer) SubaccountOrderMetadata ¶ added in v1.28.3
func (*UnimplementedQueryServer) SubaccountOrderMetadata(ctx context.Context, req *QuerySubaccountOrderMetadataRequest) (*QuerySubaccountOrderMetadataResponse, error)
func (*UnimplementedQueryServer) SubaccountPositionInMarket ¶ added in v1.33.12
func (*UnimplementedQueryServer) SubaccountPositionInMarket(ctx context.Context, req *QuerySubaccountPositionInMarketRequest) (*QuerySubaccountPositionInMarketResponse, error)
func (*UnimplementedQueryServer) SubaccountPositions ¶ added in v1.28.0
func (*UnimplementedQueryServer) SubaccountPositions(ctx context.Context, req *QuerySubaccountPositionsRequest) (*QuerySubaccountPositionsResponse, error)
func (*UnimplementedQueryServer) SubaccountTradeNonce ¶
func (*UnimplementedQueryServer) SubaccountTradeNonce(ctx context.Context, req *QuerySubaccountTradeNonceRequest) (*QuerySubaccountTradeNonceResponse, error)
func (*UnimplementedQueryServer) TradeRewardCampaign ¶ added in v1.27.0
func (*UnimplementedQueryServer) TradeRewardCampaign(ctx context.Context, req *QueryTradeRewardCampaignRequest) (*QueryTradeRewardCampaignResponse, error)
func (*UnimplementedQueryServer) TradeRewardPoints ¶ added in v1.27.0
func (*UnimplementedQueryServer) TradeRewardPoints(ctx context.Context, req *QueryTradeRewardPointsRequest) (*QueryTradeRewardPointsResponse, error)
func (*UnimplementedQueryServer) TraderDerivativeOrders ¶
func (*UnimplementedQueryServer) TraderDerivativeOrders(ctx context.Context, req *QueryTraderDerivativeOrdersRequest) (*QueryTraderDerivativeOrdersResponse, error)
func (*UnimplementedQueryServer) TraderDerivativeTransientOrders ¶ added in v1.39.0
func (*UnimplementedQueryServer) TraderDerivativeTransientOrders(ctx context.Context, req *QueryTraderDerivativeOrdersRequest) (*QueryTraderDerivativeOrdersResponse, error)
func (*UnimplementedQueryServer) TraderSpotOrders ¶
func (*UnimplementedQueryServer) TraderSpotOrders(ctx context.Context, req *QueryTraderSpotOrdersRequest) (*QueryTraderSpotOrdersResponse, error)
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)
}
Source Files ¶
- authz.pb.go
- authz_common.go
- authz_derivative.go
- authz_spot.go
- codec.go
- common_order.go
- common_utils.go
- deposit.go
- derivative_orders.go
- errors.go
- exchange.go
- exchange.pb.go
- expected_keepers.go
- fee_discounts.go
- genesis.go
- genesis.pb.go
- key.go
- market.go
- msgs.go
- params.go
- paramset.go
- positions.go
- proposal.go
- query.pb.go
- spot_orders.go
- subaccount.go
- trading_rewards.go
- tx.pb.go
- wasm_privileged_action.go
- wasm_trade_summary.go
- wasm_trades.go