Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func AddressKeyPrefix(contractAddr string) []byte
- func AssetListPrefix(assetDenom string) []byte
- func ContractKey(contractAddr string) []byte
- func ContractKeyPrefix(p string, contractAddr string) []byte
- func DenomPrefix(denom string) []byte
- func GetContractOrderType(orderType OrderType) string
- func GetContractPositionDirection(direction PositionDirection) string
- func GetPriceAssetString(pairString PairString) (string, string)
- func GetSettlementKey(orderID uint64, account string, settlementID uint64) []byte
- func GetSettlementOrderIDPrefix(orderID uint64, account string) []byte
- func KeyPrefix(p string) []byte
- func MatchResultPrefix(contractAddr string) []byte
- func MemCancelPrefix(contractAddr string) []byte
- func MemCancelPrefixForPair(contractAddr string, priceDenom string, assetDenom string) []byte
- func MemContractsToProcessKey(contractAddr string) []byte
- func MemDepositPrefix(contractAddr string) []byte
- func MemDepositSubprefix(creator, denom string) []byte
- func MemDownstreamContractsKey(contractAddr string) []byte
- func MemOrderPrefix(contractAddr string) []byte
- func MemOrderPrefixForPair(contractAddr string, priceDenom string, assetDenom string) []byte
- func NextOrderIDPrefix(contractAddr string) []byte
- func OrderBookContractPrefix(long bool, contractAddr string) []byte
- func OrderBookPrefix(long bool, contractAddr string, priceDenom string, assetDenom string) []byte
- func OrderCountPrefix(contractAddr string, priceDenom string, assetDenom string, long bool) []byte
- func OrderPrefix(contractAddr string) []byte
- func PairPrefix(priceDenom string, assetDenom string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func PriceContractPrefix(contractAddr string) []byte
- func PricePrefix(contractAddr string, priceDenom string, assetDenom string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisteredPairPrefix(contractAddr string) []byte
- type AccountKeeper
- type ActiveOrders
- func (*ActiveOrders) Descriptor() ([]byte, []int)
- func (m *ActiveOrders) GetIds() []uint64
- func (m *ActiveOrders) Marshal() (dAtA []byte, err error)
- func (m *ActiveOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *ActiveOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ActiveOrders) ProtoMessage()
- func (m *ActiveOrders) Reset()
- func (m *ActiveOrders) Size() (n int)
- func (m *ActiveOrders) String() string
- func (m *ActiveOrders) Unmarshal(dAtA []byte) error
- func (m *ActiveOrders) XXX_DiscardUnknown()
- func (m *ActiveOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActiveOrders) XXX_Merge(src proto.Message)
- func (m *ActiveOrders) XXX_Size() int
- func (m *ActiveOrders) XXX_Unmarshal(b []byte) error
- type AddAssetMetadataProposal
- func (*AddAssetMetadataProposal) Descriptor() ([]byte, []int)
- func (p *AddAssetMetadataProposal) GetDescription() string
- func (p *AddAssetMetadataProposal) GetTitle() string
- func (m *AddAssetMetadataProposal) Marshal() (dAtA []byte, err error)
- func (m *AddAssetMetadataProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *AddAssetMetadataProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *AddAssetMetadataProposal) ProposalRoute() string
- func (p *AddAssetMetadataProposal) ProposalType() string
- func (*AddAssetMetadataProposal) ProtoMessage()
- func (m *AddAssetMetadataProposal) Reset()
- func (m *AddAssetMetadataProposal) Size() (n int)
- func (p AddAssetMetadataProposal) String() string
- func (m *AddAssetMetadataProposal) Unmarshal(dAtA []byte) error
- func (p *AddAssetMetadataProposal) ValidateBasic() error
- func (m *AddAssetMetadataProposal) XXX_DiscardUnknown()
- func (m *AddAssetMetadataProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddAssetMetadataProposal) XXX_Merge(src proto.Message)
- func (m *AddAssetMetadataProposal) XXX_Size() int
- func (m *AddAssetMetadataProposal) XXX_Unmarshal(b []byte) error
- type Allocation
- func (*Allocation) Descriptor() ([]byte, []int)
- func (m *Allocation) GetAccount() string
- func (m *Allocation) GetOrderId() uint64
- func (m *Allocation) Marshal() (dAtA []byte, err error)
- func (m *Allocation) MarshalTo(dAtA []byte) (int, error)
- func (m *Allocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Allocation) ProtoMessage()
- func (m *Allocation) Reset()
- func (m *Allocation) Size() (n int)
- func (m *Allocation) String() string
- func (m *Allocation) Unmarshal(dAtA []byte) error
- func (m *Allocation) XXX_DiscardUnknown()
- func (m *Allocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Allocation) XXX_Merge(src proto.Message)
- func (m *Allocation) XXX_Size() int
- func (m *Allocation) XXX_Unmarshal(b []byte) error
- type AssetIBCInfo
- func (*AssetIBCInfo) Descriptor() ([]byte, []int)
- func (m *AssetIBCInfo) GetDstChannel() string
- func (m *AssetIBCInfo) GetSourceChainID() string
- func (m *AssetIBCInfo) GetSourceChannel() string
- func (m *AssetIBCInfo) GetSourceDenom() string
- func (m *AssetIBCInfo) Marshal() (dAtA []byte, err error)
- func (m *AssetIBCInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetIBCInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetIBCInfo) ProtoMessage()
- func (m *AssetIBCInfo) Reset()
- func (m *AssetIBCInfo) Size() (n int)
- func (m *AssetIBCInfo) String() string
- func (m *AssetIBCInfo) Unmarshal(dAtA []byte) error
- func (m *AssetIBCInfo) XXX_DiscardUnknown()
- func (m *AssetIBCInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetIBCInfo) XXX_Merge(src proto.Message)
- func (m *AssetIBCInfo) XXX_Size() int
- func (m *AssetIBCInfo) XXX_Unmarshal(b []byte) error
- type AssetMetadata
- func (*AssetMetadata) Descriptor() ([]byte, []int)
- func (m *AssetMetadata) GetIbcInfo() *AssetIBCInfo
- func (m *AssetMetadata) GetMetadata() types.Metadata
- func (m *AssetMetadata) GetTypeAsset() string
- func (m *AssetMetadata) Marshal() (dAtA []byte, err error)
- func (m *AssetMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *AssetMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AssetMetadata) ProtoMessage()
- func (m *AssetMetadata) Reset()
- func (m *AssetMetadata) Size() (n int)
- func (m *AssetMetadata) String() string
- func (m *AssetMetadata) Unmarshal(dAtA []byte) error
- func (m *AssetMetadata) XXX_DiscardUnknown()
- func (m *AssetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetMetadata) XXX_Merge(src proto.Message)
- func (m *AssetMetadata) XXX_Size() int
- func (m *AssetMetadata) XXX_Unmarshal(b []byte) error
- type BankKeeper
- type BatchContractPair
- func (*BatchContractPair) Descriptor() ([]byte, []int)
- func (m *BatchContractPair) GetContractAddr() string
- func (m *BatchContractPair) GetPairs() []*Pair
- func (m *BatchContractPair) Marshal() (dAtA []byte, err error)
- func (m *BatchContractPair) MarshalTo(dAtA []byte) (int, error)
- func (m *BatchContractPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BatchContractPair) ProtoMessage()
- func (m *BatchContractPair) Reset()
- func (m *BatchContractPair) Size() (n int)
- func (m *BatchContractPair) String() string
- func (m *BatchContractPair) Unmarshal(dAtA []byte) error
- func (m *BatchContractPair) XXX_DiscardUnknown()
- func (m *BatchContractPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BatchContractPair) XXX_Merge(src proto.Message)
- func (m *BatchContractPair) XXX_Size() int
- func (m *BatchContractPair) XXX_Unmarshal(b []byte) error
- type CachedSortedOrderBookEntries
- func (c *CachedSortedOrderBookEntries) Flush(ctx sdk.Context)
- func (c *CachedSortedOrderBookEntries) Next(ctx sdk.Context) OrderBookEntry
- func (c *CachedSortedOrderBookEntries) Refresh(ctx sdk.Context)
- func (c *CachedSortedOrderBookEntries) SettleQuantity(_ sdk.Context, quantity sdk.Dec) (res []ToSettle, settled sdk.Dec)
- type Cancellation
- func (*Cancellation) Descriptor() ([]byte, []int)
- func (m *Cancellation) GetAssetDenom() string
- func (m *Cancellation) GetContractAddr() string
- func (m *Cancellation) GetCreator() string
- func (m *Cancellation) GetId() uint64
- func (m *Cancellation) GetInitiator() CancellationInitiator
- func (m *Cancellation) GetPositionDirection() PositionDirection
- func (m *Cancellation) GetPriceDenom() string
- func (m *Cancellation) Marshal() (dAtA []byte, err error)
- func (m *Cancellation) MarshalTo(dAtA []byte) (int, error)
- func (m *Cancellation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cancellation) ProtoMessage()
- func (m *Cancellation) Reset()
- func (m *Cancellation) Size() (n int)
- func (m *Cancellation) String() string
- func (m *Cancellation) Unmarshal(dAtA []byte) error
- func (m *Cancellation) XXX_DiscardUnknown()
- func (m *Cancellation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cancellation) XXX_Merge(src proto.Message)
- func (m *Cancellation) XXX_Size() int
- func (m *Cancellation) XXX_Unmarshal(b []byte) error
- type CancellationInitiator
- type ContractAddress
- type ContractDependencyInfo
- func (*ContractDependencyInfo) Descriptor() ([]byte, []int)
- func (m *ContractDependencyInfo) GetDependency() string
- func (m *ContractDependencyInfo) GetImmediateElderSibling() string
- func (m *ContractDependencyInfo) GetImmediateYoungerSibling() string
- func (m *ContractDependencyInfo) Marshal() (dAtA []byte, err error)
- func (m *ContractDependencyInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractDependencyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractDependencyInfo) ProtoMessage()
- func (m *ContractDependencyInfo) Reset()
- func (m *ContractDependencyInfo) Size() (n int)
- func (m *ContractDependencyInfo) String() string
- func (m *ContractDependencyInfo) Unmarshal(dAtA []byte) error
- func (m *ContractDependencyInfo) XXX_DiscardUnknown()
- func (m *ContractDependencyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractDependencyInfo) XXX_Merge(src proto.Message)
- func (m *ContractDependencyInfo) XXX_Size() int
- func (m *ContractDependencyInfo) XXX_Unmarshal(b []byte) error
- type ContractDepositInfo
- type ContractInfo
- func (*ContractInfo) Descriptor() ([]byte, []int)
- func (m *ContractInfo) GetCodeId() uint64
- func (m *ContractInfo) GetContractAddr() string
- func (m *ContractInfo) GetDependencies() []*ContractDependencyInfo
- func (m *ContractInfo) GetNeedHook() bool
- func (m *ContractInfo) GetNeedOrderMatching() bool
- func (m *ContractInfo) GetNumIncomingDependencies() int64
- func (m *ContractInfo) Marshal() (dAtA []byte, err error)
- func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractInfo) ProtoMessage()
- func (m *ContractInfo) Reset()
- func (m *ContractInfo) Size() (n int)
- func (m *ContractInfo) String() string
- func (m *ContractInfo) Unmarshal(dAtA []byte) error
- func (m *ContractInfo) XXX_DiscardUnknown()
- func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractInfo) XXX_Merge(src proto.Message)
- func (m *ContractInfo) XXX_Size() int
- func (m *ContractInfo) XXX_Unmarshal(b []byte) error
- type ContractInfoV2
- func (*ContractInfoV2) Descriptor() ([]byte, []int)
- func (m *ContractInfoV2) GetCodeId() uint64
- func (m *ContractInfoV2) GetContractAddr() string
- func (m *ContractInfoV2) GetCreator() string
- func (m *ContractInfoV2) GetDependencies() []*ContractDependencyInfo
- func (m *ContractInfoV2) GetNeedHook() bool
- func (m *ContractInfoV2) GetNeedOrderMatching() bool
- func (m *ContractInfoV2) GetNumIncomingDependencies() int64
- func (m *ContractInfoV2) GetRentBalance() uint64
- func (m *ContractInfoV2) GetSuspended() bool
- func (m *ContractInfoV2) GetSuspensionReason() string
- func (m *ContractInfoV2) Marshal() (dAtA []byte, err error)
- func (m *ContractInfoV2) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractInfoV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractInfoV2) ProtoMessage()
- func (m *ContractInfoV2) Reset()
- func (m *ContractInfoV2) Size() (n int)
- func (m *ContractInfoV2) String() string
- func (m *ContractInfoV2) Unmarshal(dAtA []byte) error
- func (m *ContractInfoV2) XXX_DiscardUnknown()
- func (m *ContractInfoV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractInfoV2) XXX_Merge(src proto.Message)
- func (m *ContractInfoV2) XXX_Size() int
- func (m *ContractInfoV2) XXX_Unmarshal(b []byte) error
- type ContractPairPrices
- func (*ContractPairPrices) Descriptor() ([]byte, []int)
- func (m *ContractPairPrices) GetPricePair() Pair
- func (m *ContractPairPrices) GetPrices() []*Price
- func (m *ContractPairPrices) Marshal() (dAtA []byte, err error)
- func (m *ContractPairPrices) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractPairPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractPairPrices) ProtoMessage()
- func (m *ContractPairPrices) Reset()
- func (m *ContractPairPrices) Size() (n int)
- func (m *ContractPairPrices) String() string
- func (m *ContractPairPrices) Unmarshal(dAtA []byte) error
- func (m *ContractPairPrices) XXX_DiscardUnknown()
- func (m *ContractPairPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractPairPrices) XXX_Merge(src proto.Message)
- func (m *ContractPairPrices) XXX_Size() int
- func (m *ContractPairPrices) XXX_Unmarshal(b []byte) error
- type ContractState
- func (*ContractState) Descriptor() ([]byte, []int)
- func (m *ContractState) GetContractInfo() ContractInfoV2
- func (m *ContractState) GetLongBookList() []LongBook
- func (m *ContractState) GetNextOrderId() uint64
- func (m *ContractState) GetPairList() []Pair
- func (m *ContractState) GetPriceList() []ContractPairPrices
- func (m *ContractState) GetShortBookList() []ShortBook
- func (m *ContractState) GetTriggeredOrdersList() []Order
- func (m *ContractState) Marshal() (dAtA []byte, err error)
- func (m *ContractState) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractState) ProtoMessage()
- func (m *ContractState) Reset()
- func (m *ContractState) Size() (n int)
- func (m *ContractState) String() string
- func (m *ContractState) Unmarshal(dAtA []byte) error
- func (cs ContractState) Validate() error
- func (m *ContractState) XXX_DiscardUnknown()
- func (m *ContractState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractState) XXX_Merge(src proto.Message)
- func (m *ContractState) XXX_Size() int
- func (m *ContractState) XXX_Unmarshal(b []byte) error
- type DepositInfoEntry
- func (*DepositInfoEntry) Descriptor() ([]byte, []int)
- func (m *DepositInfoEntry) GetCreator() string
- func (m *DepositInfoEntry) GetDenom() string
- func (m *DepositInfoEntry) Marshal() (dAtA []byte, err error)
- func (m *DepositInfoEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *DepositInfoEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DepositInfoEntry) ProtoMessage()
- func (m *DepositInfoEntry) Reset()
- func (m *DepositInfoEntry) Size() (n int)
- func (m *DepositInfoEntry) String() string
- func (d *DepositInfoEntry) ToContractDepositInfo() ContractDepositInfo
- func (m *DepositInfoEntry) Unmarshal(dAtA []byte) error
- func (m *DepositInfoEntry) XXX_DiscardUnknown()
- func (m *DepositInfoEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositInfoEntry) XXX_Merge(src proto.Message)
- func (m *DepositInfoEntry) XXX_Size() int
- func (m *DepositInfoEntry) XXX_Unmarshal(b []byte) error
- type DownsteamContracts
- func (*DownsteamContracts) Descriptor() ([]byte, []int)
- func (m *DownsteamContracts) GetContractAddrs() []string
- func (m *DownsteamContracts) Marshal() (dAtA []byte, err error)
- func (m *DownsteamContracts) MarshalTo(dAtA []byte) (int, error)
- func (m *DownsteamContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DownsteamContracts) ProtoMessage()
- func (m *DownsteamContracts) Reset()
- func (m *DownsteamContracts) Size() (n int)
- func (m *DownsteamContracts) String() string
- func (m *DownsteamContracts) Unmarshal(dAtA []byte) error
- func (m *DownsteamContracts) XXX_DiscardUnknown()
- func (m *DownsteamContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DownsteamContracts) XXX_Merge(src proto.Message)
- func (m *DownsteamContracts) XXX_Size() int
- func (m *DownsteamContracts) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetContractState() []ContractState
- func (m *GenesisState) GetLastEpoch() uint64
- func (m *GenesisState) GetParams() Params
- 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 LegacyContractInfo
- func (*LegacyContractInfo) Descriptor() ([]byte, []int)
- func (m *LegacyContractInfo) GetCodeId() uint64
- func (m *LegacyContractInfo) GetContractAddr() string
- func (m *LegacyContractInfo) GetDependentContractAddrs() []string
- func (m *LegacyContractInfo) GetNeedHook() bool
- func (m *LegacyContractInfo) GetNeedOrderMatching() bool
- func (m *LegacyContractInfo) Marshal() (dAtA []byte, err error)
- func (m *LegacyContractInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *LegacyContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LegacyContractInfo) ProtoMessage()
- func (m *LegacyContractInfo) Reset()
- func (m *LegacyContractInfo) Size() (n int)
- func (m *LegacyContractInfo) String() string
- func (m *LegacyContractInfo) Unmarshal(dAtA []byte) error
- func (m *LegacyContractInfo) XXX_DiscardUnknown()
- func (m *LegacyContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LegacyContractInfo) XXX_Merge(src proto.Message)
- func (m *LegacyContractInfo) XXX_Size() int
- func (m *LegacyContractInfo) XXX_Unmarshal(b []byte) error
- type LongBook
- func (m *LongBook) DeepCopy() OrderBookEntry
- func (*LongBook) Descriptor() ([]byte, []int)
- func (m *LongBook) GetEntry() *OrderEntry
- func (m *LongBook) GetOrderEntry() *OrderEntry
- func (m *LongBook) GetPrice() sdk.Dec
- func (m *LongBook) Marshal() (dAtA []byte, err error)
- func (m *LongBook) MarshalTo(dAtA []byte) (int, error)
- func (m *LongBook) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LongBook) ProtoMessage()
- func (m *LongBook) Reset()
- func (m *LongBook) SetEntry(newEntry *OrderEntry)
- func (m *LongBook) SetPrice(p sdk.Dec)
- func (m *LongBook) Size() (n int)
- func (m *LongBook) String() string
- func (m *LongBook) Unmarshal(dAtA []byte) error
- func (m *LongBook) XXX_DiscardUnknown()
- func (m *LongBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LongBook) XXX_Merge(src proto.Message)
- func (m *LongBook) XXX_Size() int
- func (m *LongBook) XXX_Unmarshal(b []byte) error
- type MatchResult
- func (*MatchResult) Descriptor() ([]byte, []int)
- func (m *MatchResult) GetCancellations() []*Cancellation
- func (m *MatchResult) GetContractAddr() string
- func (m *MatchResult) GetHeight() int64
- func (m *MatchResult) GetOrders() []*Order
- func (m *MatchResult) GetSettlements() []*SettlementEntry
- func (m *MatchResult) Marshal() (dAtA []byte, err error)
- func (m *MatchResult) MarshalTo(dAtA []byte) (int, error)
- func (m *MatchResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MatchResult) ProtoMessage()
- func (m *MatchResult) Reset()
- func (m *MatchResult) Size() (n int)
- func (m *MatchResult) String() string
- func (m *MatchResult) Unmarshal(dAtA []byte) error
- func (m *MatchResult) XXX_DiscardUnknown()
- func (m *MatchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MatchResult) XXX_Merge(src proto.Message)
- func (m *MatchResult) XXX_Size() int
- func (m *MatchResult) XXX_Unmarshal(b []byte) error
- type MsgCancelOrders
- func (*MsgCancelOrders) Descriptor() ([]byte, []int)
- func (m *MsgCancelOrders) GetCancellations() []*Cancellation
- func (m *MsgCancelOrders) GetContractAddr() string
- func (m *MsgCancelOrders) GetCreator() string
- func (msg *MsgCancelOrders) GetSignBytes() []byte
- func (msg *MsgCancelOrders) GetSigners() []sdk.AccAddress
- func (m *MsgCancelOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelOrders) ProtoMessage()
- func (m *MsgCancelOrders) Reset()
- func (msg *MsgCancelOrders) Route() string
- func (m *MsgCancelOrders) Size() (n int)
- func (m *MsgCancelOrders) String() string
- func (msg *MsgCancelOrders) Type() string
- func (m *MsgCancelOrders) Unmarshal(dAtA []byte) error
- func (msg *MsgCancelOrders) ValidateBasic() error
- func (m *MsgCancelOrders) XXX_DiscardUnknown()
- func (m *MsgCancelOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelOrders) XXX_Merge(src proto.Message)
- func (m *MsgCancelOrders) XXX_Size() int
- func (m *MsgCancelOrders) XXX_Unmarshal(b []byte) error
- type MsgCancelOrdersResponse
- func (*MsgCancelOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgCancelOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCancelOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCancelOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCancelOrdersResponse) ProtoMessage()
- func (m *MsgCancelOrdersResponse) Reset()
- func (m *MsgCancelOrdersResponse) Size() (n int)
- func (m *MsgCancelOrdersResponse) String() string
- func (m *MsgCancelOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCancelOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgCancelOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCancelOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgCancelOrdersResponse) XXX_Size() int
- func (m *MsgCancelOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgContractDepositRent
- func (*MsgContractDepositRent) Descriptor() ([]byte, []int)
- func (m *MsgContractDepositRent) GetAmount() uint64
- func (m *MsgContractDepositRent) GetContractAddr() string
- func (m *MsgContractDepositRent) GetSender() string
- func (msg *MsgContractDepositRent) GetSignBytes() []byte
- func (msg *MsgContractDepositRent) GetSigners() []sdk.AccAddress
- func (m *MsgContractDepositRent) Marshal() (dAtA []byte, err error)
- func (m *MsgContractDepositRent) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgContractDepositRent) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgContractDepositRent) ProtoMessage()
- func (m *MsgContractDepositRent) Reset()
- func (msg *MsgContractDepositRent) Route() string
- func (m *MsgContractDepositRent) Size() (n int)
- func (m *MsgContractDepositRent) String() string
- func (msg *MsgContractDepositRent) Type() string
- func (m *MsgContractDepositRent) Unmarshal(dAtA []byte) error
- func (msg *MsgContractDepositRent) ValidateBasic() error
- func (m *MsgContractDepositRent) XXX_DiscardUnknown()
- func (m *MsgContractDepositRent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgContractDepositRent) XXX_Merge(src proto.Message)
- func (m *MsgContractDepositRent) XXX_Size() int
- func (m *MsgContractDepositRent) XXX_Unmarshal(b []byte) error
- type MsgContractDepositRentResponse
- func (*MsgContractDepositRentResponse) Descriptor() ([]byte, []int)
- func (m *MsgContractDepositRentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgContractDepositRentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgContractDepositRentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgContractDepositRentResponse) ProtoMessage()
- func (m *MsgContractDepositRentResponse) Reset()
- func (m *MsgContractDepositRentResponse) Size() (n int)
- func (m *MsgContractDepositRentResponse) String() string
- func (m *MsgContractDepositRentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgContractDepositRentResponse) XXX_DiscardUnknown()
- func (m *MsgContractDepositRentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgContractDepositRentResponse) XXX_Merge(src proto.Message)
- func (m *MsgContractDepositRentResponse) XXX_Size() int
- func (m *MsgContractDepositRentResponse) XXX_Unmarshal(b []byte) error
- type MsgPlaceOrders
- func (*MsgPlaceOrders) Descriptor() ([]byte, []int)
- func (m *MsgPlaceOrders) GetContractAddr() string
- func (m *MsgPlaceOrders) GetCreator() string
- func (m *MsgPlaceOrders) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *MsgPlaceOrders) GetOrders() []*Order
- func (msg *MsgPlaceOrders) GetSignBytes() []byte
- func (msg *MsgPlaceOrders) GetSigners() []sdk.AccAddress
- func (m *MsgPlaceOrders) Marshal() (dAtA []byte, err error)
- func (m *MsgPlaceOrders) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPlaceOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPlaceOrders) ProtoMessage()
- func (m *MsgPlaceOrders) Reset()
- func (msg *MsgPlaceOrders) Route() string
- func (m *MsgPlaceOrders) Size() (n int)
- func (m *MsgPlaceOrders) String() string
- func (msg *MsgPlaceOrders) Type() string
- func (m *MsgPlaceOrders) Unmarshal(dAtA []byte) error
- func (msg *MsgPlaceOrders) ValidateBasic() error
- func (m *MsgPlaceOrders) XXX_DiscardUnknown()
- func (m *MsgPlaceOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPlaceOrders) XXX_Merge(src proto.Message)
- func (m *MsgPlaceOrders) XXX_Size() int
- func (m *MsgPlaceOrders) XXX_Unmarshal(b []byte) error
- type MsgPlaceOrdersResponse
- func (*MsgPlaceOrdersResponse) Descriptor() ([]byte, []int)
- func (m *MsgPlaceOrdersResponse) GetOrderIds() []uint64
- func (m *MsgPlaceOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgPlaceOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgPlaceOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgPlaceOrdersResponse) ProtoMessage()
- func (m *MsgPlaceOrdersResponse) Reset()
- func (m *MsgPlaceOrdersResponse) Size() (n int)
- func (m *MsgPlaceOrdersResponse) String() string
- func (m *MsgPlaceOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgPlaceOrdersResponse) XXX_DiscardUnknown()
- func (m *MsgPlaceOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgPlaceOrdersResponse) XXX_Merge(src proto.Message)
- func (m *MsgPlaceOrdersResponse) XXX_Size() int
- func (m *MsgPlaceOrdersResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterContract
- func (*MsgRegisterContract) Descriptor() ([]byte, []int)
- func (m *MsgRegisterContract) GetContract() *ContractInfoV2
- func (m *MsgRegisterContract) GetCreator() string
- func (msg *MsgRegisterContract) GetSignBytes() []byte
- func (msg *MsgRegisterContract) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterContract) ProtoMessage()
- func (m *MsgRegisterContract) Reset()
- func (msg *MsgRegisterContract) Route() string
- func (m *MsgRegisterContract) Size() (n int)
- func (m *MsgRegisterContract) String() string
- func (msg *MsgRegisterContract) Type() string
- func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterContract) ValidateBasic() error
- func (m *MsgRegisterContract) XXX_DiscardUnknown()
- func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterContract) XXX_Merge(src proto.Message)
- func (m *MsgRegisterContract) XXX_Size() int
- func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error
- type MsgRegisterContractResponse
- func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterContractResponse) ProtoMessage()
- func (m *MsgRegisterContractResponse) Reset()
- func (m *MsgRegisterContractResponse) Size() (n int)
- func (m *MsgRegisterContractResponse) String() string
- func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterContractResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterContractResponse) XXX_Size() int
- func (m *MsgRegisterContractResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterPairs
- func (*MsgRegisterPairs) Descriptor() ([]byte, []int)
- func (m *MsgRegisterPairs) GetBatchcontractpair() []BatchContractPair
- func (m *MsgRegisterPairs) GetCreator() string
- func (msg *MsgRegisterPairs) GetSignBytes() []byte
- func (msg *MsgRegisterPairs) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterPairs) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterPairs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterPairs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterPairs) ProtoMessage()
- func (m *MsgRegisterPairs) Reset()
- func (msg *MsgRegisterPairs) Route() string
- func (m *MsgRegisterPairs) Size() (n int)
- func (m *MsgRegisterPairs) String() string
- func (msg *MsgRegisterPairs) Type() string
- func (m *MsgRegisterPairs) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterPairs) ValidateBasic() error
- func (m *MsgRegisterPairs) XXX_DiscardUnknown()
- func (m *MsgRegisterPairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterPairs) XXX_Merge(src proto.Message)
- func (m *MsgRegisterPairs) XXX_Size() int
- func (m *MsgRegisterPairs) XXX_Unmarshal(b []byte) error
- type MsgRegisterPairsResponse
- func (*MsgRegisterPairsResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterPairsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterPairsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterPairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterPairsResponse) ProtoMessage()
- func (m *MsgRegisterPairsResponse) Reset()
- func (m *MsgRegisterPairsResponse) Size() (n int)
- func (m *MsgRegisterPairsResponse) String() string
- func (m *MsgRegisterPairsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterPairsResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterPairsResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterPairsResponse) XXX_Size() int
- func (m *MsgRegisterPairsResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUnregisterContract
- func (*MsgUnregisterContract) Descriptor() ([]byte, []int)
- func (m *MsgUnregisterContract) GetContractAddr() string
- func (m *MsgUnregisterContract) GetCreator() string
- func (msg *MsgUnregisterContract) GetSignBytes() []byte
- func (msg *MsgUnregisterContract) GetSigners() []sdk.AccAddress
- func (m *MsgUnregisterContract) Marshal() (dAtA []byte, err error)
- func (m *MsgUnregisterContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnregisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnregisterContract) ProtoMessage()
- func (m *MsgUnregisterContract) Reset()
- func (msg *MsgUnregisterContract) Route() string
- func (m *MsgUnregisterContract) Size() (n int)
- func (m *MsgUnregisterContract) String() string
- func (msg *MsgUnregisterContract) Type() string
- func (m *MsgUnregisterContract) Unmarshal(dAtA []byte) error
- func (msg *MsgUnregisterContract) ValidateBasic() error
- func (m *MsgUnregisterContract) XXX_DiscardUnknown()
- func (m *MsgUnregisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnregisterContract) XXX_Merge(src proto.Message)
- func (m *MsgUnregisterContract) XXX_Size() int
- func (m *MsgUnregisterContract) XXX_Unmarshal(b []byte) error
- type MsgUnregisterContractResponse
- func (*MsgUnregisterContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnregisterContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnregisterContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnregisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnregisterContractResponse) ProtoMessage()
- func (m *MsgUnregisterContractResponse) Reset()
- func (m *MsgUnregisterContractResponse) Size() (n int)
- func (m *MsgUnregisterContractResponse) String() string
- func (m *MsgUnregisterContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnregisterContractResponse) XXX_DiscardUnknown()
- func (m *MsgUnregisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnregisterContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnregisterContractResponse) XXX_Size() int
- func (m *MsgUnregisterContractResponse) XXX_Unmarshal(b []byte) error
- type MsgUnsuspendContract
- func (*MsgUnsuspendContract) Descriptor() ([]byte, []int)
- func (m *MsgUnsuspendContract) GetContractAddr() string
- func (m *MsgUnsuspendContract) GetCreator() string
- func (msg *MsgUnsuspendContract) GetSignBytes() []byte
- func (msg *MsgUnsuspendContract) GetSigners() []sdk.AccAddress
- func (m *MsgUnsuspendContract) Marshal() (dAtA []byte, err error)
- func (m *MsgUnsuspendContract) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnsuspendContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnsuspendContract) ProtoMessage()
- func (m *MsgUnsuspendContract) Reset()
- func (msg *MsgUnsuspendContract) Route() string
- func (m *MsgUnsuspendContract) Size() (n int)
- func (m *MsgUnsuspendContract) String() string
- func (msg *MsgUnsuspendContract) Type() string
- func (m *MsgUnsuspendContract) Unmarshal(dAtA []byte) error
- func (msg *MsgUnsuspendContract) ValidateBasic() error
- func (m *MsgUnsuspendContract) XXX_DiscardUnknown()
- func (m *MsgUnsuspendContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnsuspendContract) XXX_Merge(src proto.Message)
- func (m *MsgUnsuspendContract) XXX_Size() int
- func (m *MsgUnsuspendContract) XXX_Unmarshal(b []byte) error
- type MsgUnsuspendContractResponse
- func (*MsgUnsuspendContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnsuspendContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnsuspendContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnsuspendContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnsuspendContractResponse) ProtoMessage()
- func (m *MsgUnsuspendContractResponse) Reset()
- func (m *MsgUnsuspendContractResponse) Size() (n int)
- func (m *MsgUnsuspendContractResponse) String() string
- func (m *MsgUnsuspendContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnsuspendContractResponse) XXX_DiscardUnknown()
- func (m *MsgUnsuspendContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnsuspendContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnsuspendContractResponse) XXX_Size() int
- func (m *MsgUnsuspendContractResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdatePriceTickSize
- func (*MsgUpdatePriceTickSize) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePriceTickSize) GetCreator() string
- func (msg *MsgUpdatePriceTickSize) GetSignBytes() []byte
- func (msg *MsgUpdatePriceTickSize) GetSigners() []sdk.AccAddress
- func (m *MsgUpdatePriceTickSize) GetTickSizeList() []TickSize
- func (m *MsgUpdatePriceTickSize) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePriceTickSize) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePriceTickSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePriceTickSize) ProtoMessage()
- func (m *MsgUpdatePriceTickSize) Reset()
- func (msg *MsgUpdatePriceTickSize) Route() string
- func (m *MsgUpdatePriceTickSize) Size() (n int)
- func (m *MsgUpdatePriceTickSize) String() string
- func (msg *MsgUpdatePriceTickSize) Type() string
- func (m *MsgUpdatePriceTickSize) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdatePriceTickSize) ValidateBasic() error
- func (m *MsgUpdatePriceTickSize) XXX_DiscardUnknown()
- func (m *MsgUpdatePriceTickSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePriceTickSize) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePriceTickSize) XXX_Size() int
- func (m *MsgUpdatePriceTickSize) XXX_Unmarshal(b []byte) error
- type MsgUpdateQuantityTickSize
- func (*MsgUpdateQuantityTickSize) Descriptor() ([]byte, []int)
- func (m *MsgUpdateQuantityTickSize) GetCreator() string
- func (msg *MsgUpdateQuantityTickSize) GetSignBytes() []byte
- func (msg *MsgUpdateQuantityTickSize) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateQuantityTickSize) GetTickSizeList() []TickSize
- func (m *MsgUpdateQuantityTickSize) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateQuantityTickSize) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateQuantityTickSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateQuantityTickSize) ProtoMessage()
- func (m *MsgUpdateQuantityTickSize) Reset()
- func (msg *MsgUpdateQuantityTickSize) Route() string
- func (m *MsgUpdateQuantityTickSize) Size() (n int)
- func (m *MsgUpdateQuantityTickSize) String() string
- func (msg *MsgUpdateQuantityTickSize) Type() string
- func (m *MsgUpdateQuantityTickSize) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateQuantityTickSize) ValidateBasic() error
- func (m *MsgUpdateQuantityTickSize) XXX_DiscardUnknown()
- func (m *MsgUpdateQuantityTickSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateQuantityTickSize) XXX_Merge(src proto.Message)
- func (m *MsgUpdateQuantityTickSize) XXX_Size() int
- func (m *MsgUpdateQuantityTickSize) XXX_Unmarshal(b []byte) error
- type MsgUpdateTickSizeResponse
- func (*MsgUpdateTickSizeResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateTickSizeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateTickSizeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateTickSizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateTickSizeResponse) ProtoMessage()
- func (m *MsgUpdateTickSizeResponse) Reset()
- func (m *MsgUpdateTickSizeResponse) Size() (n int)
- func (m *MsgUpdateTickSizeResponse) String() string
- func (m *MsgUpdateTickSizeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateTickSizeResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateTickSizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateTickSizeResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateTickSizeResponse) XXX_Size() int
- func (m *MsgUpdateTickSizeResponse) XXX_Unmarshal(b []byte) error
- type Order
- func (*Order) Descriptor() ([]byte, []int)
- func (m *Order) GetAccount() string
- func (m *Order) GetAssetDenom() string
- func (m *Order) GetContractAddr() string
- func (m *Order) GetData() string
- func (m *Order) GetId() uint64
- func (m *Order) GetOrderType() OrderType
- func (m *Order) GetPositionDirection() PositionDirection
- func (m *Order) GetPriceDenom() string
- func (m *Order) GetStatus() OrderStatus
- func (m *Order) GetStatusDescription() string
- func (m *Order) GetTriggerStatus() bool
- func (m *Order) Marshal() (dAtA []byte, err error)
- func (m *Order) MarshalTo(dAtA []byte) (int, error)
- func (m *Order) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Order) ProtoMessage()
- func (m *Order) Reset()
- func (m *Order) Size() (n int)
- func (m *Order) String() string
- func (m *Order) Unmarshal(dAtA []byte) error
- func (m *Order) XXX_DiscardUnknown()
- func (m *Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Order) XXX_Merge(src proto.Message)
- func (m *Order) XXX_Size() int
- func (m *Order) XXX_Unmarshal(b []byte) error
- type OrderBook
- type OrderBookEntry
- type OrderCancellationMsgDetails
- type OrderEntry
- func (*OrderEntry) Descriptor() ([]byte, []int)
- func (m *OrderEntry) GetAllocations() []*Allocation
- func (m *OrderEntry) GetAssetDenom() string
- func (m *OrderEntry) GetPriceDenom() string
- func (m *OrderEntry) Marshal() (dAtA []byte, err error)
- func (m *OrderEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *OrderEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OrderEntry) ProtoMessage()
- func (m *OrderEntry) Reset()
- func (m *OrderEntry) Size() (n int)
- func (m *OrderEntry) String() string
- func (m *OrderEntry) Unmarshal(dAtA []byte) error
- func (m *OrderEntry) XXX_DiscardUnknown()
- func (m *OrderEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderEntry) XXX_Merge(src proto.Message)
- func (m *OrderEntry) XXX_Size() int
- func (m *OrderEntry) XXX_Unmarshal(b []byte) error
- type OrderPlacementMsgDetails
- type OrderStatus
- type OrderType
- type Pair
- func (*Pair) Descriptor() ([]byte, []int)
- func (m *Pair) GetAssetDenom() string
- func (m *Pair) GetPriceDenom() string
- func (m *Pair) Marshal() (dAtA []byte, err error)
- func (m *Pair) MarshalTo(dAtA []byte) (int, error)
- func (m *Pair) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pair) ProtoMessage()
- func (m *Pair) Reset()
- func (m *Pair) Size() (n int)
- func (m *Pair) String() string
- func (m *Pair) Unmarshal(dAtA []byte) error
- func (m *Pair) XXX_DiscardUnknown()
- func (m *Pair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pair) XXX_Merge(src proto.Message)
- func (m *Pair) XXX_Size() int
- func (m *Pair) XXX_Unmarshal(b []byte) error
- type PairString
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetBeginBlockGasLimit() uint64
- func (m *Params) GetContractUnsuspendCost() uint64
- func (m *Params) GetDefaultGasPerCancel() uint64
- func (m *Params) GetDefaultGasPerOrder() uint64
- func (m *Params) GetDefaultGasPerOrderDataByte() uint64
- func (m *Params) GetEndBlockGasLimit() uint64
- func (m *Params) GetGasAllowancePerSettlement() uint64
- func (m *Params) GetMaxOrderPerPrice() uint64
- func (m *Params) GetMaxPairsPerContract() uint64
- func (m *Params) GetMinProcessableRent() uint64
- func (m *Params) GetMinRentDeposit() uint64
- func (m *Params) GetOrderBookEntriesPerLoad() uint64
- func (m *Params) GetPriceSnapshotRetention() uint64
- 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 (p 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 PositionDirection
- type PositionEffect
- type Price
- func (*Price) Descriptor() ([]byte, []int)
- func (m *Price) GetPair() *Pair
- func (m *Price) GetSnapshotTimestampInSeconds() uint64
- func (m *Price) Marshal() (dAtA []byte, err error)
- func (m *Price) MarshalTo(dAtA []byte) (int, error)
- func (m *Price) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Price) ProtoMessage()
- func (m *Price) Reset()
- func (m *Price) Size() (n int)
- func (m *Price) String() string
- func (m *Price) Unmarshal(dAtA []byte) error
- func (m *Price) XXX_DiscardUnknown()
- func (m *Price) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Price) XXX_Merge(src proto.Message)
- func (m *Price) XXX_Size() int
- func (m *Price) XXX_Unmarshal(b []byte) error
- type PriceCandlestick
- func (*PriceCandlestick) Descriptor() ([]byte, []int)
- func (m *PriceCandlestick) GetBeginTimestamp() uint64
- func (m *PriceCandlestick) GetEndTimestamp() uint64
- func (m *PriceCandlestick) Marshal() (dAtA []byte, err error)
- func (m *PriceCandlestick) MarshalTo(dAtA []byte) (int, error)
- func (m *PriceCandlestick) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriceCandlestick) ProtoMessage()
- func (m *PriceCandlestick) Reset()
- func (m *PriceCandlestick) Size() (n int)
- func (m *PriceCandlestick) String() string
- func (m *PriceCandlestick) Unmarshal(dAtA []byte) error
- func (m *PriceCandlestick) XXX_DiscardUnknown()
- func (m *PriceCandlestick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriceCandlestick) XXX_Merge(src proto.Message)
- func (m *PriceCandlestick) XXX_Size() int
- func (m *PriceCandlestick) XXX_Unmarshal(b []byte) error
- type PriceStore
- type QueryAllLongBookRequest
- func (*QueryAllLongBookRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllLongBookRequest) GetAssetDenom() string
- func (m *QueryAllLongBookRequest) GetContractAddr() string
- func (m *QueryAllLongBookRequest) GetPagination() *query.PageRequest
- func (m *QueryAllLongBookRequest) GetPriceDenom() string
- func (m *QueryAllLongBookRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLongBookRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLongBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLongBookRequest) ProtoMessage()
- func (m *QueryAllLongBookRequest) Reset()
- func (m *QueryAllLongBookRequest) Size() (n int)
- func (m *QueryAllLongBookRequest) String() string
- func (m *QueryAllLongBookRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllLongBookRequest) XXX_DiscardUnknown()
- func (m *QueryAllLongBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLongBookRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllLongBookRequest) XXX_Size() int
- func (m *QueryAllLongBookRequest) XXX_Unmarshal(b []byte) error
- type QueryAllLongBookResponse
- func (*QueryAllLongBookResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllLongBookResponse) GetLongBook() []LongBook
- func (m *QueryAllLongBookResponse) GetPagination() *query.PageResponse
- func (m *QueryAllLongBookResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllLongBookResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllLongBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllLongBookResponse) ProtoMessage()
- func (m *QueryAllLongBookResponse) Reset()
- func (m *QueryAllLongBookResponse) Size() (n int)
- func (m *QueryAllLongBookResponse) String() string
- func (m *QueryAllLongBookResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllLongBookResponse) XXX_DiscardUnknown()
- func (m *QueryAllLongBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllLongBookResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllLongBookResponse) XXX_Size() int
- func (m *QueryAllLongBookResponse) XXX_Unmarshal(b []byte) error
- type QueryAllShortBookRequest
- func (*QueryAllShortBookRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllShortBookRequest) GetAssetDenom() string
- func (m *QueryAllShortBookRequest) GetContractAddr() string
- func (m *QueryAllShortBookRequest) GetPagination() *query.PageRequest
- func (m *QueryAllShortBookRequest) GetPriceDenom() string
- func (m *QueryAllShortBookRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllShortBookRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllShortBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllShortBookRequest) ProtoMessage()
- func (m *QueryAllShortBookRequest) Reset()
- func (m *QueryAllShortBookRequest) Size() (n int)
- func (m *QueryAllShortBookRequest) String() string
- func (m *QueryAllShortBookRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllShortBookRequest) XXX_DiscardUnknown()
- func (m *QueryAllShortBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllShortBookRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllShortBookRequest) XXX_Size() int
- func (m *QueryAllShortBookRequest) XXX_Unmarshal(b []byte) error
- type QueryAllShortBookResponse
- func (*QueryAllShortBookResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllShortBookResponse) GetPagination() *query.PageResponse
- func (m *QueryAllShortBookResponse) GetShortBook() []ShortBook
- func (m *QueryAllShortBookResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllShortBookResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllShortBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllShortBookResponse) ProtoMessage()
- func (m *QueryAllShortBookResponse) Reset()
- func (m *QueryAllShortBookResponse) Size() (n int)
- func (m *QueryAllShortBookResponse) String() string
- func (m *QueryAllShortBookResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllShortBookResponse) XXX_DiscardUnknown()
- func (m *QueryAllShortBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllShortBookResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllShortBookResponse) XXX_Size() int
- func (m *QueryAllShortBookResponse) XXX_Unmarshal(b []byte) error
- type QueryAssetListRequest
- func (*QueryAssetListRequest) Descriptor() ([]byte, []int)
- func (m *QueryAssetListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetListRequest) ProtoMessage()
- func (m *QueryAssetListRequest) Reset()
- func (m *QueryAssetListRequest) Size() (n int)
- func (m *QueryAssetListRequest) String() string
- func (m *QueryAssetListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAssetListRequest) XXX_DiscardUnknown()
- func (m *QueryAssetListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetListRequest) XXX_Merge(src proto.Message)
- func (m *QueryAssetListRequest) XXX_Size() int
- func (m *QueryAssetListRequest) XXX_Unmarshal(b []byte) error
- type QueryAssetListResponse
- func (*QueryAssetListResponse) Descriptor() ([]byte, []int)
- func (m *QueryAssetListResponse) GetAssetList() []AssetMetadata
- func (m *QueryAssetListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetListResponse) ProtoMessage()
- func (m *QueryAssetListResponse) Reset()
- func (m *QueryAssetListResponse) Size() (n int)
- func (m *QueryAssetListResponse) String() string
- func (m *QueryAssetListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAssetListResponse) XXX_DiscardUnknown()
- func (m *QueryAssetListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetListResponse) XXX_Merge(src proto.Message)
- func (m *QueryAssetListResponse) XXX_Size() int
- func (m *QueryAssetListResponse) XXX_Unmarshal(b []byte) error
- type QueryAssetMetadataRequest
- func (*QueryAssetMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryAssetMetadataRequest) GetDenom() string
- func (m *QueryAssetMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetMetadataRequest) ProtoMessage()
- func (m *QueryAssetMetadataRequest) Reset()
- func (m *QueryAssetMetadataRequest) Size() (n int)
- func (m *QueryAssetMetadataRequest) String() string
- func (m *QueryAssetMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAssetMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryAssetMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryAssetMetadataRequest) XXX_Size() int
- func (m *QueryAssetMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryAssetMetadataResponse
- func (*QueryAssetMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryAssetMetadataResponse) GetMetadata() *AssetMetadata
- func (m *QueryAssetMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAssetMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAssetMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAssetMetadataResponse) ProtoMessage()
- func (m *QueryAssetMetadataResponse) Reset()
- func (m *QueryAssetMetadataResponse) Size() (n int)
- func (m *QueryAssetMetadataResponse) String() string
- func (m *QueryAssetMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAssetMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryAssetMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAssetMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryAssetMetadataResponse) XXX_Size() int
- func (m *QueryAssetMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetHistoricalPricesRequest
- func (*QueryGetHistoricalPricesRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetHistoricalPricesRequest) GetAssetDenom() string
- func (m *QueryGetHistoricalPricesRequest) GetContractAddr() string
- func (m *QueryGetHistoricalPricesRequest) GetNumOfPeriods() uint64
- func (m *QueryGetHistoricalPricesRequest) GetPeriodLengthInSeconds() uint64
- func (m *QueryGetHistoricalPricesRequest) GetPriceDenom() string
- func (m *QueryGetHistoricalPricesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetHistoricalPricesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetHistoricalPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetHistoricalPricesRequest) ProtoMessage()
- func (m *QueryGetHistoricalPricesRequest) Reset()
- func (m *QueryGetHistoricalPricesRequest) Size() (n int)
- func (m *QueryGetHistoricalPricesRequest) String() string
- func (m *QueryGetHistoricalPricesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetHistoricalPricesRequest) XXX_DiscardUnknown()
- func (m *QueryGetHistoricalPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetHistoricalPricesRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetHistoricalPricesRequest) XXX_Size() int
- func (m *QueryGetHistoricalPricesRequest) XXX_Unmarshal(b []byte) error
- type QueryGetHistoricalPricesResponse
- func (*QueryGetHistoricalPricesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetHistoricalPricesResponse) GetPrices() []*PriceCandlestick
- func (m *QueryGetHistoricalPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetHistoricalPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetHistoricalPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetHistoricalPricesResponse) ProtoMessage()
- func (m *QueryGetHistoricalPricesResponse) Reset()
- func (m *QueryGetHistoricalPricesResponse) Size() (n int)
- func (m *QueryGetHistoricalPricesResponse) String() string
- func (m *QueryGetHistoricalPricesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetHistoricalPricesResponse) XXX_DiscardUnknown()
- func (m *QueryGetHistoricalPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetHistoricalPricesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetHistoricalPricesResponse) XXX_Size() int
- func (m *QueryGetHistoricalPricesResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLatestPriceRequest
- func (*QueryGetLatestPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestPriceRequest) GetAssetDenom() string
- func (m *QueryGetLatestPriceRequest) GetContractAddr() string
- func (m *QueryGetLatestPriceRequest) GetPriceDenom() string
- func (m *QueryGetLatestPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestPriceRequest) ProtoMessage()
- func (m *QueryGetLatestPriceRequest) Reset()
- func (m *QueryGetLatestPriceRequest) Size() (n int)
- func (m *QueryGetLatestPriceRequest) String() string
- func (m *QueryGetLatestPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestPriceRequest) XXX_Size() int
- func (m *QueryGetLatestPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestPriceResponse
- func (*QueryGetLatestPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestPriceResponse) GetPrice() *Price
- func (m *QueryGetLatestPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestPriceResponse) ProtoMessage()
- func (m *QueryGetLatestPriceResponse) Reset()
- func (m *QueryGetLatestPriceResponse) Size() (n int)
- func (m *QueryGetLatestPriceResponse) String() string
- func (m *QueryGetLatestPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestPriceResponse) XXX_Size() int
- func (m *QueryGetLatestPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetLongBookRequest
- func (*QueryGetLongBookRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLongBookRequest) GetAssetDenom() string
- func (m *QueryGetLongBookRequest) GetContractAddr() string
- func (m *QueryGetLongBookRequest) GetPrice() string
- func (m *QueryGetLongBookRequest) GetPriceDenom() string
- func (m *QueryGetLongBookRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLongBookRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLongBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLongBookRequest) ProtoMessage()
- func (m *QueryGetLongBookRequest) Reset()
- func (m *QueryGetLongBookRequest) Size() (n int)
- func (m *QueryGetLongBookRequest) String() string
- func (m *QueryGetLongBookRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLongBookRequest) XXX_DiscardUnknown()
- func (m *QueryGetLongBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLongBookRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLongBookRequest) XXX_Size() int
- func (m *QueryGetLongBookRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLongBookResponse
- func (*QueryGetLongBookResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLongBookResponse) GetLongBook() LongBook
- func (m *QueryGetLongBookResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLongBookResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLongBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLongBookResponse) ProtoMessage()
- func (m *QueryGetLongBookResponse) Reset()
- func (m *QueryGetLongBookResponse) Size() (n int)
- func (m *QueryGetLongBookResponse) String() string
- func (m *QueryGetLongBookResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLongBookResponse) XXX_DiscardUnknown()
- func (m *QueryGetLongBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLongBookResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLongBookResponse) XXX_Size() int
- func (m *QueryGetLongBookResponse) XXX_Unmarshal(b []byte) error
- type QueryGetMarketSummaryRequest
- func (*QueryGetMarketSummaryRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMarketSummaryRequest) GetAssetDenom() string
- func (m *QueryGetMarketSummaryRequest) GetContractAddr() string
- func (m *QueryGetMarketSummaryRequest) GetLookbackInSeconds() uint64
- func (m *QueryGetMarketSummaryRequest) GetPriceDenom() string
- func (m *QueryGetMarketSummaryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMarketSummaryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMarketSummaryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMarketSummaryRequest) ProtoMessage()
- func (m *QueryGetMarketSummaryRequest) Reset()
- func (m *QueryGetMarketSummaryRequest) Size() (n int)
- func (m *QueryGetMarketSummaryRequest) String() string
- func (m *QueryGetMarketSummaryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMarketSummaryRequest) XXX_DiscardUnknown()
- func (m *QueryGetMarketSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMarketSummaryRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMarketSummaryRequest) XXX_Size() int
- func (m *QueryGetMarketSummaryRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMarketSummaryResponse
- func (*QueryGetMarketSummaryResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMarketSummaryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMarketSummaryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMarketSummaryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMarketSummaryResponse) ProtoMessage()
- func (m *QueryGetMarketSummaryResponse) Reset()
- func (m *QueryGetMarketSummaryResponse) Size() (n int)
- func (m *QueryGetMarketSummaryResponse) String() string
- func (m *QueryGetMarketSummaryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMarketSummaryResponse) XXX_DiscardUnknown()
- func (m *QueryGetMarketSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMarketSummaryResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMarketSummaryResponse) XXX_Size() int
- func (m *QueryGetMarketSummaryResponse) XXX_Unmarshal(b []byte) error
- type QueryGetMatchResultRequest
- func (*QueryGetMatchResultRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetMatchResultRequest) GetContractAddr() string
- func (m *QueryGetMatchResultRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMatchResultRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMatchResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMatchResultRequest) ProtoMessage()
- func (m *QueryGetMatchResultRequest) Reset()
- func (m *QueryGetMatchResultRequest) Size() (n int)
- func (m *QueryGetMatchResultRequest) String() string
- func (m *QueryGetMatchResultRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetMatchResultRequest) XXX_DiscardUnknown()
- func (m *QueryGetMatchResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMatchResultRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetMatchResultRequest) XXX_Size() int
- func (m *QueryGetMatchResultRequest) XXX_Unmarshal(b []byte) error
- type QueryGetMatchResultResponse
- func (*QueryGetMatchResultResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetMatchResultResponse) GetResult() *MatchResult
- func (m *QueryGetMatchResultResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetMatchResultResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetMatchResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetMatchResultResponse) ProtoMessage()
- func (m *QueryGetMatchResultResponse) Reset()
- func (m *QueryGetMatchResultResponse) Size() (n int)
- func (m *QueryGetMatchResultResponse) String() string
- func (m *QueryGetMatchResultResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetMatchResultResponse) XXX_DiscardUnknown()
- func (m *QueryGetMatchResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetMatchResultResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetMatchResultResponse) XXX_Size() int
- func (m *QueryGetMatchResultResponse) XXX_Unmarshal(b []byte) error
- type QueryGetOrderByIDRequest
- func (*QueryGetOrderByIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetOrderByIDRequest) GetAssetDenom() string
- func (m *QueryGetOrderByIDRequest) GetContractAddr() string
- func (m *QueryGetOrderByIDRequest) GetId() uint64
- func (m *QueryGetOrderByIDRequest) GetPriceDenom() string
- func (m *QueryGetOrderByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetOrderByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetOrderByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetOrderByIDRequest) ProtoMessage()
- func (m *QueryGetOrderByIDRequest) Reset()
- func (m *QueryGetOrderByIDRequest) Size() (n int)
- func (m *QueryGetOrderByIDRequest) String() string
- func (m *QueryGetOrderByIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetOrderByIDRequest) XXX_DiscardUnknown()
- func (m *QueryGetOrderByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetOrderByIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetOrderByIDRequest) XXX_Size() int
- func (m *QueryGetOrderByIDRequest) XXX_Unmarshal(b []byte) error
- type QueryGetOrderByIDResponse
- func (*QueryGetOrderByIDResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetOrderByIDResponse) GetOrder() *Order
- func (m *QueryGetOrderByIDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetOrderByIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetOrderByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetOrderByIDResponse) ProtoMessage()
- func (m *QueryGetOrderByIDResponse) Reset()
- func (m *QueryGetOrderByIDResponse) Size() (n int)
- func (m *QueryGetOrderByIDResponse) String() string
- func (m *QueryGetOrderByIDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetOrderByIDResponse) XXX_DiscardUnknown()
- func (m *QueryGetOrderByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetOrderByIDResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetOrderByIDResponse) XXX_Size() int
- func (m *QueryGetOrderByIDResponse) XXX_Unmarshal(b []byte) error
- type QueryGetOrderCountRequest
- func (*QueryGetOrderCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetOrderCountRequest) GetAssetDenom() string
- func (m *QueryGetOrderCountRequest) GetContractAddr() string
- func (m *QueryGetOrderCountRequest) GetPositionDirection() PositionDirection
- func (m *QueryGetOrderCountRequest) GetPriceDenom() string
- func (m *QueryGetOrderCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetOrderCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetOrderCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetOrderCountRequest) ProtoMessage()
- func (m *QueryGetOrderCountRequest) Reset()
- func (m *QueryGetOrderCountRequest) Size() (n int)
- func (m *QueryGetOrderCountRequest) String() string
- func (m *QueryGetOrderCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetOrderCountRequest) XXX_DiscardUnknown()
- func (m *QueryGetOrderCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetOrderCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetOrderCountRequest) XXX_Size() int
- func (m *QueryGetOrderCountRequest) XXX_Unmarshal(b []byte) error
- type QueryGetOrderCountResponse
- func (*QueryGetOrderCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetOrderCountResponse) GetCount() uint64
- func (m *QueryGetOrderCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetOrderCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetOrderCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetOrderCountResponse) ProtoMessage()
- func (m *QueryGetOrderCountResponse) Reset()
- func (m *QueryGetOrderCountResponse) Size() (n int)
- func (m *QueryGetOrderCountResponse) String() string
- func (m *QueryGetOrderCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetOrderCountResponse) XXX_DiscardUnknown()
- func (m *QueryGetOrderCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetOrderCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetOrderCountResponse) XXX_Size() int
- func (m *QueryGetOrderCountResponse) XXX_Unmarshal(b []byte) error
- type QueryGetOrdersRequest
- func (*QueryGetOrdersRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetOrdersRequest) GetAccount() string
- func (m *QueryGetOrdersRequest) GetContractAddr() string
- func (m *QueryGetOrdersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetOrdersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetOrdersRequest) ProtoMessage()
- func (m *QueryGetOrdersRequest) Reset()
- func (m *QueryGetOrdersRequest) Size() (n int)
- func (m *QueryGetOrdersRequest) String() string
- func (m *QueryGetOrdersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetOrdersRequest) XXX_DiscardUnknown()
- func (m *QueryGetOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetOrdersRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetOrdersRequest) XXX_Size() int
- func (m *QueryGetOrdersRequest) XXX_Unmarshal(b []byte) error
- type QueryGetOrdersResponse
- func (*QueryGetOrdersResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetOrdersResponse) GetOrders() []*Order
- func (m *QueryGetOrdersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetOrdersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetOrdersResponse) ProtoMessage()
- func (m *QueryGetOrdersResponse) Reset()
- func (m *QueryGetOrdersResponse) Size() (n int)
- func (m *QueryGetOrdersResponse) String() string
- func (m *QueryGetOrdersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetOrdersResponse) XXX_DiscardUnknown()
- func (m *QueryGetOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetOrdersResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetOrdersResponse) XXX_Size() int
- func (m *QueryGetOrdersResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPriceRequest
- func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceRequest) GetAssetDenom() string
- func (m *QueryGetPriceRequest) GetContractAddr() string
- func (m *QueryGetPriceRequest) GetPriceDenom() string
- func (m *QueryGetPriceRequest) GetTimestamp() uint64
- func (m *QueryGetPriceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceRequest) ProtoMessage()
- func (m *QueryGetPriceRequest) Reset()
- func (m *QueryGetPriceRequest) Size() (n int)
- func (m *QueryGetPriceRequest) String() string
- func (m *QueryGetPriceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceRequest) XXX_DiscardUnknown()
- func (m *QueryGetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceRequest) XXX_Size() int
- func (m *QueryGetPriceRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPriceResponse
- func (*QueryGetPriceResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPriceResponse) GetFound() bool
- func (m *QueryGetPriceResponse) GetPrice() *Price
- func (m *QueryGetPriceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPriceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPriceResponse) ProtoMessage()
- func (m *QueryGetPriceResponse) Reset()
- func (m *QueryGetPriceResponse) Size() (n int)
- func (m *QueryGetPriceResponse) String() string
- func (m *QueryGetPriceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPriceResponse) XXX_DiscardUnknown()
- func (m *QueryGetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPriceResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPriceResponse) XXX_Size() int
- func (m *QueryGetPriceResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPricesRequest
- func (*QueryGetPricesRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPricesRequest) GetAssetDenom() string
- func (m *QueryGetPricesRequest) GetContractAddr() string
- func (m *QueryGetPricesRequest) GetPriceDenom() string
- func (m *QueryGetPricesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPricesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPricesRequest) ProtoMessage()
- func (m *QueryGetPricesRequest) Reset()
- func (m *QueryGetPricesRequest) Size() (n int)
- func (m *QueryGetPricesRequest) String() string
- func (m *QueryGetPricesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPricesRequest) XXX_DiscardUnknown()
- func (m *QueryGetPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPricesRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPricesRequest) XXX_Size() int
- func (m *QueryGetPricesRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPricesResponse
- func (*QueryGetPricesResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPricesResponse) GetPrices() []*Price
- func (m *QueryGetPricesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPricesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPricesResponse) ProtoMessage()
- func (m *QueryGetPricesResponse) Reset()
- func (m *QueryGetPricesResponse) Size() (n int)
- func (m *QueryGetPricesResponse) String() string
- func (m *QueryGetPricesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPricesResponse) XXX_DiscardUnknown()
- func (m *QueryGetPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPricesResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPricesResponse) XXX_Size() int
- func (m *QueryGetPricesResponse) XXX_Unmarshal(b []byte) error
- type QueryGetShortBookRequest
- func (*QueryGetShortBookRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetShortBookRequest) GetAssetDenom() string
- func (m *QueryGetShortBookRequest) GetContractAddr() string
- func (m *QueryGetShortBookRequest) GetPrice() string
- func (m *QueryGetShortBookRequest) GetPriceDenom() string
- func (m *QueryGetShortBookRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetShortBookRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetShortBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetShortBookRequest) ProtoMessage()
- func (m *QueryGetShortBookRequest) Reset()
- func (m *QueryGetShortBookRequest) Size() (n int)
- func (m *QueryGetShortBookRequest) String() string
- func (m *QueryGetShortBookRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetShortBookRequest) XXX_DiscardUnknown()
- func (m *QueryGetShortBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetShortBookRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetShortBookRequest) XXX_Size() int
- func (m *QueryGetShortBookRequest) XXX_Unmarshal(b []byte) error
- type QueryGetShortBookResponse
- func (*QueryGetShortBookResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetShortBookResponse) GetShortBook() ShortBook
- func (m *QueryGetShortBookResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetShortBookResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetShortBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetShortBookResponse) ProtoMessage()
- func (m *QueryGetShortBookResponse) Reset()
- func (m *QueryGetShortBookResponse) Size() (n int)
- func (m *QueryGetShortBookResponse) String() string
- func (m *QueryGetShortBookResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetShortBookResponse) XXX_DiscardUnknown()
- func (m *QueryGetShortBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetShortBookResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetShortBookResponse) XXX_Size() int
- func (m *QueryGetShortBookResponse) XXX_Unmarshal(b []byte) error
- type QueryGetTwapsRequest
- func (*QueryGetTwapsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetTwapsRequest) GetContractAddr() string
- func (m *QueryGetTwapsRequest) GetLookbackSeconds() uint64
- func (m *QueryGetTwapsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetTwapsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetTwapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetTwapsRequest) ProtoMessage()
- func (m *QueryGetTwapsRequest) Reset()
- func (m *QueryGetTwapsRequest) Size() (n int)
- func (m *QueryGetTwapsRequest) String() string
- func (m *QueryGetTwapsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetTwapsRequest) XXX_DiscardUnknown()
- func (m *QueryGetTwapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetTwapsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetTwapsRequest) XXX_Size() int
- func (m *QueryGetTwapsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetTwapsResponse
- func (*QueryGetTwapsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetTwapsResponse) GetTwaps() []*Twap
- func (m *QueryGetTwapsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetTwapsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetTwapsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetTwapsResponse) ProtoMessage()
- func (m *QueryGetTwapsResponse) Reset()
- func (m *QueryGetTwapsResponse) Size() (n int)
- func (m *QueryGetTwapsResponse) String() string
- func (m *QueryGetTwapsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetTwapsResponse) XXX_DiscardUnknown()
- func (m *QueryGetTwapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetTwapsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetTwapsResponse) XXX_Size() int
- func (m *QueryGetTwapsResponse) XXX_Unmarshal(b []byte) error
- type QueryOrderSimulationRequest
- func (*QueryOrderSimulationRequest) Descriptor() ([]byte, []int)
- func (m *QueryOrderSimulationRequest) GetContractAddr() string
- func (m *QueryOrderSimulationRequest) GetOrder() *Order
- func (m *QueryOrderSimulationRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryOrderSimulationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOrderSimulationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOrderSimulationRequest) ProtoMessage()
- func (m *QueryOrderSimulationRequest) Reset()
- func (m *QueryOrderSimulationRequest) Size() (n int)
- func (m *QueryOrderSimulationRequest) String() string
- func (m *QueryOrderSimulationRequest) Unmarshal(dAtA []byte) error
- func (m *QueryOrderSimulationRequest) XXX_DiscardUnknown()
- func (m *QueryOrderSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOrderSimulationRequest) XXX_Merge(src proto.Message)
- func (m *QueryOrderSimulationRequest) XXX_Size() int
- func (m *QueryOrderSimulationRequest) XXX_Unmarshal(b []byte) error
- type QueryOrderSimulationResponse
- func (*QueryOrderSimulationResponse) Descriptor() ([]byte, []int)
- func (m *QueryOrderSimulationResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryOrderSimulationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryOrderSimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryOrderSimulationResponse) ProtoMessage()
- func (m *QueryOrderSimulationResponse) Reset()
- func (m *QueryOrderSimulationResponse) Size() (n int)
- func (m *QueryOrderSimulationResponse) String() string
- func (m *QueryOrderSimulationResponse) Unmarshal(dAtA []byte) error
- func (m *QueryOrderSimulationResponse) XXX_DiscardUnknown()
- func (m *QueryOrderSimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryOrderSimulationResponse) XXX_Merge(src proto.Message)
- func (m *QueryOrderSimulationResponse) XXX_Size() int
- func (m *QueryOrderSimulationResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryRegisteredContractRequest
- func (*QueryRegisteredContractRequest) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredContractRequest) GetContractAddr() string
- func (m *QueryRegisteredContractRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredContractRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredContractRequest) ProtoMessage()
- func (m *QueryRegisteredContractRequest) Reset()
- func (m *QueryRegisteredContractRequest) Size() (n int)
- func (m *QueryRegisteredContractRequest) String() string
- func (m *QueryRegisteredContractRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredContractRequest) XXX_DiscardUnknown()
- func (m *QueryRegisteredContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredContractRequest) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredContractRequest) XXX_Size() int
- func (m *QueryRegisteredContractRequest) XXX_Unmarshal(b []byte) error
- type QueryRegisteredContractResponse
- func (*QueryRegisteredContractResponse) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredContractResponse) GetContractInfo() *ContractInfoV2
- func (m *QueryRegisteredContractResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredContractResponse) ProtoMessage()
- func (m *QueryRegisteredContractResponse) Reset()
- func (m *QueryRegisteredContractResponse) Size() (n int)
- func (m *QueryRegisteredContractResponse) String() string
- func (m *QueryRegisteredContractResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredContractResponse) XXX_DiscardUnknown()
- func (m *QueryRegisteredContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredContractResponse) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredContractResponse) XXX_Size() int
- func (m *QueryRegisteredContractResponse) XXX_Unmarshal(b []byte) error
- type QueryRegisteredPairsRequest
- func (*QueryRegisteredPairsRequest) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredPairsRequest) GetContractAddr() string
- func (m *QueryRegisteredPairsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredPairsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredPairsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredPairsRequest) ProtoMessage()
- func (m *QueryRegisteredPairsRequest) Reset()
- func (m *QueryRegisteredPairsRequest) Size() (n int)
- func (m *QueryRegisteredPairsRequest) String() string
- func (m *QueryRegisteredPairsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredPairsRequest) XXX_DiscardUnknown()
- func (m *QueryRegisteredPairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredPairsRequest) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredPairsRequest) XXX_Size() int
- func (m *QueryRegisteredPairsRequest) XXX_Unmarshal(b []byte) error
- type QueryRegisteredPairsResponse
- func (*QueryRegisteredPairsResponse) Descriptor() ([]byte, []int)
- func (m *QueryRegisteredPairsResponse) GetPairs() []Pair
- func (m *QueryRegisteredPairsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryRegisteredPairsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryRegisteredPairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryRegisteredPairsResponse) ProtoMessage()
- func (m *QueryRegisteredPairsResponse) Reset()
- func (m *QueryRegisteredPairsResponse) Size() (n int)
- func (m *QueryRegisteredPairsResponse) String() string
- func (m *QueryRegisteredPairsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryRegisteredPairsResponse) XXX_DiscardUnknown()
- func (m *QueryRegisteredPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryRegisteredPairsResponse) XXX_Merge(src proto.Message)
- func (m *QueryRegisteredPairsResponse) XXX_Size() int
- func (m *QueryRegisteredPairsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SettlementEntry
- func (*SettlementEntry) Descriptor() ([]byte, []int)
- func (m *SettlementEntry) GetAccount() string
- func (m *SettlementEntry) GetAssetDenom() string
- func (m *SettlementEntry) GetHeight() uint64
- func (m *SettlementEntry) GetOrderId() uint64
- func (m *SettlementEntry) GetOrderType() string
- func (m *SettlementEntry) GetPositionDirection() string
- func (m *SettlementEntry) GetPriceDenom() string
- func (m *SettlementEntry) GetSettlementId() uint64
- func (m *SettlementEntry) GetTimestamp() uint64
- func (m *SettlementEntry) Marshal() (dAtA []byte, err error)
- func (m *SettlementEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *SettlementEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SettlementEntry) ProtoMessage()
- func (m *SettlementEntry) Reset()
- func (m *SettlementEntry) Size() (n int)
- func (m *SettlementEntry) String() string
- func (m *SettlementEntry) Unmarshal(dAtA []byte) error
- func (m *SettlementEntry) XXX_DiscardUnknown()
- func (m *SettlementEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettlementEntry) XXX_Merge(src proto.Message)
- func (m *SettlementEntry) XXX_Size() int
- func (m *SettlementEntry) XXX_Unmarshal(b []byte) error
- type Settlements
- func (*Settlements) Descriptor() ([]byte, []int)
- func (m *Settlements) GetEntries() []*SettlementEntry
- func (m *Settlements) GetEpoch() int64
- func (m *Settlements) Marshal() (dAtA []byte, err error)
- func (m *Settlements) MarshalTo(dAtA []byte) (int, error)
- func (m *Settlements) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Settlements) ProtoMessage()
- func (m *Settlements) Reset()
- func (m *Settlements) Size() (n int)
- func (m *Settlements) String() string
- func (m *Settlements) Unmarshal(dAtA []byte) error
- func (m *Settlements) XXX_DiscardUnknown()
- func (m *Settlements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Settlements) XXX_Merge(src proto.Message)
- func (m *Settlements) XXX_Size() int
- func (m *Settlements) XXX_Unmarshal(b []byte) error
- type ShortBook
- func (m *ShortBook) DeepCopy() OrderBookEntry
- func (*ShortBook) Descriptor() ([]byte, []int)
- func (m *ShortBook) GetEntry() *OrderEntry
- func (m *ShortBook) GetOrderEntry() *OrderEntry
- func (m *ShortBook) GetPrice() sdk.Dec
- func (m *ShortBook) Marshal() (dAtA []byte, err error)
- func (m *ShortBook) MarshalTo(dAtA []byte) (int, error)
- func (m *ShortBook) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ShortBook) ProtoMessage()
- func (m *ShortBook) Reset()
- func (m *ShortBook) SetEntry(newEntry *OrderEntry)
- func (m *ShortBook) SetPrice(p sdk.Dec)
- func (m *ShortBook) Size() (n int)
- func (m *ShortBook) String() string
- func (m *ShortBook) Unmarshal(dAtA []byte) error
- func (m *ShortBook) XXX_DiscardUnknown()
- func (m *ShortBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ShortBook) XXX_Merge(src proto.Message)
- func (m *ShortBook) XXX_Size() int
- func (m *ShortBook) XXX_Unmarshal(b []byte) error
- type SudoOrderCancellationMsg
- type SudoOrderPlacementMsg
- type SudoOrderPlacementResponse
- type SudoSettlementMsg
- type TickSize
- func (*TickSize) Descriptor() ([]byte, []int)
- func (m *TickSize) GetContractAddr() string
- func (m *TickSize) GetPair() *Pair
- func (m *TickSize) Marshal() (dAtA []byte, err error)
- func (m *TickSize) MarshalTo(dAtA []byte) (int, error)
- func (m *TickSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TickSize) ProtoMessage()
- func (m *TickSize) Reset()
- func (m *TickSize) Size() (n int)
- func (m *TickSize) String() string
- func (m *TickSize) Unmarshal(dAtA []byte) error
- func (m *TickSize) XXX_DiscardUnknown()
- func (m *TickSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TickSize) XXX_Merge(src proto.Message)
- func (m *TickSize) XXX_Size() int
- func (m *TickSize) XXX_Unmarshal(b []byte) error
- type ToSettle
- type Twap
- func (*Twap) Descriptor() ([]byte, []int)
- func (m *Twap) GetLookbackSeconds() uint64
- func (m *Twap) GetPair() *Pair
- func (m *Twap) Marshal() (dAtA []byte, err error)
- func (m *Twap) MarshalTo(dAtA []byte) (int, error)
- func (m *Twap) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Twap) ProtoMessage()
- func (m *Twap) Reset()
- func (m *Twap) Size() (n int)
- func (m *Twap) String() string
- func (m *Twap) Unmarshal(dAtA []byte) error
- func (m *Twap) XXX_DiscardUnknown()
- func (m *Twap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Twap) XXX_Merge(src proto.Message)
- func (m *Twap) XXX_Size() int
- func (m *Twap) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CancelOrders(ctx context.Context, req *MsgCancelOrders) (*MsgCancelOrdersResponse, error)
- func (*UnimplementedMsgServer) ContractDepositRent(ctx context.Context, req *MsgContractDepositRent) (*MsgContractDepositRentResponse, error)
- func (*UnimplementedMsgServer) PlaceOrders(ctx context.Context, req *MsgPlaceOrders) (*MsgPlaceOrdersResponse, error)
- func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error)
- func (*UnimplementedMsgServer) RegisterPairs(ctx context.Context, req *MsgRegisterPairs) (*MsgRegisterPairsResponse, error)
- func (*UnimplementedMsgServer) UnregisterContract(ctx context.Context, req *MsgUnregisterContract) (*MsgUnregisterContractResponse, error)
- func (*UnimplementedMsgServer) UnsuspendContract(ctx context.Context, req *MsgUnsuspendContract) (*MsgUnsuspendContractResponse, error)
- func (*UnimplementedMsgServer) UpdatePriceTickSize(ctx context.Context, req *MsgUpdatePriceTickSize) (*MsgUpdateTickSizeResponse, error)
- func (*UnimplementedMsgServer) UpdateQuantityTickSize(ctx context.Context, req *MsgUpdateQuantityTickSize) (*MsgUpdateTickSizeResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AssetList(ctx context.Context, req *QueryAssetListRequest) (*QueryAssetListResponse, error)
- func (*UnimplementedQueryServer) AssetMetadata(ctx context.Context, req *QueryAssetMetadataRequest) (*QueryAssetMetadataResponse, error)
- func (*UnimplementedQueryServer) GetHistoricalPrices(ctx context.Context, req *QueryGetHistoricalPricesRequest) (*QueryGetHistoricalPricesResponse, error)
- func (*UnimplementedQueryServer) GetLatestPrice(ctx context.Context, req *QueryGetLatestPriceRequest) (*QueryGetLatestPriceResponse, error)
- func (*UnimplementedQueryServer) GetMarketSummary(ctx context.Context, req *QueryGetMarketSummaryRequest) (*QueryGetMarketSummaryResponse, error)
- func (*UnimplementedQueryServer) GetMatchResult(ctx context.Context, req *QueryGetMatchResultRequest) (*QueryGetMatchResultResponse, error)
- func (*UnimplementedQueryServer) GetOrder(ctx context.Context, req *QueryGetOrderByIDRequest) (*QueryGetOrderByIDResponse, error)
- func (*UnimplementedQueryServer) GetOrderCount(ctx context.Context, req *QueryGetOrderCountRequest) (*QueryGetOrderCountResponse, error)
- func (*UnimplementedQueryServer) GetOrderSimulation(ctx context.Context, req *QueryOrderSimulationRequest) (*QueryOrderSimulationResponse, error)
- func (*UnimplementedQueryServer) GetOrders(ctx context.Context, req *QueryGetOrdersRequest) (*QueryGetOrdersResponse, error)
- func (*UnimplementedQueryServer) GetPrice(ctx context.Context, req *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
- func (*UnimplementedQueryServer) GetPrices(ctx context.Context, req *QueryGetPricesRequest) (*QueryGetPricesResponse, error)
- func (*UnimplementedQueryServer) GetRegisteredContract(ctx context.Context, req *QueryRegisteredContractRequest) (*QueryRegisteredContractResponse, error)
- func (*UnimplementedQueryServer) GetRegisteredPairs(ctx context.Context, req *QueryRegisteredPairsRequest) (*QueryRegisteredPairsResponse, error)
- func (*UnimplementedQueryServer) GetTwaps(ctx context.Context, req *QueryGetTwapsRequest) (*QueryGetTwapsResponse, error)
- func (*UnimplementedQueryServer) LongBook(ctx context.Context, req *QueryGetLongBookRequest) (*QueryGetLongBookResponse, error)
- func (*UnimplementedQueryServer) LongBookAll(ctx context.Context, req *QueryAllLongBookRequest) (*QueryAllLongBookResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ShortBook(ctx context.Context, req *QueryGetShortBookRequest) (*QueryGetShortBookResponse, error)
- func (*UnimplementedQueryServer) ShortBookAll(ctx context.Context, req *QueryAllShortBookRequest) (*QueryAllShortBookResponse, error)
- type Unit
- type UnsuccessfulOrder
Constants ¶
const ( EventTypePlaceOrder = "place_order" EventTypeCancelOrder = "cancel_order" EventTypeDepositRent = "deposit_rent" EventTypeRegisterContract = "register_contract" EventTypeUnregisterContract = "unregister_contract" EventTypeRegisterPair = "register_pair" EventTypeSetQuantityTickSize = "set_quantity_tick_size" EventTypeSetPriceTickSize = "set_price_tick_size" AttributeKeyOrderID = "order_id" AttributeKeyCancellationID = "cancellation_id" AttributeKeyContractAddress = "contract_address" AttributeKeyRentBalance = "rent_balance" AttributeKeyPriceDenom = "price_denom" AttributeKeyAssetDenom = "asset_denom" AttributeValueCategory = ModuleName )
const ( // ModuleName defines the module name ModuleName = "dex" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_dex" )
const ( LongBookKey = "LongBook-value-" ShortBookKey = "ShortBook-value-" OrderKey = "order" AccountActiveOrdersKey = "account-active-orders" CancelKey = "cancel" TwapKey = "TWAP-" PriceKey = "Price-" SettlementEntryKey = "SettlementEntry-" NextSettlementIDKey = "NextSettlementID-" NextOrderIDKey = "noid" RegisteredPairKey = "rp" AssetListKey = "AssetList-" MatchResultKey = "MatchResult-" LongOrderCountKey = "loc-" ShortOrderCountKey = "soc-" MemOrderKey = "MemOrder-" MemDepositKey = "MemDeposit-" MemCancelKey = "MemCancel-" MemContractsToProcess = "MemContractsToProcess-" MemDownstreamContracts = "MemDownstreamContracts-" )
const ( DefaultPriceSnapshotRetention = 24 * 3600 // default to one day DefaultBeginBlockGasLimit = 200000000 // 200M DefaultEndBlockGasLimit = 1000000000 // 1B DefaultDefaultGasPerOrder = 55000 DefaultDefaultGasPerCancel = 53000 DefaultMinRentDeposit = 10000000 // 10 sei DefaultGasAllowancePerSettlement = 10000 DefaultMinProcessableRent = 100000 DefaultOrderBookEntriesPerLoad = 10 DefaultContractUnsuspendCost = 1000000 DefaultMaxOrderPerPrice = 10000 DefaultMaxPairsPerContract = 100 DefaultDefaultGasPerOrderDataByte = 30 )
const PairDelim = "|"
const (
ProposalTypeAddAssetMetadata = "AddAssetMetadata"
)
const TypeMsgCancelOrders = "cancel_orders"
const TypeMsgContractDepositRent = "contract_deposit_rent"
const TypeMsgPlaceOrders = "place_orders"
const TypeMsgRegisterContract = "register_contract"
const TypeMsgRegisterPairs = "register_pairs"
const TypeMsgUnregisterContract = "unregister_contract"
const TypeMsgUnsuspendContract = "unsuspend_contract"
const TypeMsgUpdatePriceTickSize = "update_price_tick_size"
const TypeMsgUpdateQuantityTickSize = "update_quantity_tick_size"
Variables ¶
var ( ErrInvalidLengthAssetList = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAssetList = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAssetList = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthContract = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowContract = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupContract = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDeposit = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDeposit = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDeposit = fmt.Errorf("proto: unexpected end of group") )
var ( ErrEncodeDexPlaceOrders = sdkerrors.Register(ModuleName, 2, "Error while encoding dex order placement msg in wasmd") ErrEncodeDexCancelOrders = sdkerrors.Register(ModuleName, 3, "Error while encoding dex order cancellation msg in wasmd") ErrParsingSeiDexQuery = sdkerrors.Register(ModuleName, 4, "Error parsing SeiDexQuery") ErrEncodingDexTwaps = sdkerrors.Register(ModuleName, 6, "Error encoding dex twaps as JSON") ErrEncodingOrders = sdkerrors.Register(ModuleName, 8, "Error encoding orders as JSON") ErrEncodingOrder = sdkerrors.Register(ModuleName, 10, "Error encoding order as JSON") ErrEncodingOrderSimulation = sdkerrors.Register(ModuleName, 12, "Error encoding order simulation as JSON") ErrInvalidOrderID = sdkerrors.Register(ModuleName, 13, "Error order id not found") ErrEncodingLatestPrice = sdkerrors.Register(ModuleName, 14, "Error encoding latest price as JSON") ErrUnknownSeiDexQuery = sdkerrors.Register(ModuleName, 15, "Error unknown sei dex query") ErrPairNotRegistered = sdkerrors.Register(ModuleName, 16, "pair is not registered") ErrContractNotExists = sdkerrors.Register(ModuleName, 17, "Error finding contract info") ErrParsingContractInfo = sdkerrors.Register(ModuleName, 18, "Error parsing contract info") ErrInsufficientRent = sdkerrors.Register(ModuleName, 19, "Error contract does not have sufficient fee") ErrCircularContractDependency = sdkerrors.Register(ModuleName, 1103, "circular contract dependency detected") ErrContractSuspended = sdkerrors.Register(ModuleName, 1104, "contract suspended") ErrContractNotSuspended = sdkerrors.Register(ModuleName, 1105, "contract not suspended") )
x/dex module sentinel errors
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 ( ErrInvalidLengthGov = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGov = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGov = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthLongBook = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLongBook = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupLongBook = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMatchResult = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMatchResult = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMatchResult = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthOrder = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOrder = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOrder = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthOrderEntry = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowOrderEntry = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupOrderEntry = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPair = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPair = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPair = fmt.Errorf("proto: unexpected end of group") )
var ( KeyPriceSnapshotRetention = []byte("PriceSnapshotRetention") // number of epochs to retain price snapshots for KeySudoCallGasPrice = []byte("KeySudoCallGasPrice") // gas price for sudo calls from endblock KeyBeginBlockGasLimit = []byte("KeyBeginBlockGasLimit") KeyEndBlockGasLimit = []byte("KeyEndBlockGasLimit") KeyDefaultGasPerOrder = []byte("KeyDefaultGasPerOrder") KeyDefaultGasPerCancel = []byte("KeyDefaultGasPerCancel") KeyMinRentDeposit = []byte("KeyMinRentDeposit") KeyGasAllowancePerSettlement = []byte("KeyGasAllowancePerSettlement") KeyMinProcessableRent = []byte("KeyMinProcessableRent") KeyOrderBookEntriesPerLoad = []byte("KeyOrderBookEntriesPerLoad") KeyContractUnsuspendCost = []byte("KeyContractUnsuspendCost") KeyMaxOrderPerPrice = []byte("KeyMaxOrderPerPrice") KeyMaxPairsPerContract = []byte("KeyMaxPairsPerContract") KeyDefaultGasPerOrderDataByte = []byte("KeyDefaultGasPerOrderDataByte") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPrice = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPrice = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPrice = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthSettlement = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSettlement = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSettlement = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthShortBook = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowShortBook = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupShortBook = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTickSize = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTickSize = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTickSize = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTwap = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTwap = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTwap = 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 CancellationInitiator_name = map[int32]string{
0: "USER",
1: "LIQUIDATED",
}
var CancellationInitiator_value = map[string]int32{
"USER": 0,
"LIQUIDATED": 1,
}
var DefaultSudoCallGasPrice = sdk.NewDecWithPrec(1, 1) // 0.1
var OppositePositionDirection = map[PositionDirection]PositionDirection{ PositionDirection_LONG: PositionDirection_SHORT, PositionDirection_SHORT: PositionDirection_LONG, }
var OrderStatus_name = map[int32]string{
0: "PLACED",
1: "FAILED_TO_PLACE",
2: "CANCELLED",
3: "FULFILLED",
}
var OrderStatus_value = map[string]int32{
"PLACED": 0,
"FAILED_TO_PLACE": 1,
"CANCELLED": 2,
"FULFILLED": 3,
}
var OrderType_name = map[int32]string{
0: "LIMIT",
1: "MARKET",
3: "FOKMARKET",
4: "FOKMARKETBYVALUE",
5: "STOPLOSS",
6: "STOPLIMIT",
}
var OrderType_value = map[string]int32{
"LIMIT": 0,
"MARKET": 1,
"FOKMARKET": 3,
"FOKMARKETBYVALUE": 4,
"STOPLOSS": 5,
"STOPLIMIT": 6,
}
var PositionDirection_name = map[int32]string{
0: "LONG",
1: "SHORT",
}
var PositionDirection_value = map[string]int32{
"LONG": 0,
"SHORT": 1,
}
var PositionEffect_name = map[int32]string{
0: "OPEN",
1: "CLOSE",
}
var PositionEffect_value = map[string]int32{
"OPEN": 0,
"CLOSE": 1,
}
var Unit_name = map[int32]string{
0: "STANDARD",
1: "MILLI",
2: "MICRO",
3: "NANO",
}
var Unit_value = map[string]int32{
"STANDARD": 0,
"MILLI": 1,
"MICRO": 2,
"NANO": 3,
}
Functions ¶
func AddressKeyPrefix ¶
func AssetListPrefix ¶
func ContractKey ¶
func ContractKeyPrefix ¶
func DenomPrefix ¶
func GetContractOrderType ¶
func GetContractPositionDirection ¶
func GetContractPositionDirection(direction PositionDirection) string
func GetPriceAssetString ¶
func GetPriceAssetString(pairString PairString) (string, string)
func GetSettlementKey ¶
func MatchResultPrefix ¶
func MemCancelPrefix ¶
func MemCancelPrefixForPair ¶
func MemDepositPrefix ¶
func MemDepositSubprefix ¶
func MemOrderPrefix ¶
func MemOrderPrefixForPair ¶
func NextOrderIDPrefix ¶
func OrderBookContractPrefix ¶
func OrderBookPrefix ¶
func OrderCountPrefix ¶
func OrderPrefix ¶
func PairPrefix ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func PriceContractPrefix ¶
func PricePrefix ¶
`Price` constant + contract + price denom + asset denom
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RegisteredPairPrefix ¶
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type ActiveOrders ¶
type ActiveOrders struct {
Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"`
}
func (*ActiveOrders) Descriptor ¶
func (*ActiveOrders) Descriptor() ([]byte, []int)
func (*ActiveOrders) GetIds ¶
func (m *ActiveOrders) GetIds() []uint64
func (*ActiveOrders) Marshal ¶
func (m *ActiveOrders) Marshal() (dAtA []byte, err error)
func (*ActiveOrders) MarshalToSizedBuffer ¶
func (m *ActiveOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ActiveOrders) ProtoMessage ¶
func (*ActiveOrders) ProtoMessage()
func (*ActiveOrders) Reset ¶
func (m *ActiveOrders) Reset()
func (*ActiveOrders) Size ¶
func (m *ActiveOrders) Size() (n int)
func (*ActiveOrders) String ¶
func (m *ActiveOrders) String() string
func (*ActiveOrders) Unmarshal ¶
func (m *ActiveOrders) Unmarshal(dAtA []byte) error
func (*ActiveOrders) XXX_DiscardUnknown ¶
func (m *ActiveOrders) XXX_DiscardUnknown()
func (*ActiveOrders) XXX_Marshal ¶
func (m *ActiveOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActiveOrders) XXX_Merge ¶
func (m *ActiveOrders) XXX_Merge(src proto.Message)
func (*ActiveOrders) XXX_Size ¶
func (m *ActiveOrders) XXX_Size() int
func (*ActiveOrders) XXX_Unmarshal ¶
func (m *ActiveOrders) XXX_Unmarshal(b []byte) error
type AddAssetMetadataProposal ¶
type AddAssetMetadataProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" yaml:"title"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty" yaml:"description"` AssetList []AssetMetadata `protobuf:"bytes,3,rep,name=assetList,proto3" json:"assetList" yaml:"asset_list"` }
AddAssetMetadataProposal is a gov Content type for adding a new asset to the dex module's asset list.
func (*AddAssetMetadataProposal) Descriptor ¶
func (*AddAssetMetadataProposal) Descriptor() ([]byte, []int)
func (*AddAssetMetadataProposal) GetDescription ¶
func (p *AddAssetMetadataProposal) GetDescription() string
func (*AddAssetMetadataProposal) GetTitle ¶
func (p *AddAssetMetadataProposal) GetTitle() string
func (*AddAssetMetadataProposal) Marshal ¶
func (m *AddAssetMetadataProposal) Marshal() (dAtA []byte, err error)
func (*AddAssetMetadataProposal) MarshalTo ¶
func (m *AddAssetMetadataProposal) MarshalTo(dAtA []byte) (int, error)
func (*AddAssetMetadataProposal) MarshalToSizedBuffer ¶
func (m *AddAssetMetadataProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddAssetMetadataProposal) ProposalRoute ¶
func (p *AddAssetMetadataProposal) ProposalRoute() string
func (*AddAssetMetadataProposal) ProposalType ¶
func (p *AddAssetMetadataProposal) ProposalType() string
func (*AddAssetMetadataProposal) ProtoMessage ¶
func (*AddAssetMetadataProposal) ProtoMessage()
func (*AddAssetMetadataProposal) Reset ¶
func (m *AddAssetMetadataProposal) Reset()
func (*AddAssetMetadataProposal) Size ¶
func (m *AddAssetMetadataProposal) Size() (n int)
func (AddAssetMetadataProposal) String ¶
func (p AddAssetMetadataProposal) String() string
func (*AddAssetMetadataProposal) Unmarshal ¶
func (m *AddAssetMetadataProposal) Unmarshal(dAtA []byte) error
func (*AddAssetMetadataProposal) ValidateBasic ¶
func (p *AddAssetMetadataProposal) ValidateBasic() error
func (*AddAssetMetadataProposal) XXX_DiscardUnknown ¶
func (m *AddAssetMetadataProposal) XXX_DiscardUnknown()
func (*AddAssetMetadataProposal) XXX_Marshal ¶
func (m *AddAssetMetadataProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddAssetMetadataProposal) XXX_Merge ¶
func (m *AddAssetMetadataProposal) XXX_Merge(src proto.Message)
func (*AddAssetMetadataProposal) XXX_Size ¶
func (m *AddAssetMetadataProposal) XXX_Size() int
func (*AddAssetMetadataProposal) XXX_Unmarshal ¶
func (m *AddAssetMetadataProposal) XXX_Unmarshal(b []byte) error
type Allocation ¶
type Allocation struct { OrderId uint64 `protobuf:"varint,1,opt,name=orderId,proto3" json:"order_id"` 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" yaml:"quantity"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"` }
func (*Allocation) Descriptor ¶
func (*Allocation) Descriptor() ([]byte, []int)
func (*Allocation) GetAccount ¶
func (m *Allocation) GetAccount() string
func (*Allocation) GetOrderId ¶
func (m *Allocation) GetOrderId() uint64
func (*Allocation) Marshal ¶
func (m *Allocation) Marshal() (dAtA []byte, err error)
func (*Allocation) MarshalToSizedBuffer ¶
func (m *Allocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Allocation) ProtoMessage ¶
func (*Allocation) ProtoMessage()
func (*Allocation) Reset ¶
func (m *Allocation) Reset()
func (*Allocation) Size ¶
func (m *Allocation) Size() (n int)
func (*Allocation) String ¶
func (m *Allocation) String() string
func (*Allocation) Unmarshal ¶
func (m *Allocation) Unmarshal(dAtA []byte) error
func (*Allocation) XXX_DiscardUnknown ¶
func (m *Allocation) XXX_DiscardUnknown()
func (*Allocation) XXX_Marshal ¶
func (m *Allocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Allocation) XXX_Merge ¶
func (m *Allocation) XXX_Merge(src proto.Message)
func (*Allocation) XXX_Size ¶
func (m *Allocation) XXX_Size() int
func (*Allocation) XXX_Unmarshal ¶
func (m *Allocation) XXX_Unmarshal(b []byte) error
type AssetIBCInfo ¶
type AssetIBCInfo struct { SourceChannel string `protobuf:"bytes,1,opt,name=sourceChannel,proto3" json:"source_channel"` DstChannel string `protobuf:"bytes,2,opt,name=dstChannel,proto3" json:"dst_channel"` SourceDenom string `protobuf:"bytes,3,opt,name=sourceDenom,proto3" json:"source_denom"` SourceChainID string `protobuf:"bytes,4,opt,name=sourceChainID,proto3" json:"source_chain_id"` }
func (*AssetIBCInfo) Descriptor ¶
func (*AssetIBCInfo) Descriptor() ([]byte, []int)
func (*AssetIBCInfo) GetDstChannel ¶
func (m *AssetIBCInfo) GetDstChannel() string
func (*AssetIBCInfo) GetSourceChainID ¶
func (m *AssetIBCInfo) GetSourceChainID() string
func (*AssetIBCInfo) GetSourceChannel ¶
func (m *AssetIBCInfo) GetSourceChannel() string
func (*AssetIBCInfo) GetSourceDenom ¶
func (m *AssetIBCInfo) GetSourceDenom() string
func (*AssetIBCInfo) Marshal ¶
func (m *AssetIBCInfo) Marshal() (dAtA []byte, err error)
func (*AssetIBCInfo) MarshalToSizedBuffer ¶
func (m *AssetIBCInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssetIBCInfo) ProtoMessage ¶
func (*AssetIBCInfo) ProtoMessage()
func (*AssetIBCInfo) Reset ¶
func (m *AssetIBCInfo) Reset()
func (*AssetIBCInfo) Size ¶
func (m *AssetIBCInfo) Size() (n int)
func (*AssetIBCInfo) String ¶
func (m *AssetIBCInfo) String() string
func (*AssetIBCInfo) Unmarshal ¶
func (m *AssetIBCInfo) Unmarshal(dAtA []byte) error
func (*AssetIBCInfo) XXX_DiscardUnknown ¶
func (m *AssetIBCInfo) XXX_DiscardUnknown()
func (*AssetIBCInfo) XXX_Marshal ¶
func (m *AssetIBCInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetIBCInfo) XXX_Merge ¶
func (m *AssetIBCInfo) XXX_Merge(src proto.Message)
func (*AssetIBCInfo) XXX_Size ¶
func (m *AssetIBCInfo) XXX_Size() int
func (*AssetIBCInfo) XXX_Unmarshal ¶
func (m *AssetIBCInfo) XXX_Unmarshal(b []byte) error
type AssetMetadata ¶
type AssetMetadata struct { IbcInfo *AssetIBCInfo `protobuf:"bytes,1,opt,name=ibcInfo,proto3" json:"ibc_info"` TypeAsset string `protobuf:"bytes,2,opt,name=type_asset,json=typeAsset,proto3" json:"type_asset"` Metadata types.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"` }
func (*AssetMetadata) Descriptor ¶
func (*AssetMetadata) Descriptor() ([]byte, []int)
func (*AssetMetadata) GetIbcInfo ¶
func (m *AssetMetadata) GetIbcInfo() *AssetIBCInfo
func (*AssetMetadata) GetMetadata ¶
func (m *AssetMetadata) GetMetadata() types.Metadata
func (*AssetMetadata) GetTypeAsset ¶
func (m *AssetMetadata) GetTypeAsset() string
func (*AssetMetadata) Marshal ¶
func (m *AssetMetadata) Marshal() (dAtA []byte, err error)
func (*AssetMetadata) MarshalToSizedBuffer ¶
func (m *AssetMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AssetMetadata) ProtoMessage ¶
func (*AssetMetadata) ProtoMessage()
func (*AssetMetadata) Reset ¶
func (m *AssetMetadata) Reset()
func (*AssetMetadata) Size ¶
func (m *AssetMetadata) Size() (n int)
func (*AssetMetadata) String ¶
func (m *AssetMetadata) String() string
func (*AssetMetadata) Unmarshal ¶
func (m *AssetMetadata) Unmarshal(dAtA []byte) error
func (*AssetMetadata) XXX_DiscardUnknown ¶
func (m *AssetMetadata) XXX_DiscardUnknown()
func (*AssetMetadata) XXX_Marshal ¶
func (m *AssetMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetMetadata) XXX_Merge ¶
func (m *AssetMetadata) XXX_Merge(src proto.Message)
func (*AssetMetadata) XXX_Size ¶
func (m *AssetMetadata) XXX_Size() int
func (*AssetMetadata) XXX_Unmarshal ¶
func (m *AssetMetadata) XXX_Unmarshal(b []byte) error
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type BatchContractPair ¶
type BatchContractPair struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_addr"` Pairs []*Pair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs"` }
func (*BatchContractPair) Descriptor ¶
func (*BatchContractPair) Descriptor() ([]byte, []int)
func (*BatchContractPair) GetContractAddr ¶
func (m *BatchContractPair) GetContractAddr() string
func (*BatchContractPair) GetPairs ¶
func (m *BatchContractPair) GetPairs() []*Pair
func (*BatchContractPair) Marshal ¶
func (m *BatchContractPair) Marshal() (dAtA []byte, err error)
func (*BatchContractPair) MarshalTo ¶
func (m *BatchContractPair) MarshalTo(dAtA []byte) (int, error)
func (*BatchContractPair) MarshalToSizedBuffer ¶
func (m *BatchContractPair) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BatchContractPair) ProtoMessage ¶
func (*BatchContractPair) ProtoMessage()
func (*BatchContractPair) Reset ¶
func (m *BatchContractPair) Reset()
func (*BatchContractPair) Size ¶
func (m *BatchContractPair) Size() (n int)
func (*BatchContractPair) String ¶
func (m *BatchContractPair) String() string
func (*BatchContractPair) Unmarshal ¶
func (m *BatchContractPair) Unmarshal(dAtA []byte) error
func (*BatchContractPair) XXX_DiscardUnknown ¶
func (m *BatchContractPair) XXX_DiscardUnknown()
func (*BatchContractPair) XXX_Marshal ¶
func (m *BatchContractPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BatchContractPair) XXX_Merge ¶
func (m *BatchContractPair) XXX_Merge(src proto.Message)
func (*BatchContractPair) XXX_Size ¶
func (m *BatchContractPair) XXX_Size() int
func (*BatchContractPair) XXX_Unmarshal ¶
func (m *BatchContractPair) XXX_Unmarshal(b []byte) error
type CachedSortedOrderBookEntries ¶
type CachedSortedOrderBookEntries struct { CachedEntries []OrderBookEntry // contains filtered or unexported fields }
entries are always sorted by prices in ascending order, regardless of side
func NewCachedSortedOrderBookEntries ¶
func NewCachedSortedOrderBookEntries( loader func(ctx sdk.Context, startingPriceExclusive sdk.Dec, withLimit bool) []OrderBookEntry, setter func(sdk.Context, OrderBookEntry), deleter func(sdk.Context, OrderBookEntry), ) *CachedSortedOrderBookEntries
func (*CachedSortedOrderBookEntries) Flush ¶
func (c *CachedSortedOrderBookEntries) Flush(ctx sdk.Context)
func (*CachedSortedOrderBookEntries) Next ¶
func (c *CachedSortedOrderBookEntries) Next(ctx sdk.Context) OrderBookEntry
Next will only move on to the next order if the current order quantity hits zero. So it should not be used for read-only iteration
func (*CachedSortedOrderBookEntries) Refresh ¶
func (c *CachedSortedOrderBookEntries) Refresh(ctx sdk.Context)
Discard all dirty changes and reload
func (*CachedSortedOrderBookEntries) SettleQuantity ¶
func (c *CachedSortedOrderBookEntries) SettleQuantity(_ sdk.Context, quantity sdk.Dec) (res []ToSettle, settled sdk.Dec)
Reduce quantity of the order book entry currently being pointed at by the specified quantity. Also remove/reduce allocations of the order book entry in FIFO order. If the order book entry does not have enough quantity to settle against, the returned `settled` value will equal to the quantity of the order book entry; otherwise it will equal to the specified quantity.
type Cancellation ¶
type Cancellation struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Initiator CancellationInitiator `protobuf:"varint,2,opt,name=initiator,proto3,enum=seiprotocol.seichain.dex.CancellationInitiator" json:"initiator"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator"` ContractAddr string `protobuf:"bytes,4,opt,name=contractAddr,proto3" json:"contract_address"` PriceDenom string `protobuf:"bytes,5,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,6,opt,name=assetDenom,proto3" json:"asset_denom"` PositionDirection PositionDirection `` /* 127-byte string literal not displayed */ Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price" yaml:"price"` }
func (*Cancellation) Descriptor ¶
func (*Cancellation) Descriptor() ([]byte, []int)
func (*Cancellation) GetAssetDenom ¶
func (m *Cancellation) GetAssetDenom() string
func (*Cancellation) GetContractAddr ¶
func (m *Cancellation) GetContractAddr() string
func (*Cancellation) GetCreator ¶
func (m *Cancellation) GetCreator() string
func (*Cancellation) GetId ¶
func (m *Cancellation) GetId() uint64
func (*Cancellation) GetInitiator ¶
func (m *Cancellation) GetInitiator() CancellationInitiator
func (*Cancellation) GetPositionDirection ¶
func (m *Cancellation) GetPositionDirection() PositionDirection
func (*Cancellation) GetPriceDenom ¶
func (m *Cancellation) GetPriceDenom() string
func (*Cancellation) Marshal ¶
func (m *Cancellation) Marshal() (dAtA []byte, err error)
func (*Cancellation) MarshalToSizedBuffer ¶
func (m *Cancellation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Cancellation) ProtoMessage ¶
func (*Cancellation) ProtoMessage()
func (*Cancellation) Reset ¶
func (m *Cancellation) Reset()
func (*Cancellation) Size ¶
func (m *Cancellation) Size() (n int)
func (*Cancellation) String ¶
func (m *Cancellation) String() string
func (*Cancellation) Unmarshal ¶
func (m *Cancellation) Unmarshal(dAtA []byte) error
func (*Cancellation) XXX_DiscardUnknown ¶
func (m *Cancellation) XXX_DiscardUnknown()
func (*Cancellation) XXX_Marshal ¶
func (m *Cancellation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Cancellation) XXX_Merge ¶
func (m *Cancellation) XXX_Merge(src proto.Message)
func (*Cancellation) XXX_Size ¶
func (m *Cancellation) XXX_Size() int
func (*Cancellation) XXX_Unmarshal ¶
func (m *Cancellation) XXX_Unmarshal(b []byte) error
type CancellationInitiator ¶
type CancellationInitiator int32
const ( CancellationInitiator_USER CancellationInitiator = 0 CancellationInitiator_LIQUIDATED CancellationInitiator = 1 )
func (CancellationInitiator) EnumDescriptor ¶
func (CancellationInitiator) EnumDescriptor() ([]byte, []int)
func (CancellationInitiator) String ¶
func (x CancellationInitiator) String() string
type ContractAddress ¶
type ContractAddress string
type ContractDependencyInfo ¶
type ContractDependencyInfo struct { Dependency string `protobuf:"bytes,1,opt,name=dependency,proto3" json:"dependency,omitempty"` ImmediateElderSibling string `protobuf:"bytes,2,opt,name=immediateElderSibling,proto3" json:"immediateElderSibling,omitempty"` ImmediateYoungerSibling string `protobuf:"bytes,3,opt,name=immediateYoungerSibling,proto3" json:"immediateYoungerSibling,omitempty"` }
suppose A is first registered and depends on X, then B is added and depends on X, and then C is added and depends on X, then A is the elder sibling to B and B is the younger sibling to A, and B is the elder sibling to C and C is the younger to B
func (*ContractDependencyInfo) Descriptor ¶
func (*ContractDependencyInfo) Descriptor() ([]byte, []int)
func (*ContractDependencyInfo) GetDependency ¶
func (m *ContractDependencyInfo) GetDependency() string
func (*ContractDependencyInfo) GetImmediateElderSibling ¶
func (m *ContractDependencyInfo) GetImmediateElderSibling() string
func (*ContractDependencyInfo) GetImmediateYoungerSibling ¶
func (m *ContractDependencyInfo) GetImmediateYoungerSibling() string
func (*ContractDependencyInfo) Marshal ¶
func (m *ContractDependencyInfo) Marshal() (dAtA []byte, err error)
func (*ContractDependencyInfo) MarshalTo ¶
func (m *ContractDependencyInfo) MarshalTo(dAtA []byte) (int, error)
func (*ContractDependencyInfo) MarshalToSizedBuffer ¶
func (m *ContractDependencyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractDependencyInfo) ProtoMessage ¶
func (*ContractDependencyInfo) ProtoMessage()
func (*ContractDependencyInfo) Reset ¶
func (m *ContractDependencyInfo) Reset()
func (*ContractDependencyInfo) Size ¶
func (m *ContractDependencyInfo) Size() (n int)
func (*ContractDependencyInfo) String ¶
func (m *ContractDependencyInfo) String() string
func (*ContractDependencyInfo) Unmarshal ¶
func (m *ContractDependencyInfo) Unmarshal(dAtA []byte) error
func (*ContractDependencyInfo) XXX_DiscardUnknown ¶
func (m *ContractDependencyInfo) XXX_DiscardUnknown()
func (*ContractDependencyInfo) XXX_Marshal ¶
func (m *ContractDependencyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractDependencyInfo) XXX_Merge ¶
func (m *ContractDependencyInfo) XXX_Merge(src proto.Message)
func (*ContractDependencyInfo) XXX_Size ¶
func (m *ContractDependencyInfo) XXX_Size() int
func (*ContractDependencyInfo) XXX_Unmarshal ¶
func (m *ContractDependencyInfo) XXX_Unmarshal(b []byte) error
type ContractDepositInfo ¶
type ContractInfo ¶
type ContractInfo struct { CodeId uint64 `protobuf:"varint,1,opt,name=codeId,proto3" json:"codeId,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` NeedHook bool `protobuf:"varint,3,opt,name=needHook,proto3" json:"needHook,omitempty"` NeedOrderMatching bool `protobuf:"varint,4,opt,name=needOrderMatching,proto3" json:"needOrderMatching,omitempty"` Dependencies []*ContractDependencyInfo `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"` NumIncomingDependencies int64 `protobuf:"varint,6,opt,name=numIncomingDependencies,proto3" json:"numIncomingDependencies,omitempty"` }
func (*ContractInfo) Descriptor ¶
func (*ContractInfo) Descriptor() ([]byte, []int)
func (*ContractInfo) GetCodeId ¶
func (m *ContractInfo) GetCodeId() uint64
func (*ContractInfo) GetContractAddr ¶
func (m *ContractInfo) GetContractAddr() string
func (*ContractInfo) GetDependencies ¶
func (m *ContractInfo) GetDependencies() []*ContractDependencyInfo
func (*ContractInfo) GetNeedHook ¶
func (m *ContractInfo) GetNeedHook() bool
func (*ContractInfo) GetNeedOrderMatching ¶
func (m *ContractInfo) GetNeedOrderMatching() bool
func (*ContractInfo) GetNumIncomingDependencies ¶
func (m *ContractInfo) GetNumIncomingDependencies() int64
func (*ContractInfo) Marshal ¶
func (m *ContractInfo) Marshal() (dAtA []byte, err error)
func (*ContractInfo) MarshalToSizedBuffer ¶
func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractInfo) ProtoMessage ¶
func (*ContractInfo) ProtoMessage()
func (*ContractInfo) Reset ¶
func (m *ContractInfo) Reset()
func (*ContractInfo) Size ¶
func (m *ContractInfo) Size() (n int)
func (*ContractInfo) String ¶
func (m *ContractInfo) String() string
func (*ContractInfo) Unmarshal ¶
func (m *ContractInfo) Unmarshal(dAtA []byte) error
func (*ContractInfo) XXX_DiscardUnknown ¶
func (m *ContractInfo) XXX_DiscardUnknown()
func (*ContractInfo) XXX_Marshal ¶
func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractInfo) XXX_Merge ¶
func (m *ContractInfo) XXX_Merge(src proto.Message)
func (*ContractInfo) XXX_Size ¶
func (m *ContractInfo) XXX_Size() int
func (*ContractInfo) XXX_Unmarshal ¶
func (m *ContractInfo) XXX_Unmarshal(b []byte) error
type ContractInfoV2 ¶
type ContractInfoV2 struct { CodeId uint64 `protobuf:"varint,1,opt,name=codeId,proto3" json:"codeId,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` NeedHook bool `protobuf:"varint,3,opt,name=needHook,proto3" json:"needHook,omitempty"` NeedOrderMatching bool `protobuf:"varint,4,opt,name=needOrderMatching,proto3" json:"needOrderMatching,omitempty"` Dependencies []*ContractDependencyInfo `protobuf:"bytes,5,rep,name=dependencies,proto3" json:"dependencies,omitempty"` NumIncomingDependencies int64 `protobuf:"varint,6,opt,name=numIncomingDependencies,proto3" json:"numIncomingDependencies,omitempty"` Creator string `protobuf:"bytes,7,opt,name=creator,proto3" json:"creator,omitempty"` RentBalance uint64 `protobuf:"varint,8,opt,name=rentBalance,proto3" json:"rentBalance,omitempty"` Suspended bool `protobuf:"varint,9,opt,name=suspended,proto3" json:"suspended,omitempty"` SuspensionReason string `protobuf:"bytes,10,opt,name=suspensionReason,proto3" json:"suspensionReason,omitempty"` }
func (*ContractInfoV2) Descriptor ¶
func (*ContractInfoV2) Descriptor() ([]byte, []int)
func (*ContractInfoV2) GetCodeId ¶
func (m *ContractInfoV2) GetCodeId() uint64
func (*ContractInfoV2) GetContractAddr ¶
func (m *ContractInfoV2) GetContractAddr() string
func (*ContractInfoV2) GetCreator ¶
func (m *ContractInfoV2) GetCreator() string
func (*ContractInfoV2) GetDependencies ¶
func (m *ContractInfoV2) GetDependencies() []*ContractDependencyInfo
func (*ContractInfoV2) GetNeedHook ¶
func (m *ContractInfoV2) GetNeedHook() bool
func (*ContractInfoV2) GetNeedOrderMatching ¶
func (m *ContractInfoV2) GetNeedOrderMatching() bool
func (*ContractInfoV2) GetNumIncomingDependencies ¶
func (m *ContractInfoV2) GetNumIncomingDependencies() int64
func (*ContractInfoV2) GetRentBalance ¶
func (m *ContractInfoV2) GetRentBalance() uint64
func (*ContractInfoV2) GetSuspended ¶
func (m *ContractInfoV2) GetSuspended() bool
func (*ContractInfoV2) GetSuspensionReason ¶
func (m *ContractInfoV2) GetSuspensionReason() string
func (*ContractInfoV2) Marshal ¶
func (m *ContractInfoV2) Marshal() (dAtA []byte, err error)
func (*ContractInfoV2) MarshalToSizedBuffer ¶
func (m *ContractInfoV2) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractInfoV2) ProtoMessage ¶
func (*ContractInfoV2) ProtoMessage()
func (*ContractInfoV2) Reset ¶
func (m *ContractInfoV2) Reset()
func (*ContractInfoV2) Size ¶
func (m *ContractInfoV2) Size() (n int)
func (*ContractInfoV2) String ¶
func (m *ContractInfoV2) String() string
func (*ContractInfoV2) Unmarshal ¶
func (m *ContractInfoV2) Unmarshal(dAtA []byte) error
func (*ContractInfoV2) XXX_DiscardUnknown ¶
func (m *ContractInfoV2) XXX_DiscardUnknown()
func (*ContractInfoV2) XXX_Marshal ¶
func (m *ContractInfoV2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractInfoV2) XXX_Merge ¶
func (m *ContractInfoV2) XXX_Merge(src proto.Message)
func (*ContractInfoV2) XXX_Size ¶
func (m *ContractInfoV2) XXX_Size() int
func (*ContractInfoV2) XXX_Unmarshal ¶
func (m *ContractInfoV2) XXX_Unmarshal(b []byte) error
type ContractPairPrices ¶
type ContractPairPrices struct { PricePair Pair `protobuf:"bytes,1,opt,name=pricePair,proto3" json:"pricePair"` Prices []*Price `protobuf:"bytes,2,rep,name=prices,proto3" json:"prices,omitempty"` }
func (*ContractPairPrices) Descriptor ¶
func (*ContractPairPrices) Descriptor() ([]byte, []int)
func (*ContractPairPrices) GetPricePair ¶
func (m *ContractPairPrices) GetPricePair() Pair
func (*ContractPairPrices) GetPrices ¶
func (m *ContractPairPrices) GetPrices() []*Price
func (*ContractPairPrices) Marshal ¶
func (m *ContractPairPrices) Marshal() (dAtA []byte, err error)
func (*ContractPairPrices) MarshalTo ¶
func (m *ContractPairPrices) MarshalTo(dAtA []byte) (int, error)
func (*ContractPairPrices) MarshalToSizedBuffer ¶
func (m *ContractPairPrices) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractPairPrices) ProtoMessage ¶
func (*ContractPairPrices) ProtoMessage()
func (*ContractPairPrices) Reset ¶
func (m *ContractPairPrices) Reset()
func (*ContractPairPrices) Size ¶
func (m *ContractPairPrices) Size() (n int)
func (*ContractPairPrices) String ¶
func (m *ContractPairPrices) String() string
func (*ContractPairPrices) Unmarshal ¶
func (m *ContractPairPrices) Unmarshal(dAtA []byte) error
func (*ContractPairPrices) XXX_DiscardUnknown ¶
func (m *ContractPairPrices) XXX_DiscardUnknown()
func (*ContractPairPrices) XXX_Marshal ¶
func (m *ContractPairPrices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractPairPrices) XXX_Merge ¶
func (m *ContractPairPrices) XXX_Merge(src proto.Message)
func (*ContractPairPrices) XXX_Size ¶
func (m *ContractPairPrices) XXX_Size() int
func (*ContractPairPrices) XXX_Unmarshal ¶
func (m *ContractPairPrices) XXX_Unmarshal(b []byte) error
type ContractState ¶
type ContractState struct { ContractInfo ContractInfoV2 `protobuf:"bytes,1,opt,name=contractInfo,proto3" json:"contractInfo"` LongBookList []LongBook `protobuf:"bytes,2,rep,name=longBookList,proto3" json:"longBookList"` ShortBookList []ShortBook `protobuf:"bytes,3,rep,name=shortBookList,proto3" json:"shortBookList"` TriggeredOrdersList []Order `protobuf:"bytes,4,rep,name=triggeredOrdersList,proto3" json:"triggeredOrdersList"` PairList []Pair `protobuf:"bytes,5,rep,name=pairList,proto3" json:"pairList"` PriceList []ContractPairPrices `protobuf:"bytes,6,rep,name=priceList,proto3" json:"priceList"` NextOrderId uint64 `protobuf:"varint,7,opt,name=nextOrderId,proto3" json:"nextOrderId,omitempty"` }
func (*ContractState) Descriptor ¶
func (*ContractState) Descriptor() ([]byte, []int)
func (*ContractState) GetContractInfo ¶
func (m *ContractState) GetContractInfo() ContractInfoV2
func (*ContractState) GetLongBookList ¶
func (m *ContractState) GetLongBookList() []LongBook
func (*ContractState) GetNextOrderId ¶
func (m *ContractState) GetNextOrderId() uint64
func (*ContractState) GetPairList ¶
func (m *ContractState) GetPairList() []Pair
func (*ContractState) GetPriceList ¶
func (m *ContractState) GetPriceList() []ContractPairPrices
func (*ContractState) GetShortBookList ¶
func (m *ContractState) GetShortBookList() []ShortBook
func (*ContractState) GetTriggeredOrdersList ¶
func (m *ContractState) GetTriggeredOrdersList() []Order
func (*ContractState) Marshal ¶
func (m *ContractState) Marshal() (dAtA []byte, err error)
func (*ContractState) MarshalToSizedBuffer ¶
func (m *ContractState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractState) ProtoMessage ¶
func (*ContractState) ProtoMessage()
func (*ContractState) Reset ¶
func (m *ContractState) Reset()
func (*ContractState) Size ¶
func (m *ContractState) Size() (n int)
func (*ContractState) String ¶
func (m *ContractState) String() string
func (*ContractState) Unmarshal ¶
func (m *ContractState) Unmarshal(dAtA []byte) error
func (ContractState) Validate ¶
func (cs ContractState) Validate() error
func (*ContractState) XXX_DiscardUnknown ¶
func (m *ContractState) XXX_DiscardUnknown()
func (*ContractState) XXX_Marshal ¶
func (m *ContractState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractState) XXX_Merge ¶
func (m *ContractState) XXX_Merge(src proto.Message)
func (*ContractState) XXX_Size ¶
func (m *ContractState) XXX_Size() int
func (*ContractState) XXX_Unmarshal ¶
func (m *ContractState) XXX_Unmarshal(b []byte) error
type DepositInfoEntry ¶
type DepositInfoEntry struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` Denom string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom"` Amount github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"amount" yaml:"amount"` }
func (*DepositInfoEntry) Descriptor ¶
func (*DepositInfoEntry) Descriptor() ([]byte, []int)
func (*DepositInfoEntry) GetCreator ¶
func (m *DepositInfoEntry) GetCreator() string
func (*DepositInfoEntry) GetDenom ¶
func (m *DepositInfoEntry) GetDenom() string
func (*DepositInfoEntry) Marshal ¶
func (m *DepositInfoEntry) Marshal() (dAtA []byte, err error)
func (*DepositInfoEntry) MarshalToSizedBuffer ¶
func (m *DepositInfoEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DepositInfoEntry) ProtoMessage ¶
func (*DepositInfoEntry) ProtoMessage()
func (*DepositInfoEntry) Reset ¶
func (m *DepositInfoEntry) Reset()
func (*DepositInfoEntry) Size ¶
func (m *DepositInfoEntry) Size() (n int)
func (*DepositInfoEntry) String ¶
func (m *DepositInfoEntry) String() string
func (*DepositInfoEntry) ToContractDepositInfo ¶
func (d *DepositInfoEntry) ToContractDepositInfo() ContractDepositInfo
func (*DepositInfoEntry) Unmarshal ¶
func (m *DepositInfoEntry) Unmarshal(dAtA []byte) error
func (*DepositInfoEntry) XXX_DiscardUnknown ¶
func (m *DepositInfoEntry) XXX_DiscardUnknown()
func (*DepositInfoEntry) XXX_Marshal ¶
func (m *DepositInfoEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositInfoEntry) XXX_Merge ¶
func (m *DepositInfoEntry) XXX_Merge(src proto.Message)
func (*DepositInfoEntry) XXX_Size ¶
func (m *DepositInfoEntry) XXX_Size() int
func (*DepositInfoEntry) XXX_Unmarshal ¶
func (m *DepositInfoEntry) XXX_Unmarshal(b []byte) error
type DownsteamContracts ¶
type DownsteamContracts struct {
ContractAddrs []string `protobuf:"bytes,1,rep,name=contractAddrs,proto3" json:"contractAddrs,omitempty"`
}
func (*DownsteamContracts) Descriptor ¶
func (*DownsteamContracts) Descriptor() ([]byte, []int)
func (*DownsteamContracts) GetContractAddrs ¶
func (m *DownsteamContracts) GetContractAddrs() []string
func (*DownsteamContracts) Marshal ¶
func (m *DownsteamContracts) Marshal() (dAtA []byte, err error)
func (*DownsteamContracts) MarshalTo ¶
func (m *DownsteamContracts) MarshalTo(dAtA []byte) (int, error)
func (*DownsteamContracts) MarshalToSizedBuffer ¶
func (m *DownsteamContracts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DownsteamContracts) ProtoMessage ¶
func (*DownsteamContracts) ProtoMessage()
func (*DownsteamContracts) Reset ¶
func (m *DownsteamContracts) Reset()
func (*DownsteamContracts) Size ¶
func (m *DownsteamContracts) Size() (n int)
func (*DownsteamContracts) String ¶
func (m *DownsteamContracts) String() string
func (*DownsteamContracts) Unmarshal ¶
func (m *DownsteamContracts) Unmarshal(dAtA []byte) error
func (*DownsteamContracts) XXX_DiscardUnknown ¶
func (m *DownsteamContracts) XXX_DiscardUnknown()
func (*DownsteamContracts) XXX_Marshal ¶
func (m *DownsteamContracts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DownsteamContracts) XXX_Merge ¶
func (m *DownsteamContracts) XXX_Merge(src proto.Message)
func (*DownsteamContracts) XXX_Size ¶
func (m *DownsteamContracts) XXX_Size() int
func (*DownsteamContracts) XXX_Unmarshal ¶
func (m *DownsteamContracts) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` ContractState []ContractState `protobuf:"bytes,2,rep,name=contractState,proto3" json:"contractState"` LastEpoch uint64 `protobuf:"varint,3,opt,name=lastEpoch,proto3" json:"lastEpoch,omitempty"` }
GenesisState defines the dex module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetContractState ¶
func (m *GenesisState) GetContractState() []ContractState
func (*GenesisState) GetLastEpoch ¶
func (m *GenesisState) GetLastEpoch() uint64
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
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
Validate performs basic genesis state validation returning an error upon any failure.
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 LegacyContractInfo ¶
type LegacyContractInfo struct { CodeId uint64 `protobuf:"varint,1,opt,name=codeId,proto3" json:"codeId,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` NeedHook bool `protobuf:"varint,3,opt,name=needHook,proto3" json:"needHook,omitempty"` NeedOrderMatching bool `protobuf:"varint,4,opt,name=needOrderMatching,proto3" json:"needOrderMatching,omitempty"` DependentContractAddrs []string `protobuf:"bytes,5,rep,name=dependentContractAddrs,proto3" json:"dependentContractAddrs,omitempty"` }
func (*LegacyContractInfo) Descriptor ¶
func (*LegacyContractInfo) Descriptor() ([]byte, []int)
func (*LegacyContractInfo) GetCodeId ¶
func (m *LegacyContractInfo) GetCodeId() uint64
func (*LegacyContractInfo) GetContractAddr ¶
func (m *LegacyContractInfo) GetContractAddr() string
func (*LegacyContractInfo) GetDependentContractAddrs ¶
func (m *LegacyContractInfo) GetDependentContractAddrs() []string
func (*LegacyContractInfo) GetNeedHook ¶
func (m *LegacyContractInfo) GetNeedHook() bool
func (*LegacyContractInfo) GetNeedOrderMatching ¶
func (m *LegacyContractInfo) GetNeedOrderMatching() bool
func (*LegacyContractInfo) Marshal ¶
func (m *LegacyContractInfo) Marshal() (dAtA []byte, err error)
func (*LegacyContractInfo) MarshalTo ¶
func (m *LegacyContractInfo) MarshalTo(dAtA []byte) (int, error)
func (*LegacyContractInfo) MarshalToSizedBuffer ¶
func (m *LegacyContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LegacyContractInfo) ProtoMessage ¶
func (*LegacyContractInfo) ProtoMessage()
func (*LegacyContractInfo) Reset ¶
func (m *LegacyContractInfo) Reset()
func (*LegacyContractInfo) Size ¶
func (m *LegacyContractInfo) Size() (n int)
func (*LegacyContractInfo) String ¶
func (m *LegacyContractInfo) String() string
func (*LegacyContractInfo) Unmarshal ¶
func (m *LegacyContractInfo) Unmarshal(dAtA []byte) error
func (*LegacyContractInfo) XXX_DiscardUnknown ¶
func (m *LegacyContractInfo) XXX_DiscardUnknown()
func (*LegacyContractInfo) XXX_Marshal ¶
func (m *LegacyContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LegacyContractInfo) XXX_Merge ¶
func (m *LegacyContractInfo) XXX_Merge(src proto.Message)
func (*LegacyContractInfo) XXX_Size ¶
func (m *LegacyContractInfo) XXX_Size() int
func (*LegacyContractInfo) XXX_Unmarshal ¶
func (m *LegacyContractInfo) XXX_Unmarshal(b []byte) error
type LongBook ¶
type LongBook 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" yaml:"price"` Entry *OrderEntry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry"` }
func (*LongBook) DeepCopy ¶
func (m *LongBook) DeepCopy() OrderBookEntry
func (*LongBook) Descriptor ¶
func (*LongBook) GetEntry ¶
func (m *LongBook) GetEntry() *OrderEntry
func (*LongBook) GetOrderEntry ¶
func (m *LongBook) GetOrderEntry() *OrderEntry
func (*LongBook) MarshalToSizedBuffer ¶
func (*LongBook) ProtoMessage ¶
func (*LongBook) ProtoMessage()
func (*LongBook) SetEntry ¶
func (m *LongBook) SetEntry(newEntry *OrderEntry)
func (*LongBook) XXX_DiscardUnknown ¶
func (m *LongBook) XXX_DiscardUnknown()
func (*LongBook) XXX_Marshal ¶
func (*LongBook) XXX_Unmarshal ¶
type MatchResult ¶
type MatchResult struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contract_address"` Orders []*Order `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders"` Settlements []*SettlementEntry `protobuf:"bytes,4,rep,name=settlements,proto3" json:"settlements"` Cancellations []*Cancellation `protobuf:"bytes,5,rep,name=cancellations,proto3" json:"cancellations"` }
func NewMatchResult ¶
func NewMatchResult( orders []*Order, cancellations []*Cancellation, settlements []*SettlementEntry, ) *MatchResult
func (*MatchResult) Descriptor ¶
func (*MatchResult) Descriptor() ([]byte, []int)
func (*MatchResult) GetCancellations ¶
func (m *MatchResult) GetCancellations() []*Cancellation
func (*MatchResult) GetContractAddr ¶
func (m *MatchResult) GetContractAddr() string
func (*MatchResult) GetHeight ¶
func (m *MatchResult) GetHeight() int64
func (*MatchResult) GetOrders ¶
func (m *MatchResult) GetOrders() []*Order
func (*MatchResult) GetSettlements ¶
func (m *MatchResult) GetSettlements() []*SettlementEntry
func (*MatchResult) Marshal ¶
func (m *MatchResult) Marshal() (dAtA []byte, err error)
func (*MatchResult) MarshalToSizedBuffer ¶
func (m *MatchResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MatchResult) ProtoMessage ¶
func (*MatchResult) ProtoMessage()
func (*MatchResult) Reset ¶
func (m *MatchResult) Reset()
func (*MatchResult) Size ¶
func (m *MatchResult) Size() (n int)
func (*MatchResult) String ¶
func (m *MatchResult) String() string
func (*MatchResult) Unmarshal ¶
func (m *MatchResult) Unmarshal(dAtA []byte) error
func (*MatchResult) XXX_DiscardUnknown ¶
func (m *MatchResult) XXX_DiscardUnknown()
func (*MatchResult) XXX_Marshal ¶
func (m *MatchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MatchResult) XXX_Merge ¶
func (m *MatchResult) XXX_Merge(src proto.Message)
func (*MatchResult) XXX_Size ¶
func (m *MatchResult) XXX_Size() int
func (*MatchResult) XXX_Unmarshal ¶
func (m *MatchResult) XXX_Unmarshal(b []byte) error
type MsgCancelOrders ¶
type MsgCancelOrders struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` Cancellations []*Cancellation `protobuf:"bytes,2,rep,name=cancellations,proto3" json:"cancellations"` ContractAddr string `protobuf:"bytes,3,opt,name=contractAddr,proto3" json:"contract_address"` }
func NewMsgCancelOrders ¶
func NewMsgCancelOrders( creator string, cancellations []*Cancellation, contractAddr string, ) *MsgCancelOrders
func (*MsgCancelOrders) Descriptor ¶
func (*MsgCancelOrders) Descriptor() ([]byte, []int)
func (*MsgCancelOrders) GetCancellations ¶
func (m *MsgCancelOrders) GetCancellations() []*Cancellation
func (*MsgCancelOrders) GetContractAddr ¶
func (m *MsgCancelOrders) GetContractAddr() string
func (*MsgCancelOrders) GetCreator ¶
func (m *MsgCancelOrders) GetCreator() string
func (*MsgCancelOrders) GetSignBytes ¶
func (msg *MsgCancelOrders) GetSignBytes() []byte
func (*MsgCancelOrders) GetSigners ¶
func (msg *MsgCancelOrders) GetSigners() []sdk.AccAddress
func (*MsgCancelOrders) Marshal ¶
func (m *MsgCancelOrders) Marshal() (dAtA []byte, err error)
func (*MsgCancelOrders) MarshalToSizedBuffer ¶
func (m *MsgCancelOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelOrders) ProtoMessage ¶
func (*MsgCancelOrders) ProtoMessage()
func (*MsgCancelOrders) Reset ¶
func (m *MsgCancelOrders) Reset()
func (*MsgCancelOrders) Route ¶
func (msg *MsgCancelOrders) Route() string
func (*MsgCancelOrders) Size ¶
func (m *MsgCancelOrders) Size() (n int)
func (*MsgCancelOrders) String ¶
func (m *MsgCancelOrders) String() string
func (*MsgCancelOrders) Type ¶
func (msg *MsgCancelOrders) Type() string
func (*MsgCancelOrders) Unmarshal ¶
func (m *MsgCancelOrders) Unmarshal(dAtA []byte) error
func (*MsgCancelOrders) ValidateBasic ¶
func (msg *MsgCancelOrders) ValidateBasic() error
func (*MsgCancelOrders) XXX_DiscardUnknown ¶
func (m *MsgCancelOrders) XXX_DiscardUnknown()
func (*MsgCancelOrders) XXX_Marshal ¶
func (m *MsgCancelOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelOrders) XXX_Merge ¶
func (m *MsgCancelOrders) XXX_Merge(src proto.Message)
func (*MsgCancelOrders) XXX_Size ¶
func (m *MsgCancelOrders) XXX_Size() int
func (*MsgCancelOrders) XXX_Unmarshal ¶
func (m *MsgCancelOrders) XXX_Unmarshal(b []byte) error
type MsgCancelOrdersResponse ¶
type MsgCancelOrdersResponse struct { }
func (*MsgCancelOrdersResponse) Descriptor ¶
func (*MsgCancelOrdersResponse) Descriptor() ([]byte, []int)
func (*MsgCancelOrdersResponse) Marshal ¶
func (m *MsgCancelOrdersResponse) Marshal() (dAtA []byte, err error)
func (*MsgCancelOrdersResponse) MarshalTo ¶
func (m *MsgCancelOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCancelOrdersResponse) MarshalToSizedBuffer ¶
func (m *MsgCancelOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCancelOrdersResponse) ProtoMessage ¶
func (*MsgCancelOrdersResponse) ProtoMessage()
func (*MsgCancelOrdersResponse) Reset ¶
func (m *MsgCancelOrdersResponse) Reset()
func (*MsgCancelOrdersResponse) Size ¶
func (m *MsgCancelOrdersResponse) Size() (n int)
func (*MsgCancelOrdersResponse) String ¶
func (m *MsgCancelOrdersResponse) String() string
func (*MsgCancelOrdersResponse) Unmarshal ¶
func (m *MsgCancelOrdersResponse) Unmarshal(dAtA []byte) error
func (*MsgCancelOrdersResponse) XXX_DiscardUnknown ¶
func (m *MsgCancelOrdersResponse) XXX_DiscardUnknown()
func (*MsgCancelOrdersResponse) XXX_Marshal ¶
func (m *MsgCancelOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCancelOrdersResponse) XXX_Merge ¶
func (m *MsgCancelOrdersResponse) XXX_Merge(src proto.Message)
func (*MsgCancelOrdersResponse) XXX_Size ¶
func (m *MsgCancelOrdersResponse) XXX_Size() int
func (*MsgCancelOrdersResponse) XXX_Unmarshal ¶
func (m *MsgCancelOrdersResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { PlaceOrders(ctx context.Context, in *MsgPlaceOrders, opts ...grpc.CallOption) (*MsgPlaceOrdersResponse, error) CancelOrders(ctx context.Context, in *MsgCancelOrders, opts ...grpc.CallOption) (*MsgCancelOrdersResponse, error) RegisterContract(ctx context.Context, in *MsgRegisterContract, opts ...grpc.CallOption) (*MsgRegisterContractResponse, error) ContractDepositRent(ctx context.Context, in *MsgContractDepositRent, opts ...grpc.CallOption) (*MsgContractDepositRentResponse, error) UnregisterContract(ctx context.Context, in *MsgUnregisterContract, opts ...grpc.CallOption) (*MsgUnregisterContractResponse, error) RegisterPairs(ctx context.Context, in *MsgRegisterPairs, opts ...grpc.CallOption) (*MsgRegisterPairsResponse, error) UpdatePriceTickSize(ctx context.Context, in *MsgUpdatePriceTickSize, opts ...grpc.CallOption) (*MsgUpdateTickSizeResponse, error) UpdateQuantityTickSize(ctx context.Context, in *MsgUpdateQuantityTickSize, opts ...grpc.CallOption) (*MsgUpdateTickSizeResponse, error) UnsuspendContract(ctx context.Context, in *MsgUnsuspendContract, opts ...grpc.CallOption) (*MsgUnsuspendContractResponse, 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 MsgContractDepositRent ¶
type MsgContractDepositRent struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount"` Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender"` }
func NewMsgContractDepositRent ¶
func NewMsgContractDepositRent( contractAddr string, amount uint64, sender string, ) *MsgContractDepositRent
func (*MsgContractDepositRent) Descriptor ¶
func (*MsgContractDepositRent) Descriptor() ([]byte, []int)
func (*MsgContractDepositRent) GetAmount ¶
func (m *MsgContractDepositRent) GetAmount() uint64
func (*MsgContractDepositRent) GetContractAddr ¶
func (m *MsgContractDepositRent) GetContractAddr() string
func (*MsgContractDepositRent) GetSender ¶
func (m *MsgContractDepositRent) GetSender() string
func (*MsgContractDepositRent) GetSignBytes ¶
func (msg *MsgContractDepositRent) GetSignBytes() []byte
func (*MsgContractDepositRent) GetSigners ¶
func (msg *MsgContractDepositRent) GetSigners() []sdk.AccAddress
func (*MsgContractDepositRent) Marshal ¶
func (m *MsgContractDepositRent) Marshal() (dAtA []byte, err error)
func (*MsgContractDepositRent) MarshalTo ¶
func (m *MsgContractDepositRent) MarshalTo(dAtA []byte) (int, error)
func (*MsgContractDepositRent) MarshalToSizedBuffer ¶
func (m *MsgContractDepositRent) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgContractDepositRent) ProtoMessage ¶
func (*MsgContractDepositRent) ProtoMessage()
func (*MsgContractDepositRent) Reset ¶
func (m *MsgContractDepositRent) Reset()
func (*MsgContractDepositRent) Route ¶
func (msg *MsgContractDepositRent) Route() string
func (*MsgContractDepositRent) Size ¶
func (m *MsgContractDepositRent) Size() (n int)
func (*MsgContractDepositRent) String ¶
func (m *MsgContractDepositRent) String() string
func (*MsgContractDepositRent) Type ¶
func (msg *MsgContractDepositRent) Type() string
func (*MsgContractDepositRent) Unmarshal ¶
func (m *MsgContractDepositRent) Unmarshal(dAtA []byte) error
func (*MsgContractDepositRent) ValidateBasic ¶
func (msg *MsgContractDepositRent) ValidateBasic() error
func (*MsgContractDepositRent) XXX_DiscardUnknown ¶
func (m *MsgContractDepositRent) XXX_DiscardUnknown()
func (*MsgContractDepositRent) XXX_Marshal ¶
func (m *MsgContractDepositRent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgContractDepositRent) XXX_Merge ¶
func (m *MsgContractDepositRent) XXX_Merge(src proto.Message)
func (*MsgContractDepositRent) XXX_Size ¶
func (m *MsgContractDepositRent) XXX_Size() int
func (*MsgContractDepositRent) XXX_Unmarshal ¶
func (m *MsgContractDepositRent) XXX_Unmarshal(b []byte) error
type MsgContractDepositRentResponse ¶
type MsgContractDepositRentResponse struct { }
func (*MsgContractDepositRentResponse) Descriptor ¶
func (*MsgContractDepositRentResponse) Descriptor() ([]byte, []int)
func (*MsgContractDepositRentResponse) Marshal ¶
func (m *MsgContractDepositRentResponse) Marshal() (dAtA []byte, err error)
func (*MsgContractDepositRentResponse) MarshalTo ¶
func (m *MsgContractDepositRentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgContractDepositRentResponse) MarshalToSizedBuffer ¶
func (m *MsgContractDepositRentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgContractDepositRentResponse) ProtoMessage ¶
func (*MsgContractDepositRentResponse) ProtoMessage()
func (*MsgContractDepositRentResponse) Reset ¶
func (m *MsgContractDepositRentResponse) Reset()
func (*MsgContractDepositRentResponse) Size ¶
func (m *MsgContractDepositRentResponse) Size() (n int)
func (*MsgContractDepositRentResponse) String ¶
func (m *MsgContractDepositRentResponse) String() string
func (*MsgContractDepositRentResponse) Unmarshal ¶
func (m *MsgContractDepositRentResponse) Unmarshal(dAtA []byte) error
func (*MsgContractDepositRentResponse) XXX_DiscardUnknown ¶
func (m *MsgContractDepositRentResponse) XXX_DiscardUnknown()
func (*MsgContractDepositRentResponse) XXX_Marshal ¶
func (m *MsgContractDepositRentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgContractDepositRentResponse) XXX_Merge ¶
func (m *MsgContractDepositRentResponse) XXX_Merge(src proto.Message)
func (*MsgContractDepositRentResponse) XXX_Size ¶
func (m *MsgContractDepositRentResponse) XXX_Size() int
func (*MsgContractDepositRentResponse) XXX_Unmarshal ¶
func (m *MsgContractDepositRentResponse) XXX_Unmarshal(b []byte) error
type MsgPlaceOrders ¶
type MsgPlaceOrders struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` Orders []*Order `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders"` ContractAddr string `protobuf:"bytes,3,opt,name=contractAddr,proto3" json:"contract_address"` Funds github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=funds,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"funds"` }
func NewMsgPlaceOrders ¶
func (*MsgPlaceOrders) Descriptor ¶
func (*MsgPlaceOrders) Descriptor() ([]byte, []int)
func (*MsgPlaceOrders) GetContractAddr ¶
func (m *MsgPlaceOrders) GetContractAddr() string
func (*MsgPlaceOrders) GetCreator ¶
func (m *MsgPlaceOrders) GetCreator() string
func (*MsgPlaceOrders) GetFunds ¶
func (m *MsgPlaceOrders) GetFunds() github_com_cosmos_cosmos_sdk_types.Coins
func (*MsgPlaceOrders) GetOrders ¶
func (m *MsgPlaceOrders) GetOrders() []*Order
func (*MsgPlaceOrders) GetSignBytes ¶
func (msg *MsgPlaceOrders) GetSignBytes() []byte
func (*MsgPlaceOrders) GetSigners ¶
func (msg *MsgPlaceOrders) GetSigners() []sdk.AccAddress
func (*MsgPlaceOrders) Marshal ¶
func (m *MsgPlaceOrders) Marshal() (dAtA []byte, err error)
func (*MsgPlaceOrders) MarshalToSizedBuffer ¶
func (m *MsgPlaceOrders) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPlaceOrders) ProtoMessage ¶
func (*MsgPlaceOrders) ProtoMessage()
func (*MsgPlaceOrders) Reset ¶
func (m *MsgPlaceOrders) Reset()
func (*MsgPlaceOrders) Route ¶
func (msg *MsgPlaceOrders) Route() string
func (*MsgPlaceOrders) Size ¶
func (m *MsgPlaceOrders) Size() (n int)
func (*MsgPlaceOrders) String ¶
func (m *MsgPlaceOrders) String() string
func (*MsgPlaceOrders) Type ¶
func (msg *MsgPlaceOrders) Type() string
func (*MsgPlaceOrders) Unmarshal ¶
func (m *MsgPlaceOrders) Unmarshal(dAtA []byte) error
func (*MsgPlaceOrders) ValidateBasic ¶
func (msg *MsgPlaceOrders) ValidateBasic() error
perform statelss check on basic property of msg like sig verification
func (*MsgPlaceOrders) XXX_DiscardUnknown ¶
func (m *MsgPlaceOrders) XXX_DiscardUnknown()
func (*MsgPlaceOrders) XXX_Marshal ¶
func (m *MsgPlaceOrders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPlaceOrders) XXX_Merge ¶
func (m *MsgPlaceOrders) XXX_Merge(src proto.Message)
func (*MsgPlaceOrders) XXX_Size ¶
func (m *MsgPlaceOrders) XXX_Size() int
func (*MsgPlaceOrders) XXX_Unmarshal ¶
func (m *MsgPlaceOrders) XXX_Unmarshal(b []byte) error
type MsgPlaceOrdersResponse ¶
type MsgPlaceOrdersResponse struct {
OrderIds []uint64 `protobuf:"varint,1,rep,packed,name=orderIds,proto3" json:"order_ids" yaml:"order_ids"`
}
func (*MsgPlaceOrdersResponse) Descriptor ¶
func (*MsgPlaceOrdersResponse) Descriptor() ([]byte, []int)
func (*MsgPlaceOrdersResponse) GetOrderIds ¶
func (m *MsgPlaceOrdersResponse) GetOrderIds() []uint64
func (*MsgPlaceOrdersResponse) Marshal ¶
func (m *MsgPlaceOrdersResponse) Marshal() (dAtA []byte, err error)
func (*MsgPlaceOrdersResponse) MarshalTo ¶
func (m *MsgPlaceOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgPlaceOrdersResponse) MarshalToSizedBuffer ¶
func (m *MsgPlaceOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgPlaceOrdersResponse) ProtoMessage ¶
func (*MsgPlaceOrdersResponse) ProtoMessage()
func (*MsgPlaceOrdersResponse) Reset ¶
func (m *MsgPlaceOrdersResponse) Reset()
func (*MsgPlaceOrdersResponse) Size ¶
func (m *MsgPlaceOrdersResponse) Size() (n int)
func (*MsgPlaceOrdersResponse) String ¶
func (m *MsgPlaceOrdersResponse) String() string
func (*MsgPlaceOrdersResponse) Unmarshal ¶
func (m *MsgPlaceOrdersResponse) Unmarshal(dAtA []byte) error
func (*MsgPlaceOrdersResponse) XXX_DiscardUnknown ¶
func (m *MsgPlaceOrdersResponse) XXX_DiscardUnknown()
func (*MsgPlaceOrdersResponse) XXX_Marshal ¶
func (m *MsgPlaceOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgPlaceOrdersResponse) XXX_Merge ¶
func (m *MsgPlaceOrdersResponse) XXX_Merge(src proto.Message)
func (*MsgPlaceOrdersResponse) XXX_Size ¶
func (m *MsgPlaceOrdersResponse) XXX_Size() int
func (*MsgPlaceOrdersResponse) XXX_Unmarshal ¶
func (m *MsgPlaceOrdersResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterContract ¶
type MsgRegisterContract struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Contract *ContractInfoV2 `protobuf:"bytes,2,opt,name=contract,proto3" json:"contract,omitempty"` }
func NewMsgRegisterContract ¶
func NewMsgRegisterContract( creator string, codeID uint64, contractAddr string, needOrderMatching bool, dependencies []*ContractDependencyInfo, deposit uint64, ) *MsgRegisterContract
func (*MsgRegisterContract) Descriptor ¶
func (*MsgRegisterContract) Descriptor() ([]byte, []int)
func (*MsgRegisterContract) GetContract ¶
func (m *MsgRegisterContract) GetContract() *ContractInfoV2
func (*MsgRegisterContract) GetCreator ¶
func (m *MsgRegisterContract) GetCreator() string
func (*MsgRegisterContract) GetSignBytes ¶
func (msg *MsgRegisterContract) GetSignBytes() []byte
func (*MsgRegisterContract) GetSigners ¶
func (msg *MsgRegisterContract) GetSigners() []sdk.AccAddress
func (*MsgRegisterContract) Marshal ¶
func (m *MsgRegisterContract) Marshal() (dAtA []byte, err error)
func (*MsgRegisterContract) MarshalTo ¶
func (m *MsgRegisterContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterContract) MarshalToSizedBuffer ¶
func (m *MsgRegisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterContract) ProtoMessage ¶
func (*MsgRegisterContract) ProtoMessage()
func (*MsgRegisterContract) Reset ¶
func (m *MsgRegisterContract) Reset()
func (*MsgRegisterContract) Route ¶
func (msg *MsgRegisterContract) Route() string
func (*MsgRegisterContract) Size ¶
func (m *MsgRegisterContract) Size() (n int)
func (*MsgRegisterContract) String ¶
func (m *MsgRegisterContract) String() string
func (*MsgRegisterContract) Type ¶
func (msg *MsgRegisterContract) Type() string
func (*MsgRegisterContract) Unmarshal ¶
func (m *MsgRegisterContract) Unmarshal(dAtA []byte) error
func (*MsgRegisterContract) ValidateBasic ¶
func (msg *MsgRegisterContract) ValidateBasic() error
func (*MsgRegisterContract) XXX_DiscardUnknown ¶
func (m *MsgRegisterContract) XXX_DiscardUnknown()
func (*MsgRegisterContract) XXX_Marshal ¶
func (m *MsgRegisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterContract) XXX_Merge ¶
func (m *MsgRegisterContract) XXX_Merge(src proto.Message)
func (*MsgRegisterContract) XXX_Size ¶
func (m *MsgRegisterContract) XXX_Size() int
func (*MsgRegisterContract) XXX_Unmarshal ¶
func (m *MsgRegisterContract) XXX_Unmarshal(b []byte) error
type MsgRegisterContractResponse ¶
type MsgRegisterContractResponse struct { }
func (*MsgRegisterContractResponse) Descriptor ¶
func (*MsgRegisterContractResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterContractResponse) Marshal ¶
func (m *MsgRegisterContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterContractResponse) MarshalTo ¶
func (m *MsgRegisterContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterContractResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterContractResponse) ProtoMessage ¶
func (*MsgRegisterContractResponse) ProtoMessage()
func (*MsgRegisterContractResponse) Reset ¶
func (m *MsgRegisterContractResponse) Reset()
func (*MsgRegisterContractResponse) Size ¶
func (m *MsgRegisterContractResponse) Size() (n int)
func (*MsgRegisterContractResponse) String ¶
func (m *MsgRegisterContractResponse) String() string
func (*MsgRegisterContractResponse) Unmarshal ¶
func (m *MsgRegisterContractResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterContractResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterContractResponse) XXX_DiscardUnknown()
func (*MsgRegisterContractResponse) XXX_Marshal ¶
func (m *MsgRegisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterContractResponse) XXX_Merge ¶
func (m *MsgRegisterContractResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterContractResponse) XXX_Size ¶
func (m *MsgRegisterContractResponse) XXX_Size() int
func (*MsgRegisterContractResponse) XXX_Unmarshal ¶
func (m *MsgRegisterContractResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterPairs ¶
type MsgRegisterPairs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Batchcontractpair []BatchContractPair `protobuf:"bytes,3,rep,name=batchcontractpair,proto3" json:"batch_contract_pair" yaml:"batch_contract_pair"` }
func NewMsgRegisterPairs ¶
func NewMsgRegisterPairs( creator string, contractPairs []BatchContractPair, ) *MsgRegisterPairs
func (*MsgRegisterPairs) Descriptor ¶
func (*MsgRegisterPairs) Descriptor() ([]byte, []int)
func (*MsgRegisterPairs) GetBatchcontractpair ¶
func (m *MsgRegisterPairs) GetBatchcontractpair() []BatchContractPair
func (*MsgRegisterPairs) GetCreator ¶
func (m *MsgRegisterPairs) GetCreator() string
func (*MsgRegisterPairs) GetSignBytes ¶
func (msg *MsgRegisterPairs) GetSignBytes() []byte
func (*MsgRegisterPairs) GetSigners ¶
func (msg *MsgRegisterPairs) GetSigners() []sdk.AccAddress
func (*MsgRegisterPairs) Marshal ¶
func (m *MsgRegisterPairs) Marshal() (dAtA []byte, err error)
func (*MsgRegisterPairs) MarshalToSizedBuffer ¶
func (m *MsgRegisterPairs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterPairs) ProtoMessage ¶
func (*MsgRegisterPairs) ProtoMessage()
func (*MsgRegisterPairs) Reset ¶
func (m *MsgRegisterPairs) Reset()
func (*MsgRegisterPairs) Route ¶
func (msg *MsgRegisterPairs) Route() string
func (*MsgRegisterPairs) Size ¶
func (m *MsgRegisterPairs) Size() (n int)
func (*MsgRegisterPairs) String ¶
func (m *MsgRegisterPairs) String() string
func (*MsgRegisterPairs) Type ¶
func (msg *MsgRegisterPairs) Type() string
func (*MsgRegisterPairs) Unmarshal ¶
func (m *MsgRegisterPairs) Unmarshal(dAtA []byte) error
func (*MsgRegisterPairs) ValidateBasic ¶
func (msg *MsgRegisterPairs) ValidateBasic() error
func (*MsgRegisterPairs) XXX_DiscardUnknown ¶
func (m *MsgRegisterPairs) XXX_DiscardUnknown()
func (*MsgRegisterPairs) XXX_Marshal ¶
func (m *MsgRegisterPairs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterPairs) XXX_Merge ¶
func (m *MsgRegisterPairs) XXX_Merge(src proto.Message)
func (*MsgRegisterPairs) XXX_Size ¶
func (m *MsgRegisterPairs) XXX_Size() int
func (*MsgRegisterPairs) XXX_Unmarshal ¶
func (m *MsgRegisterPairs) XXX_Unmarshal(b []byte) error
type MsgRegisterPairsResponse ¶
type MsgRegisterPairsResponse struct { }
func (*MsgRegisterPairsResponse) Descriptor ¶
func (*MsgRegisterPairsResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterPairsResponse) Marshal ¶
func (m *MsgRegisterPairsResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterPairsResponse) MarshalTo ¶
func (m *MsgRegisterPairsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterPairsResponse) MarshalToSizedBuffer ¶
func (m *MsgRegisterPairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterPairsResponse) ProtoMessage ¶
func (*MsgRegisterPairsResponse) ProtoMessage()
func (*MsgRegisterPairsResponse) Reset ¶
func (m *MsgRegisterPairsResponse) Reset()
func (*MsgRegisterPairsResponse) Size ¶
func (m *MsgRegisterPairsResponse) Size() (n int)
func (*MsgRegisterPairsResponse) String ¶
func (m *MsgRegisterPairsResponse) String() string
func (*MsgRegisterPairsResponse) Unmarshal ¶
func (m *MsgRegisterPairsResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterPairsResponse) XXX_DiscardUnknown ¶
func (m *MsgRegisterPairsResponse) XXX_DiscardUnknown()
func (*MsgRegisterPairsResponse) XXX_Marshal ¶
func (m *MsgRegisterPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterPairsResponse) XXX_Merge ¶
func (m *MsgRegisterPairsResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterPairsResponse) XXX_Size ¶
func (m *MsgRegisterPairsResponse) XXX_Size() int
func (*MsgRegisterPairsResponse) XXX_Unmarshal ¶
func (m *MsgRegisterPairsResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { PlaceOrders(context.Context, *MsgPlaceOrders) (*MsgPlaceOrdersResponse, error) CancelOrders(context.Context, *MsgCancelOrders) (*MsgCancelOrdersResponse, error) RegisterContract(context.Context, *MsgRegisterContract) (*MsgRegisterContractResponse, error) ContractDepositRent(context.Context, *MsgContractDepositRent) (*MsgContractDepositRentResponse, error) UnregisterContract(context.Context, *MsgUnregisterContract) (*MsgUnregisterContractResponse, error) RegisterPairs(context.Context, *MsgRegisterPairs) (*MsgRegisterPairsResponse, error) UpdatePriceTickSize(context.Context, *MsgUpdatePriceTickSize) (*MsgUpdateTickSizeResponse, error) UpdateQuantityTickSize(context.Context, *MsgUpdateQuantityTickSize) (*MsgUpdateTickSizeResponse, error) UnsuspendContract(context.Context, *MsgUnsuspendContract) (*MsgUnsuspendContractResponse, error) }
MsgServer is the server API for Msg service.
type MsgUnregisterContract ¶
type MsgUnregisterContract struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contract_address"` }
func NewMsgUnregisterContract ¶
func NewMsgUnregisterContract( creator string, contractAddr string, ) *MsgUnregisterContract
func (*MsgUnregisterContract) Descriptor ¶
func (*MsgUnregisterContract) Descriptor() ([]byte, []int)
func (*MsgUnregisterContract) GetContractAddr ¶
func (m *MsgUnregisterContract) GetContractAddr() string
func (*MsgUnregisterContract) GetCreator ¶
func (m *MsgUnregisterContract) GetCreator() string
func (*MsgUnregisterContract) GetSignBytes ¶
func (msg *MsgUnregisterContract) GetSignBytes() []byte
func (*MsgUnregisterContract) GetSigners ¶
func (msg *MsgUnregisterContract) GetSigners() []sdk.AccAddress
func (*MsgUnregisterContract) Marshal ¶
func (m *MsgUnregisterContract) Marshal() (dAtA []byte, err error)
func (*MsgUnregisterContract) MarshalTo ¶
func (m *MsgUnregisterContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnregisterContract) MarshalToSizedBuffer ¶
func (m *MsgUnregisterContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnregisterContract) ProtoMessage ¶
func (*MsgUnregisterContract) ProtoMessage()
func (*MsgUnregisterContract) Reset ¶
func (m *MsgUnregisterContract) Reset()
func (*MsgUnregisterContract) Route ¶
func (msg *MsgUnregisterContract) Route() string
func (*MsgUnregisterContract) Size ¶
func (m *MsgUnregisterContract) Size() (n int)
func (*MsgUnregisterContract) String ¶
func (m *MsgUnregisterContract) String() string
func (*MsgUnregisterContract) Type ¶
func (msg *MsgUnregisterContract) Type() string
func (*MsgUnregisterContract) Unmarshal ¶
func (m *MsgUnregisterContract) Unmarshal(dAtA []byte) error
func (*MsgUnregisterContract) ValidateBasic ¶
func (msg *MsgUnregisterContract) ValidateBasic() error
func (*MsgUnregisterContract) XXX_DiscardUnknown ¶
func (m *MsgUnregisterContract) XXX_DiscardUnknown()
func (*MsgUnregisterContract) XXX_Marshal ¶
func (m *MsgUnregisterContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnregisterContract) XXX_Merge ¶
func (m *MsgUnregisterContract) XXX_Merge(src proto.Message)
func (*MsgUnregisterContract) XXX_Size ¶
func (m *MsgUnregisterContract) XXX_Size() int
func (*MsgUnregisterContract) XXX_Unmarshal ¶
func (m *MsgUnregisterContract) XXX_Unmarshal(b []byte) error
type MsgUnregisterContractResponse ¶
type MsgUnregisterContractResponse struct { }
func (*MsgUnregisterContractResponse) Descriptor ¶
func (*MsgUnregisterContractResponse) Descriptor() ([]byte, []int)
func (*MsgUnregisterContractResponse) Marshal ¶
func (m *MsgUnregisterContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnregisterContractResponse) MarshalTo ¶
func (m *MsgUnregisterContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnregisterContractResponse) MarshalToSizedBuffer ¶
func (m *MsgUnregisterContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnregisterContractResponse) ProtoMessage ¶
func (*MsgUnregisterContractResponse) ProtoMessage()
func (*MsgUnregisterContractResponse) Reset ¶
func (m *MsgUnregisterContractResponse) Reset()
func (*MsgUnregisterContractResponse) Size ¶
func (m *MsgUnregisterContractResponse) Size() (n int)
func (*MsgUnregisterContractResponse) String ¶
func (m *MsgUnregisterContractResponse) String() string
func (*MsgUnregisterContractResponse) Unmarshal ¶
func (m *MsgUnregisterContractResponse) Unmarshal(dAtA []byte) error
func (*MsgUnregisterContractResponse) XXX_DiscardUnknown ¶
func (m *MsgUnregisterContractResponse) XXX_DiscardUnknown()
func (*MsgUnregisterContractResponse) XXX_Marshal ¶
func (m *MsgUnregisterContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnregisterContractResponse) XXX_Merge ¶
func (m *MsgUnregisterContractResponse) XXX_Merge(src proto.Message)
func (*MsgUnregisterContractResponse) XXX_Size ¶
func (m *MsgUnregisterContractResponse) XXX_Size() int
func (*MsgUnregisterContractResponse) XXX_Unmarshal ¶
func (m *MsgUnregisterContractResponse) XXX_Unmarshal(b []byte) error
type MsgUnsuspendContract ¶
type MsgUnsuspendContract struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contract_address"` }
func NewMsgUnsuspendContract ¶
func NewMsgUnsuspendContract( creator string, contractAddr string, ) *MsgUnsuspendContract
func (*MsgUnsuspendContract) Descriptor ¶
func (*MsgUnsuspendContract) Descriptor() ([]byte, []int)
func (*MsgUnsuspendContract) GetContractAddr ¶
func (m *MsgUnsuspendContract) GetContractAddr() string
func (*MsgUnsuspendContract) GetCreator ¶
func (m *MsgUnsuspendContract) GetCreator() string
func (*MsgUnsuspendContract) GetSignBytes ¶
func (msg *MsgUnsuspendContract) GetSignBytes() []byte
func (*MsgUnsuspendContract) GetSigners ¶
func (msg *MsgUnsuspendContract) GetSigners() []sdk.AccAddress
func (*MsgUnsuspendContract) Marshal ¶
func (m *MsgUnsuspendContract) Marshal() (dAtA []byte, err error)
func (*MsgUnsuspendContract) MarshalTo ¶
func (m *MsgUnsuspendContract) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnsuspendContract) MarshalToSizedBuffer ¶
func (m *MsgUnsuspendContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnsuspendContract) ProtoMessage ¶
func (*MsgUnsuspendContract) ProtoMessage()
func (*MsgUnsuspendContract) Reset ¶
func (m *MsgUnsuspendContract) Reset()
func (*MsgUnsuspendContract) Route ¶
func (msg *MsgUnsuspendContract) Route() string
func (*MsgUnsuspendContract) Size ¶
func (m *MsgUnsuspendContract) Size() (n int)
func (*MsgUnsuspendContract) String ¶
func (m *MsgUnsuspendContract) String() string
func (*MsgUnsuspendContract) Type ¶
func (msg *MsgUnsuspendContract) Type() string
func (*MsgUnsuspendContract) Unmarshal ¶
func (m *MsgUnsuspendContract) Unmarshal(dAtA []byte) error
func (*MsgUnsuspendContract) ValidateBasic ¶
func (msg *MsgUnsuspendContract) ValidateBasic() error
func (*MsgUnsuspendContract) XXX_DiscardUnknown ¶
func (m *MsgUnsuspendContract) XXX_DiscardUnknown()
func (*MsgUnsuspendContract) XXX_Marshal ¶
func (m *MsgUnsuspendContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnsuspendContract) XXX_Merge ¶
func (m *MsgUnsuspendContract) XXX_Merge(src proto.Message)
func (*MsgUnsuspendContract) XXX_Size ¶
func (m *MsgUnsuspendContract) XXX_Size() int
func (*MsgUnsuspendContract) XXX_Unmarshal ¶
func (m *MsgUnsuspendContract) XXX_Unmarshal(b []byte) error
type MsgUnsuspendContractResponse ¶
type MsgUnsuspendContractResponse struct { }
func (*MsgUnsuspendContractResponse) Descriptor ¶
func (*MsgUnsuspendContractResponse) Descriptor() ([]byte, []int)
func (*MsgUnsuspendContractResponse) Marshal ¶
func (m *MsgUnsuspendContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnsuspendContractResponse) MarshalTo ¶
func (m *MsgUnsuspendContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnsuspendContractResponse) MarshalToSizedBuffer ¶
func (m *MsgUnsuspendContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnsuspendContractResponse) ProtoMessage ¶
func (*MsgUnsuspendContractResponse) ProtoMessage()
func (*MsgUnsuspendContractResponse) Reset ¶
func (m *MsgUnsuspendContractResponse) Reset()
func (*MsgUnsuspendContractResponse) Size ¶
func (m *MsgUnsuspendContractResponse) Size() (n int)
func (*MsgUnsuspendContractResponse) String ¶
func (m *MsgUnsuspendContractResponse) String() string
func (*MsgUnsuspendContractResponse) Unmarshal ¶
func (m *MsgUnsuspendContractResponse) Unmarshal(dAtA []byte) error
func (*MsgUnsuspendContractResponse) XXX_DiscardUnknown ¶
func (m *MsgUnsuspendContractResponse) XXX_DiscardUnknown()
func (*MsgUnsuspendContractResponse) XXX_Marshal ¶
func (m *MsgUnsuspendContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnsuspendContractResponse) XXX_Merge ¶
func (m *MsgUnsuspendContractResponse) XXX_Merge(src proto.Message)
func (*MsgUnsuspendContractResponse) XXX_Size ¶
func (m *MsgUnsuspendContractResponse) XXX_Size() int
func (*MsgUnsuspendContractResponse) XXX_Unmarshal ¶
func (m *MsgUnsuspendContractResponse) XXX_Unmarshal(b []byte) error
type MsgUpdatePriceTickSize ¶
type MsgUpdatePriceTickSize struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` TickSizeList []TickSize `protobuf:"bytes,2,rep,name=tickSizeList,proto3" json:"tick_size_list" yaml:"tick_size_list"` }
func NewMsgUpdatePriceTickSize ¶
func NewMsgUpdatePriceTickSize( creator string, tickSizeList []TickSize, ) *MsgUpdatePriceTickSize
func (*MsgUpdatePriceTickSize) Descriptor ¶
func (*MsgUpdatePriceTickSize) Descriptor() ([]byte, []int)
func (*MsgUpdatePriceTickSize) GetCreator ¶
func (m *MsgUpdatePriceTickSize) GetCreator() string
func (*MsgUpdatePriceTickSize) GetSignBytes ¶
func (msg *MsgUpdatePriceTickSize) GetSignBytes() []byte
func (*MsgUpdatePriceTickSize) GetSigners ¶
func (msg *MsgUpdatePriceTickSize) GetSigners() []sdk.AccAddress
func (*MsgUpdatePriceTickSize) GetTickSizeList ¶
func (m *MsgUpdatePriceTickSize) GetTickSizeList() []TickSize
func (*MsgUpdatePriceTickSize) Marshal ¶
func (m *MsgUpdatePriceTickSize) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePriceTickSize) MarshalTo ¶
func (m *MsgUpdatePriceTickSize) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePriceTickSize) MarshalToSizedBuffer ¶
func (m *MsgUpdatePriceTickSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePriceTickSize) ProtoMessage ¶
func (*MsgUpdatePriceTickSize) ProtoMessage()
func (*MsgUpdatePriceTickSize) Reset ¶
func (m *MsgUpdatePriceTickSize) Reset()
func (*MsgUpdatePriceTickSize) Route ¶
func (msg *MsgUpdatePriceTickSize) Route() string
func (*MsgUpdatePriceTickSize) Size ¶
func (m *MsgUpdatePriceTickSize) Size() (n int)
func (*MsgUpdatePriceTickSize) String ¶
func (m *MsgUpdatePriceTickSize) String() string
func (*MsgUpdatePriceTickSize) Type ¶
func (msg *MsgUpdatePriceTickSize) Type() string
func (*MsgUpdatePriceTickSize) Unmarshal ¶
func (m *MsgUpdatePriceTickSize) Unmarshal(dAtA []byte) error
func (*MsgUpdatePriceTickSize) ValidateBasic ¶
func (msg *MsgUpdatePriceTickSize) ValidateBasic() error
func (*MsgUpdatePriceTickSize) XXX_DiscardUnknown ¶
func (m *MsgUpdatePriceTickSize) XXX_DiscardUnknown()
func (*MsgUpdatePriceTickSize) XXX_Marshal ¶
func (m *MsgUpdatePriceTickSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePriceTickSize) XXX_Merge ¶
func (m *MsgUpdatePriceTickSize) XXX_Merge(src proto.Message)
func (*MsgUpdatePriceTickSize) XXX_Size ¶
func (m *MsgUpdatePriceTickSize) XXX_Size() int
func (*MsgUpdatePriceTickSize) XXX_Unmarshal ¶
func (m *MsgUpdatePriceTickSize) XXX_Unmarshal(b []byte) error
type MsgUpdateQuantityTickSize ¶
type MsgUpdateQuantityTickSize struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator"` TickSizeList []TickSize `protobuf:"bytes,2,rep,name=tickSizeList,proto3" json:"tick_size_list" yaml:"tick_size_list"` }
func NewMsgUpdateQuantityTickSize ¶
func NewMsgUpdateQuantityTickSize( creator string, tickSizeList []TickSize, ) *MsgUpdateQuantityTickSize
func (*MsgUpdateQuantityTickSize) Descriptor ¶
func (*MsgUpdateQuantityTickSize) Descriptor() ([]byte, []int)
func (*MsgUpdateQuantityTickSize) GetCreator ¶
func (m *MsgUpdateQuantityTickSize) GetCreator() string
func (*MsgUpdateQuantityTickSize) GetSignBytes ¶
func (msg *MsgUpdateQuantityTickSize) GetSignBytes() []byte
func (*MsgUpdateQuantityTickSize) GetSigners ¶
func (msg *MsgUpdateQuantityTickSize) GetSigners() []sdk.AccAddress
func (*MsgUpdateQuantityTickSize) GetTickSizeList ¶
func (m *MsgUpdateQuantityTickSize) GetTickSizeList() []TickSize
func (*MsgUpdateQuantityTickSize) Marshal ¶
func (m *MsgUpdateQuantityTickSize) Marshal() (dAtA []byte, err error)
func (*MsgUpdateQuantityTickSize) MarshalTo ¶
func (m *MsgUpdateQuantityTickSize) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateQuantityTickSize) MarshalToSizedBuffer ¶
func (m *MsgUpdateQuantityTickSize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateQuantityTickSize) ProtoMessage ¶
func (*MsgUpdateQuantityTickSize) ProtoMessage()
func (*MsgUpdateQuantityTickSize) Reset ¶
func (m *MsgUpdateQuantityTickSize) Reset()
func (*MsgUpdateQuantityTickSize) Route ¶
func (msg *MsgUpdateQuantityTickSize) Route() string
func (*MsgUpdateQuantityTickSize) Size ¶
func (m *MsgUpdateQuantityTickSize) Size() (n int)
func (*MsgUpdateQuantityTickSize) String ¶
func (m *MsgUpdateQuantityTickSize) String() string
func (*MsgUpdateQuantityTickSize) Type ¶
func (msg *MsgUpdateQuantityTickSize) Type() string
func (*MsgUpdateQuantityTickSize) Unmarshal ¶
func (m *MsgUpdateQuantityTickSize) Unmarshal(dAtA []byte) error
func (*MsgUpdateQuantityTickSize) ValidateBasic ¶
func (msg *MsgUpdateQuantityTickSize) ValidateBasic() error
func (*MsgUpdateQuantityTickSize) XXX_DiscardUnknown ¶
func (m *MsgUpdateQuantityTickSize) XXX_DiscardUnknown()
func (*MsgUpdateQuantityTickSize) XXX_Marshal ¶
func (m *MsgUpdateQuantityTickSize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateQuantityTickSize) XXX_Merge ¶
func (m *MsgUpdateQuantityTickSize) XXX_Merge(src proto.Message)
func (*MsgUpdateQuantityTickSize) XXX_Size ¶
func (m *MsgUpdateQuantityTickSize) XXX_Size() int
func (*MsgUpdateQuantityTickSize) XXX_Unmarshal ¶
func (m *MsgUpdateQuantityTickSize) XXX_Unmarshal(b []byte) error
type MsgUpdateTickSizeResponse ¶
type MsgUpdateTickSizeResponse struct { }
func (*MsgUpdateTickSizeResponse) Descriptor ¶
func (*MsgUpdateTickSizeResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateTickSizeResponse) Marshal ¶
func (m *MsgUpdateTickSizeResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateTickSizeResponse) MarshalTo ¶
func (m *MsgUpdateTickSizeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateTickSizeResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateTickSizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateTickSizeResponse) ProtoMessage ¶
func (*MsgUpdateTickSizeResponse) ProtoMessage()
func (*MsgUpdateTickSizeResponse) Reset ¶
func (m *MsgUpdateTickSizeResponse) Reset()
func (*MsgUpdateTickSizeResponse) Size ¶
func (m *MsgUpdateTickSizeResponse) Size() (n int)
func (*MsgUpdateTickSizeResponse) String ¶
func (m *MsgUpdateTickSizeResponse) String() string
func (*MsgUpdateTickSizeResponse) Unmarshal ¶
func (m *MsgUpdateTickSizeResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateTickSizeResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateTickSizeResponse) XXX_DiscardUnknown()
func (*MsgUpdateTickSizeResponse) XXX_Marshal ¶
func (m *MsgUpdateTickSizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateTickSizeResponse) XXX_Merge ¶
func (m *MsgUpdateTickSizeResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateTickSizeResponse) XXX_Size ¶
func (m *MsgUpdateTickSizeResponse) XXX_Size() int
func (*MsgUpdateTickSizeResponse) XXX_Unmarshal ¶
func (m *MsgUpdateTickSizeResponse) XXX_Unmarshal(b []byte) error
type Order ¶
type Order struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` Status OrderStatus `protobuf:"varint,2,opt,name=status,proto3,enum=seiprotocol.seichain.dex.OrderStatus" json:"status"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"` ContractAddr string `protobuf:"bytes,4,opt,name=contractAddr,proto3" json:"contract_address"` Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price" yaml:"price"` Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity" yaml:"quantity"` PriceDenom string `protobuf:"bytes,7,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,8,opt,name=assetDenom,proto3" json:"asset_denom"` OrderType OrderType `protobuf:"varint,9,opt,name=orderType,proto3,enum=seiprotocol.seichain.dex.OrderType" json:"order_type"` PositionDirection PositionDirection `` /* 128-byte string literal not displayed */ Data string `protobuf:"bytes,11,opt,name=data,proto3" json:"data"` StatusDescription string `protobuf:"bytes,12,opt,name=statusDescription,proto3" json:"status_description"` Nominal github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=nominal,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"nominal" yaml:"nominal"` TriggerPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 140-byte string literal not displayed */ TriggerStatus bool `protobuf:"varint,15,opt,name=triggerStatus,proto3" json:"trigger_status"` }
func (*Order) Descriptor ¶
func (*Order) GetAccount ¶
func (*Order) GetAssetDenom ¶
func (*Order) GetContractAddr ¶
func (*Order) GetOrderType ¶
func (*Order) GetPositionDirection ¶
func (m *Order) GetPositionDirection() PositionDirection
func (*Order) GetPriceDenom ¶
func (*Order) GetStatus ¶
func (m *Order) GetStatus() OrderStatus
func (*Order) GetStatusDescription ¶
func (*Order) GetTriggerStatus ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) XXX_DiscardUnknown ¶
func (m *Order) XXX_DiscardUnknown()
func (*Order) XXX_Marshal ¶
func (*Order) XXX_Unmarshal ¶
type OrderBook ¶
type OrderBook struct { Contract ContractAddress Pair Pair Longs *CachedSortedOrderBookEntries Shorts *CachedSortedOrderBookEntries }
type OrderBookEntry ¶
type OrderBookEntry interface { GetPrice() sdk.Dec GetOrderEntry() *OrderEntry DeepCopy() OrderBookEntry SetEntry(*OrderEntry) SetPrice(sdk.Dec) }
type OrderCancellationMsgDetails ¶
type OrderCancellationMsgDetails struct {
IdsToCancel []uint64 `json:"ids"`
}
type OrderEntry ¶
type OrderEntry 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" yaml:"price"` 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" yaml:"quantity"` Allocations []*Allocation `protobuf:"bytes,3,rep,name=allocations,proto3" json:"allocations"` PriceDenom string `protobuf:"bytes,4,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,5,opt,name=assetDenom,proto3" json:"asset_denom"` }
func (*OrderEntry) Descriptor ¶
func (*OrderEntry) Descriptor() ([]byte, []int)
func (*OrderEntry) GetAllocations ¶
func (m *OrderEntry) GetAllocations() []*Allocation
func (*OrderEntry) GetAssetDenom ¶
func (m *OrderEntry) GetAssetDenom() string
func (*OrderEntry) GetPriceDenom ¶
func (m *OrderEntry) GetPriceDenom() string
func (*OrderEntry) Marshal ¶
func (m *OrderEntry) Marshal() (dAtA []byte, err error)
func (*OrderEntry) MarshalToSizedBuffer ¶
func (m *OrderEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OrderEntry) ProtoMessage ¶
func (*OrderEntry) ProtoMessage()
func (*OrderEntry) Reset ¶
func (m *OrderEntry) Reset()
func (*OrderEntry) Size ¶
func (m *OrderEntry) Size() (n int)
func (*OrderEntry) String ¶
func (m *OrderEntry) String() string
func (*OrderEntry) Unmarshal ¶
func (m *OrderEntry) Unmarshal(dAtA []byte) error
func (*OrderEntry) XXX_DiscardUnknown ¶
func (m *OrderEntry) XXX_DiscardUnknown()
func (*OrderEntry) XXX_Marshal ¶
func (m *OrderEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderEntry) XXX_Merge ¶
func (m *OrderEntry) XXX_Merge(src proto.Message)
func (*OrderEntry) XXX_Size ¶
func (m *OrderEntry) XXX_Size() int
func (*OrderEntry) XXX_Unmarshal ¶
func (m *OrderEntry) XXX_Unmarshal(b []byte) error
type OrderPlacementMsgDetails ¶
type OrderPlacementMsgDetails struct { Orders []Order `json:"orders"` Deposits []ContractDepositInfo `json:"deposits"` }
type OrderStatus ¶
type OrderStatus int32
const ( OrderStatus_PLACED OrderStatus = 0 OrderStatus_FAILED_TO_PLACE OrderStatus = 1 OrderStatus_CANCELLED OrderStatus = 2 OrderStatus_FULFILLED OrderStatus = 3 )
func (OrderStatus) EnumDescriptor ¶
func (OrderStatus) EnumDescriptor() ([]byte, []int)
func (OrderStatus) String ¶
func (x OrderStatus) String() string
type Pair ¶
type Pair struct { PriceDenom string `protobuf:"bytes,1,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,2,opt,name=assetDenom,proto3" json:"asset_denom"` PriceTicksize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=priceTicksize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price_tick_size"` QuantityTicksize *github_com_cosmos_cosmos_sdk_types.Dec `` /* 127-byte string literal not displayed */ }
func (*Pair) Descriptor ¶
func (*Pair) GetAssetDenom ¶
func (*Pair) GetPriceDenom ¶
func (*Pair) ProtoMessage ¶
func (*Pair) ProtoMessage()
func (*Pair) XXX_DiscardUnknown ¶
func (m *Pair) XXX_DiscardUnknown()
func (*Pair) XXX_Unmarshal ¶
type PairString ¶
type PairString string
func GetPairString ¶
func GetPairString(pair *Pair) PairString
type Params ¶
type Params struct { PriceSnapshotRetention uint64 `` /* 152-byte string literal not displayed */ SudoCallGasPrice github_com_cosmos_cosmos_sdk_types.Dec `` /* 153-byte string literal not displayed */ BeginBlockGasLimit uint64 `` /* 139-byte string literal not displayed */ EndBlockGasLimit uint64 `` /* 131-byte string literal not displayed */ DefaultGasPerOrder uint64 `` /* 139-byte string literal not displayed */ DefaultGasPerCancel uint64 `` /* 143-byte string literal not displayed */ MinRentDeposit uint64 `protobuf:"varint,7,opt,name=min_rent_deposit,json=minRentDeposit,proto3" json:"min_rent_deposit" yaml:"min_rent_deposit"` GasAllowancePerSettlement uint64 `` /* 167-byte string literal not displayed */ MinProcessableRent uint64 `` /* 136-byte string literal not displayed */ OrderBookEntriesPerLoad uint64 `` /* 163-byte string literal not displayed */ ContractUnsuspendCost uint64 `` /* 149-byte string literal not displayed */ MaxOrderPerPrice uint64 `` /* 132-byte string literal not displayed */ MaxPairsPerContract uint64 `` /* 144-byte string literal not displayed */ DefaultGasPerOrderDataByte uint64 `` /* 178-byte string literal not displayed */ }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) GetBeginBlockGasLimit ¶
func (*Params) GetContractUnsuspendCost ¶
func (*Params) GetDefaultGasPerCancel ¶
func (*Params) GetDefaultGasPerOrder ¶
func (*Params) GetDefaultGasPerOrderDataByte ¶
func (*Params) GetEndBlockGasLimit ¶
func (*Params) GetGasAllowancePerSettlement ¶
func (*Params) GetMaxOrderPerPrice ¶
func (*Params) GetMaxPairsPerContract ¶
func (*Params) GetMinProcessableRent ¶
func (*Params) GetMinRentDeposit ¶
func (*Params) GetOrderBookEntriesPerLoad ¶
func (*Params) GetPriceSnapshotRetention ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PositionDirection ¶
type PositionDirection int32
const ( PositionDirection_LONG PositionDirection = 0 PositionDirection_SHORT PositionDirection = 1 )
func GetPositionDirectionFromStr ¶
func GetPositionDirectionFromStr(str string) (PositionDirection, error)
func (PositionDirection) EnumDescriptor ¶
func (PositionDirection) EnumDescriptor() ([]byte, []int)
func (PositionDirection) String ¶
func (x PositionDirection) String() string
type PositionEffect ¶
type PositionEffect int32
const ( PositionEffect_OPEN PositionEffect = 0 PositionEffect_CLOSE PositionEffect = 1 )
func GetPositionEffectFromStr ¶
func GetPositionEffectFromStr(str string) (PositionEffect, error)
func (PositionEffect) EnumDescriptor ¶
func (PositionEffect) EnumDescriptor() ([]byte, []int)
func (PositionEffect) String ¶
func (x PositionEffect) String() string
type Price ¶
type Price struct { SnapshotTimestampInSeconds uint64 `protobuf:"varint,1,opt,name=snapshotTimestampInSeconds,proto3" json:"snapshot_timestamp_in_seconds"` 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" yaml:"price"` Pair *Pair `protobuf:"bytes,3,opt,name=pair,proto3" json:"pair"` }
func (*Price) Descriptor ¶
func (*Price) GetSnapshotTimestampInSeconds ¶
func (*Price) ProtoMessage ¶
func (*Price) ProtoMessage()
func (*Price) XXX_DiscardUnknown ¶
func (m *Price) XXX_DiscardUnknown()
func (*Price) XXX_Marshal ¶
func (*Price) XXX_Unmarshal ¶
type PriceCandlestick ¶
type PriceCandlestick struct { BeginTimestamp uint64 `protobuf:"varint,1,opt,name=beginTimestamp,proto3" json:"begin_timestamp"` EndTimestamp uint64 `protobuf:"varint,2,opt,name=endTimestamp,proto3" json:"end_timestamp"` Open *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=open,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"open"` High *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=high,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"high"` Low *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=low,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"low"` Close *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=close,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"close"` Volume *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=volume,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"volume"` }
func (*PriceCandlestick) Descriptor ¶
func (*PriceCandlestick) Descriptor() ([]byte, []int)
func (*PriceCandlestick) GetBeginTimestamp ¶
func (m *PriceCandlestick) GetBeginTimestamp() uint64
func (*PriceCandlestick) GetEndTimestamp ¶
func (m *PriceCandlestick) GetEndTimestamp() uint64
func (*PriceCandlestick) Marshal ¶
func (m *PriceCandlestick) Marshal() (dAtA []byte, err error)
func (*PriceCandlestick) MarshalToSizedBuffer ¶
func (m *PriceCandlestick) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriceCandlestick) ProtoMessage ¶
func (*PriceCandlestick) ProtoMessage()
func (*PriceCandlestick) Reset ¶
func (m *PriceCandlestick) Reset()
func (*PriceCandlestick) Size ¶
func (m *PriceCandlestick) Size() (n int)
func (*PriceCandlestick) String ¶
func (m *PriceCandlestick) String() string
func (*PriceCandlestick) Unmarshal ¶
func (m *PriceCandlestick) Unmarshal(dAtA []byte) error
func (*PriceCandlestick) XXX_DiscardUnknown ¶
func (m *PriceCandlestick) XXX_DiscardUnknown()
func (*PriceCandlestick) XXX_Marshal ¶
func (m *PriceCandlestick) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriceCandlestick) XXX_Merge ¶
func (m *PriceCandlestick) XXX_Merge(src proto.Message)
func (*PriceCandlestick) XXX_Size ¶
func (m *PriceCandlestick) XXX_Size() int
func (*PriceCandlestick) XXX_Unmarshal ¶
func (m *PriceCandlestick) XXX_Unmarshal(b []byte) error
type PriceStore ¶
type QueryAllLongBookRequest ¶
type QueryAllLongBookRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` PriceDenom string `protobuf:"bytes,3,opt,name=priceDenom,proto3" json:"priceDenom,omitempty"` AssetDenom string `protobuf:"bytes,4,opt,name=assetDenom,proto3" json:"assetDenom,omitempty"` }
func (*QueryAllLongBookRequest) Descriptor ¶
func (*QueryAllLongBookRequest) Descriptor() ([]byte, []int)
func (*QueryAllLongBookRequest) GetAssetDenom ¶
func (m *QueryAllLongBookRequest) GetAssetDenom() string
func (*QueryAllLongBookRequest) GetContractAddr ¶
func (m *QueryAllLongBookRequest) GetContractAddr() string
func (*QueryAllLongBookRequest) GetPagination ¶
func (m *QueryAllLongBookRequest) GetPagination() *query.PageRequest
func (*QueryAllLongBookRequest) GetPriceDenom ¶
func (m *QueryAllLongBookRequest) GetPriceDenom() string
func (*QueryAllLongBookRequest) Marshal ¶
func (m *QueryAllLongBookRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllLongBookRequest) MarshalTo ¶
func (m *QueryAllLongBookRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLongBookRequest) MarshalToSizedBuffer ¶
func (m *QueryAllLongBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLongBookRequest) ProtoMessage ¶
func (*QueryAllLongBookRequest) ProtoMessage()
func (*QueryAllLongBookRequest) Reset ¶
func (m *QueryAllLongBookRequest) Reset()
func (*QueryAllLongBookRequest) Size ¶
func (m *QueryAllLongBookRequest) Size() (n int)
func (*QueryAllLongBookRequest) String ¶
func (m *QueryAllLongBookRequest) String() string
func (*QueryAllLongBookRequest) Unmarshal ¶
func (m *QueryAllLongBookRequest) Unmarshal(dAtA []byte) error
func (*QueryAllLongBookRequest) XXX_DiscardUnknown ¶
func (m *QueryAllLongBookRequest) XXX_DiscardUnknown()
func (*QueryAllLongBookRequest) XXX_Marshal ¶
func (m *QueryAllLongBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLongBookRequest) XXX_Merge ¶
func (m *QueryAllLongBookRequest) XXX_Merge(src proto.Message)
func (*QueryAllLongBookRequest) XXX_Size ¶
func (m *QueryAllLongBookRequest) XXX_Size() int
func (*QueryAllLongBookRequest) XXX_Unmarshal ¶
func (m *QueryAllLongBookRequest) XXX_Unmarshal(b []byte) error
type QueryAllLongBookResponse ¶
type QueryAllLongBookResponse struct { LongBook []LongBook `protobuf:"bytes,1,rep,name=LongBook,proto3" json:"LongBook"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllLongBookResponse) Descriptor ¶
func (*QueryAllLongBookResponse) Descriptor() ([]byte, []int)
func (*QueryAllLongBookResponse) GetLongBook ¶
func (m *QueryAllLongBookResponse) GetLongBook() []LongBook
func (*QueryAllLongBookResponse) GetPagination ¶
func (m *QueryAllLongBookResponse) GetPagination() *query.PageResponse
func (*QueryAllLongBookResponse) Marshal ¶
func (m *QueryAllLongBookResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllLongBookResponse) MarshalTo ¶
func (m *QueryAllLongBookResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllLongBookResponse) MarshalToSizedBuffer ¶
func (m *QueryAllLongBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllLongBookResponse) ProtoMessage ¶
func (*QueryAllLongBookResponse) ProtoMessage()
func (*QueryAllLongBookResponse) Reset ¶
func (m *QueryAllLongBookResponse) Reset()
func (*QueryAllLongBookResponse) Size ¶
func (m *QueryAllLongBookResponse) Size() (n int)
func (*QueryAllLongBookResponse) String ¶
func (m *QueryAllLongBookResponse) String() string
func (*QueryAllLongBookResponse) Unmarshal ¶
func (m *QueryAllLongBookResponse) Unmarshal(dAtA []byte) error
func (*QueryAllLongBookResponse) XXX_DiscardUnknown ¶
func (m *QueryAllLongBookResponse) XXX_DiscardUnknown()
func (*QueryAllLongBookResponse) XXX_Marshal ¶
func (m *QueryAllLongBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllLongBookResponse) XXX_Merge ¶
func (m *QueryAllLongBookResponse) XXX_Merge(src proto.Message)
func (*QueryAllLongBookResponse) XXX_Size ¶
func (m *QueryAllLongBookResponse) XXX_Size() int
func (*QueryAllLongBookResponse) XXX_Unmarshal ¶
func (m *QueryAllLongBookResponse) XXX_Unmarshal(b []byte) error
type QueryAllShortBookRequest ¶
type QueryAllShortBookRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` PriceDenom string `protobuf:"bytes,3,opt,name=priceDenom,proto3" json:"priceDenom,omitempty"` AssetDenom string `protobuf:"bytes,4,opt,name=assetDenom,proto3" json:"assetDenom,omitempty"` }
func (*QueryAllShortBookRequest) Descriptor ¶
func (*QueryAllShortBookRequest) Descriptor() ([]byte, []int)
func (*QueryAllShortBookRequest) GetAssetDenom ¶
func (m *QueryAllShortBookRequest) GetAssetDenom() string
func (*QueryAllShortBookRequest) GetContractAddr ¶
func (m *QueryAllShortBookRequest) GetContractAddr() string
func (*QueryAllShortBookRequest) GetPagination ¶
func (m *QueryAllShortBookRequest) GetPagination() *query.PageRequest
func (*QueryAllShortBookRequest) GetPriceDenom ¶
func (m *QueryAllShortBookRequest) GetPriceDenom() string
func (*QueryAllShortBookRequest) Marshal ¶
func (m *QueryAllShortBookRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllShortBookRequest) MarshalTo ¶
func (m *QueryAllShortBookRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllShortBookRequest) MarshalToSizedBuffer ¶
func (m *QueryAllShortBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllShortBookRequest) ProtoMessage ¶
func (*QueryAllShortBookRequest) ProtoMessage()
func (*QueryAllShortBookRequest) Reset ¶
func (m *QueryAllShortBookRequest) Reset()
func (*QueryAllShortBookRequest) Size ¶
func (m *QueryAllShortBookRequest) Size() (n int)
func (*QueryAllShortBookRequest) String ¶
func (m *QueryAllShortBookRequest) String() string
func (*QueryAllShortBookRequest) Unmarshal ¶
func (m *QueryAllShortBookRequest) Unmarshal(dAtA []byte) error
func (*QueryAllShortBookRequest) XXX_DiscardUnknown ¶
func (m *QueryAllShortBookRequest) XXX_DiscardUnknown()
func (*QueryAllShortBookRequest) XXX_Marshal ¶
func (m *QueryAllShortBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllShortBookRequest) XXX_Merge ¶
func (m *QueryAllShortBookRequest) XXX_Merge(src proto.Message)
func (*QueryAllShortBookRequest) XXX_Size ¶
func (m *QueryAllShortBookRequest) XXX_Size() int
func (*QueryAllShortBookRequest) XXX_Unmarshal ¶
func (m *QueryAllShortBookRequest) XXX_Unmarshal(b []byte) error
type QueryAllShortBookResponse ¶
type QueryAllShortBookResponse struct { ShortBook []ShortBook `protobuf:"bytes,1,rep,name=ShortBook,proto3" json:"ShortBook"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllShortBookResponse) Descriptor ¶
func (*QueryAllShortBookResponse) Descriptor() ([]byte, []int)
func (*QueryAllShortBookResponse) GetPagination ¶
func (m *QueryAllShortBookResponse) GetPagination() *query.PageResponse
func (*QueryAllShortBookResponse) GetShortBook ¶
func (m *QueryAllShortBookResponse) GetShortBook() []ShortBook
func (*QueryAllShortBookResponse) Marshal ¶
func (m *QueryAllShortBookResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllShortBookResponse) MarshalTo ¶
func (m *QueryAllShortBookResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllShortBookResponse) MarshalToSizedBuffer ¶
func (m *QueryAllShortBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllShortBookResponse) ProtoMessage ¶
func (*QueryAllShortBookResponse) ProtoMessage()
func (*QueryAllShortBookResponse) Reset ¶
func (m *QueryAllShortBookResponse) Reset()
func (*QueryAllShortBookResponse) Size ¶
func (m *QueryAllShortBookResponse) Size() (n int)
func (*QueryAllShortBookResponse) String ¶
func (m *QueryAllShortBookResponse) String() string
func (*QueryAllShortBookResponse) Unmarshal ¶
func (m *QueryAllShortBookResponse) Unmarshal(dAtA []byte) error
func (*QueryAllShortBookResponse) XXX_DiscardUnknown ¶
func (m *QueryAllShortBookResponse) XXX_DiscardUnknown()
func (*QueryAllShortBookResponse) XXX_Marshal ¶
func (m *QueryAllShortBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllShortBookResponse) XXX_Merge ¶
func (m *QueryAllShortBookResponse) XXX_Merge(src proto.Message)
func (*QueryAllShortBookResponse) XXX_Size ¶
func (m *QueryAllShortBookResponse) XXX_Size() int
func (*QueryAllShortBookResponse) XXX_Unmarshal ¶
func (m *QueryAllShortBookResponse) XXX_Unmarshal(b []byte) error
type QueryAssetListRequest ¶
type QueryAssetListRequest struct { }
func (*QueryAssetListRequest) Descriptor ¶
func (*QueryAssetListRequest) Descriptor() ([]byte, []int)
func (*QueryAssetListRequest) Marshal ¶
func (m *QueryAssetListRequest) Marshal() (dAtA []byte, err error)
func (*QueryAssetListRequest) MarshalTo ¶
func (m *QueryAssetListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetListRequest) MarshalToSizedBuffer ¶
func (m *QueryAssetListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetListRequest) ProtoMessage ¶
func (*QueryAssetListRequest) ProtoMessage()
func (*QueryAssetListRequest) Reset ¶
func (m *QueryAssetListRequest) Reset()
func (*QueryAssetListRequest) Size ¶
func (m *QueryAssetListRequest) Size() (n int)
func (*QueryAssetListRequest) String ¶
func (m *QueryAssetListRequest) String() string
func (*QueryAssetListRequest) Unmarshal ¶
func (m *QueryAssetListRequest) Unmarshal(dAtA []byte) error
func (*QueryAssetListRequest) XXX_DiscardUnknown ¶
func (m *QueryAssetListRequest) XXX_DiscardUnknown()
func (*QueryAssetListRequest) XXX_Marshal ¶
func (m *QueryAssetListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetListRequest) XXX_Merge ¶
func (m *QueryAssetListRequest) XXX_Merge(src proto.Message)
func (*QueryAssetListRequest) XXX_Size ¶
func (m *QueryAssetListRequest) XXX_Size() int
func (*QueryAssetListRequest) XXX_Unmarshal ¶
func (m *QueryAssetListRequest) XXX_Unmarshal(b []byte) error
type QueryAssetListResponse ¶
type QueryAssetListResponse struct {
AssetList []AssetMetadata `protobuf:"bytes,1,rep,name=assetList,proto3" json:"assetList"`
}
func (*QueryAssetListResponse) Descriptor ¶
func (*QueryAssetListResponse) Descriptor() ([]byte, []int)
func (*QueryAssetListResponse) GetAssetList ¶
func (m *QueryAssetListResponse) GetAssetList() []AssetMetadata
func (*QueryAssetListResponse) Marshal ¶
func (m *QueryAssetListResponse) Marshal() (dAtA []byte, err error)
func (*QueryAssetListResponse) MarshalTo ¶
func (m *QueryAssetListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetListResponse) MarshalToSizedBuffer ¶
func (m *QueryAssetListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetListResponse) ProtoMessage ¶
func (*QueryAssetListResponse) ProtoMessage()
func (*QueryAssetListResponse) Reset ¶
func (m *QueryAssetListResponse) Reset()
func (*QueryAssetListResponse) Size ¶
func (m *QueryAssetListResponse) Size() (n int)
func (*QueryAssetListResponse) String ¶
func (m *QueryAssetListResponse) String() string
func (*QueryAssetListResponse) Unmarshal ¶
func (m *QueryAssetListResponse) Unmarshal(dAtA []byte) error
func (*QueryAssetListResponse) XXX_DiscardUnknown ¶
func (m *QueryAssetListResponse) XXX_DiscardUnknown()
func (*QueryAssetListResponse) XXX_Marshal ¶
func (m *QueryAssetListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetListResponse) XXX_Merge ¶
func (m *QueryAssetListResponse) XXX_Merge(src proto.Message)
func (*QueryAssetListResponse) XXX_Size ¶
func (m *QueryAssetListResponse) XXX_Size() int
func (*QueryAssetListResponse) XXX_Unmarshal ¶
func (m *QueryAssetListResponse) XXX_Unmarshal(b []byte) error
type QueryAssetMetadataRequest ¶
type QueryAssetMetadataRequest struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}
func (*QueryAssetMetadataRequest) Descriptor ¶
func (*QueryAssetMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryAssetMetadataRequest) GetDenom ¶
func (m *QueryAssetMetadataRequest) GetDenom() string
func (*QueryAssetMetadataRequest) Marshal ¶
func (m *QueryAssetMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryAssetMetadataRequest) MarshalTo ¶
func (m *QueryAssetMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryAssetMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetMetadataRequest) ProtoMessage ¶
func (*QueryAssetMetadataRequest) ProtoMessage()
func (*QueryAssetMetadataRequest) Reset ¶
func (m *QueryAssetMetadataRequest) Reset()
func (*QueryAssetMetadataRequest) Size ¶
func (m *QueryAssetMetadataRequest) Size() (n int)
func (*QueryAssetMetadataRequest) String ¶
func (m *QueryAssetMetadataRequest) String() string
func (*QueryAssetMetadataRequest) Unmarshal ¶
func (m *QueryAssetMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryAssetMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryAssetMetadataRequest) XXX_DiscardUnknown()
func (*QueryAssetMetadataRequest) XXX_Marshal ¶
func (m *QueryAssetMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetMetadataRequest) XXX_Merge ¶
func (m *QueryAssetMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryAssetMetadataRequest) XXX_Size ¶
func (m *QueryAssetMetadataRequest) XXX_Size() int
func (*QueryAssetMetadataRequest) XXX_Unmarshal ¶
func (m *QueryAssetMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryAssetMetadataResponse ¶
type QueryAssetMetadataResponse struct {
Metadata *AssetMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
func (*QueryAssetMetadataResponse) Descriptor ¶
func (*QueryAssetMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryAssetMetadataResponse) GetMetadata ¶
func (m *QueryAssetMetadataResponse) GetMetadata() *AssetMetadata
func (*QueryAssetMetadataResponse) Marshal ¶
func (m *QueryAssetMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryAssetMetadataResponse) MarshalTo ¶
func (m *QueryAssetMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAssetMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryAssetMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAssetMetadataResponse) ProtoMessage ¶
func (*QueryAssetMetadataResponse) ProtoMessage()
func (*QueryAssetMetadataResponse) Reset ¶
func (m *QueryAssetMetadataResponse) Reset()
func (*QueryAssetMetadataResponse) Size ¶
func (m *QueryAssetMetadataResponse) Size() (n int)
func (*QueryAssetMetadataResponse) String ¶
func (m *QueryAssetMetadataResponse) String() string
func (*QueryAssetMetadataResponse) Unmarshal ¶
func (m *QueryAssetMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryAssetMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryAssetMetadataResponse) XXX_DiscardUnknown()
func (*QueryAssetMetadataResponse) XXX_Marshal ¶
func (m *QueryAssetMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAssetMetadataResponse) XXX_Merge ¶
func (m *QueryAssetMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryAssetMetadataResponse) XXX_Size ¶
func (m *QueryAssetMetadataResponse) XXX_Size() int
func (*QueryAssetMetadataResponse) XXX_Unmarshal ¶
func (m *QueryAssetMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a LongBook by id. LongBook(ctx context.Context, in *QueryGetLongBookRequest, opts ...grpc.CallOption) (*QueryGetLongBookResponse, error) // Queries a list of LongBook items. LongBookAll(ctx context.Context, in *QueryAllLongBookRequest, opts ...grpc.CallOption) (*QueryAllLongBookResponse, error) // Queries a ShortBook by id. ShortBook(ctx context.Context, in *QueryGetShortBookRequest, opts ...grpc.CallOption) (*QueryGetShortBookResponse, error) // Queries a list of ShortBook items. ShortBookAll(ctx context.Context, in *QueryAllShortBookRequest, opts ...grpc.CallOption) (*QueryAllShortBookResponse, error) GetPrice(ctx context.Context, in *QueryGetPriceRequest, opts ...grpc.CallOption) (*QueryGetPriceResponse, error) GetLatestPrice(ctx context.Context, in *QueryGetLatestPriceRequest, opts ...grpc.CallOption) (*QueryGetLatestPriceResponse, error) GetPrices(ctx context.Context, in *QueryGetPricesRequest, opts ...grpc.CallOption) (*QueryGetPricesResponse, error) GetTwaps(ctx context.Context, in *QueryGetTwapsRequest, opts ...grpc.CallOption) (*QueryGetTwapsResponse, error) // Returns the metadata for a specified denom / display type AssetMetadata(ctx context.Context, in *QueryAssetMetadataRequest, opts ...grpc.CallOption) (*QueryAssetMetadataResponse, error) // Returns metadata for all the assets AssetList(ctx context.Context, in *QueryAssetListRequest, opts ...grpc.CallOption) (*QueryAssetListResponse, error) // Returns all registered pairs for specified contract address GetRegisteredPairs(ctx context.Context, in *QueryRegisteredPairsRequest, opts ...grpc.CallOption) (*QueryRegisteredPairsResponse, error) // Returns registered contract information GetRegisteredContract(ctx context.Context, in *QueryRegisteredContractRequest, opts ...grpc.CallOption) (*QueryRegisteredContractResponse, error) GetOrders(ctx context.Context, in *QueryGetOrdersRequest, opts ...grpc.CallOption) (*QueryGetOrdersResponse, error) GetOrder(ctx context.Context, in *QueryGetOrderByIDRequest, opts ...grpc.CallOption) (*QueryGetOrderByIDResponse, error) GetHistoricalPrices(ctx context.Context, in *QueryGetHistoricalPricesRequest, opts ...grpc.CallOption) (*QueryGetHistoricalPricesResponse, error) GetMarketSummary(ctx context.Context, in *QueryGetMarketSummaryRequest, opts ...grpc.CallOption) (*QueryGetMarketSummaryResponse, error) GetOrderSimulation(ctx context.Context, in *QueryOrderSimulationRequest, opts ...grpc.CallOption) (*QueryOrderSimulationResponse, error) GetMatchResult(ctx context.Context, in *QueryGetMatchResultRequest, opts ...grpc.CallOption) (*QueryGetMatchResultResponse, error) GetOrderCount(ctx context.Context, in *QueryGetOrderCountRequest, opts ...grpc.CallOption) (*QueryGetOrderCountResponse, 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 QueryGetHistoricalPricesRequest ¶
type QueryGetHistoricalPricesRequest struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` PriceDenom string `protobuf:"bytes,2,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,3,opt,name=assetDenom,proto3" json:"asset_denom"` PeriodLengthInSeconds uint64 `protobuf:"varint,4,opt,name=periodLengthInSeconds,proto3" json:"period_length_in_seconds"` NumOfPeriods uint64 `protobuf:"varint,5,opt,name=numOfPeriods,proto3" json:"number_of_periods"` }
func (*QueryGetHistoricalPricesRequest) Descriptor ¶
func (*QueryGetHistoricalPricesRequest) Descriptor() ([]byte, []int)
func (*QueryGetHistoricalPricesRequest) GetAssetDenom ¶
func (m *QueryGetHistoricalPricesRequest) GetAssetDenom() string
func (*QueryGetHistoricalPricesRequest) GetContractAddr ¶
func (m *QueryGetHistoricalPricesRequest) GetContractAddr() string
func (*QueryGetHistoricalPricesRequest) GetNumOfPeriods ¶
func (m *QueryGetHistoricalPricesRequest) GetNumOfPeriods() uint64
func (*QueryGetHistoricalPricesRequest) GetPeriodLengthInSeconds ¶
func (m *QueryGetHistoricalPricesRequest) GetPeriodLengthInSeconds() uint64
func (*QueryGetHistoricalPricesRequest) GetPriceDenom ¶
func (m *QueryGetHistoricalPricesRequest) GetPriceDenom() string
func (*QueryGetHistoricalPricesRequest) Marshal ¶
func (m *QueryGetHistoricalPricesRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetHistoricalPricesRequest) MarshalTo ¶
func (m *QueryGetHistoricalPricesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetHistoricalPricesRequest) MarshalToSizedBuffer ¶
func (m *QueryGetHistoricalPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetHistoricalPricesRequest) ProtoMessage ¶
func (*QueryGetHistoricalPricesRequest) ProtoMessage()
func (*QueryGetHistoricalPricesRequest) Reset ¶
func (m *QueryGetHistoricalPricesRequest) Reset()
func (*QueryGetHistoricalPricesRequest) Size ¶
func (m *QueryGetHistoricalPricesRequest) Size() (n int)
func (*QueryGetHistoricalPricesRequest) String ¶
func (m *QueryGetHistoricalPricesRequest) String() string
func (*QueryGetHistoricalPricesRequest) Unmarshal ¶
func (m *QueryGetHistoricalPricesRequest) Unmarshal(dAtA []byte) error
func (*QueryGetHistoricalPricesRequest) XXX_DiscardUnknown ¶
func (m *QueryGetHistoricalPricesRequest) XXX_DiscardUnknown()
func (*QueryGetHistoricalPricesRequest) XXX_Marshal ¶
func (m *QueryGetHistoricalPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetHistoricalPricesRequest) XXX_Merge ¶
func (m *QueryGetHistoricalPricesRequest) XXX_Merge(src proto.Message)
func (*QueryGetHistoricalPricesRequest) XXX_Size ¶
func (m *QueryGetHistoricalPricesRequest) XXX_Size() int
func (*QueryGetHistoricalPricesRequest) XXX_Unmarshal ¶
func (m *QueryGetHistoricalPricesRequest) XXX_Unmarshal(b []byte) error
type QueryGetHistoricalPricesResponse ¶
type QueryGetHistoricalPricesResponse struct {
Prices []*PriceCandlestick `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices"`
}
func (*QueryGetHistoricalPricesResponse) Descriptor ¶
func (*QueryGetHistoricalPricesResponse) Descriptor() ([]byte, []int)
func (*QueryGetHistoricalPricesResponse) GetPrices ¶
func (m *QueryGetHistoricalPricesResponse) GetPrices() []*PriceCandlestick
func (*QueryGetHistoricalPricesResponse) Marshal ¶
func (m *QueryGetHistoricalPricesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetHistoricalPricesResponse) MarshalTo ¶
func (m *QueryGetHistoricalPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetHistoricalPricesResponse) MarshalToSizedBuffer ¶
func (m *QueryGetHistoricalPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetHistoricalPricesResponse) ProtoMessage ¶
func (*QueryGetHistoricalPricesResponse) ProtoMessage()
func (*QueryGetHistoricalPricesResponse) Reset ¶
func (m *QueryGetHistoricalPricesResponse) Reset()
func (*QueryGetHistoricalPricesResponse) Size ¶
func (m *QueryGetHistoricalPricesResponse) Size() (n int)
func (*QueryGetHistoricalPricesResponse) String ¶
func (m *QueryGetHistoricalPricesResponse) String() string
func (*QueryGetHistoricalPricesResponse) Unmarshal ¶
func (m *QueryGetHistoricalPricesResponse) Unmarshal(dAtA []byte) error
func (*QueryGetHistoricalPricesResponse) XXX_DiscardUnknown ¶
func (m *QueryGetHistoricalPricesResponse) XXX_DiscardUnknown()
func (*QueryGetHistoricalPricesResponse) XXX_Marshal ¶
func (m *QueryGetHistoricalPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetHistoricalPricesResponse) XXX_Merge ¶
func (m *QueryGetHistoricalPricesResponse) XXX_Merge(src proto.Message)
func (*QueryGetHistoricalPricesResponse) XXX_Size ¶
func (m *QueryGetHistoricalPricesResponse) XXX_Size() int
func (*QueryGetHistoricalPricesResponse) XXX_Unmarshal ¶
func (m *QueryGetHistoricalPricesResponse) XXX_Unmarshal(b []byte) error
type QueryGetLatestPriceRequest ¶
type QueryGetLatestPriceRequest struct { PriceDenom string `protobuf:"bytes,1,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,2,opt,name=assetDenom,proto3" json:"asset_denom"` ContractAddr string `protobuf:"bytes,3,opt,name=contractAddr,proto3" json:"contract_address"` }
func (*QueryGetLatestPriceRequest) Descriptor ¶
func (*QueryGetLatestPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestPriceRequest) GetAssetDenom ¶
func (m *QueryGetLatestPriceRequest) GetAssetDenom() string
func (*QueryGetLatestPriceRequest) GetContractAddr ¶
func (m *QueryGetLatestPriceRequest) GetContractAddr() string
func (*QueryGetLatestPriceRequest) GetPriceDenom ¶
func (m *QueryGetLatestPriceRequest) GetPriceDenom() string
func (*QueryGetLatestPriceRequest) Marshal ¶
func (m *QueryGetLatestPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestPriceRequest) MarshalTo ¶
func (m *QueryGetLatestPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestPriceRequest) ProtoMessage ¶
func (*QueryGetLatestPriceRequest) ProtoMessage()
func (*QueryGetLatestPriceRequest) Reset ¶
func (m *QueryGetLatestPriceRequest) Reset()
func (*QueryGetLatestPriceRequest) Size ¶
func (m *QueryGetLatestPriceRequest) Size() (n int)
func (*QueryGetLatestPriceRequest) String ¶
func (m *QueryGetLatestPriceRequest) String() string
func (*QueryGetLatestPriceRequest) Unmarshal ¶
func (m *QueryGetLatestPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestPriceRequest) XXX_DiscardUnknown()
func (*QueryGetLatestPriceRequest) XXX_Marshal ¶
func (m *QueryGetLatestPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestPriceRequest) XXX_Merge ¶
func (m *QueryGetLatestPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestPriceRequest) XXX_Size ¶
func (m *QueryGetLatestPriceRequest) XXX_Size() int
func (*QueryGetLatestPriceRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestPriceResponse ¶
type QueryGetLatestPriceResponse struct {
Price *Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
}
func (*QueryGetLatestPriceResponse) Descriptor ¶
func (*QueryGetLatestPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestPriceResponse) GetPrice ¶
func (m *QueryGetLatestPriceResponse) GetPrice() *Price
func (*QueryGetLatestPriceResponse) Marshal ¶
func (m *QueryGetLatestPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestPriceResponse) MarshalTo ¶
func (m *QueryGetLatestPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestPriceResponse) ProtoMessage ¶
func (*QueryGetLatestPriceResponse) ProtoMessage()
func (*QueryGetLatestPriceResponse) Reset ¶
func (m *QueryGetLatestPriceResponse) Reset()
func (*QueryGetLatestPriceResponse) Size ¶
func (m *QueryGetLatestPriceResponse) Size() (n int)
func (*QueryGetLatestPriceResponse) String ¶
func (m *QueryGetLatestPriceResponse) String() string
func (*QueryGetLatestPriceResponse) Unmarshal ¶
func (m *QueryGetLatestPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestPriceResponse) XXX_DiscardUnknown()
func (*QueryGetLatestPriceResponse) XXX_Marshal ¶
func (m *QueryGetLatestPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestPriceResponse) XXX_Merge ¶
func (m *QueryGetLatestPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestPriceResponse) XXX_Size ¶
func (m *QueryGetLatestPriceResponse) XXX_Size() int
func (*QueryGetLatestPriceResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestPriceResponse) XXX_Unmarshal(b []byte) error
type QueryGetLongBookRequest ¶
type QueryGetLongBookRequest struct { Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` PriceDenom string `protobuf:"bytes,3,opt,name=priceDenom,proto3" json:"priceDenom,omitempty"` AssetDenom string `protobuf:"bytes,4,opt,name=assetDenom,proto3" json:"assetDenom,omitempty"` }
func (*QueryGetLongBookRequest) Descriptor ¶
func (*QueryGetLongBookRequest) Descriptor() ([]byte, []int)
func (*QueryGetLongBookRequest) GetAssetDenom ¶
func (m *QueryGetLongBookRequest) GetAssetDenom() string
func (*QueryGetLongBookRequest) GetContractAddr ¶
func (m *QueryGetLongBookRequest) GetContractAddr() string
func (*QueryGetLongBookRequest) GetPrice ¶
func (m *QueryGetLongBookRequest) GetPrice() string
func (*QueryGetLongBookRequest) GetPriceDenom ¶
func (m *QueryGetLongBookRequest) GetPriceDenom() string
func (*QueryGetLongBookRequest) Marshal ¶
func (m *QueryGetLongBookRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLongBookRequest) MarshalTo ¶
func (m *QueryGetLongBookRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLongBookRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLongBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLongBookRequest) ProtoMessage ¶
func (*QueryGetLongBookRequest) ProtoMessage()
func (*QueryGetLongBookRequest) Reset ¶
func (m *QueryGetLongBookRequest) Reset()
func (*QueryGetLongBookRequest) Size ¶
func (m *QueryGetLongBookRequest) Size() (n int)
func (*QueryGetLongBookRequest) String ¶
func (m *QueryGetLongBookRequest) String() string
func (*QueryGetLongBookRequest) Unmarshal ¶
func (m *QueryGetLongBookRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLongBookRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLongBookRequest) XXX_DiscardUnknown()
func (*QueryGetLongBookRequest) XXX_Marshal ¶
func (m *QueryGetLongBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLongBookRequest) XXX_Merge ¶
func (m *QueryGetLongBookRequest) XXX_Merge(src proto.Message)
func (*QueryGetLongBookRequest) XXX_Size ¶
func (m *QueryGetLongBookRequest) XXX_Size() int
func (*QueryGetLongBookRequest) XXX_Unmarshal ¶
func (m *QueryGetLongBookRequest) XXX_Unmarshal(b []byte) error
type QueryGetLongBookResponse ¶
type QueryGetLongBookResponse struct {
LongBook LongBook `protobuf:"bytes,1,opt,name=LongBook,proto3" json:"LongBook"`
}
func (*QueryGetLongBookResponse) Descriptor ¶
func (*QueryGetLongBookResponse) Descriptor() ([]byte, []int)
func (*QueryGetLongBookResponse) GetLongBook ¶
func (m *QueryGetLongBookResponse) GetLongBook() LongBook
func (*QueryGetLongBookResponse) Marshal ¶
func (m *QueryGetLongBookResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLongBookResponse) MarshalTo ¶
func (m *QueryGetLongBookResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLongBookResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLongBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLongBookResponse) ProtoMessage ¶
func (*QueryGetLongBookResponse) ProtoMessage()
func (*QueryGetLongBookResponse) Reset ¶
func (m *QueryGetLongBookResponse) Reset()
func (*QueryGetLongBookResponse) Size ¶
func (m *QueryGetLongBookResponse) Size() (n int)
func (*QueryGetLongBookResponse) String ¶
func (m *QueryGetLongBookResponse) String() string
func (*QueryGetLongBookResponse) Unmarshal ¶
func (m *QueryGetLongBookResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLongBookResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLongBookResponse) XXX_DiscardUnknown()
func (*QueryGetLongBookResponse) XXX_Marshal ¶
func (m *QueryGetLongBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLongBookResponse) XXX_Merge ¶
func (m *QueryGetLongBookResponse) XXX_Merge(src proto.Message)
func (*QueryGetLongBookResponse) XXX_Size ¶
func (m *QueryGetLongBookResponse) XXX_Size() int
func (*QueryGetLongBookResponse) XXX_Unmarshal ¶
func (m *QueryGetLongBookResponse) XXX_Unmarshal(b []byte) error
type QueryGetMarketSummaryRequest ¶
type QueryGetMarketSummaryRequest struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` PriceDenom string `protobuf:"bytes,2,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,3,opt,name=assetDenom,proto3" json:"asset_denom"` LookbackInSeconds uint64 `protobuf:"varint,4,opt,name=lookbackInSeconds,proto3" json:"lookback_in_seconds"` }
func (*QueryGetMarketSummaryRequest) Descriptor ¶
func (*QueryGetMarketSummaryRequest) Descriptor() ([]byte, []int)
func (*QueryGetMarketSummaryRequest) GetAssetDenom ¶
func (m *QueryGetMarketSummaryRequest) GetAssetDenom() string
func (*QueryGetMarketSummaryRequest) GetContractAddr ¶
func (m *QueryGetMarketSummaryRequest) GetContractAddr() string
func (*QueryGetMarketSummaryRequest) GetLookbackInSeconds ¶
func (m *QueryGetMarketSummaryRequest) GetLookbackInSeconds() uint64
func (*QueryGetMarketSummaryRequest) GetPriceDenom ¶
func (m *QueryGetMarketSummaryRequest) GetPriceDenom() string
func (*QueryGetMarketSummaryRequest) Marshal ¶
func (m *QueryGetMarketSummaryRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMarketSummaryRequest) MarshalTo ¶
func (m *QueryGetMarketSummaryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMarketSummaryRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMarketSummaryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMarketSummaryRequest) ProtoMessage ¶
func (*QueryGetMarketSummaryRequest) ProtoMessage()
func (*QueryGetMarketSummaryRequest) Reset ¶
func (m *QueryGetMarketSummaryRequest) Reset()
func (*QueryGetMarketSummaryRequest) Size ¶
func (m *QueryGetMarketSummaryRequest) Size() (n int)
func (*QueryGetMarketSummaryRequest) String ¶
func (m *QueryGetMarketSummaryRequest) String() string
func (*QueryGetMarketSummaryRequest) Unmarshal ¶
func (m *QueryGetMarketSummaryRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMarketSummaryRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMarketSummaryRequest) XXX_DiscardUnknown()
func (*QueryGetMarketSummaryRequest) XXX_Marshal ¶
func (m *QueryGetMarketSummaryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMarketSummaryRequest) XXX_Merge ¶
func (m *QueryGetMarketSummaryRequest) XXX_Merge(src proto.Message)
func (*QueryGetMarketSummaryRequest) XXX_Size ¶
func (m *QueryGetMarketSummaryRequest) XXX_Size() int
func (*QueryGetMarketSummaryRequest) XXX_Unmarshal ¶
func (m *QueryGetMarketSummaryRequest) XXX_Unmarshal(b []byte) error
type QueryGetMarketSummaryResponse ¶
type QueryGetMarketSummaryResponse struct { TotalVolume *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=totalVolume,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"total_volume"` TotalVolumeNotional *github_com_cosmos_cosmos_sdk_types.Dec `` /* 133-byte string literal not displayed */ HighPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=highPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"high_price"` LowPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=lowPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"low_price"` LastPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=lastPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"last_price"` }
func (*QueryGetMarketSummaryResponse) Descriptor ¶
func (*QueryGetMarketSummaryResponse) Descriptor() ([]byte, []int)
func (*QueryGetMarketSummaryResponse) Marshal ¶
func (m *QueryGetMarketSummaryResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMarketSummaryResponse) MarshalTo ¶
func (m *QueryGetMarketSummaryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMarketSummaryResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMarketSummaryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMarketSummaryResponse) ProtoMessage ¶
func (*QueryGetMarketSummaryResponse) ProtoMessage()
func (*QueryGetMarketSummaryResponse) Reset ¶
func (m *QueryGetMarketSummaryResponse) Reset()
func (*QueryGetMarketSummaryResponse) Size ¶
func (m *QueryGetMarketSummaryResponse) Size() (n int)
func (*QueryGetMarketSummaryResponse) String ¶
func (m *QueryGetMarketSummaryResponse) String() string
func (*QueryGetMarketSummaryResponse) Unmarshal ¶
func (m *QueryGetMarketSummaryResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMarketSummaryResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMarketSummaryResponse) XXX_DiscardUnknown()
func (*QueryGetMarketSummaryResponse) XXX_Marshal ¶
func (m *QueryGetMarketSummaryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMarketSummaryResponse) XXX_Merge ¶
func (m *QueryGetMarketSummaryResponse) XXX_Merge(src proto.Message)
func (*QueryGetMarketSummaryResponse) XXX_Size ¶
func (m *QueryGetMarketSummaryResponse) XXX_Size() int
func (*QueryGetMarketSummaryResponse) XXX_Unmarshal ¶
func (m *QueryGetMarketSummaryResponse) XXX_Unmarshal(b []byte) error
type QueryGetMatchResultRequest ¶
type QueryGetMatchResultRequest struct {
ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"`
}
func (*QueryGetMatchResultRequest) Descriptor ¶
func (*QueryGetMatchResultRequest) Descriptor() ([]byte, []int)
func (*QueryGetMatchResultRequest) GetContractAddr ¶
func (m *QueryGetMatchResultRequest) GetContractAddr() string
func (*QueryGetMatchResultRequest) Marshal ¶
func (m *QueryGetMatchResultRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetMatchResultRequest) MarshalTo ¶
func (m *QueryGetMatchResultRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMatchResultRequest) MarshalToSizedBuffer ¶
func (m *QueryGetMatchResultRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMatchResultRequest) ProtoMessage ¶
func (*QueryGetMatchResultRequest) ProtoMessage()
func (*QueryGetMatchResultRequest) Reset ¶
func (m *QueryGetMatchResultRequest) Reset()
func (*QueryGetMatchResultRequest) Size ¶
func (m *QueryGetMatchResultRequest) Size() (n int)
func (*QueryGetMatchResultRequest) String ¶
func (m *QueryGetMatchResultRequest) String() string
func (*QueryGetMatchResultRequest) Unmarshal ¶
func (m *QueryGetMatchResultRequest) Unmarshal(dAtA []byte) error
func (*QueryGetMatchResultRequest) XXX_DiscardUnknown ¶
func (m *QueryGetMatchResultRequest) XXX_DiscardUnknown()
func (*QueryGetMatchResultRequest) XXX_Marshal ¶
func (m *QueryGetMatchResultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMatchResultRequest) XXX_Merge ¶
func (m *QueryGetMatchResultRequest) XXX_Merge(src proto.Message)
func (*QueryGetMatchResultRequest) XXX_Size ¶
func (m *QueryGetMatchResultRequest) XXX_Size() int
func (*QueryGetMatchResultRequest) XXX_Unmarshal ¶
func (m *QueryGetMatchResultRequest) XXX_Unmarshal(b []byte) error
type QueryGetMatchResultResponse ¶
type QueryGetMatchResultResponse struct {
Result *MatchResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result"`
}
func (*QueryGetMatchResultResponse) Descriptor ¶
func (*QueryGetMatchResultResponse) Descriptor() ([]byte, []int)
func (*QueryGetMatchResultResponse) GetResult ¶
func (m *QueryGetMatchResultResponse) GetResult() *MatchResult
func (*QueryGetMatchResultResponse) Marshal ¶
func (m *QueryGetMatchResultResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetMatchResultResponse) MarshalTo ¶
func (m *QueryGetMatchResultResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetMatchResultResponse) MarshalToSizedBuffer ¶
func (m *QueryGetMatchResultResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetMatchResultResponse) ProtoMessage ¶
func (*QueryGetMatchResultResponse) ProtoMessage()
func (*QueryGetMatchResultResponse) Reset ¶
func (m *QueryGetMatchResultResponse) Reset()
func (*QueryGetMatchResultResponse) Size ¶
func (m *QueryGetMatchResultResponse) Size() (n int)
func (*QueryGetMatchResultResponse) String ¶
func (m *QueryGetMatchResultResponse) String() string
func (*QueryGetMatchResultResponse) Unmarshal ¶
func (m *QueryGetMatchResultResponse) Unmarshal(dAtA []byte) error
func (*QueryGetMatchResultResponse) XXX_DiscardUnknown ¶
func (m *QueryGetMatchResultResponse) XXX_DiscardUnknown()
func (*QueryGetMatchResultResponse) XXX_Marshal ¶
func (m *QueryGetMatchResultResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetMatchResultResponse) XXX_Merge ¶
func (m *QueryGetMatchResultResponse) XXX_Merge(src proto.Message)
func (*QueryGetMatchResultResponse) XXX_Size ¶
func (m *QueryGetMatchResultResponse) XXX_Size() int
func (*QueryGetMatchResultResponse) XXX_Unmarshal ¶
func (m *QueryGetMatchResultResponse) XXX_Unmarshal(b []byte) error
type QueryGetOrderByIDRequest ¶
type QueryGetOrderByIDRequest struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` PriceDenom string `protobuf:"bytes,2,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,3,opt,name=assetDenom,proto3" json:"asset_denom"` Id uint64 `protobuf:"varint,4,opt,name=id,proto3" json:"id"` }
func (*QueryGetOrderByIDRequest) Descriptor ¶
func (*QueryGetOrderByIDRequest) Descriptor() ([]byte, []int)
func (*QueryGetOrderByIDRequest) GetAssetDenom ¶
func (m *QueryGetOrderByIDRequest) GetAssetDenom() string
func (*QueryGetOrderByIDRequest) GetContractAddr ¶
func (m *QueryGetOrderByIDRequest) GetContractAddr() string
func (*QueryGetOrderByIDRequest) GetId ¶
func (m *QueryGetOrderByIDRequest) GetId() uint64
func (*QueryGetOrderByIDRequest) GetPriceDenom ¶
func (m *QueryGetOrderByIDRequest) GetPriceDenom() string
func (*QueryGetOrderByIDRequest) Marshal ¶
func (m *QueryGetOrderByIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetOrderByIDRequest) MarshalTo ¶
func (m *QueryGetOrderByIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetOrderByIDRequest) MarshalToSizedBuffer ¶
func (m *QueryGetOrderByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetOrderByIDRequest) ProtoMessage ¶
func (*QueryGetOrderByIDRequest) ProtoMessage()
func (*QueryGetOrderByIDRequest) Reset ¶
func (m *QueryGetOrderByIDRequest) Reset()
func (*QueryGetOrderByIDRequest) Size ¶
func (m *QueryGetOrderByIDRequest) Size() (n int)
func (*QueryGetOrderByIDRequest) String ¶
func (m *QueryGetOrderByIDRequest) String() string
func (*QueryGetOrderByIDRequest) Unmarshal ¶
func (m *QueryGetOrderByIDRequest) Unmarshal(dAtA []byte) error
func (*QueryGetOrderByIDRequest) XXX_DiscardUnknown ¶
func (m *QueryGetOrderByIDRequest) XXX_DiscardUnknown()
func (*QueryGetOrderByIDRequest) XXX_Marshal ¶
func (m *QueryGetOrderByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetOrderByIDRequest) XXX_Merge ¶
func (m *QueryGetOrderByIDRequest) XXX_Merge(src proto.Message)
func (*QueryGetOrderByIDRequest) XXX_Size ¶
func (m *QueryGetOrderByIDRequest) XXX_Size() int
func (*QueryGetOrderByIDRequest) XXX_Unmarshal ¶
func (m *QueryGetOrderByIDRequest) XXX_Unmarshal(b []byte) error
type QueryGetOrderByIDResponse ¶
type QueryGetOrderByIDResponse struct {
Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order"`
}
func (*QueryGetOrderByIDResponse) Descriptor ¶
func (*QueryGetOrderByIDResponse) Descriptor() ([]byte, []int)
func (*QueryGetOrderByIDResponse) GetOrder ¶
func (m *QueryGetOrderByIDResponse) GetOrder() *Order
func (*QueryGetOrderByIDResponse) Marshal ¶
func (m *QueryGetOrderByIDResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetOrderByIDResponse) MarshalTo ¶
func (m *QueryGetOrderByIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetOrderByIDResponse) MarshalToSizedBuffer ¶
func (m *QueryGetOrderByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetOrderByIDResponse) ProtoMessage ¶
func (*QueryGetOrderByIDResponse) ProtoMessage()
func (*QueryGetOrderByIDResponse) Reset ¶
func (m *QueryGetOrderByIDResponse) Reset()
func (*QueryGetOrderByIDResponse) Size ¶
func (m *QueryGetOrderByIDResponse) Size() (n int)
func (*QueryGetOrderByIDResponse) String ¶
func (m *QueryGetOrderByIDResponse) String() string
func (*QueryGetOrderByIDResponse) Unmarshal ¶
func (m *QueryGetOrderByIDResponse) Unmarshal(dAtA []byte) error
func (*QueryGetOrderByIDResponse) XXX_DiscardUnknown ¶
func (m *QueryGetOrderByIDResponse) XXX_DiscardUnknown()
func (*QueryGetOrderByIDResponse) XXX_Marshal ¶
func (m *QueryGetOrderByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetOrderByIDResponse) XXX_Merge ¶
func (m *QueryGetOrderByIDResponse) XXX_Merge(src proto.Message)
func (*QueryGetOrderByIDResponse) XXX_Size ¶
func (m *QueryGetOrderByIDResponse) XXX_Size() int
func (*QueryGetOrderByIDResponse) XXX_Unmarshal ¶
func (m *QueryGetOrderByIDResponse) XXX_Unmarshal(b []byte) error
type QueryGetOrderCountRequest ¶
type QueryGetOrderCountRequest struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` PriceDenom string `protobuf:"bytes,2,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,3,opt,name=assetDenom,proto3" json:"asset_denom"` Price *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"` PositionDirection PositionDirection `` /* 127-byte string literal not displayed */ }
func (*QueryGetOrderCountRequest) Descriptor ¶
func (*QueryGetOrderCountRequest) Descriptor() ([]byte, []int)
func (*QueryGetOrderCountRequest) GetAssetDenom ¶
func (m *QueryGetOrderCountRequest) GetAssetDenom() string
func (*QueryGetOrderCountRequest) GetContractAddr ¶
func (m *QueryGetOrderCountRequest) GetContractAddr() string
func (*QueryGetOrderCountRequest) GetPositionDirection ¶
func (m *QueryGetOrderCountRequest) GetPositionDirection() PositionDirection
func (*QueryGetOrderCountRequest) GetPriceDenom ¶
func (m *QueryGetOrderCountRequest) GetPriceDenom() string
func (*QueryGetOrderCountRequest) Marshal ¶
func (m *QueryGetOrderCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetOrderCountRequest) MarshalTo ¶
func (m *QueryGetOrderCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetOrderCountRequest) MarshalToSizedBuffer ¶
func (m *QueryGetOrderCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetOrderCountRequest) ProtoMessage ¶
func (*QueryGetOrderCountRequest) ProtoMessage()
func (*QueryGetOrderCountRequest) Reset ¶
func (m *QueryGetOrderCountRequest) Reset()
func (*QueryGetOrderCountRequest) Size ¶
func (m *QueryGetOrderCountRequest) Size() (n int)
func (*QueryGetOrderCountRequest) String ¶
func (m *QueryGetOrderCountRequest) String() string
func (*QueryGetOrderCountRequest) Unmarshal ¶
func (m *QueryGetOrderCountRequest) Unmarshal(dAtA []byte) error
func (*QueryGetOrderCountRequest) XXX_DiscardUnknown ¶
func (m *QueryGetOrderCountRequest) XXX_DiscardUnknown()
func (*QueryGetOrderCountRequest) XXX_Marshal ¶
func (m *QueryGetOrderCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetOrderCountRequest) XXX_Merge ¶
func (m *QueryGetOrderCountRequest) XXX_Merge(src proto.Message)
func (*QueryGetOrderCountRequest) XXX_Size ¶
func (m *QueryGetOrderCountRequest) XXX_Size() int
func (*QueryGetOrderCountRequest) XXX_Unmarshal ¶
func (m *QueryGetOrderCountRequest) XXX_Unmarshal(b []byte) error
type QueryGetOrderCountResponse ¶
type QueryGetOrderCountResponse struct {
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count"`
}
func (*QueryGetOrderCountResponse) Descriptor ¶
func (*QueryGetOrderCountResponse) Descriptor() ([]byte, []int)
func (*QueryGetOrderCountResponse) GetCount ¶
func (m *QueryGetOrderCountResponse) GetCount() uint64
func (*QueryGetOrderCountResponse) Marshal ¶
func (m *QueryGetOrderCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetOrderCountResponse) MarshalTo ¶
func (m *QueryGetOrderCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetOrderCountResponse) MarshalToSizedBuffer ¶
func (m *QueryGetOrderCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetOrderCountResponse) ProtoMessage ¶
func (*QueryGetOrderCountResponse) ProtoMessage()
func (*QueryGetOrderCountResponse) Reset ¶
func (m *QueryGetOrderCountResponse) Reset()
func (*QueryGetOrderCountResponse) Size ¶
func (m *QueryGetOrderCountResponse) Size() (n int)
func (*QueryGetOrderCountResponse) String ¶
func (m *QueryGetOrderCountResponse) String() string
func (*QueryGetOrderCountResponse) Unmarshal ¶
func (m *QueryGetOrderCountResponse) Unmarshal(dAtA []byte) error
func (*QueryGetOrderCountResponse) XXX_DiscardUnknown ¶
func (m *QueryGetOrderCountResponse) XXX_DiscardUnknown()
func (*QueryGetOrderCountResponse) XXX_Marshal ¶
func (m *QueryGetOrderCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetOrderCountResponse) XXX_Merge ¶
func (m *QueryGetOrderCountResponse) XXX_Merge(src proto.Message)
func (*QueryGetOrderCountResponse) XXX_Size ¶
func (m *QueryGetOrderCountResponse) XXX_Size() int
func (*QueryGetOrderCountResponse) XXX_Unmarshal ¶
func (m *QueryGetOrderCountResponse) XXX_Unmarshal(b []byte) error
type QueryGetOrdersRequest ¶
type QueryGetOrdersRequest struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account"` }
func (*QueryGetOrdersRequest) Descriptor ¶
func (*QueryGetOrdersRequest) Descriptor() ([]byte, []int)
func (*QueryGetOrdersRequest) GetAccount ¶
func (m *QueryGetOrdersRequest) GetAccount() string
func (*QueryGetOrdersRequest) GetContractAddr ¶
func (m *QueryGetOrdersRequest) GetContractAddr() string
func (*QueryGetOrdersRequest) Marshal ¶
func (m *QueryGetOrdersRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetOrdersRequest) MarshalTo ¶
func (m *QueryGetOrdersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetOrdersRequest) MarshalToSizedBuffer ¶
func (m *QueryGetOrdersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetOrdersRequest) ProtoMessage ¶
func (*QueryGetOrdersRequest) ProtoMessage()
func (*QueryGetOrdersRequest) Reset ¶
func (m *QueryGetOrdersRequest) Reset()
func (*QueryGetOrdersRequest) Size ¶
func (m *QueryGetOrdersRequest) Size() (n int)
func (*QueryGetOrdersRequest) String ¶
func (m *QueryGetOrdersRequest) String() string
func (*QueryGetOrdersRequest) Unmarshal ¶
func (m *QueryGetOrdersRequest) Unmarshal(dAtA []byte) error
func (*QueryGetOrdersRequest) XXX_DiscardUnknown ¶
func (m *QueryGetOrdersRequest) XXX_DiscardUnknown()
func (*QueryGetOrdersRequest) XXX_Marshal ¶
func (m *QueryGetOrdersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetOrdersRequest) XXX_Merge ¶
func (m *QueryGetOrdersRequest) XXX_Merge(src proto.Message)
func (*QueryGetOrdersRequest) XXX_Size ¶
func (m *QueryGetOrdersRequest) XXX_Size() int
func (*QueryGetOrdersRequest) XXX_Unmarshal ¶
func (m *QueryGetOrdersRequest) XXX_Unmarshal(b []byte) error
type QueryGetOrdersResponse ¶
type QueryGetOrdersResponse struct {
Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders"`
}
func (*QueryGetOrdersResponse) Descriptor ¶
func (*QueryGetOrdersResponse) Descriptor() ([]byte, []int)
func (*QueryGetOrdersResponse) GetOrders ¶
func (m *QueryGetOrdersResponse) GetOrders() []*Order
func (*QueryGetOrdersResponse) Marshal ¶
func (m *QueryGetOrdersResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetOrdersResponse) MarshalTo ¶
func (m *QueryGetOrdersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetOrdersResponse) MarshalToSizedBuffer ¶
func (m *QueryGetOrdersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetOrdersResponse) ProtoMessage ¶
func (*QueryGetOrdersResponse) ProtoMessage()
func (*QueryGetOrdersResponse) Reset ¶
func (m *QueryGetOrdersResponse) Reset()
func (*QueryGetOrdersResponse) Size ¶
func (m *QueryGetOrdersResponse) Size() (n int)
func (*QueryGetOrdersResponse) String ¶
func (m *QueryGetOrdersResponse) String() string
func (*QueryGetOrdersResponse) Unmarshal ¶
func (m *QueryGetOrdersResponse) Unmarshal(dAtA []byte) error
func (*QueryGetOrdersResponse) XXX_DiscardUnknown ¶
func (m *QueryGetOrdersResponse) XXX_DiscardUnknown()
func (*QueryGetOrdersResponse) XXX_Marshal ¶
func (m *QueryGetOrdersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetOrdersResponse) XXX_Merge ¶
func (m *QueryGetOrdersResponse) XXX_Merge(src proto.Message)
func (*QueryGetOrdersResponse) XXX_Size ¶
func (m *QueryGetOrdersResponse) XXX_Size() int
func (*QueryGetOrdersResponse) XXX_Unmarshal ¶
func (m *QueryGetOrdersResponse) XXX_Unmarshal(b []byte) error
type QueryGetPriceRequest ¶
type QueryGetPriceRequest struct { PriceDenom string `protobuf:"bytes,1,opt,name=priceDenom,proto3" json:"priceDenom,omitempty"` AssetDenom string `protobuf:"bytes,2,opt,name=assetDenom,proto3" json:"assetDenom,omitempty"` ContractAddr string `protobuf:"bytes,3,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` }
func (*QueryGetPriceRequest) Descriptor ¶
func (*QueryGetPriceRequest) Descriptor() ([]byte, []int)
func (*QueryGetPriceRequest) GetAssetDenom ¶
func (m *QueryGetPriceRequest) GetAssetDenom() string
func (*QueryGetPriceRequest) GetContractAddr ¶
func (m *QueryGetPriceRequest) GetContractAddr() string
func (*QueryGetPriceRequest) GetPriceDenom ¶
func (m *QueryGetPriceRequest) GetPriceDenom() string
func (*QueryGetPriceRequest) GetTimestamp ¶
func (m *QueryGetPriceRequest) GetTimestamp() uint64
func (*QueryGetPriceRequest) Marshal ¶
func (m *QueryGetPriceRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceRequest) MarshalTo ¶
func (m *QueryGetPriceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPriceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceRequest) ProtoMessage ¶
func (*QueryGetPriceRequest) ProtoMessage()
func (*QueryGetPriceRequest) Reset ¶
func (m *QueryGetPriceRequest) Reset()
func (*QueryGetPriceRequest) Size ¶
func (m *QueryGetPriceRequest) Size() (n int)
func (*QueryGetPriceRequest) String ¶
func (m *QueryGetPriceRequest) String() string
func (*QueryGetPriceRequest) Unmarshal ¶
func (m *QueryGetPriceRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPriceRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPriceRequest) XXX_DiscardUnknown()
func (*QueryGetPriceRequest) XXX_Marshal ¶
func (m *QueryGetPriceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceRequest) XXX_Merge ¶
func (m *QueryGetPriceRequest) XXX_Merge(src proto.Message)
func (*QueryGetPriceRequest) XXX_Size ¶
func (m *QueryGetPriceRequest) XXX_Size() int
func (*QueryGetPriceRequest) XXX_Unmarshal ¶
func (m *QueryGetPriceRequest) XXX_Unmarshal(b []byte) error
type QueryGetPriceResponse ¶
type QueryGetPriceResponse struct { Price *Price `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"` }
func (*QueryGetPriceResponse) Descriptor ¶
func (*QueryGetPriceResponse) Descriptor() ([]byte, []int)
func (*QueryGetPriceResponse) GetFound ¶
func (m *QueryGetPriceResponse) GetFound() bool
func (*QueryGetPriceResponse) GetPrice ¶
func (m *QueryGetPriceResponse) GetPrice() *Price
func (*QueryGetPriceResponse) Marshal ¶
func (m *QueryGetPriceResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPriceResponse) MarshalTo ¶
func (m *QueryGetPriceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPriceResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPriceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPriceResponse) ProtoMessage ¶
func (*QueryGetPriceResponse) ProtoMessage()
func (*QueryGetPriceResponse) Reset ¶
func (m *QueryGetPriceResponse) Reset()
func (*QueryGetPriceResponse) Size ¶
func (m *QueryGetPriceResponse) Size() (n int)
func (*QueryGetPriceResponse) String ¶
func (m *QueryGetPriceResponse) String() string
func (*QueryGetPriceResponse) Unmarshal ¶
func (m *QueryGetPriceResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPriceResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPriceResponse) XXX_DiscardUnknown()
func (*QueryGetPriceResponse) XXX_Marshal ¶
func (m *QueryGetPriceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPriceResponse) XXX_Merge ¶
func (m *QueryGetPriceResponse) XXX_Merge(src proto.Message)
func (*QueryGetPriceResponse) XXX_Size ¶
func (m *QueryGetPriceResponse) XXX_Size() int
func (*QueryGetPriceResponse) XXX_Unmarshal ¶
func (m *QueryGetPriceResponse) XXX_Unmarshal(b []byte) error
type QueryGetPricesRequest ¶
type QueryGetPricesRequest struct { PriceDenom string `protobuf:"bytes,1,opt,name=priceDenom,proto3" json:"priceDenom,omitempty"` AssetDenom string `protobuf:"bytes,2,opt,name=assetDenom,proto3" json:"assetDenom,omitempty"` ContractAddr string `protobuf:"bytes,3,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` }
func (*QueryGetPricesRequest) Descriptor ¶
func (*QueryGetPricesRequest) Descriptor() ([]byte, []int)
func (*QueryGetPricesRequest) GetAssetDenom ¶
func (m *QueryGetPricesRequest) GetAssetDenom() string
func (*QueryGetPricesRequest) GetContractAddr ¶
func (m *QueryGetPricesRequest) GetContractAddr() string
func (*QueryGetPricesRequest) GetPriceDenom ¶
func (m *QueryGetPricesRequest) GetPriceDenom() string
func (*QueryGetPricesRequest) Marshal ¶
func (m *QueryGetPricesRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPricesRequest) MarshalTo ¶
func (m *QueryGetPricesRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPricesRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPricesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPricesRequest) ProtoMessage ¶
func (*QueryGetPricesRequest) ProtoMessage()
func (*QueryGetPricesRequest) Reset ¶
func (m *QueryGetPricesRequest) Reset()
func (*QueryGetPricesRequest) Size ¶
func (m *QueryGetPricesRequest) Size() (n int)
func (*QueryGetPricesRequest) String ¶
func (m *QueryGetPricesRequest) String() string
func (*QueryGetPricesRequest) Unmarshal ¶
func (m *QueryGetPricesRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPricesRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPricesRequest) XXX_DiscardUnknown()
func (*QueryGetPricesRequest) XXX_Marshal ¶
func (m *QueryGetPricesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPricesRequest) XXX_Merge ¶
func (m *QueryGetPricesRequest) XXX_Merge(src proto.Message)
func (*QueryGetPricesRequest) XXX_Size ¶
func (m *QueryGetPricesRequest) XXX_Size() int
func (*QueryGetPricesRequest) XXX_Unmarshal ¶
func (m *QueryGetPricesRequest) XXX_Unmarshal(b []byte) error
type QueryGetPricesResponse ¶
type QueryGetPricesResponse struct {
Prices []*Price `protobuf:"bytes,1,rep,name=prices,proto3" json:"prices,omitempty"`
}
func (*QueryGetPricesResponse) Descriptor ¶
func (*QueryGetPricesResponse) Descriptor() ([]byte, []int)
func (*QueryGetPricesResponse) GetPrices ¶
func (m *QueryGetPricesResponse) GetPrices() []*Price
func (*QueryGetPricesResponse) Marshal ¶
func (m *QueryGetPricesResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPricesResponse) MarshalTo ¶
func (m *QueryGetPricesResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPricesResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPricesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPricesResponse) ProtoMessage ¶
func (*QueryGetPricesResponse) ProtoMessage()
func (*QueryGetPricesResponse) Reset ¶
func (m *QueryGetPricesResponse) Reset()
func (*QueryGetPricesResponse) Size ¶
func (m *QueryGetPricesResponse) Size() (n int)
func (*QueryGetPricesResponse) String ¶
func (m *QueryGetPricesResponse) String() string
func (*QueryGetPricesResponse) Unmarshal ¶
func (m *QueryGetPricesResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPricesResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPricesResponse) XXX_DiscardUnknown()
func (*QueryGetPricesResponse) XXX_Marshal ¶
func (m *QueryGetPricesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPricesResponse) XXX_Merge ¶
func (m *QueryGetPricesResponse) XXX_Merge(src proto.Message)
func (*QueryGetPricesResponse) XXX_Size ¶
func (m *QueryGetPricesResponse) XXX_Size() int
func (*QueryGetPricesResponse) XXX_Unmarshal ¶
func (m *QueryGetPricesResponse) XXX_Unmarshal(b []byte) error
type QueryGetShortBookRequest ¶
type QueryGetShortBookRequest struct { Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contractAddr,omitempty"` PriceDenom string `protobuf:"bytes,3,opt,name=priceDenom,proto3" json:"priceDenom,omitempty"` AssetDenom string `protobuf:"bytes,4,opt,name=assetDenom,proto3" json:"assetDenom,omitempty"` }
func (*QueryGetShortBookRequest) Descriptor ¶
func (*QueryGetShortBookRequest) Descriptor() ([]byte, []int)
func (*QueryGetShortBookRequest) GetAssetDenom ¶
func (m *QueryGetShortBookRequest) GetAssetDenom() string
func (*QueryGetShortBookRequest) GetContractAddr ¶
func (m *QueryGetShortBookRequest) GetContractAddr() string
func (*QueryGetShortBookRequest) GetPrice ¶
func (m *QueryGetShortBookRequest) GetPrice() string
func (*QueryGetShortBookRequest) GetPriceDenom ¶
func (m *QueryGetShortBookRequest) GetPriceDenom() string
func (*QueryGetShortBookRequest) Marshal ¶
func (m *QueryGetShortBookRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetShortBookRequest) MarshalTo ¶
func (m *QueryGetShortBookRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetShortBookRequest) MarshalToSizedBuffer ¶
func (m *QueryGetShortBookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetShortBookRequest) ProtoMessage ¶
func (*QueryGetShortBookRequest) ProtoMessage()
func (*QueryGetShortBookRequest) Reset ¶
func (m *QueryGetShortBookRequest) Reset()
func (*QueryGetShortBookRequest) Size ¶
func (m *QueryGetShortBookRequest) Size() (n int)
func (*QueryGetShortBookRequest) String ¶
func (m *QueryGetShortBookRequest) String() string
func (*QueryGetShortBookRequest) Unmarshal ¶
func (m *QueryGetShortBookRequest) Unmarshal(dAtA []byte) error
func (*QueryGetShortBookRequest) XXX_DiscardUnknown ¶
func (m *QueryGetShortBookRequest) XXX_DiscardUnknown()
func (*QueryGetShortBookRequest) XXX_Marshal ¶
func (m *QueryGetShortBookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetShortBookRequest) XXX_Merge ¶
func (m *QueryGetShortBookRequest) XXX_Merge(src proto.Message)
func (*QueryGetShortBookRequest) XXX_Size ¶
func (m *QueryGetShortBookRequest) XXX_Size() int
func (*QueryGetShortBookRequest) XXX_Unmarshal ¶
func (m *QueryGetShortBookRequest) XXX_Unmarshal(b []byte) error
type QueryGetShortBookResponse ¶
type QueryGetShortBookResponse struct {
ShortBook ShortBook `protobuf:"bytes,1,opt,name=ShortBook,proto3" json:"ShortBook"`
}
func (*QueryGetShortBookResponse) Descriptor ¶
func (*QueryGetShortBookResponse) Descriptor() ([]byte, []int)
func (*QueryGetShortBookResponse) GetShortBook ¶
func (m *QueryGetShortBookResponse) GetShortBook() ShortBook
func (*QueryGetShortBookResponse) Marshal ¶
func (m *QueryGetShortBookResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetShortBookResponse) MarshalTo ¶
func (m *QueryGetShortBookResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetShortBookResponse) MarshalToSizedBuffer ¶
func (m *QueryGetShortBookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetShortBookResponse) ProtoMessage ¶
func (*QueryGetShortBookResponse) ProtoMessage()
func (*QueryGetShortBookResponse) Reset ¶
func (m *QueryGetShortBookResponse) Reset()
func (*QueryGetShortBookResponse) Size ¶
func (m *QueryGetShortBookResponse) Size() (n int)
func (*QueryGetShortBookResponse) String ¶
func (m *QueryGetShortBookResponse) String() string
func (*QueryGetShortBookResponse) Unmarshal ¶
func (m *QueryGetShortBookResponse) Unmarshal(dAtA []byte) error
func (*QueryGetShortBookResponse) XXX_DiscardUnknown ¶
func (m *QueryGetShortBookResponse) XXX_DiscardUnknown()
func (*QueryGetShortBookResponse) XXX_Marshal ¶
func (m *QueryGetShortBookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetShortBookResponse) XXX_Merge ¶
func (m *QueryGetShortBookResponse) XXX_Merge(src proto.Message)
func (*QueryGetShortBookResponse) XXX_Size ¶
func (m *QueryGetShortBookResponse) XXX_Size() int
func (*QueryGetShortBookResponse) XXX_Unmarshal ¶
func (m *QueryGetShortBookResponse) XXX_Unmarshal(b []byte) error
type QueryGetTwapsRequest ¶
type QueryGetTwapsRequest struct { ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"` LookbackSeconds uint64 `protobuf:"varint,2,opt,name=lookbackSeconds,proto3" json:"lookback_seconds"` }
func (*QueryGetTwapsRequest) Descriptor ¶
func (*QueryGetTwapsRequest) Descriptor() ([]byte, []int)
func (*QueryGetTwapsRequest) GetContractAddr ¶
func (m *QueryGetTwapsRequest) GetContractAddr() string
func (*QueryGetTwapsRequest) GetLookbackSeconds ¶
func (m *QueryGetTwapsRequest) GetLookbackSeconds() uint64
func (*QueryGetTwapsRequest) Marshal ¶
func (m *QueryGetTwapsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetTwapsRequest) MarshalTo ¶
func (m *QueryGetTwapsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetTwapsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetTwapsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetTwapsRequest) ProtoMessage ¶
func (*QueryGetTwapsRequest) ProtoMessage()
func (*QueryGetTwapsRequest) Reset ¶
func (m *QueryGetTwapsRequest) Reset()
func (*QueryGetTwapsRequest) Size ¶
func (m *QueryGetTwapsRequest) Size() (n int)
func (*QueryGetTwapsRequest) String ¶
func (m *QueryGetTwapsRequest) String() string
func (*QueryGetTwapsRequest) Unmarshal ¶
func (m *QueryGetTwapsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetTwapsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetTwapsRequest) XXX_DiscardUnknown()
func (*QueryGetTwapsRequest) XXX_Marshal ¶
func (m *QueryGetTwapsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetTwapsRequest) XXX_Merge ¶
func (m *QueryGetTwapsRequest) XXX_Merge(src proto.Message)
func (*QueryGetTwapsRequest) XXX_Size ¶
func (m *QueryGetTwapsRequest) XXX_Size() int
func (*QueryGetTwapsRequest) XXX_Unmarshal ¶
func (m *QueryGetTwapsRequest) XXX_Unmarshal(b []byte) error
type QueryGetTwapsResponse ¶
type QueryGetTwapsResponse struct {
Twaps []*Twap `protobuf:"bytes,1,rep,name=twaps,proto3" json:"twaps"`
}
func (*QueryGetTwapsResponse) Descriptor ¶
func (*QueryGetTwapsResponse) Descriptor() ([]byte, []int)
func (*QueryGetTwapsResponse) GetTwaps ¶
func (m *QueryGetTwapsResponse) GetTwaps() []*Twap
func (*QueryGetTwapsResponse) Marshal ¶
func (m *QueryGetTwapsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetTwapsResponse) MarshalTo ¶
func (m *QueryGetTwapsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetTwapsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetTwapsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetTwapsResponse) ProtoMessage ¶
func (*QueryGetTwapsResponse) ProtoMessage()
func (*QueryGetTwapsResponse) Reset ¶
func (m *QueryGetTwapsResponse) Reset()
func (*QueryGetTwapsResponse) Size ¶
func (m *QueryGetTwapsResponse) Size() (n int)
func (*QueryGetTwapsResponse) String ¶
func (m *QueryGetTwapsResponse) String() string
func (*QueryGetTwapsResponse) Unmarshal ¶
func (m *QueryGetTwapsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetTwapsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetTwapsResponse) XXX_DiscardUnknown()
func (*QueryGetTwapsResponse) XXX_Marshal ¶
func (m *QueryGetTwapsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetTwapsResponse) XXX_Merge ¶
func (m *QueryGetTwapsResponse) XXX_Merge(src proto.Message)
func (*QueryGetTwapsResponse) XXX_Size ¶
func (m *QueryGetTwapsResponse) XXX_Size() int
func (*QueryGetTwapsResponse) XXX_Unmarshal ¶
func (m *QueryGetTwapsResponse) XXX_Unmarshal(b []byte) error
type QueryOrderSimulationRequest ¶
type QueryOrderSimulationRequest struct { Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order"` ContractAddr string `protobuf:"bytes,2,opt,name=contractAddr,proto3" json:"contract_address"` }
func (*QueryOrderSimulationRequest) Descriptor ¶
func (*QueryOrderSimulationRequest) Descriptor() ([]byte, []int)
func (*QueryOrderSimulationRequest) GetContractAddr ¶
func (m *QueryOrderSimulationRequest) GetContractAddr() string
func (*QueryOrderSimulationRequest) GetOrder ¶
func (m *QueryOrderSimulationRequest) GetOrder() *Order
func (*QueryOrderSimulationRequest) Marshal ¶
func (m *QueryOrderSimulationRequest) Marshal() (dAtA []byte, err error)
func (*QueryOrderSimulationRequest) MarshalTo ¶
func (m *QueryOrderSimulationRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryOrderSimulationRequest) MarshalToSizedBuffer ¶
func (m *QueryOrderSimulationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOrderSimulationRequest) ProtoMessage ¶
func (*QueryOrderSimulationRequest) ProtoMessage()
func (*QueryOrderSimulationRequest) Reset ¶
func (m *QueryOrderSimulationRequest) Reset()
func (*QueryOrderSimulationRequest) Size ¶
func (m *QueryOrderSimulationRequest) Size() (n int)
func (*QueryOrderSimulationRequest) String ¶
func (m *QueryOrderSimulationRequest) String() string
func (*QueryOrderSimulationRequest) Unmarshal ¶
func (m *QueryOrderSimulationRequest) Unmarshal(dAtA []byte) error
func (*QueryOrderSimulationRequest) XXX_DiscardUnknown ¶
func (m *QueryOrderSimulationRequest) XXX_DiscardUnknown()
func (*QueryOrderSimulationRequest) XXX_Marshal ¶
func (m *QueryOrderSimulationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOrderSimulationRequest) XXX_Merge ¶
func (m *QueryOrderSimulationRequest) XXX_Merge(src proto.Message)
func (*QueryOrderSimulationRequest) XXX_Size ¶
func (m *QueryOrderSimulationRequest) XXX_Size() int
func (*QueryOrderSimulationRequest) XXX_Unmarshal ¶
func (m *QueryOrderSimulationRequest) XXX_Unmarshal(b []byte) error
type QueryOrderSimulationResponse ¶
type QueryOrderSimulationResponse struct {
ExecutedQuantity *github_com_cosmos_cosmos_sdk_types.Dec `` /* 126-byte string literal not displayed */
}
func (*QueryOrderSimulationResponse) Descriptor ¶
func (*QueryOrderSimulationResponse) Descriptor() ([]byte, []int)
func (*QueryOrderSimulationResponse) Marshal ¶
func (m *QueryOrderSimulationResponse) Marshal() (dAtA []byte, err error)
func (*QueryOrderSimulationResponse) MarshalTo ¶
func (m *QueryOrderSimulationResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryOrderSimulationResponse) MarshalToSizedBuffer ¶
func (m *QueryOrderSimulationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryOrderSimulationResponse) ProtoMessage ¶
func (*QueryOrderSimulationResponse) ProtoMessage()
func (*QueryOrderSimulationResponse) Reset ¶
func (m *QueryOrderSimulationResponse) Reset()
func (*QueryOrderSimulationResponse) Size ¶
func (m *QueryOrderSimulationResponse) Size() (n int)
func (*QueryOrderSimulationResponse) String ¶
func (m *QueryOrderSimulationResponse) String() string
func (*QueryOrderSimulationResponse) Unmarshal ¶
func (m *QueryOrderSimulationResponse) Unmarshal(dAtA []byte) error
func (*QueryOrderSimulationResponse) XXX_DiscardUnknown ¶
func (m *QueryOrderSimulationResponse) XXX_DiscardUnknown()
func (*QueryOrderSimulationResponse) XXX_Marshal ¶
func (m *QueryOrderSimulationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryOrderSimulationResponse) XXX_Merge ¶
func (m *QueryOrderSimulationResponse) XXX_Merge(src proto.Message)
func (*QueryOrderSimulationResponse) XXX_Size ¶
func (m *QueryOrderSimulationResponse) XXX_Size() int
func (*QueryOrderSimulationResponse) XXX_Unmarshal ¶
func (m *QueryOrderSimulationResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryRegisteredContractRequest ¶
type QueryRegisteredContractRequest struct {
ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"`
}
func (*QueryRegisteredContractRequest) Descriptor ¶
func (*QueryRegisteredContractRequest) Descriptor() ([]byte, []int)
func (*QueryRegisteredContractRequest) GetContractAddr ¶
func (m *QueryRegisteredContractRequest) GetContractAddr() string
func (*QueryRegisteredContractRequest) Marshal ¶
func (m *QueryRegisteredContractRequest) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredContractRequest) MarshalTo ¶
func (m *QueryRegisteredContractRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredContractRequest) MarshalToSizedBuffer ¶
func (m *QueryRegisteredContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredContractRequest) ProtoMessage ¶
func (*QueryRegisteredContractRequest) ProtoMessage()
func (*QueryRegisteredContractRequest) Reset ¶
func (m *QueryRegisteredContractRequest) Reset()
func (*QueryRegisteredContractRequest) Size ¶
func (m *QueryRegisteredContractRequest) Size() (n int)
func (*QueryRegisteredContractRequest) String ¶
func (m *QueryRegisteredContractRequest) String() string
func (*QueryRegisteredContractRequest) Unmarshal ¶
func (m *QueryRegisteredContractRequest) Unmarshal(dAtA []byte) error
func (*QueryRegisteredContractRequest) XXX_DiscardUnknown ¶
func (m *QueryRegisteredContractRequest) XXX_DiscardUnknown()
func (*QueryRegisteredContractRequest) XXX_Marshal ¶
func (m *QueryRegisteredContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredContractRequest) XXX_Merge ¶
func (m *QueryRegisteredContractRequest) XXX_Merge(src proto.Message)
func (*QueryRegisteredContractRequest) XXX_Size ¶
func (m *QueryRegisteredContractRequest) XXX_Size() int
func (*QueryRegisteredContractRequest) XXX_Unmarshal ¶
func (m *QueryRegisteredContractRequest) XXX_Unmarshal(b []byte) error
type QueryRegisteredContractResponse ¶
type QueryRegisteredContractResponse struct {
ContractInfo *ContractInfoV2 `protobuf:"bytes,1,opt,name=contract_info,json=contractInfo,proto3" json:"contract_info,omitempty"`
}
func (*QueryRegisteredContractResponse) Descriptor ¶
func (*QueryRegisteredContractResponse) Descriptor() ([]byte, []int)
func (*QueryRegisteredContractResponse) GetContractInfo ¶
func (m *QueryRegisteredContractResponse) GetContractInfo() *ContractInfoV2
func (*QueryRegisteredContractResponse) Marshal ¶
func (m *QueryRegisteredContractResponse) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredContractResponse) MarshalTo ¶
func (m *QueryRegisteredContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredContractResponse) MarshalToSizedBuffer ¶
func (m *QueryRegisteredContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredContractResponse) ProtoMessage ¶
func (*QueryRegisteredContractResponse) ProtoMessage()
func (*QueryRegisteredContractResponse) Reset ¶
func (m *QueryRegisteredContractResponse) Reset()
func (*QueryRegisteredContractResponse) Size ¶
func (m *QueryRegisteredContractResponse) Size() (n int)
func (*QueryRegisteredContractResponse) String ¶
func (m *QueryRegisteredContractResponse) String() string
func (*QueryRegisteredContractResponse) Unmarshal ¶
func (m *QueryRegisteredContractResponse) Unmarshal(dAtA []byte) error
func (*QueryRegisteredContractResponse) XXX_DiscardUnknown ¶
func (m *QueryRegisteredContractResponse) XXX_DiscardUnknown()
func (*QueryRegisteredContractResponse) XXX_Marshal ¶
func (m *QueryRegisteredContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredContractResponse) XXX_Merge ¶
func (m *QueryRegisteredContractResponse) XXX_Merge(src proto.Message)
func (*QueryRegisteredContractResponse) XXX_Size ¶
func (m *QueryRegisteredContractResponse) XXX_Size() int
func (*QueryRegisteredContractResponse) XXX_Unmarshal ¶
func (m *QueryRegisteredContractResponse) XXX_Unmarshal(b []byte) error
type QueryRegisteredPairsRequest ¶
type QueryRegisteredPairsRequest struct {
ContractAddr string `protobuf:"bytes,1,opt,name=contractAddr,proto3" json:"contract_address"`
}
func (*QueryRegisteredPairsRequest) Descriptor ¶
func (*QueryRegisteredPairsRequest) Descriptor() ([]byte, []int)
func (*QueryRegisteredPairsRequest) GetContractAddr ¶
func (m *QueryRegisteredPairsRequest) GetContractAddr() string
func (*QueryRegisteredPairsRequest) Marshal ¶
func (m *QueryRegisteredPairsRequest) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredPairsRequest) MarshalTo ¶
func (m *QueryRegisteredPairsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredPairsRequest) MarshalToSizedBuffer ¶
func (m *QueryRegisteredPairsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredPairsRequest) ProtoMessage ¶
func (*QueryRegisteredPairsRequest) ProtoMessage()
func (*QueryRegisteredPairsRequest) Reset ¶
func (m *QueryRegisteredPairsRequest) Reset()
func (*QueryRegisteredPairsRequest) Size ¶
func (m *QueryRegisteredPairsRequest) Size() (n int)
func (*QueryRegisteredPairsRequest) String ¶
func (m *QueryRegisteredPairsRequest) String() string
func (*QueryRegisteredPairsRequest) Unmarshal ¶
func (m *QueryRegisteredPairsRequest) Unmarshal(dAtA []byte) error
func (*QueryRegisteredPairsRequest) XXX_DiscardUnknown ¶
func (m *QueryRegisteredPairsRequest) XXX_DiscardUnknown()
func (*QueryRegisteredPairsRequest) XXX_Marshal ¶
func (m *QueryRegisteredPairsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredPairsRequest) XXX_Merge ¶
func (m *QueryRegisteredPairsRequest) XXX_Merge(src proto.Message)
func (*QueryRegisteredPairsRequest) XXX_Size ¶
func (m *QueryRegisteredPairsRequest) XXX_Size() int
func (*QueryRegisteredPairsRequest) XXX_Unmarshal ¶
func (m *QueryRegisteredPairsRequest) XXX_Unmarshal(b []byte) error
type QueryRegisteredPairsResponse ¶
type QueryRegisteredPairsResponse struct {
Pairs []Pair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs"`
}
func (*QueryRegisteredPairsResponse) Descriptor ¶
func (*QueryRegisteredPairsResponse) Descriptor() ([]byte, []int)
func (*QueryRegisteredPairsResponse) GetPairs ¶
func (m *QueryRegisteredPairsResponse) GetPairs() []Pair
func (*QueryRegisteredPairsResponse) Marshal ¶
func (m *QueryRegisteredPairsResponse) Marshal() (dAtA []byte, err error)
func (*QueryRegisteredPairsResponse) MarshalTo ¶
func (m *QueryRegisteredPairsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryRegisteredPairsResponse) MarshalToSizedBuffer ¶
func (m *QueryRegisteredPairsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryRegisteredPairsResponse) ProtoMessage ¶
func (*QueryRegisteredPairsResponse) ProtoMessage()
func (*QueryRegisteredPairsResponse) Reset ¶
func (m *QueryRegisteredPairsResponse) Reset()
func (*QueryRegisteredPairsResponse) Size ¶
func (m *QueryRegisteredPairsResponse) Size() (n int)
func (*QueryRegisteredPairsResponse) String ¶
func (m *QueryRegisteredPairsResponse) String() string
func (*QueryRegisteredPairsResponse) Unmarshal ¶
func (m *QueryRegisteredPairsResponse) Unmarshal(dAtA []byte) error
func (*QueryRegisteredPairsResponse) XXX_DiscardUnknown ¶
func (m *QueryRegisteredPairsResponse) XXX_DiscardUnknown()
func (*QueryRegisteredPairsResponse) XXX_Marshal ¶
func (m *QueryRegisteredPairsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryRegisteredPairsResponse) XXX_Merge ¶
func (m *QueryRegisteredPairsResponse) XXX_Merge(src proto.Message)
func (*QueryRegisteredPairsResponse) XXX_Size ¶
func (m *QueryRegisteredPairsResponse) XXX_Size() int
func (*QueryRegisteredPairsResponse) XXX_Unmarshal ¶
func (m *QueryRegisteredPairsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a LongBook by id. LongBook(context.Context, *QueryGetLongBookRequest) (*QueryGetLongBookResponse, error) // Queries a list of LongBook items. LongBookAll(context.Context, *QueryAllLongBookRequest) (*QueryAllLongBookResponse, error) // Queries a ShortBook by id. ShortBook(context.Context, *QueryGetShortBookRequest) (*QueryGetShortBookResponse, error) // Queries a list of ShortBook items. ShortBookAll(context.Context, *QueryAllShortBookRequest) (*QueryAllShortBookResponse, error) GetPrice(context.Context, *QueryGetPriceRequest) (*QueryGetPriceResponse, error) GetLatestPrice(context.Context, *QueryGetLatestPriceRequest) (*QueryGetLatestPriceResponse, error) GetPrices(context.Context, *QueryGetPricesRequest) (*QueryGetPricesResponse, error) GetTwaps(context.Context, *QueryGetTwapsRequest) (*QueryGetTwapsResponse, error) // Returns the metadata for a specified denom / display type AssetMetadata(context.Context, *QueryAssetMetadataRequest) (*QueryAssetMetadataResponse, error) // Returns metadata for all the assets AssetList(context.Context, *QueryAssetListRequest) (*QueryAssetListResponse, error) // Returns all registered pairs for specified contract address GetRegisteredPairs(context.Context, *QueryRegisteredPairsRequest) (*QueryRegisteredPairsResponse, error) // Returns registered contract information GetRegisteredContract(context.Context, *QueryRegisteredContractRequest) (*QueryRegisteredContractResponse, error) GetOrders(context.Context, *QueryGetOrdersRequest) (*QueryGetOrdersResponse, error) GetOrder(context.Context, *QueryGetOrderByIDRequest) (*QueryGetOrderByIDResponse, error) GetHistoricalPrices(context.Context, *QueryGetHistoricalPricesRequest) (*QueryGetHistoricalPricesResponse, error) GetMarketSummary(context.Context, *QueryGetMarketSummaryRequest) (*QueryGetMarketSummaryResponse, error) GetOrderSimulation(context.Context, *QueryOrderSimulationRequest) (*QueryOrderSimulationResponse, error) GetMatchResult(context.Context, *QueryGetMatchResultRequest) (*QueryGetMatchResultResponse, error) GetOrderCount(context.Context, *QueryGetOrderCountRequest) (*QueryGetOrderCountResponse, error) }
QueryServer is the server API for Query service.
type SettlementEntry ¶
type SettlementEntry struct { Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account"` PriceDenom string `protobuf:"bytes,2,opt,name=priceDenom,proto3" json:"price_denom"` AssetDenom string `protobuf:"bytes,3,opt,name=assetDenom,proto3" json:"asset_denom"` 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" yaml:"quantity"` ExecutionCostOrProceed github_com_cosmos_cosmos_sdk_types.Dec `` /* 173-byte string literal not displayed */ ExpectedCostOrProceed github_com_cosmos_cosmos_sdk_types.Dec `` /* 170-byte string literal not displayed */ PositionDirection string `protobuf:"bytes,7,opt,name=positionDirection,proto3" json:"position_direction"` OrderType string `protobuf:"bytes,8,opt,name=orderType,proto3" json:"order_type"` OrderId uint64 `protobuf:"varint,9,opt,name=orderId,proto3" json:"order_id"` Timestamp uint64 `protobuf:"varint,10,opt,name=timestamp,proto3" json:"timestamp"` Height uint64 `protobuf:"varint,11,opt,name=height,proto3" json:"height"` SettlementId uint64 `protobuf:"varint,12,opt,name=settlementId,proto3" json:"settlement_id"` }
func NewSettlementEntry ¶
func (*SettlementEntry) Descriptor ¶
func (*SettlementEntry) Descriptor() ([]byte, []int)
func (*SettlementEntry) GetAccount ¶
func (m *SettlementEntry) GetAccount() string
func (*SettlementEntry) GetAssetDenom ¶
func (m *SettlementEntry) GetAssetDenom() string
func (*SettlementEntry) GetHeight ¶
func (m *SettlementEntry) GetHeight() uint64
func (*SettlementEntry) GetOrderId ¶
func (m *SettlementEntry) GetOrderId() uint64
func (*SettlementEntry) GetOrderType ¶
func (m *SettlementEntry) GetOrderType() string
func (*SettlementEntry) GetPositionDirection ¶
func (m *SettlementEntry) GetPositionDirection() string
func (*SettlementEntry) GetPriceDenom ¶
func (m *SettlementEntry) GetPriceDenom() string
func (*SettlementEntry) GetSettlementId ¶
func (m *SettlementEntry) GetSettlementId() uint64
func (*SettlementEntry) GetTimestamp ¶
func (m *SettlementEntry) GetTimestamp() uint64
func (*SettlementEntry) Marshal ¶
func (m *SettlementEntry) Marshal() (dAtA []byte, err error)
func (*SettlementEntry) MarshalToSizedBuffer ¶
func (m *SettlementEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SettlementEntry) ProtoMessage ¶
func (*SettlementEntry) ProtoMessage()
func (*SettlementEntry) Reset ¶
func (m *SettlementEntry) Reset()
func (*SettlementEntry) Size ¶
func (m *SettlementEntry) Size() (n int)
func (*SettlementEntry) String ¶
func (m *SettlementEntry) String() string
func (*SettlementEntry) Unmarshal ¶
func (m *SettlementEntry) Unmarshal(dAtA []byte) error
func (*SettlementEntry) XXX_DiscardUnknown ¶
func (m *SettlementEntry) XXX_DiscardUnknown()
func (*SettlementEntry) XXX_Marshal ¶
func (m *SettlementEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettlementEntry) XXX_Merge ¶
func (m *SettlementEntry) XXX_Merge(src proto.Message)
func (*SettlementEntry) XXX_Size ¶
func (m *SettlementEntry) XXX_Size() int
func (*SettlementEntry) XXX_Unmarshal ¶
func (m *SettlementEntry) XXX_Unmarshal(b []byte) error
type Settlements ¶
type Settlements struct { Epoch int64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch"` Entries []*SettlementEntry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries"` }
func (*Settlements) Descriptor ¶
func (*Settlements) Descriptor() ([]byte, []int)
func (*Settlements) GetEntries ¶
func (m *Settlements) GetEntries() []*SettlementEntry
func (*Settlements) GetEpoch ¶
func (m *Settlements) GetEpoch() int64
func (*Settlements) Marshal ¶
func (m *Settlements) Marshal() (dAtA []byte, err error)
func (*Settlements) MarshalToSizedBuffer ¶
func (m *Settlements) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Settlements) ProtoMessage ¶
func (*Settlements) ProtoMessage()
func (*Settlements) Reset ¶
func (m *Settlements) Reset()
func (*Settlements) Size ¶
func (m *Settlements) Size() (n int)
func (*Settlements) String ¶
func (m *Settlements) String() string
func (*Settlements) Unmarshal ¶
func (m *Settlements) Unmarshal(dAtA []byte) error
func (*Settlements) XXX_DiscardUnknown ¶
func (m *Settlements) XXX_DiscardUnknown()
func (*Settlements) XXX_Marshal ¶
func (m *Settlements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Settlements) XXX_Merge ¶
func (m *Settlements) XXX_Merge(src proto.Message)
func (*Settlements) XXX_Size ¶
func (m *Settlements) XXX_Size() int
func (*Settlements) XXX_Unmarshal ¶
func (m *Settlements) XXX_Unmarshal(b []byte) error
type ShortBook ¶
type ShortBook 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" yaml:"price"` Entry *OrderEntry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry"` }
func (*ShortBook) DeepCopy ¶
func (m *ShortBook) DeepCopy() OrderBookEntry
func (*ShortBook) Descriptor ¶
func (*ShortBook) GetEntry ¶
func (m *ShortBook) GetEntry() *OrderEntry
func (*ShortBook) GetOrderEntry ¶
func (m *ShortBook) GetOrderEntry() *OrderEntry
func (*ShortBook) MarshalToSizedBuffer ¶
func (*ShortBook) ProtoMessage ¶
func (*ShortBook) ProtoMessage()
func (*ShortBook) SetEntry ¶
func (m *ShortBook) SetEntry(newEntry *OrderEntry)
func (*ShortBook) XXX_DiscardUnknown ¶
func (m *ShortBook) XXX_DiscardUnknown()
func (*ShortBook) XXX_Marshal ¶
func (*ShortBook) XXX_Unmarshal ¶
type SudoOrderCancellationMsg ¶
type SudoOrderCancellationMsg struct {
OrderCancellations OrderCancellationMsgDetails `json:"bulk_order_cancellations"`
}
type SudoOrderPlacementMsg ¶
type SudoOrderPlacementMsg struct {
OrderPlacements OrderPlacementMsgDetails `json:"bulk_order_placements"`
}
func (*SudoOrderPlacementMsg) IsEmpty ¶
func (m *SudoOrderPlacementMsg) IsEmpty() bool
type SudoOrderPlacementResponse ¶
type SudoOrderPlacementResponse struct {
UnsuccessfulOrders []UnsuccessfulOrder `json:"unsuccessful_orders"`
}
func (SudoOrderPlacementResponse) String ¶
func (r SudoOrderPlacementResponse) String() string
type SudoSettlementMsg ¶
type SudoSettlementMsg struct {
Settlement Settlements `json:"settlement"`
}
type TickSize ¶
type TickSize struct { Pair *Pair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair"` Ticksize github_com_cosmos_cosmos_sdk_types.Dec `` /* 127-byte string literal not displayed */ ContractAddr string `protobuf:"bytes,3,opt,name=contractAddr,proto3" json:"contract_addr" yaml:"tick_size"` }
func (*TickSize) Descriptor ¶
func (*TickSize) GetContractAddr ¶
func (*TickSize) MarshalToSizedBuffer ¶
func (*TickSize) ProtoMessage ¶
func (*TickSize) ProtoMessage()
func (*TickSize) XXX_DiscardUnknown ¶
func (m *TickSize) XXX_DiscardUnknown()
func (*TickSize) XXX_Marshal ¶
func (*TickSize) XXX_Unmarshal ¶
type ToSettle ¶
func AllocationToSettle ¶
func AllocationToSettle(a *Allocation) ToSettle
type Twap ¶
type Twap struct { Pair *Pair `protobuf:"bytes,1,opt,name=pair,proto3" json:"pair"` Twap github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=twap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"twap" yaml:"twap"` LookbackSeconds uint64 `protobuf:"varint,3,opt,name=lookbackSeconds,proto3" json:"lookback_seconds"` }
func (*Twap) Descriptor ¶
func (*Twap) GetLookbackSeconds ¶
func (*Twap) ProtoMessage ¶
func (*Twap) ProtoMessage()
func (*Twap) XXX_DiscardUnknown ¶
func (m *Twap) XXX_DiscardUnknown()
func (*Twap) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CancelOrders ¶
func (*UnimplementedMsgServer) CancelOrders(ctx context.Context, req *MsgCancelOrders) (*MsgCancelOrdersResponse, error)
func (*UnimplementedMsgServer) ContractDepositRent ¶
func (*UnimplementedMsgServer) ContractDepositRent(ctx context.Context, req *MsgContractDepositRent) (*MsgContractDepositRentResponse, error)
func (*UnimplementedMsgServer) PlaceOrders ¶
func (*UnimplementedMsgServer) PlaceOrders(ctx context.Context, req *MsgPlaceOrders) (*MsgPlaceOrdersResponse, error)
func (*UnimplementedMsgServer) RegisterContract ¶
func (*UnimplementedMsgServer) RegisterContract(ctx context.Context, req *MsgRegisterContract) (*MsgRegisterContractResponse, error)
func (*UnimplementedMsgServer) RegisterPairs ¶
func (*UnimplementedMsgServer) RegisterPairs(ctx context.Context, req *MsgRegisterPairs) (*MsgRegisterPairsResponse, error)
func (*UnimplementedMsgServer) UnregisterContract ¶
func (*UnimplementedMsgServer) UnregisterContract(ctx context.Context, req *MsgUnregisterContract) (*MsgUnregisterContractResponse, error)
func (*UnimplementedMsgServer) UnsuspendContract ¶
func (*UnimplementedMsgServer) UnsuspendContract(ctx context.Context, req *MsgUnsuspendContract) (*MsgUnsuspendContractResponse, error)
func (*UnimplementedMsgServer) UpdatePriceTickSize ¶
func (*UnimplementedMsgServer) UpdatePriceTickSize(ctx context.Context, req *MsgUpdatePriceTickSize) (*MsgUpdateTickSizeResponse, error)
func (*UnimplementedMsgServer) UpdateQuantityTickSize ¶
func (*UnimplementedMsgServer) UpdateQuantityTickSize(ctx context.Context, req *MsgUpdateQuantityTickSize) (*MsgUpdateTickSizeResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AssetList ¶
func (*UnimplementedQueryServer) AssetList(ctx context.Context, req *QueryAssetListRequest) (*QueryAssetListResponse, error)
func (*UnimplementedQueryServer) AssetMetadata ¶
func (*UnimplementedQueryServer) AssetMetadata(ctx context.Context, req *QueryAssetMetadataRequest) (*QueryAssetMetadataResponse, error)
func (*UnimplementedQueryServer) GetHistoricalPrices ¶
func (*UnimplementedQueryServer) GetHistoricalPrices(ctx context.Context, req *QueryGetHistoricalPricesRequest) (*QueryGetHistoricalPricesResponse, error)
func (*UnimplementedQueryServer) GetLatestPrice ¶
func (*UnimplementedQueryServer) GetLatestPrice(ctx context.Context, req *QueryGetLatestPriceRequest) (*QueryGetLatestPriceResponse, error)
func (*UnimplementedQueryServer) GetMarketSummary ¶
func (*UnimplementedQueryServer) GetMarketSummary(ctx context.Context, req *QueryGetMarketSummaryRequest) (*QueryGetMarketSummaryResponse, error)
func (*UnimplementedQueryServer) GetMatchResult ¶
func (*UnimplementedQueryServer) GetMatchResult(ctx context.Context, req *QueryGetMatchResultRequest) (*QueryGetMatchResultResponse, error)
func (*UnimplementedQueryServer) GetOrder ¶
func (*UnimplementedQueryServer) GetOrder(ctx context.Context, req *QueryGetOrderByIDRequest) (*QueryGetOrderByIDResponse, error)
func (*UnimplementedQueryServer) GetOrderCount ¶
func (*UnimplementedQueryServer) GetOrderCount(ctx context.Context, req *QueryGetOrderCountRequest) (*QueryGetOrderCountResponse, error)
func (*UnimplementedQueryServer) GetOrderSimulation ¶
func (*UnimplementedQueryServer) GetOrderSimulation(ctx context.Context, req *QueryOrderSimulationRequest) (*QueryOrderSimulationResponse, error)
func (*UnimplementedQueryServer) GetOrders ¶
func (*UnimplementedQueryServer) GetOrders(ctx context.Context, req *QueryGetOrdersRequest) (*QueryGetOrdersResponse, error)
func (*UnimplementedQueryServer) GetPrice ¶
func (*UnimplementedQueryServer) GetPrice(ctx context.Context, req *QueryGetPriceRequest) (*QueryGetPriceResponse, error)
func (*UnimplementedQueryServer) GetPrices ¶
func (*UnimplementedQueryServer) GetPrices(ctx context.Context, req *QueryGetPricesRequest) (*QueryGetPricesResponse, error)
func (*UnimplementedQueryServer) GetRegisteredContract ¶
func (*UnimplementedQueryServer) GetRegisteredContract(ctx context.Context, req *QueryRegisteredContractRequest) (*QueryRegisteredContractResponse, error)
func (*UnimplementedQueryServer) GetRegisteredPairs ¶
func (*UnimplementedQueryServer) GetRegisteredPairs(ctx context.Context, req *QueryRegisteredPairsRequest) (*QueryRegisteredPairsResponse, error)
func (*UnimplementedQueryServer) GetTwaps ¶
func (*UnimplementedQueryServer) GetTwaps(ctx context.Context, req *QueryGetTwapsRequest) (*QueryGetTwapsResponse, error)
func (*UnimplementedQueryServer) LongBook ¶
func (*UnimplementedQueryServer) LongBook(ctx context.Context, req *QueryGetLongBookRequest) (*QueryGetLongBookResponse, error)
func (*UnimplementedQueryServer) LongBookAll ¶
func (*UnimplementedQueryServer) LongBookAll(ctx context.Context, req *QueryAllLongBookRequest) (*QueryAllLongBookResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ShortBook ¶
func (*UnimplementedQueryServer) ShortBook(ctx context.Context, req *QueryGetShortBookRequest) (*QueryGetShortBookResponse, error)
func (*UnimplementedQueryServer) ShortBookAll ¶
func (*UnimplementedQueryServer) ShortBookAll(ctx context.Context, req *QueryAllShortBookRequest) (*QueryAllShortBookResponse, error)
type UnsuccessfulOrder ¶
Source Files ¶
- alias.go
- asset_list.pb.go
- codec.go
- contract.pb.go
- deposit.go
- deposit.pb.go
- enums.go
- enums.pb.go
- errors.go
- events.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- gov.go
- gov.pb.go
- keys.go
- long_book.pb.go
- match_result.go
- match_result.pb.go
- message_cancel_orders.go
- message_contract_deposit_rent.go
- message_place_orders.go
- message_register_contract.go
- message_register_pairs.go
- message_unregister_contract.go
- message_unsuspend_contract.go
- message_update_price_tick_size.go
- message_update_quantity_tick_size.go
- order.pb.go
- order_cancellation.go
- order_entry.pb.go
- order_placement.go
- orders.go
- pair.pb.go
- params.go
- params.pb.go
- price.pb.go
- query.pb.go
- query.pb.gw.go
- settlement.go
- settlement.pb.go
- short_book.pb.go
- tick_size.pb.go
- twap.pb.go
- tx.pb.go
- types.go
- utils.go