exchange

package
v1.17.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Overview

Package exchange is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName is the name of the exchange module.
	ModuleName = "exchange"

	// StoreKey is the store key string for the exchange module.
	StoreKey = ModuleName
)
View Source
const (
	// MaxName is the maximum length of MarketDetails.Name
	MaxName = 250
	// MaxDescription is the maximum length of MarketDetails.Description
	MaxDescription = 2000
	// MaxWebsiteURL is the maximum length of MarketDetails.WebsiteUrl
	MaxWebsiteURL = 200
	// MaxIconURI is the maximum length of MarketDetails.IconUri
	MaxIconURI = 2000
)
View Source
const (
	OrderTypeAsk     = "ask"
	OrderTypeByteAsk = byte(0x00)

	OrderTypeBid     = "bid"
	OrderTypeByteBid = byte(0x01)
)

Define the type strings and bytes to use for each order type. These must all be unique. If you add entries, be sure to update TestOrderTypesAndBytes too.

View Source
const (
	// DefaultDefaultSplit is the default value used for the DefaultSplit parameter.
	// TODO[1658]: Discuss what this should be with someone who would know.
	DefaultDefaultSplit = uint32(500)

	// MaxSplit is the maximum split value. 10,000 basis points = 100%.
	MaxSplit = uint32(10_000)
)
View Source
const MaxExternalIDLength = 100

MaxExternalIDLength is the maximum length that an external id can have. A 32 byte address as a bech32 string is 59 characters + the hrp. E.g. a 32 byte address with hrp "pb" will be 61 characters long. Technically, a bech32 HRP can be 1 to 83 characters. This 100 was chosen as a balance meant to allow most of those while still limiting the length of keys that use these external ids.

Variables

View Source
var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMarket        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMarket          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMarket = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthOrders        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOrders          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupOrders = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Permission_name = map[int32]string{
	0: "PERMISSION_UNSPECIFIED",
	1: "PERMISSION_SETTLE",
	2: "PERMISSION_SET_IDS",
	3: "PERMISSION_CANCEL",
	4: "PERMISSION_WITHDRAW",
	5: "PERMISSION_UPDATE",
	6: "PERMISSION_PERMISSIONS",
	7: "PERMISSION_ATTRIBUTES",
}
View Source
var Permission_value = map[string]int32{
	"PERMISSION_UNSPECIFIED": 0,
	"PERMISSION_SETTLE":      1,
	"PERMISSION_SET_IDS":     2,
	"PERMISSION_CANCEL":      3,
	"PERMISSION_WITHDRAW":    4,
	"PERMISSION_UPDATE":      5,
	"PERMISSION_PERMISSIONS": 6,
	"PERMISSION_ATTRIBUTES":  7,
}

Functions

func CoinEquals

func CoinEquals(a, b sdk.Coin) bool

CoinEquals returns true if the two provided coin entries are equal. Designed for use with intersection.

We can't just provide sdk.Coin.IsEqual to intersection because that PANICS if the denoms are different. And we can't provide sdk.Coin.Equal to intersection because it takes in an interface{} (instead of sdk.Coin).

func CoinsEquals

func CoinsEquals(a, b sdk.Coins) (isEqual bool)

CoinsEquals returns true if the two provided coins are equal.

sdk.Coins.IsEqual will panic if the two have the same number of entries, but different denoms. This one will return false in that case instead of panicking.

func ContainsCoin

func ContainsCoin(vals []sdk.Coin, toFind sdk.Coin) bool

ContainsCoin returns true if the coin to find is in the vals slice.

func ContainsCoinWithSameDenom

func ContainsCoinWithSameDenom(vals []sdk.Coin, toFind sdk.Coin) bool

ContainsCoinWithSameDenom returns true if there's an entry in vals with the same denom as the denom to find.

func ContainsFeeRatio

func ContainsFeeRatio(vals []FeeRatio, toFind FeeRatio) bool

ContainsFeeRatio returns true if the fee ratio to find is in the vals slice.

func ContainsSameFeeRatioDenoms

func ContainsSameFeeRatioDenoms(vals []FeeRatio, toFind FeeRatio) bool

ContainsSameFeeRatioDenoms returns true if any ratio in vals has the same price and fee denoms as the ratio to find.

func ContainsString

func ContainsString(vals []string, toFind string) bool

ContainsString returns true if the string to find is in the vals slice.

func ContainsUint64

func ContainsUint64(vals []uint64, toFind uint64) bool

ContainsUint64 returns true if the uint64 to find is in the vals slice.

func EqualsUint64

func EqualsUint64(a, b uint64) bool

EqualsUint64 returns true if the two uint64 values provided are equal.

func FeeRatiosString

func FeeRatiosString(ratios []FeeRatio) string

FeeRatiosString converts the provided ratios into a single string with format <ratio1>,<ratio2>,...

func FindUnmatchedReqAttrs

func FindUnmatchedReqAttrs(reqAttrs, accAttrs []string) []string

FindUnmatchedReqAttrs returns all required attributes that don't have a match in the provided account attributes. This assumes that reqAttrs and accAttrs have all been normalized.

func GetMarketAddress

func GetMarketAddress(marketID uint32) sdk.AccAddress

GetMarketAddress returns the module account address for the given marketID.

func HasReqAttrMatch

func HasReqAttrMatch(reqAttr string, accAttrs []string) bool

HasReqAttrMatch returns true if one (or more) accAttrs is a match for the provided required attribute. This assumes that reqAttr and accAttrs have all been normalized.

func IntersectionOfAttributes

func IntersectionOfAttributes(list1, list2 []string) []string

IntersectionOfAttributes returns each attribute that is in both lists. Casing is ignored. Returned values will have the casing that the entry has in list1.

func IntersectionOfCoin

func IntersectionOfCoin(list1, list2 []sdk.Coin) []sdk.Coin

IntersectionOfCoin returns each sdk.Coin entry that is in both lists.

func IntersectionUint64

func IntersectionUint64(a, b []uint64) []uint64

IntersectionUint64 returns each uint64 that is in both lists.

func IsReqAttrMatch

func IsReqAttrMatch(reqAttr, accAttr string) bool

IsReqAttrMatch returns true if the provide account attribute is a match for the given required attribute. This assumes that reqAttr and accAttr have both been normalized.

func IsValidReqAttr

func IsValidReqAttr(reqAttr string) bool

IsValidReqAttr returns true if the provided string is a valid required attribute entry. Assumes that the provided reqAttr has already been normalized.

func MinSDKInt

func MinSDKInt(a, b sdkmath.Int) sdkmath.Int

MinSDKInt returns the lesser of the two provided ints.

func NewEventMarketActiveUpdated

func NewEventMarketActiveUpdated(marketID uint32, updatedBy sdk.AccAddress, isActive bool) proto.Message

NewEventMarketActiveUpdated returns a new EventMarketEnabled if isActive == true, or a new EventMarketDisabled if isActive == false.

func NewEventMarketUserSettleUpdated

func NewEventMarketUserSettleUpdated(marketID uint32, updatedBy sdk.AccAddress, isAllowed bool) proto.Message

NewEventMarketUserSettleUpdated returns a new EventMarketUserSettleEnabled if isAllowed == true, or a new EventMarketUserSettleDisabled if isActive == false.

func NormalizeReqAttrs

func NormalizeReqAttrs(reqAttrs []string) ([]string, error)

NormalizeReqAttrs normalizes/validates each of the provided require attributes. The normalized versions of the attributes are returned regardless of whether an error is also returned.

func QuoRemInt

func QuoRemInt(a, b sdkmath.Int) (quo sdkmath.Int, rem sdkmath.Int)

QuoRemInt does a/b returning the integer result and remainder such that a = quo * b + rem If y == 0, a division-by-zero run-time panic occurs.

QuoRem implements T-division and modulus (like Go):

quo = x/y      with the result truncated to zero
rem = x - y*q

(See Daan Leijen, “Division and Modulus for Computer Scientists”.)

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers implementations for the tx messages

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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 (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateAccessGrantsField

func ValidateAccessGrantsField(field string, accessGrants []AccessGrant) error

ValidateAccessGrantsField returns an error if any of the provided access grants are invalid. The provided field is used in error messages.

func ValidateAddRemoveFeeOptions

func ValidateAddRemoveFeeOptions(field string, toAdd, toRemove []sdk.Coin) error

ValidateAddRemoveFeeOptions returns an error if the toAdd list has an invalid entry or if the two lists have one or more common entries.

func ValidateAddRemoveFeeOptionsWithExisting

func ValidateAddRemoveFeeOptionsWithExisting(field string, existing, toAdd, toRemove []sdk.Coin) []error

ValidateAddRemoveFeeOptionsWithExisting returns errors for entries in toAdd that are already in existing, and entries in toRemove that are not in existing.

func ValidateAddRemoveFeeRatiosWithExisting

func ValidateAddRemoveFeeRatiosWithExisting(field string, existing, toAdd, toRemove []FeeRatio) []error

ValidateAddRemoveFeeRatiosWithExisting returns errors for entries in toAdd that are already in existing, and entries in toRemove that are not in existing.

func ValidateAddRemoveReqAttrs

func ValidateAddRemoveReqAttrs(field string, toAdd, toRemove []string) error

ValidateAddRemoveReqAttrs returns an error if the toAdd list has an invalid entry or if the two lists have one or more common entries.

func ValidateBuyerFeeRatios

func ValidateBuyerFeeRatios(ratios []FeeRatio) error

ValidateBuyerFeeRatios returns an error if the provided buyer fee ratios contains an invalid entry.

func ValidateDisjointFeeRatios

func ValidateDisjointFeeRatios(field string, toAdd, toRemove []FeeRatio) error

ValidateDisjointFeeRatios returns an error if one or more entries appears in both lists.

func ValidateExternalID

func ValidateExternalID(externalID string) error

ValidateExternalID makes sure an external id is okay.

func ValidateFeeOptions

func ValidateFeeOptions(field string, options []sdk.Coin) error

ValidateFeeOptions returns an error if any of the provide coin values is not a valid fee option.

func ValidateFeeRatios

func ValidateFeeRatios(sellerRatios, buyerRatios []FeeRatio) error

ValidateFeeRatios makes sure that the provided fee ratios are valid and have the same price denoms.

func ValidateOrderIDs

func ValidateOrderIDs(field string, orderIDs []uint64) error

ValidateOrderIDs makes sure that one or more order ids are provided, none of them are zero, and there aren't any duplicates.

func ValidateRatioDenoms

func ValidateRatioDenoms(sellerRatios, buyerRatios []FeeRatio) []error

ValidateRatioDenoms checks that the buyer and seller ratios have the same price denoms.

func ValidateReqAttrs

func ValidateReqAttrs(field string, attrs []string) error

ValidateReqAttrs makes sure that each provided attribute is valid and that no duplicate entries are provided.

func ValidateReqAttrsAreNormalized

func ValidateReqAttrsAreNormalized(field string, attrs []string) error

ValidateReqAttrsAreNormalized checks that each of the provided attrs is equal to its normalized version.

func ValidateSellerFeeRatios

func ValidateSellerFeeRatios(ratios []FeeRatio) error

ValidateSellerFeeRatios returns an error if the provided seller fee ratios contains an invalid entry.

Types

type AccessGrant

type AccessGrant struct {
	// address is the address that these permissions apply to.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// allowed is the list of permissions available for the address.
	Permissions []Permission `protobuf:"varint,2,rep,packed,name=permissions,proto3,enum=provenance.exchange.v1.Permission" json:"permissions,omitempty"`
}

AddrPermissions associates an address with a list of permissions available for that address.

func (AccessGrant) Contains

func (a AccessGrant) Contains(perm Permission) bool

Contains returns true if this access grant contains the provided permission.

func (*AccessGrant) Descriptor

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

func (*AccessGrant) GetAddress

func (m *AccessGrant) GetAddress() string

func (*AccessGrant) GetPermissions

func (m *AccessGrant) GetPermissions() []Permission

func (*AccessGrant) Marshal

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

func (*AccessGrant) MarshalTo

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

func (*AccessGrant) MarshalToSizedBuffer

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

func (*AccessGrant) ProtoMessage

func (*AccessGrant) ProtoMessage()

func (*AccessGrant) Reset

func (m *AccessGrant) Reset()

func (*AccessGrant) Size

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

func (*AccessGrant) String

func (m *AccessGrant) String() string

func (*AccessGrant) Unmarshal

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

func (AccessGrant) Validate

func (a AccessGrant) Validate() error

Validate returns an error if there is anything wrong with this AccessGrant.

func (AccessGrant) ValidateInField

func (a AccessGrant) ValidateInField(field string) error

ValidateInField returns an error if there is anything wrong with this AccessGrant. The provided field is included in any error message.

func (*AccessGrant) XXX_DiscardUnknown

func (m *AccessGrant) XXX_DiscardUnknown()

func (*AccessGrant) XXX_Marshal

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

func (*AccessGrant) XXX_Merge

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

func (*AccessGrant) XXX_Size

func (m *AccessGrant) XXX_Size() int

func (*AccessGrant) XXX_Unmarshal

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

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	SetAccount(ctx sdk.Context, acc authtypes.AccountI)
	HasAccount(ctx sdk.Context, addr sdk.AccAddress) bool
	NewAccount(ctx sdk.Context, acc authtypes.AccountI) authtypes.AccountI
}

type AskOrder

type AskOrder struct {
	// market_id identifies the market that this order belongs to.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// seller is the address of the account that owns this order and has the assets to sell.
	Seller string `protobuf:"bytes,2,opt,name=seller,proto3" json:"seller,omitempty"`
	// assets are the things that the seller wishes to sell.
	// A hold is placed on this until the order is filled or cancelled.
	Assets types.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets"`
	// price is the minimum amount that the seller is willing to accept for the assets. The seller's settlement
	// proportional fee (and possibly the settlement flat fee) is taken out of the amount the seller receives,
	// so it's possible that the seller will still receive less than this price.
	Price types.Coin `protobuf:"bytes,4,opt,name=price,proto3" json:"price"`
	// seller_settlement_flat_fee is the flat fee for sellers that will be charged during settlement. If this denom is the
	// same denom as the price, it will come out of the actual price received. If this denom is different, the amount must
	// be in the seller's account and a hold is placed on it until the order is filled or cancelled.
	SellerSettlementFlatFee *types.Coin `` /* 134-byte string literal not displayed */
	// allow_partial should be true if partial fulfillment of this order should be allowed, and should be false if the
	// order must be either filled in full or not filled at all.
	AllowPartial bool `protobuf:"varint,6,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"`
	// external_id is an optional string used to externally identify this order. Max length is 100 characters.
	// If an order in this market with this external id already exists, this order will be rejected.
	ExternalId string `protobuf:"bytes,7,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

AskOrder represents someone's desire to sell something at a minimum price.

func (AskOrder) CopyChange

func (a AskOrder) CopyChange(newAssets, newPrice sdk.Coin, newFee *sdk.Coin) *AskOrder

CopyChange creates a copy of this ask order with the provided assets, price and fee.

func (*AskOrder) Descriptor

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

func (AskOrder) GetAssets

func (a AskOrder) GetAssets() sdk.Coin

GetAssets returns the assets for sale with this ask order.

func (AskOrder) GetExternalID

func (a AskOrder) GetExternalID() string

GetExternalID returns this ask order's external id.

func (AskOrder) GetHoldAmount

func (a AskOrder) GetHoldAmount() sdk.Coins

GetHoldAmount returns the amount that should be on hold for this ask order.

func (AskOrder) GetMarketID

func (a AskOrder) GetMarketID() uint32

GetMarketID returns the market id for this ask order.

func (AskOrder) GetOrderType

func (a AskOrder) GetOrderType() string

GetOrderType returns the order type string for this ask order: "ask".

func (AskOrder) GetOrderTypeByte

func (a AskOrder) GetOrderTypeByte() byte

GetOrderTypeByte returns the order type byte for this bid order: 0x00.

func (AskOrder) GetOwner

func (a AskOrder) GetOwner() string

GetOwner returns the owner of this ask order: the seller.

func (AskOrder) GetPrice

func (a AskOrder) GetPrice() sdk.Coin

GetPrice returns the minimum price to accept for this ask order.

func (AskOrder) GetSettlementFees

func (a AskOrder) GetSettlementFees() sdk.Coins

GetSettlementFees returns the seller settlement flat fees in this ask order.

func (*AskOrder) Marshal

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

func (*AskOrder) MarshalTo

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

func (*AskOrder) MarshalToSizedBuffer

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

func (AskOrder) PartialFillAllowed

func (a AskOrder) PartialFillAllowed() bool

PartialFillAllowed returns true if this ask order allows partial fulfillment.

func (*AskOrder) ProtoMessage

func (*AskOrder) ProtoMessage()

func (*AskOrder) Reset

func (m *AskOrder) Reset()

func (*AskOrder) Size

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

func (*AskOrder) String

func (m *AskOrder) String() string

func (*AskOrder) Unmarshal

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

func (AskOrder) Validate

func (a AskOrder) Validate() error

Validate returns an error if anything in this ask order is invalid.

func (*AskOrder) XXX_DiscardUnknown

func (m *AskOrder) XXX_DiscardUnknown()

func (*AskOrder) XXX_Marshal

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

func (*AskOrder) XXX_Merge

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

func (*AskOrder) XXX_Size

func (m *AskOrder) XXX_Size() int

func (*AskOrder) XXX_Unmarshal

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

type AttributeKeeper

type AttributeKeeper interface {
	GetAllAttributesAddr(ctx sdk.Context, addr []byte) ([]attrtypes.Attribute, error)
}

type BankKeeper

type BankKeeper interface {
	SendCoins(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	InputOutputCoins(ctx sdk.Context, inputs []banktypes.Input, outputs []banktypes.Output) error
}

type BidOrder

type BidOrder struct {
	// market_id identifies the market that this order belongs to.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// buyer is the address of the account that owns this order and has the price to spend.
	Buyer string `protobuf:"bytes,2,opt,name=buyer,proto3" json:"buyer,omitempty"`
	// assets are the things that the buyer wishes to buy.
	Assets types.Coin `protobuf:"bytes,3,opt,name=assets,proto3" json:"assets"`
	// price is the amount that the buyer will pay for the assets.
	// A hold is placed on this until the order is filled or cancelled.
	Price types.Coin `protobuf:"bytes,4,opt,name=price,proto3" json:"price"`
	// buyer_settlement_fees are the fees (both flat and proportional) that the buyer will pay (in addition to the price)
	// when the order is settled. A hold is placed on this until the order is filled or cancelled.
	BuyerSettlementFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 164-byte string literal not displayed */
	// allow_partial should be true if partial fulfillment of this order should be allowed, and should be false if the
	// order must be either filled in full or not filled at all.
	AllowPartial bool `protobuf:"varint,6,opt,name=allow_partial,json=allowPartial,proto3" json:"allow_partial,omitempty"`
	// external_id is an optional string used to externally identify this order. Max length is 100 characters.
	// If an order in this market with this external id already exists, this order will be rejected.
	ExternalId string `protobuf:"bytes,7,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

BidOrder represents someone's desire to buy something at a specific price.

func (BidOrder) CopyChange

func (b BidOrder) CopyChange(newAssets, newPrice sdk.Coin, newFees sdk.Coins) *BidOrder

CopyChange creates a copy of this bid order with the provided assets, price and fees.

func (*BidOrder) Descriptor

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

func (BidOrder) GetAssets

func (b BidOrder) GetAssets() sdk.Coin

GetAssets returns the assets to buy for this bid order.

func (BidOrder) GetExternalID

func (b BidOrder) GetExternalID() string

GetExternalID returns this bid order's external id.

func (BidOrder) GetHoldAmount

func (b BidOrder) GetHoldAmount() sdk.Coins

GetHoldAmount returns the amount that should be on hold for this bid order.

func (BidOrder) GetMarketID

func (b BidOrder) GetMarketID() uint32

GetMarketID returns the market id for this bid order.

func (BidOrder) GetOrderType

func (b BidOrder) GetOrderType() string

GetOrderType returns the order type string for this bid order: "bid".

func (BidOrder) GetOrderTypeByte

func (b BidOrder) GetOrderTypeByte() byte

GetOrderTypeByte returns the order type byte for this bid order: 0x01.

func (BidOrder) GetOwner

func (b BidOrder) GetOwner() string

GetOwner returns the owner of this bid order: the buyer.

func (BidOrder) GetPrice

func (b BidOrder) GetPrice() sdk.Coin

GetPrice returns the price to pay for this bid order.

func (BidOrder) GetSettlementFees

func (b BidOrder) GetSettlementFees() sdk.Coins

GetSettlementFees returns the buyer settlement fees in this bid order.

func (*BidOrder) Marshal

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

func (*BidOrder) MarshalTo

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

func (*BidOrder) MarshalToSizedBuffer

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

func (BidOrder) PartialFillAllowed

func (b BidOrder) PartialFillAllowed() bool

PartialFillAllowed returns true if this bid order allows partial fulfillment.

func (*BidOrder) ProtoMessage

func (*BidOrder) ProtoMessage()

func (*BidOrder) Reset

func (m *BidOrder) Reset()

func (*BidOrder) Size

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

func (*BidOrder) String

func (m *BidOrder) String() string

func (*BidOrder) Unmarshal

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

func (BidOrder) Validate

func (b BidOrder) Validate() error

Validate returns an error if anything in this ask order is invalid.

func (*BidOrder) XXX_DiscardUnknown

func (m *BidOrder) XXX_DiscardUnknown()

func (*BidOrder) XXX_Marshal

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

func (*BidOrder) XXX_Merge

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

func (*BidOrder) XXX_Size

func (m *BidOrder) XXX_Size() int

func (*BidOrder) XXX_Unmarshal

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

type DenomSplit

type DenomSplit struct {
	// denom is the coin denomination this split applies to.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// split is the proportion of fees the exchange receives for this denom in basis points.
	// E.g. 100 = 1%. Min = 0, Max = 10000.
	Split uint32 `protobuf:"varint,2,opt,name=split,proto3" json:"split,omitempty"`
}

DenomSplit associates a coin denomination with an amount the exchange receives for that denom.

func NewDenomSplit

func NewDenomSplit(denom string, split uint32) *DenomSplit

func (*DenomSplit) Descriptor

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

func (*DenomSplit) GetDenom

func (m *DenomSplit) GetDenom() string

func (*DenomSplit) GetSplit

func (m *DenomSplit) GetSplit() uint32

func (*DenomSplit) Marshal

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

func (*DenomSplit) MarshalTo

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

func (*DenomSplit) MarshalToSizedBuffer

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

func (*DenomSplit) ProtoMessage

func (*DenomSplit) ProtoMessage()

func (*DenomSplit) Reset

func (m *DenomSplit) Reset()

func (*DenomSplit) Size

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

func (*DenomSplit) String

func (m *DenomSplit) String() string

func (*DenomSplit) Unmarshal

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

func (DenomSplit) Validate

func (d DenomSplit) Validate() error

Validate returns an error if there's something wrong with this DenomSplit.

func (*DenomSplit) XXX_DiscardUnknown

func (m *DenomSplit) XXX_DiscardUnknown()

func (*DenomSplit) XXX_Marshal

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

func (*DenomSplit) XXX_Merge

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

func (*DenomSplit) XXX_Size

func (m *DenomSplit) XXX_Size() int

func (*DenomSplit) XXX_Unmarshal

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

type EventMarketCreated

type EventMarketCreated struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

EventMarketCreated is an event emitted when a market has been created.

func NewEventMarketCreated

func NewEventMarketCreated(marketID uint32) *EventMarketCreated

func (*EventMarketCreated) Descriptor

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

func (*EventMarketCreated) GetMarketId

func (m *EventMarketCreated) GetMarketId() uint32

func (*EventMarketCreated) Marshal

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

func (*EventMarketCreated) MarshalTo

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

func (*EventMarketCreated) MarshalToSizedBuffer

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

func (*EventMarketCreated) ProtoMessage

func (*EventMarketCreated) ProtoMessage()

func (*EventMarketCreated) Reset

func (m *EventMarketCreated) Reset()

func (*EventMarketCreated) Size

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

func (*EventMarketCreated) String

func (m *EventMarketCreated) String() string

func (*EventMarketCreated) Unmarshal

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

func (*EventMarketCreated) XXX_DiscardUnknown

func (m *EventMarketCreated) XXX_DiscardUnknown()

func (*EventMarketCreated) XXX_Marshal

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

func (*EventMarketCreated) XXX_Merge

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

func (*EventMarketCreated) XXX_Size

func (m *EventMarketCreated) XXX_Size() int

func (*EventMarketCreated) XXX_Unmarshal

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

type EventMarketDetailsUpdated

type EventMarketDetailsUpdated struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that updated the details.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketDetailsUpdated is an event emitted when a market's details are updated.

func NewEventMarketDetailsUpdated

func NewEventMarketDetailsUpdated(marketID uint32, updatedBy sdk.AccAddress) *EventMarketDetailsUpdated

func (*EventMarketDetailsUpdated) Descriptor

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

func (*EventMarketDetailsUpdated) GetMarketId

func (m *EventMarketDetailsUpdated) GetMarketId() uint32

func (*EventMarketDetailsUpdated) GetUpdatedBy

func (m *EventMarketDetailsUpdated) GetUpdatedBy() string

func (*EventMarketDetailsUpdated) Marshal

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

func (*EventMarketDetailsUpdated) MarshalTo

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

func (*EventMarketDetailsUpdated) MarshalToSizedBuffer

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

func (*EventMarketDetailsUpdated) ProtoMessage

func (*EventMarketDetailsUpdated) ProtoMessage()

func (*EventMarketDetailsUpdated) Reset

func (m *EventMarketDetailsUpdated) Reset()

func (*EventMarketDetailsUpdated) Size

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

func (*EventMarketDetailsUpdated) String

func (m *EventMarketDetailsUpdated) String() string

func (*EventMarketDetailsUpdated) Unmarshal

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

func (*EventMarketDetailsUpdated) XXX_DiscardUnknown

func (m *EventMarketDetailsUpdated) XXX_DiscardUnknown()

func (*EventMarketDetailsUpdated) XXX_Marshal

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

func (*EventMarketDetailsUpdated) XXX_Merge

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

func (*EventMarketDetailsUpdated) XXX_Size

func (m *EventMarketDetailsUpdated) XXX_Size() int

func (*EventMarketDetailsUpdated) XXX_Unmarshal

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

type EventMarketDisabled

type EventMarketDisabled struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that disabled the market.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketDisabled is an event emitted when a market is disabled.

func NewEventMarketDisabled

func NewEventMarketDisabled(marketID uint32, updatedBy sdk.AccAddress) *EventMarketDisabled

func (*EventMarketDisabled) Descriptor

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

func (*EventMarketDisabled) GetMarketId

func (m *EventMarketDisabled) GetMarketId() uint32

func (*EventMarketDisabled) GetUpdatedBy

func (m *EventMarketDisabled) GetUpdatedBy() string

func (*EventMarketDisabled) Marshal

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

func (*EventMarketDisabled) MarshalTo

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

func (*EventMarketDisabled) MarshalToSizedBuffer

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

func (*EventMarketDisabled) ProtoMessage

func (*EventMarketDisabled) ProtoMessage()

func (*EventMarketDisabled) Reset

func (m *EventMarketDisabled) Reset()

func (*EventMarketDisabled) Size

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

func (*EventMarketDisabled) String

func (m *EventMarketDisabled) String() string

func (*EventMarketDisabled) Unmarshal

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

func (*EventMarketDisabled) XXX_DiscardUnknown

func (m *EventMarketDisabled) XXX_DiscardUnknown()

func (*EventMarketDisabled) XXX_Marshal

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

func (*EventMarketDisabled) XXX_Merge

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

func (*EventMarketDisabled) XXX_Size

func (m *EventMarketDisabled) XXX_Size() int

func (*EventMarketDisabled) XXX_Unmarshal

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

type EventMarketEnabled

type EventMarketEnabled struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that enabled the market.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketEnabled is an event emitted when a market is enabled.

func NewEventMarketEnabled

func NewEventMarketEnabled(marketID uint32, updatedBy sdk.AccAddress) *EventMarketEnabled

func (*EventMarketEnabled) Descriptor

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

func (*EventMarketEnabled) GetMarketId

func (m *EventMarketEnabled) GetMarketId() uint32

func (*EventMarketEnabled) GetUpdatedBy

func (m *EventMarketEnabled) GetUpdatedBy() string

func (*EventMarketEnabled) Marshal

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

func (*EventMarketEnabled) MarshalTo

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

func (*EventMarketEnabled) MarshalToSizedBuffer

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

func (*EventMarketEnabled) ProtoMessage

func (*EventMarketEnabled) ProtoMessage()

func (*EventMarketEnabled) Reset

func (m *EventMarketEnabled) Reset()

func (*EventMarketEnabled) Size

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

func (*EventMarketEnabled) String

func (m *EventMarketEnabled) String() string

func (*EventMarketEnabled) Unmarshal

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

func (*EventMarketEnabled) XXX_DiscardUnknown

func (m *EventMarketEnabled) XXX_DiscardUnknown()

func (*EventMarketEnabled) XXX_Marshal

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

func (*EventMarketEnabled) XXX_Merge

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

func (*EventMarketEnabled) XXX_Size

func (m *EventMarketEnabled) XXX_Size() int

func (*EventMarketEnabled) XXX_Unmarshal

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

type EventMarketFeesUpdated

type EventMarketFeesUpdated struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

EventMarketFeesUpdated is an event emitted when a market's fees have been updated.

func NewEventMarketFeesUpdated

func NewEventMarketFeesUpdated(marketID uint32) *EventMarketFeesUpdated

func (*EventMarketFeesUpdated) Descriptor

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

func (*EventMarketFeesUpdated) GetMarketId

func (m *EventMarketFeesUpdated) GetMarketId() uint32

func (*EventMarketFeesUpdated) Marshal

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

func (*EventMarketFeesUpdated) MarshalTo

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

func (*EventMarketFeesUpdated) MarshalToSizedBuffer

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

func (*EventMarketFeesUpdated) ProtoMessage

func (*EventMarketFeesUpdated) ProtoMessage()

func (*EventMarketFeesUpdated) Reset

func (m *EventMarketFeesUpdated) Reset()

func (*EventMarketFeesUpdated) Size

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

func (*EventMarketFeesUpdated) String

func (m *EventMarketFeesUpdated) String() string

func (*EventMarketFeesUpdated) Unmarshal

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

func (*EventMarketFeesUpdated) XXX_DiscardUnknown

func (m *EventMarketFeesUpdated) XXX_DiscardUnknown()

func (*EventMarketFeesUpdated) XXX_Marshal

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

func (*EventMarketFeesUpdated) XXX_Merge

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

func (*EventMarketFeesUpdated) XXX_Size

func (m *EventMarketFeesUpdated) XXX_Size() int

func (*EventMarketFeesUpdated) XXX_Unmarshal

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

type EventMarketPermissionsUpdated

type EventMarketPermissionsUpdated struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that updated the permissions.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketPermissionsUpdated is an event emitted when a market's permissions are updated.

func NewEventMarketPermissionsUpdated

func NewEventMarketPermissionsUpdated(marketID uint32, updatedBy sdk.AccAddress) *EventMarketPermissionsUpdated

func (*EventMarketPermissionsUpdated) Descriptor

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

func (*EventMarketPermissionsUpdated) GetMarketId

func (m *EventMarketPermissionsUpdated) GetMarketId() uint32

func (*EventMarketPermissionsUpdated) GetUpdatedBy

func (m *EventMarketPermissionsUpdated) GetUpdatedBy() string

func (*EventMarketPermissionsUpdated) Marshal

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

func (*EventMarketPermissionsUpdated) MarshalTo

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

func (*EventMarketPermissionsUpdated) MarshalToSizedBuffer

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

func (*EventMarketPermissionsUpdated) ProtoMessage

func (*EventMarketPermissionsUpdated) ProtoMessage()

func (*EventMarketPermissionsUpdated) Reset

func (m *EventMarketPermissionsUpdated) Reset()

func (*EventMarketPermissionsUpdated) Size

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

func (*EventMarketPermissionsUpdated) String

func (*EventMarketPermissionsUpdated) Unmarshal

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

func (*EventMarketPermissionsUpdated) XXX_DiscardUnknown

func (m *EventMarketPermissionsUpdated) XXX_DiscardUnknown()

func (*EventMarketPermissionsUpdated) XXX_Marshal

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

func (*EventMarketPermissionsUpdated) XXX_Merge

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

func (*EventMarketPermissionsUpdated) XXX_Size

func (m *EventMarketPermissionsUpdated) XXX_Size() int

func (*EventMarketPermissionsUpdated) XXX_Unmarshal

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

type EventMarketReqAttrUpdated

type EventMarketReqAttrUpdated struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that updated the required attributes.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketReqAttrUpdated is an event emitted when a market's required attributes are updated.

func NewEventMarketReqAttrUpdated

func NewEventMarketReqAttrUpdated(marketID uint32, updatedBy sdk.AccAddress) *EventMarketReqAttrUpdated

func (*EventMarketReqAttrUpdated) Descriptor

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

func (*EventMarketReqAttrUpdated) GetMarketId

func (m *EventMarketReqAttrUpdated) GetMarketId() uint32

func (*EventMarketReqAttrUpdated) GetUpdatedBy

func (m *EventMarketReqAttrUpdated) GetUpdatedBy() string

func (*EventMarketReqAttrUpdated) Marshal

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

func (*EventMarketReqAttrUpdated) MarshalTo

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

func (*EventMarketReqAttrUpdated) MarshalToSizedBuffer

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

func (*EventMarketReqAttrUpdated) ProtoMessage

func (*EventMarketReqAttrUpdated) ProtoMessage()

func (*EventMarketReqAttrUpdated) Reset

func (m *EventMarketReqAttrUpdated) Reset()

func (*EventMarketReqAttrUpdated) Size

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

func (*EventMarketReqAttrUpdated) String

func (m *EventMarketReqAttrUpdated) String() string

func (*EventMarketReqAttrUpdated) Unmarshal

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

func (*EventMarketReqAttrUpdated) XXX_DiscardUnknown

func (m *EventMarketReqAttrUpdated) XXX_DiscardUnknown()

func (*EventMarketReqAttrUpdated) XXX_Marshal

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

func (*EventMarketReqAttrUpdated) XXX_Merge

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

func (*EventMarketReqAttrUpdated) XXX_Size

func (m *EventMarketReqAttrUpdated) XXX_Size() int

func (*EventMarketReqAttrUpdated) XXX_Unmarshal

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

type EventMarketUserSettleDisabled

type EventMarketUserSettleDisabled struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that updated the user_settle option.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketUserSettleDisabled is an event emitted when a market's user_settle option is disabled.

func NewEventMarketUserSettleDisabled

func NewEventMarketUserSettleDisabled(marketID uint32, updatedBy sdk.AccAddress) *EventMarketUserSettleDisabled

func (*EventMarketUserSettleDisabled) Descriptor

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

func (*EventMarketUserSettleDisabled) GetMarketId

func (m *EventMarketUserSettleDisabled) GetMarketId() uint32

func (*EventMarketUserSettleDisabled) GetUpdatedBy

func (m *EventMarketUserSettleDisabled) GetUpdatedBy() string

func (*EventMarketUserSettleDisabled) Marshal

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

func (*EventMarketUserSettleDisabled) MarshalTo

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

func (*EventMarketUserSettleDisabled) MarshalToSizedBuffer

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

func (*EventMarketUserSettleDisabled) ProtoMessage

func (*EventMarketUserSettleDisabled) ProtoMessage()

func (*EventMarketUserSettleDisabled) Reset

func (m *EventMarketUserSettleDisabled) Reset()

func (*EventMarketUserSettleDisabled) Size

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

func (*EventMarketUserSettleDisabled) String

func (*EventMarketUserSettleDisabled) Unmarshal

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

func (*EventMarketUserSettleDisabled) XXX_DiscardUnknown

func (m *EventMarketUserSettleDisabled) XXX_DiscardUnknown()

func (*EventMarketUserSettleDisabled) XXX_Marshal

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

func (*EventMarketUserSettleDisabled) XXX_Merge

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

func (*EventMarketUserSettleDisabled) XXX_Size

func (m *EventMarketUserSettleDisabled) XXX_Size() int

func (*EventMarketUserSettleDisabled) XXX_Unmarshal

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

type EventMarketUserSettleEnabled

type EventMarketUserSettleEnabled struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// updated_by is the account that updated the user_settle option.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketUserSettleEnabled is an event emitted when a market's user_settle option is enabled.

func NewEventMarketUserSettleEnabled

func NewEventMarketUserSettleEnabled(marketID uint32, updatedBy sdk.AccAddress) *EventMarketUserSettleEnabled

func (*EventMarketUserSettleEnabled) Descriptor

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

func (*EventMarketUserSettleEnabled) GetMarketId

func (m *EventMarketUserSettleEnabled) GetMarketId() uint32

func (*EventMarketUserSettleEnabled) GetUpdatedBy

func (m *EventMarketUserSettleEnabled) GetUpdatedBy() string

func (*EventMarketUserSettleEnabled) Marshal

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

func (*EventMarketUserSettleEnabled) MarshalTo

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

func (*EventMarketUserSettleEnabled) MarshalToSizedBuffer

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

func (*EventMarketUserSettleEnabled) ProtoMessage

func (*EventMarketUserSettleEnabled) ProtoMessage()

func (*EventMarketUserSettleEnabled) Reset

func (m *EventMarketUserSettleEnabled) Reset()

func (*EventMarketUserSettleEnabled) Size

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

func (*EventMarketUserSettleEnabled) String

func (*EventMarketUserSettleEnabled) Unmarshal

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

func (*EventMarketUserSettleEnabled) XXX_DiscardUnknown

func (m *EventMarketUserSettleEnabled) XXX_DiscardUnknown()

func (*EventMarketUserSettleEnabled) XXX_Marshal

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

func (*EventMarketUserSettleEnabled) XXX_Merge

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

func (*EventMarketUserSettleEnabled) XXX_Size

func (m *EventMarketUserSettleEnabled) XXX_Size() int

func (*EventMarketUserSettleEnabled) XXX_Unmarshal

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

type EventMarketWithdraw

type EventMarketWithdraw struct {
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// amount is the coins amount string of funds withdrawn from the market account.
	Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// destination is the account that received the funds.
	Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
	// withdrawn_by is the account that requested the withdrawal.
	WithdrawnBy string `protobuf:"bytes,4,opt,name=withdrawn_by,json=withdrawnBy,proto3" json:"withdrawn_by,omitempty"`
}

EventMarketWithdraw is an event emitted when a withdrawal of a market's collected fees is made.

func NewEventMarketWithdraw

func NewEventMarketWithdraw(marketID uint32, amount sdk.Coins, destination, withdrawnBy sdk.AccAddress) *EventMarketWithdraw

func (*EventMarketWithdraw) Descriptor

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

func (*EventMarketWithdraw) GetAmount

func (m *EventMarketWithdraw) GetAmount() string

func (*EventMarketWithdraw) GetDestination

func (m *EventMarketWithdraw) GetDestination() string

func (*EventMarketWithdraw) GetMarketId

func (m *EventMarketWithdraw) GetMarketId() uint32

func (*EventMarketWithdraw) GetWithdrawnBy

func (m *EventMarketWithdraw) GetWithdrawnBy() string

func (*EventMarketWithdraw) Marshal

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

func (*EventMarketWithdraw) MarshalTo

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

func (*EventMarketWithdraw) MarshalToSizedBuffer

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

func (*EventMarketWithdraw) ProtoMessage

func (*EventMarketWithdraw) ProtoMessage()

func (*EventMarketWithdraw) Reset

func (m *EventMarketWithdraw) Reset()

func (*EventMarketWithdraw) Size

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

func (*EventMarketWithdraw) String

func (m *EventMarketWithdraw) String() string

func (*EventMarketWithdraw) Unmarshal

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

func (*EventMarketWithdraw) XXX_DiscardUnknown

func (m *EventMarketWithdraw) XXX_DiscardUnknown()

func (*EventMarketWithdraw) XXX_Marshal

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

func (*EventMarketWithdraw) XXX_Merge

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

func (*EventMarketWithdraw) XXX_Size

func (m *EventMarketWithdraw) XXX_Size() int

func (*EventMarketWithdraw) XXX_Unmarshal

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

type EventOrderCancelled

type EventOrderCancelled struct {
	// order_id is the numerical identifier of the order cancelled.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// cancelled_by is the account that triggered the cancellation of the order.
	CancelledBy string `protobuf:"bytes,2,opt,name=cancelled_by,json=cancelledBy,proto3" json:"cancelled_by,omitempty"`
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// external_id is the order's external id.
	ExternalId string `protobuf:"bytes,4,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventOrderCancelled is an event emitted when an order is cancelled.

func NewEventOrderCancelled

func NewEventOrderCancelled(order OrderI, cancelledBy sdk.AccAddress) *EventOrderCancelled

func (*EventOrderCancelled) Descriptor

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

func (*EventOrderCancelled) GetCancelledBy

func (m *EventOrderCancelled) GetCancelledBy() string

func (*EventOrderCancelled) GetExternalId

func (m *EventOrderCancelled) GetExternalId() string

func (*EventOrderCancelled) GetMarketId

func (m *EventOrderCancelled) GetMarketId() uint32

func (*EventOrderCancelled) GetOrderId

func (m *EventOrderCancelled) GetOrderId() uint64

func (*EventOrderCancelled) Marshal

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

func (*EventOrderCancelled) MarshalTo

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

func (*EventOrderCancelled) MarshalToSizedBuffer

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

func (*EventOrderCancelled) ProtoMessage

func (*EventOrderCancelled) ProtoMessage()

func (*EventOrderCancelled) Reset

func (m *EventOrderCancelled) Reset()

func (*EventOrderCancelled) Size

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

func (*EventOrderCancelled) String

func (m *EventOrderCancelled) String() string

func (*EventOrderCancelled) Unmarshal

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

func (*EventOrderCancelled) XXX_DiscardUnknown

func (m *EventOrderCancelled) XXX_DiscardUnknown()

func (*EventOrderCancelled) XXX_Marshal

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

func (*EventOrderCancelled) XXX_Merge

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

func (*EventOrderCancelled) XXX_Size

func (m *EventOrderCancelled) XXX_Size() int

func (*EventOrderCancelled) XXX_Unmarshal

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

type EventOrderCreated

type EventOrderCreated struct {
	// order_id is the numerical identifier of the order created.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// order_type is the type of order, e.g. "ask" or "bid".
	OrderType string `protobuf:"bytes,2,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// external_id is the order's external id.
	ExternalId string `protobuf:"bytes,4,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventOrderCreated is an event emitted when an order is created.

func NewEventOrderCreated

func NewEventOrderCreated(order OrderI) *EventOrderCreated

func (*EventOrderCreated) Descriptor

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

func (*EventOrderCreated) GetExternalId

func (m *EventOrderCreated) GetExternalId() string

func (*EventOrderCreated) GetMarketId

func (m *EventOrderCreated) GetMarketId() uint32

func (*EventOrderCreated) GetOrderId

func (m *EventOrderCreated) GetOrderId() uint64

func (*EventOrderCreated) GetOrderType

func (m *EventOrderCreated) GetOrderType() string

func (*EventOrderCreated) Marshal

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

func (*EventOrderCreated) MarshalTo

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

func (*EventOrderCreated) MarshalToSizedBuffer

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

func (*EventOrderCreated) ProtoMessage

func (*EventOrderCreated) ProtoMessage()

func (*EventOrderCreated) Reset

func (m *EventOrderCreated) Reset()

func (*EventOrderCreated) Size

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

func (*EventOrderCreated) String

func (m *EventOrderCreated) String() string

func (*EventOrderCreated) Unmarshal

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

func (*EventOrderCreated) XXX_DiscardUnknown

func (m *EventOrderCreated) XXX_DiscardUnknown()

func (*EventOrderCreated) XXX_Marshal

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

func (*EventOrderCreated) XXX_Merge

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

func (*EventOrderCreated) XXX_Size

func (m *EventOrderCreated) XXX_Size() int

func (*EventOrderCreated) XXX_Unmarshal

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

type EventOrderExternalIDUpdated

type EventOrderExternalIDUpdated struct {
	// order_id is the numerical identifier of the order partially filled.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// external_id is the order's new external id.
	ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventOrderExternalIDUpdated is an event emitted when an order's external id is updated.

func NewEventOrderExternalIDUpdated

func NewEventOrderExternalIDUpdated(order OrderI) *EventOrderExternalIDUpdated

func (*EventOrderExternalIDUpdated) Descriptor

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

func (*EventOrderExternalIDUpdated) GetExternalId

func (m *EventOrderExternalIDUpdated) GetExternalId() string

func (*EventOrderExternalIDUpdated) GetMarketId

func (m *EventOrderExternalIDUpdated) GetMarketId() uint32

func (*EventOrderExternalIDUpdated) GetOrderId

func (m *EventOrderExternalIDUpdated) GetOrderId() uint64

func (*EventOrderExternalIDUpdated) Marshal

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

func (*EventOrderExternalIDUpdated) MarshalTo

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

func (*EventOrderExternalIDUpdated) MarshalToSizedBuffer

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

func (*EventOrderExternalIDUpdated) ProtoMessage

func (*EventOrderExternalIDUpdated) ProtoMessage()

func (*EventOrderExternalIDUpdated) Reset

func (m *EventOrderExternalIDUpdated) Reset()

func (*EventOrderExternalIDUpdated) Size

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

func (*EventOrderExternalIDUpdated) String

func (m *EventOrderExternalIDUpdated) String() string

func (*EventOrderExternalIDUpdated) Unmarshal

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

func (*EventOrderExternalIDUpdated) XXX_DiscardUnknown

func (m *EventOrderExternalIDUpdated) XXX_DiscardUnknown()

func (*EventOrderExternalIDUpdated) XXX_Marshal

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

func (*EventOrderExternalIDUpdated) XXX_Merge

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

func (*EventOrderExternalIDUpdated) XXX_Size

func (m *EventOrderExternalIDUpdated) XXX_Size() int

func (*EventOrderExternalIDUpdated) XXX_Unmarshal

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

type EventOrderFilled

type EventOrderFilled struct {
	// order_id is the numerical identifier of the order filled.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// assets is the coins amount string of assets bought/sold for this order.
	Assets string `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets,omitempty"`
	// price is the coins amount string of the price payed/received for this order.
	Price string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
	// fees is the coins amount string of settlement fees paid with this order.
	Fees string `protobuf:"bytes,4,opt,name=fees,proto3" json:"fees,omitempty"`
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,5,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// external_id is the order's external id.
	ExternalId string `protobuf:"bytes,6,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventOrderFilled is an event emitted when an order has been filled in full. This event is also used for orders that were previously partially filled, but have now been filled in full.

func NewEventOrderFilled

func NewEventOrderFilled(order OrderI) *EventOrderFilled

func (*EventOrderFilled) Descriptor

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

func (*EventOrderFilled) GetAssets

func (m *EventOrderFilled) GetAssets() string

func (*EventOrderFilled) GetExternalId

func (m *EventOrderFilled) GetExternalId() string

func (*EventOrderFilled) GetFees

func (m *EventOrderFilled) GetFees() string

func (*EventOrderFilled) GetMarketId

func (m *EventOrderFilled) GetMarketId() uint32

func (*EventOrderFilled) GetOrderId

func (m *EventOrderFilled) GetOrderId() uint64

func (*EventOrderFilled) GetPrice

func (m *EventOrderFilled) GetPrice() string

func (*EventOrderFilled) Marshal

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

func (*EventOrderFilled) MarshalTo

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

func (*EventOrderFilled) MarshalToSizedBuffer

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

func (*EventOrderFilled) ProtoMessage

func (*EventOrderFilled) ProtoMessage()

func (*EventOrderFilled) Reset

func (m *EventOrderFilled) Reset()

func (*EventOrderFilled) Size

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

func (*EventOrderFilled) String

func (m *EventOrderFilled) String() string

func (*EventOrderFilled) Unmarshal

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

func (*EventOrderFilled) XXX_DiscardUnknown

func (m *EventOrderFilled) XXX_DiscardUnknown()

func (*EventOrderFilled) XXX_Marshal

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

func (*EventOrderFilled) XXX_Merge

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

func (*EventOrderFilled) XXX_Size

func (m *EventOrderFilled) XXX_Size() int

func (*EventOrderFilled) XXX_Unmarshal

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

type EventOrderPartiallyFilled

type EventOrderPartiallyFilled struct {
	// order_id is the numerical identifier of the order partially filled.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// assets is the coins amount string of assets that were filled and removed from the order.
	Assets string `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets,omitempty"`
	// price is the coins amount string of the price payed/received for this order.
	// For ask orders, this might be more than the amount that was removed from the order's price.
	Price string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
	// fees is the coins amount string of settlement fees paid with this partial order.
	// For ask orders, this might be more than the amount that was removed from the order's settlement fees.
	Fees string `protobuf:"bytes,4,opt,name=fees,proto3" json:"fees,omitempty"`
	// market_id is the numerical identifier of the market.
	MarketId uint32 `protobuf:"varint,5,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// external_id is the order's external id.
	ExternalId string `protobuf:"bytes,6,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventOrderPartiallyFilled is an event emitted when an order filled in part and still has more left to fill.

func NewEventOrderPartiallyFilled

func NewEventOrderPartiallyFilled(order OrderI) *EventOrderPartiallyFilled

func (*EventOrderPartiallyFilled) Descriptor

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

func (*EventOrderPartiallyFilled) GetAssets

func (m *EventOrderPartiallyFilled) GetAssets() string

func (*EventOrderPartiallyFilled) GetExternalId

func (m *EventOrderPartiallyFilled) GetExternalId() string

func (*EventOrderPartiallyFilled) GetFees

func (m *EventOrderPartiallyFilled) GetFees() string

func (*EventOrderPartiallyFilled) GetMarketId

func (m *EventOrderPartiallyFilled) GetMarketId() uint32

func (*EventOrderPartiallyFilled) GetOrderId

func (m *EventOrderPartiallyFilled) GetOrderId() uint64

func (*EventOrderPartiallyFilled) GetPrice

func (m *EventOrderPartiallyFilled) GetPrice() string

func (*EventOrderPartiallyFilled) Marshal

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

func (*EventOrderPartiallyFilled) MarshalTo

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

func (*EventOrderPartiallyFilled) MarshalToSizedBuffer

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

func (*EventOrderPartiallyFilled) ProtoMessage

func (*EventOrderPartiallyFilled) ProtoMessage()

func (*EventOrderPartiallyFilled) Reset

func (m *EventOrderPartiallyFilled) Reset()

func (*EventOrderPartiallyFilled) Size

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

func (*EventOrderPartiallyFilled) String

func (m *EventOrderPartiallyFilled) String() string

func (*EventOrderPartiallyFilled) Unmarshal

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

func (*EventOrderPartiallyFilled) XXX_DiscardUnknown

func (m *EventOrderPartiallyFilled) XXX_DiscardUnknown()

func (*EventOrderPartiallyFilled) XXX_Marshal

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

func (*EventOrderPartiallyFilled) XXX_Merge

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

func (*EventOrderPartiallyFilled) XXX_Size

func (m *EventOrderPartiallyFilled) XXX_Size() int

func (*EventOrderPartiallyFilled) XXX_Unmarshal

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

type EventParamsUpdated

type EventParamsUpdated struct {
}

EventParamsUpdated is an event emitted when the exchange module's params have been updated.

func NewEventParamsUpdated

func NewEventParamsUpdated() *EventParamsUpdated

func (*EventParamsUpdated) Descriptor

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

func (*EventParamsUpdated) Marshal

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

func (*EventParamsUpdated) MarshalTo

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

func (*EventParamsUpdated) MarshalToSizedBuffer

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

func (*EventParamsUpdated) ProtoMessage

func (*EventParamsUpdated) ProtoMessage()

func (*EventParamsUpdated) Reset

func (m *EventParamsUpdated) Reset()

func (*EventParamsUpdated) Size

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

func (*EventParamsUpdated) String

func (m *EventParamsUpdated) String() string

func (*EventParamsUpdated) Unmarshal

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

func (*EventParamsUpdated) XXX_DiscardUnknown

func (m *EventParamsUpdated) XXX_DiscardUnknown()

func (*EventParamsUpdated) XXX_Marshal

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

func (*EventParamsUpdated) XXX_Merge

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

func (*EventParamsUpdated) XXX_Size

func (m *EventParamsUpdated) XXX_Size() int

func (*EventParamsUpdated) XXX_Unmarshal

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

type FeeRatio

type FeeRatio struct {
	// price is the unit the order price is divided by to get how much of the fee should apply.
	Price types1.Coin `protobuf:"bytes,1,opt,name=price,proto3" json:"price"`
	// fee is the amount to charge per price unit.
	Fee types1.Coin `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee"`
}

FeeRatio defines a ratio of price amount to fee amount. For an order to be valid, its price must be evenly divisible by a FeeRatio's price.

func IntersectionOfFeeRatios

func IntersectionOfFeeRatios(list1, list2 []FeeRatio) []FeeRatio

IntersectionOfFeeRatios returns each FeeRatio entry that is in both lists.

func MustParseFeeRatio

func MustParseFeeRatio(ratio string) FeeRatio

MustParseFeeRatio parses a "<price>:<fee>" string into a FeeRatio, panicking if there's a problem.

func ParseFeeRatio

func ParseFeeRatio(ratio string) (*FeeRatio, error)

ParseFeeRatio parses a "<price>:<fee>" string into a FeeRatio.

func (FeeRatio) ApplyTo

func (r FeeRatio) ApplyTo(price sdk.Coin) (sdk.Coin, error)

ApplyTo attempts to calculate the fee that results from applying this fee ratio to the provided price.

func (FeeRatio) ApplyToLoosely

func (r FeeRatio) ApplyToLoosely(price sdk.Coin) (sdk.Coin, error)

ApplyToLoosely calculates the fee that results from applying this fee ratio to the provided price, allowing for the ratio to not evenly apply to the price.

func (*FeeRatio) Descriptor

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

func (FeeRatio) Equals

func (r FeeRatio) Equals(other FeeRatio) bool

Equals returns true if this FeeRatio has the same price and fee as the provided other FeeRatio.

func (*FeeRatio) GetFee

func (m *FeeRatio) GetFee() types1.Coin

func (*FeeRatio) GetPrice

func (m *FeeRatio) GetPrice() types1.Coin

func (*FeeRatio) Marshal

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

func (*FeeRatio) MarshalTo

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

func (*FeeRatio) MarshalToSizedBuffer

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

func (*FeeRatio) ProtoMessage

func (*FeeRatio) ProtoMessage()

func (*FeeRatio) Reset

func (m *FeeRatio) Reset()

func (*FeeRatio) Size

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

func (FeeRatio) String

func (r FeeRatio) String() string

String returns a string representation of this FeeRatio.

func (*FeeRatio) Unmarshal

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

func (FeeRatio) Validate

func (r FeeRatio) Validate() error

Validate returns an error if this FeeRatio is invalid.

func (*FeeRatio) XXX_DiscardUnknown

func (m *FeeRatio) XXX_DiscardUnknown()

func (*FeeRatio) XXX_Marshal

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

func (*FeeRatio) XXX_Merge

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

func (*FeeRatio) XXX_Size

func (m *FeeRatio) XXX_Size() int

func (*FeeRatio) XXX_Unmarshal

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

type FilledOrder

type FilledOrder struct {
	// contains filtered or unexported fields
}

FilledOrder holds an order that has been filled (either in full or partially). The GetPrice() and GetSettlementFees() methods indicate the actual amounts involved in the fulfillment.

func NewFilledOrder

func NewFilledOrder(order *Order, actualPrice sdk.Coin, actualFees sdk.Coins) *FilledOrder

func (FilledOrder) GetAssets

func (o FilledOrder) GetAssets() sdk.Coin

GetAssets returns the assets for this order.

func (FilledOrder) GetExternalID

func (o FilledOrder) GetExternalID() string

GetExternalID returns this order's external id.

func (FilledOrder) GetHoldAmount

func (o FilledOrder) GetHoldAmount() sdk.Coins

GetHoldAmount returns the amount that should be on hold for this order.

func (FilledOrder) GetMarketID

func (o FilledOrder) GetMarketID() uint32

GetMarketID returns the market id for this order.

func (FilledOrder) GetOrderID

func (o FilledOrder) GetOrderID() uint64

GetOrderID gets the numerical identifier for this order.

func (FilledOrder) GetOrderType

func (o FilledOrder) GetOrderType() string

GetOrderType returns a string indicating what type this order is. E.g: OrderTypeAsk or OrderTypeBid

func (FilledOrder) GetOrderTypeByte

func (o FilledOrder) GetOrderTypeByte() byte

GetOrderTypeByte returns the type byte for this order. E.g: OrderTypeByteAsk or OrderTypeByteBid

func (FilledOrder) GetOriginalOrder

func (o FilledOrder) GetOriginalOrder() *Order

GetOriginalOrder gets the original order that this filled order represents.

func (FilledOrder) GetOriginalPrice

func (o FilledOrder) GetOriginalPrice() sdk.Coin

GetOriginalPrice gets the original price of this order.

func (FilledOrder) GetOriginalSettlementFees

func (o FilledOrder) GetOriginalSettlementFees() sdk.Coins

GetOriginalSettlementFees gets the original settlement fees of this order.

func (FilledOrder) GetOwner

func (o FilledOrder) GetOwner() string

GetOwner returns the owner of this order. E.g. the seller for ask orders, or buyer for bid orders.

func (FilledOrder) GetPrice

func (o FilledOrder) GetPrice() sdk.Coin

GetPrice returns the actual price involved in this order fulfillment.

func (FilledOrder) GetSettlementFees

func (o FilledOrder) GetSettlementFees() sdk.Coins

GetSettlementFees returns the actual settlement fees involved in this order fulfillment.

func (FilledOrder) IsAskOrder

func (o FilledOrder) IsAskOrder() bool

IsAskOrder returns true if this order is an ask order.

func (FilledOrder) IsBidOrder

func (o FilledOrder) IsBidOrder() bool

IsBidOrder returns true if this order is a bid order.

func (FilledOrder) PartialFillAllowed

func (o FilledOrder) PartialFillAllowed() bool

PartialFillAllowed returns true if this order allows partial fulfillment.

func (FilledOrder) Validate

func (o FilledOrder) Validate() error

Validate returns nil (because it's assumed that the order was validated long ago). This is just here to fulfill the OrderI interface.

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the exchange module.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// markets are all of the markets to create at genesis.
	Markets []Market `protobuf:"bytes,2,rep,name=markets,proto3" json:"markets"`
	// orders are all the orders to create at genesis.
	Orders []Order `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders"`
	// last_market_id is the value of the last auto-selected market id.
	LastMarketId uint32 `protobuf:"varint,4,opt,name=last_market_id,json=lastMarketId,proto3" json:"last_market_id,omitempty"`
	// last_order_id is the value of the last order id created.
	LastOrderId uint64 `protobuf:"varint,5,opt,name=last_order_id,json=lastOrderId,proto3" json:"last_order_id,omitempty"`
}

GenesisState is the data that should be loaded into the exchange module during genesis.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns the default genesis state for the exchange module.

func (*GenesisState) Descriptor

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

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (g GenesisState) Validate() error

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type HoldKeeper

type HoldKeeper interface {
	AddHold(ctx sdk.Context, addr sdk.AccAddress, funds sdk.Coins, reason string) error
	ReleaseHold(ctx sdk.Context, addr sdk.AccAddress, funds sdk.Coins) error
	GetHoldCoin(ctx sdk.Context, addr sdk.AccAddress, denom string) (sdk.Coin, error)
}

type IndexedAddrAmts

type IndexedAddrAmts struct {
	// contains filtered or unexported fields
}

IndexedAddrAmts is a set of addresses and amounts.

func NewIndexedAddrAmts

func NewIndexedAddrAmts() *IndexedAddrAmts

func (*IndexedAddrAmts) Add

func (i *IndexedAddrAmts) Add(addr string, coins ...sdk.Coin)

Add adds the coins to the given address. Panics if a provided coin is invalid.

func (*IndexedAddrAmts) GetAsInputs

func (i *IndexedAddrAmts) GetAsInputs() []banktypes.Input

GetAsInputs returns all the entries as bank Inputs. Panics if this is nil, has no addrs, or has a negative coin amount.

func (*IndexedAddrAmts) GetAsOutputs

func (i *IndexedAddrAmts) GetAsOutputs() []banktypes.Output

GetAsOutputs returns all the entries as bank Outputs. Panics if this is nil, has no addrs, or has a negative coin amount.

type Market

type Market struct {
	// market_id is the numerical identifier for this market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// market_details is some information about this market.
	MarketDetails MarketDetails `protobuf:"bytes,2,opt,name=market_details,json=marketDetails,proto3" json:"market_details"`
	// fee_create_ask_flat is the flat fee charged for creating an ask order.
	// Each coin entry is a separate option. When an ask is created, one of these must be paid.
	// If empty, no fee is required to create an ask order.
	FeeCreateAskFlat []types1.Coin `protobuf:"bytes,3,rep,name=fee_create_ask_flat,json=feeCreateAskFlat,proto3" json:"fee_create_ask_flat"`
	// fee_create_bid_flat is the flat fee charged for creating a bid order.
	// Each coin entry is a separate option. When a bid is created, one of these must be paid.
	// If empty, no fee is required to create a bid order.
	FeeCreateBidFlat []types1.Coin `protobuf:"bytes,4,rep,name=fee_create_bid_flat,json=feeCreateBidFlat,proto3" json:"fee_create_bid_flat"`
	// fee_seller_settlement_flat is the flat fee charged to the seller during settlement.
	// Each coin entry is a separate option.
	// When an ask is settled, the seller will pay the amount in the denom that matches the price they received.
	FeeSellerSettlementFlat []types1.Coin `protobuf:"bytes,5,rep,name=fee_seller_settlement_flat,json=feeSellerSettlementFlat,proto3" json:"fee_seller_settlement_flat"`
	// fee_seller_settlement_ratios is the fee to charge a seller during settlement based on the price they are receiving.
	// The price and fee denoms must be equal for each entry, and only one entry for any given denom is allowed.
	FeeSellerSettlementRatios []FeeRatio `` /* 130-byte string literal not displayed */
	// fee_buyer_settlement_flat is the flat fee charged to the buyer during settlement.
	// Each coin entry is a separate option.
	// When a bid is created, the settlement fees provided must contain one of these.
	FeeBuyerSettlementFlat []types1.Coin `protobuf:"bytes,7,rep,name=fee_buyer_settlement_flat,json=feeBuyerSettlementFlat,proto3" json:"fee_buyer_settlement_flat"`
	// fee_buyer_settlement_ratios is the fee to charge a buyer during settlement based on the price they are spending.
	// The price and fee denoms do not have to equal. Multiple entries for any given price or fee denom are allowed, but
	// each price denom to fee denom pair can only have one entry.
	FeeBuyerSettlementRatios []FeeRatio `` /* 127-byte string literal not displayed */
	// accepting_orders is whether this market is allowing orders to be created for it.
	AcceptingOrders bool `protobuf:"varint,9,opt,name=accepting_orders,json=acceptingOrders,proto3" json:"accepting_orders,omitempty"`
	// allow_user_settlement is whether this market allows users to initiate their own settlements.
	// For example, the FillBids and FillAsks endpoints are available if and only if this is true.
	// The MarketSettle endpoint is only available to market actors regardless of the value of this field.
	AllowUserSettlement bool `protobuf:"varint,10,opt,name=allow_user_settlement,json=allowUserSettlement,proto3" json:"allow_user_settlement,omitempty"`
	// access_grants is the list of addresses and permissions granted for this market.
	AccessGrants []AccessGrant `protobuf:"bytes,11,rep,name=access_grants,json=accessGrants,proto3" json:"access_grants"`
	// req_attr_create_ask is a list of attributes required on an account for it to be allowed to create an ask order.
	// An account must have all of these attributes in order to create an ask order in this market.
	// If the list is empty, any account can create ask orders in this market.
	//
	// An entry that starts with "*." will match any attributes that end with the rest of it.
	// E.g. "*.b.a" will match all of "c.b.a", "x.b.a", and "e.d.c.b.a"; but not "b.a", "xb.a", "b.x.a", or "c.b.a.x".
	ReqAttrCreateAsk []string `protobuf:"bytes,12,rep,name=req_attr_create_ask,json=reqAttrCreateAsk,proto3" json:"req_attr_create_ask,omitempty"`
	// req_attr_create_ask is a list of attributes required on an account for it to be allowed to create a bid order.
	// An account must have all of these attributes in order to create a bid order in this market.
	// If the list is empty, any account can create bid orders in this market.
	//
	// An entry that starts with "*." will match any attributes that end with the rest of it.
	// E.g. "*.b.a" will match all of "c.b.a", "x.b.a", and "e.d.c.b.a"; but not "b.a", "xb.a", "c.b.x.a", or "c.b.a.x".
	ReqAttrCreateBid []string `protobuf:"bytes,13,rep,name=req_attr_create_bid,json=reqAttrCreateBid,proto3" json:"req_attr_create_bid,omitempty"`
}

Market contains all information about a market.

func (*Market) Descriptor

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

func (*Market) GetAcceptingOrders

func (m *Market) GetAcceptingOrders() bool

func (*Market) GetAccessGrants

func (m *Market) GetAccessGrants() []AccessGrant

func (*Market) GetAllowUserSettlement

func (m *Market) GetAllowUserSettlement() bool

func (*Market) GetFeeBuyerSettlementFlat

func (m *Market) GetFeeBuyerSettlementFlat() []types1.Coin

func (*Market) GetFeeBuyerSettlementRatios

func (m *Market) GetFeeBuyerSettlementRatios() []FeeRatio

func (*Market) GetFeeCreateAskFlat

func (m *Market) GetFeeCreateAskFlat() []types1.Coin

func (*Market) GetFeeCreateBidFlat

func (m *Market) GetFeeCreateBidFlat() []types1.Coin

func (*Market) GetFeeSellerSettlementFlat

func (m *Market) GetFeeSellerSettlementFlat() []types1.Coin

func (*Market) GetFeeSellerSettlementRatios

func (m *Market) GetFeeSellerSettlementRatios() []FeeRatio

func (*Market) GetMarketDetails

func (m *Market) GetMarketDetails() MarketDetails

func (*Market) GetMarketId

func (m *Market) GetMarketId() uint32

func (*Market) GetReqAttrCreateAsk

func (m *Market) GetReqAttrCreateAsk() []string

func (*Market) GetReqAttrCreateBid

func (m *Market) GetReqAttrCreateBid() []string

func (*Market) Marshal

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

func (*Market) MarshalTo

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

func (*Market) MarshalToSizedBuffer

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

func (*Market) ProtoMessage

func (*Market) ProtoMessage()

func (*Market) Reset

func (m *Market) Reset()

func (*Market) Size

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

func (*Market) String

func (m *Market) String() string

func (*Market) Unmarshal

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

func (Market) Validate

func (m Market) Validate() error

Validate makes sure that everything in this Market is valid. The MarketId is allowed to be zero in here. Some uses might require it to have a value, but that check is left up to the caller.

func (*Market) XXX_DiscardUnknown

func (m *Market) XXX_DiscardUnknown()

func (*Market) XXX_Marshal

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

func (*Market) XXX_Merge

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

func (*Market) XXX_Size

func (m *Market) XXX_Size() int

func (*Market) XXX_Unmarshal

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

type MarketAccount

type MarketAccount struct {
	// base_account is the base cosmos account information.
	*types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"`
	// market_id is the numerical identifier for this market.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// market_details is some human-consumable information about this market.
	MarketDetails MarketDetails `protobuf:"bytes,3,opt,name=market_details,json=marketDetails,proto3" json:"market_details"`
}

MarketAccount is an account type for use with the accounts module to hold some basic information about a market.

func (*MarketAccount) Descriptor

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

func (*MarketAccount) Marshal

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

func (*MarketAccount) MarshalTo

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

func (*MarketAccount) MarshalToSizedBuffer

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

func (*MarketAccount) ProtoMessage

func (*MarketAccount) ProtoMessage()

func (*MarketAccount) Reset

func (m *MarketAccount) Reset()

func (*MarketAccount) Size

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

func (*MarketAccount) Unmarshal

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

func (*MarketAccount) XXX_DiscardUnknown

func (m *MarketAccount) XXX_DiscardUnknown()

func (*MarketAccount) XXX_Marshal

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

func (*MarketAccount) XXX_Merge

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

func (*MarketAccount) XXX_Size

func (m *MarketAccount) XXX_Size() int

func (*MarketAccount) XXX_Unmarshal

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

type MarketBrief

type MarketBrief struct {
	// market_id is the numerical identifier for this market.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// market_address is the bech32 address string of this market's account.
	MarketAddress string `protobuf:"bytes,2,opt,name=market_address,json=marketAddress,proto3" json:"market_address,omitempty"`
	// market_details is some information about this market.
	MarketDetails MarketDetails `protobuf:"bytes,3,opt,name=market_details,json=marketDetails,proto3" json:"market_details"`
}

MarketBrief is a message containing brief, superficial information about a market.

func (*MarketBrief) Descriptor

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

func (*MarketBrief) GetMarketAddress

func (m *MarketBrief) GetMarketAddress() string

func (*MarketBrief) GetMarketDetails

func (m *MarketBrief) GetMarketDetails() MarketDetails

func (*MarketBrief) GetMarketId

func (m *MarketBrief) GetMarketId() uint32

func (*MarketBrief) Marshal

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

func (*MarketBrief) MarshalTo

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

func (*MarketBrief) MarshalToSizedBuffer

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

func (*MarketBrief) ProtoMessage

func (*MarketBrief) ProtoMessage()

func (*MarketBrief) Reset

func (m *MarketBrief) Reset()

func (*MarketBrief) Size

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

func (*MarketBrief) String

func (m *MarketBrief) String() string

func (*MarketBrief) Unmarshal

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

func (*MarketBrief) XXX_DiscardUnknown

func (m *MarketBrief) XXX_DiscardUnknown()

func (*MarketBrief) XXX_Marshal

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

func (*MarketBrief) XXX_Merge

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

func (*MarketBrief) XXX_Size

func (m *MarketBrief) XXX_Size() int

func (*MarketBrief) XXX_Unmarshal

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

type MarketDetails

type MarketDetails struct {
	// name is a moniker that people can use to refer to this market.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// description extra information about this market. The field is meant to be human-readable.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// website_url is a url people can use to get to this market, or at least get more information about this market.
	WebsiteUrl string `protobuf:"bytes,3,opt,name=website_url,json=websiteUrl,proto3" json:"website_url,omitempty"`
	// icon_uri is a uri for an icon to associate with this market.
	IconUri string `protobuf:"bytes,4,opt,name=icon_uri,json=iconUri,proto3" json:"icon_uri,omitempty"`
}

MarketDetails contains information about a market.

func (*MarketDetails) Descriptor

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

func (*MarketDetails) Equal

func (this *MarketDetails) Equal(that interface{}) bool

func (*MarketDetails) GetDescription

func (m *MarketDetails) GetDescription() string

func (*MarketDetails) GetIconUri

func (m *MarketDetails) GetIconUri() string

func (*MarketDetails) GetName

func (m *MarketDetails) GetName() string

func (*MarketDetails) GetWebsiteUrl

func (m *MarketDetails) GetWebsiteUrl() string

func (*MarketDetails) Marshal

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

func (*MarketDetails) MarshalTo

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

func (*MarketDetails) MarshalToSizedBuffer

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

func (*MarketDetails) ProtoMessage

func (*MarketDetails) ProtoMessage()

func (*MarketDetails) Reset

func (m *MarketDetails) Reset()

func (*MarketDetails) Size

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

func (*MarketDetails) String

func (m *MarketDetails) String() string

func (*MarketDetails) Unmarshal

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

func (MarketDetails) Validate

func (d MarketDetails) Validate() error

Validate returns an error if anything in this MarketDetails is invalid.

func (*MarketDetails) XXX_DiscardUnknown

func (m *MarketDetails) XXX_DiscardUnknown()

func (*MarketDetails) XXX_Marshal

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

func (*MarketDetails) XXX_Merge

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

func (*MarketDetails) XXX_Size

func (m *MarketDetails) XXX_Size() int

func (*MarketDetails) XXX_Unmarshal

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

type MsgCancelOrderRequest

type MsgCancelOrderRequest struct {
	// signer is the account requesting the order cancelation.
	// It must be either the order owner (e.g. the buyer or seller), the governance module account address, or an account
	// with cancel permission with the market that the order is in.
	Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"`
	// order_id is the id of the order to cancel.
	OrderId uint64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
}

MsgCancelOrderRequest is a request message for the CancelOrder endpoint.

func (*MsgCancelOrderRequest) Descriptor

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

func (*MsgCancelOrderRequest) GetOrderId

func (m *MsgCancelOrderRequest) GetOrderId() uint64

func (*MsgCancelOrderRequest) GetSigner

func (m *MsgCancelOrderRequest) GetSigner() string

func (MsgCancelOrderRequest) GetSigners

func (m MsgCancelOrderRequest) GetSigners() []sdk.AccAddress

func (*MsgCancelOrderRequest) Marshal

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

func (*MsgCancelOrderRequest) MarshalTo

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

func (*MsgCancelOrderRequest) MarshalToSizedBuffer

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

func (*MsgCancelOrderRequest) ProtoMessage

func (*MsgCancelOrderRequest) ProtoMessage()

func (*MsgCancelOrderRequest) Reset

func (m *MsgCancelOrderRequest) Reset()

func (*MsgCancelOrderRequest) Size

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

func (*MsgCancelOrderRequest) String

func (m *MsgCancelOrderRequest) String() string

func (*MsgCancelOrderRequest) Unmarshal

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

func (MsgCancelOrderRequest) ValidateBasic

func (m MsgCancelOrderRequest) ValidateBasic() error

func (*MsgCancelOrderRequest) XXX_DiscardUnknown

func (m *MsgCancelOrderRequest) XXX_DiscardUnknown()

func (*MsgCancelOrderRequest) XXX_Marshal

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

func (*MsgCancelOrderRequest) XXX_Merge

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

func (*MsgCancelOrderRequest) XXX_Size

func (m *MsgCancelOrderRequest) XXX_Size() int

func (*MsgCancelOrderRequest) XXX_Unmarshal

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

type MsgCancelOrderResponse

type MsgCancelOrderResponse struct {
}

MsgCancelOrderResponse is a response message for the CancelOrder endpoint.

func (*MsgCancelOrderResponse) Descriptor

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

func (*MsgCancelOrderResponse) Marshal

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

func (*MsgCancelOrderResponse) MarshalTo

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

func (*MsgCancelOrderResponse) MarshalToSizedBuffer

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

func (*MsgCancelOrderResponse) ProtoMessage

func (*MsgCancelOrderResponse) ProtoMessage()

func (*MsgCancelOrderResponse) Reset

func (m *MsgCancelOrderResponse) Reset()

func (*MsgCancelOrderResponse) Size

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

func (*MsgCancelOrderResponse) String

func (m *MsgCancelOrderResponse) String() string

func (*MsgCancelOrderResponse) Unmarshal

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

func (*MsgCancelOrderResponse) XXX_DiscardUnknown

func (m *MsgCancelOrderResponse) XXX_DiscardUnknown()

func (*MsgCancelOrderResponse) XXX_Marshal

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

func (*MsgCancelOrderResponse) XXX_Merge

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

func (*MsgCancelOrderResponse) XXX_Size

func (m *MsgCancelOrderResponse) XXX_Size() int

func (*MsgCancelOrderResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// CreateAsk creates an ask order (to sell something you own).
	CreateAsk(ctx context.Context, in *MsgCreateAskRequest, opts ...grpc.CallOption) (*MsgCreateAskResponse, error)
	// CreateBid creates a bid order (to buy something you want).
	CreateBid(ctx context.Context, in *MsgCreateBidRequest, opts ...grpc.CallOption) (*MsgCreateBidResponse, error)
	// CancelOrder cancels an order.
	CancelOrder(ctx context.Context, in *MsgCancelOrderRequest, opts ...grpc.CallOption) (*MsgCancelOrderResponse, error)
	// FillBids uses the assets in your account to fulfill one or more bids (similar to a fill-or-cancel ask).
	FillBids(ctx context.Context, in *MsgFillBidsRequest, opts ...grpc.CallOption) (*MsgFillBidsResponse, error)
	// FillAsks uses the funds in your account to fulfill one or more asks (similar to a fill-or-cancel bid).
	FillAsks(ctx context.Context, in *MsgFillAsksRequest, opts ...grpc.CallOption) (*MsgFillAsksResponse, error)
	// MarketSettle is a market endpoint to trigger the settlement of orders.
	MarketSettle(ctx context.Context, in *MsgMarketSettleRequest, opts ...grpc.CallOption) (*MsgMarketSettleResponse, error)
	// MarketSetOrderExternalID updates an order's external id field.
	MarketSetOrderExternalID(ctx context.Context, in *MsgMarketSetOrderExternalIDRequest, opts ...grpc.CallOption) (*MsgMarketSetOrderExternalIDResponse, error)
	// MarketWithdraw is a market endpoint to withdraw fees that have been collected.
	MarketWithdraw(ctx context.Context, in *MsgMarketWithdrawRequest, opts ...grpc.CallOption) (*MsgMarketWithdrawResponse, error)
	// MarketUpdateDetails is a market endpoint to update its details.
	MarketUpdateDetails(ctx context.Context, in *MsgMarketUpdateDetailsRequest, opts ...grpc.CallOption) (*MsgMarketUpdateDetailsResponse, error)
	// MarketUpdateEnabled is a market endpoint to update whether its accepting orders.
	MarketUpdateEnabled(ctx context.Context, in *MsgMarketUpdateEnabledRequest, opts ...grpc.CallOption) (*MsgMarketUpdateEnabledResponse, error)
	// MarketUpdateUserSettle is a market endpoint to update whether it allows user-initiated settlement.
	MarketUpdateUserSettle(ctx context.Context, in *MsgMarketUpdateUserSettleRequest, opts ...grpc.CallOption) (*MsgMarketUpdateUserSettleResponse, error)
	// MarketManagePermissions is a market endpoint to manage a market's user permissions.
	MarketManagePermissions(ctx context.Context, in *MsgMarketManagePermissionsRequest, opts ...grpc.CallOption) (*MsgMarketManagePermissionsResponse, error)
	// MarketManageReqAttrs is a market endpoint to manage the attributes required to interact with it.
	MarketManageReqAttrs(ctx context.Context, in *MsgMarketManageReqAttrsRequest, opts ...grpc.CallOption) (*MsgMarketManageReqAttrsResponse, error)
	// GovCreateMarket is a governance proposal endpoint for creating a market.
	GovCreateMarket(ctx context.Context, in *MsgGovCreateMarketRequest, opts ...grpc.CallOption) (*MsgGovCreateMarketResponse, error)
	// GovManageFees is a governance proposal endpoint for updating a market's fees.
	GovManageFees(ctx context.Context, in *MsgGovManageFeesRequest, opts ...grpc.CallOption) (*MsgGovManageFeesResponse, error)
	// GovUpdateParams is a governance proposal endpoint for updating the exchange module's params.
	GovUpdateParams(ctx context.Context, in *MsgGovUpdateParamsRequest, opts ...grpc.CallOption) (*MsgGovUpdateParamsResponse, 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 MsgCreateAskRequest

type MsgCreateAskRequest struct {
	// ask_order is the details of the order being created.
	AskOrder AskOrder `protobuf:"bytes,1,opt,name=ask_order,json=askOrder,proto3" json:"ask_order"`
	// order_creation_fee is the fee that is being paid to create this order.
	OrderCreationFee *types.Coin `protobuf:"bytes,2,opt,name=order_creation_fee,json=orderCreationFee,proto3" json:"order_creation_fee,omitempty"`
}

MsgCreateAskRequest is a request message for the CreateAsk endpoint.

func (*MsgCreateAskRequest) Descriptor

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

func (*MsgCreateAskRequest) GetAskOrder

func (m *MsgCreateAskRequest) GetAskOrder() AskOrder

func (*MsgCreateAskRequest) GetOrderCreationFee

func (m *MsgCreateAskRequest) GetOrderCreationFee() *types.Coin

func (MsgCreateAskRequest) GetSigners

func (m MsgCreateAskRequest) GetSigners() []sdk.AccAddress

func (*MsgCreateAskRequest) Marshal

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

func (*MsgCreateAskRequest) MarshalTo

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

func (*MsgCreateAskRequest) MarshalToSizedBuffer

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

func (*MsgCreateAskRequest) ProtoMessage

func (*MsgCreateAskRequest) ProtoMessage()

func (*MsgCreateAskRequest) Reset

func (m *MsgCreateAskRequest) Reset()

func (*MsgCreateAskRequest) Size

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

func (*MsgCreateAskRequest) String

func (m *MsgCreateAskRequest) String() string

func (*MsgCreateAskRequest) Unmarshal

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

func (MsgCreateAskRequest) ValidateBasic

func (m MsgCreateAskRequest) ValidateBasic() error

func (*MsgCreateAskRequest) XXX_DiscardUnknown

func (m *MsgCreateAskRequest) XXX_DiscardUnknown()

func (*MsgCreateAskRequest) XXX_Marshal

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

func (*MsgCreateAskRequest) XXX_Merge

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

func (*MsgCreateAskRequest) XXX_Size

func (m *MsgCreateAskRequest) XXX_Size() int

func (*MsgCreateAskRequest) XXX_Unmarshal

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

type MsgCreateAskResponse

type MsgCreateAskResponse struct {
	// order_id is the id of the order created.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
}

MsgCreateAskResponse is a response message for the CreateAsk endpoint.

func (*MsgCreateAskResponse) Descriptor

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

func (*MsgCreateAskResponse) GetOrderId

func (m *MsgCreateAskResponse) GetOrderId() uint64

func (*MsgCreateAskResponse) Marshal

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

func (*MsgCreateAskResponse) MarshalTo

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

func (*MsgCreateAskResponse) MarshalToSizedBuffer

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

func (*MsgCreateAskResponse) ProtoMessage

func (*MsgCreateAskResponse) ProtoMessage()

func (*MsgCreateAskResponse) Reset

func (m *MsgCreateAskResponse) Reset()

func (*MsgCreateAskResponse) Size

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

func (*MsgCreateAskResponse) String

func (m *MsgCreateAskResponse) String() string

func (*MsgCreateAskResponse) Unmarshal

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

func (*MsgCreateAskResponse) XXX_DiscardUnknown

func (m *MsgCreateAskResponse) XXX_DiscardUnknown()

func (*MsgCreateAskResponse) XXX_Marshal

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

func (*MsgCreateAskResponse) XXX_Merge

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

func (*MsgCreateAskResponse) XXX_Size

func (m *MsgCreateAskResponse) XXX_Size() int

func (*MsgCreateAskResponse) XXX_Unmarshal

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

type MsgCreateBidRequest

type MsgCreateBidRequest struct {
	// bid_order is the details of the order being created.
	BidOrder BidOrder `protobuf:"bytes,1,opt,name=bid_order,json=bidOrder,proto3" json:"bid_order"`
	// order_creation_fee is the fee that is being paid to create this order.
	OrderCreationFee *types.Coin `protobuf:"bytes,2,opt,name=order_creation_fee,json=orderCreationFee,proto3" json:"order_creation_fee,omitempty"`
}

MsgCreateBidRequest is a request message for the CreateBid endpoint.

func (*MsgCreateBidRequest) Descriptor

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

func (*MsgCreateBidRequest) GetBidOrder

func (m *MsgCreateBidRequest) GetBidOrder() BidOrder

func (*MsgCreateBidRequest) GetOrderCreationFee

func (m *MsgCreateBidRequest) GetOrderCreationFee() *types.Coin

func (MsgCreateBidRequest) GetSigners

func (m MsgCreateBidRequest) GetSigners() []sdk.AccAddress

func (*MsgCreateBidRequest) Marshal

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

func (*MsgCreateBidRequest) MarshalTo

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

func (*MsgCreateBidRequest) MarshalToSizedBuffer

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

func (*MsgCreateBidRequest) ProtoMessage

func (*MsgCreateBidRequest) ProtoMessage()

func (*MsgCreateBidRequest) Reset

func (m *MsgCreateBidRequest) Reset()

func (*MsgCreateBidRequest) Size

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

func (*MsgCreateBidRequest) String

func (m *MsgCreateBidRequest) String() string

func (*MsgCreateBidRequest) Unmarshal

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

func (MsgCreateBidRequest) ValidateBasic

func (m MsgCreateBidRequest) ValidateBasic() error

func (*MsgCreateBidRequest) XXX_DiscardUnknown

func (m *MsgCreateBidRequest) XXX_DiscardUnknown()

func (*MsgCreateBidRequest) XXX_Marshal

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

func (*MsgCreateBidRequest) XXX_Merge

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

func (*MsgCreateBidRequest) XXX_Size

func (m *MsgCreateBidRequest) XXX_Size() int

func (*MsgCreateBidRequest) XXX_Unmarshal

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

type MsgCreateBidResponse

type MsgCreateBidResponse struct {
	// order_id is the id of the order created.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
}

MsgCreateBidResponse is a response message for the CreateBid endpoint.

func (*MsgCreateBidResponse) Descriptor

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

func (*MsgCreateBidResponse) GetOrderId

func (m *MsgCreateBidResponse) GetOrderId() uint64

func (*MsgCreateBidResponse) Marshal

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

func (*MsgCreateBidResponse) MarshalTo

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

func (*MsgCreateBidResponse) MarshalToSizedBuffer

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

func (*MsgCreateBidResponse) ProtoMessage

func (*MsgCreateBidResponse) ProtoMessage()

func (*MsgCreateBidResponse) Reset

func (m *MsgCreateBidResponse) Reset()

func (*MsgCreateBidResponse) Size

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

func (*MsgCreateBidResponse) String

func (m *MsgCreateBidResponse) String() string

func (*MsgCreateBidResponse) Unmarshal

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

func (*MsgCreateBidResponse) XXX_DiscardUnknown

func (m *MsgCreateBidResponse) XXX_DiscardUnknown()

func (*MsgCreateBidResponse) XXX_Marshal

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

func (*MsgCreateBidResponse) XXX_Merge

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

func (*MsgCreateBidResponse) XXX_Size

func (m *MsgCreateBidResponse) XXX_Size() int

func (*MsgCreateBidResponse) XXX_Unmarshal

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

type MsgFillAsksRequest

type MsgFillAsksRequest struct {
	// buyer is the address of the account attempting to buy some assets.
	Buyer string `protobuf:"bytes,1,opt,name=buyer,proto3" json:"buyer,omitempty"`
	// market_id is the numerical identifier of the market with the asks to fill.
	// All ask orders being filled must be in this market.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// total_price is the total amount being spent on some assets.
	// It must be the sum of all ask order prices.
	TotalPrice types.Coin `protobuf:"bytes,3,opt,name=total_price,json=totalPrice,proto3" json:"total_price"`
	// ask_order_ids are the ids of the ask orders that you are trying to fill.
	// All ids must be for ask orders, and must be in the same market as the market_id.
	AskOrderIds []uint64 `protobuf:"varint,4,rep,packed,name=ask_order_ids,json=askOrderIds,proto3" json:"ask_order_ids,omitempty"`
	// buyer_settlement_fees are the fees (both flat and proportional) that the buyer will pay (in addition to the price)
	// for this settlement.
	BuyerSettlementFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 164-byte string literal not displayed */
	// bid_order_creation_fee is the fee that is being paid to create this order (which is immediately then settled).
	BidOrderCreationFee *types.Coin `protobuf:"bytes,6,opt,name=bid_order_creation_fee,json=bidOrderCreationFee,proto3" json:"bid_order_creation_fee,omitempty"`
}

MsgFillAsksRequest is a request message for the FillAsks endpoint.

func (*MsgFillAsksRequest) Descriptor

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

func (*MsgFillAsksRequest) GetAskOrderIds

func (m *MsgFillAsksRequest) GetAskOrderIds() []uint64

func (*MsgFillAsksRequest) GetBidOrderCreationFee

func (m *MsgFillAsksRequest) GetBidOrderCreationFee() *types.Coin

func (*MsgFillAsksRequest) GetBuyer

func (m *MsgFillAsksRequest) GetBuyer() string

func (*MsgFillAsksRequest) GetBuyerSettlementFees

func (m *MsgFillAsksRequest) GetBuyerSettlementFees() github_com_cosmos_cosmos_sdk_types.Coins

func (*MsgFillAsksRequest) GetMarketId

func (m *MsgFillAsksRequest) GetMarketId() uint32

func (MsgFillAsksRequest) GetSigners

func (m MsgFillAsksRequest) GetSigners() []sdk.AccAddress

func (*MsgFillAsksRequest) GetTotalPrice

func (m *MsgFillAsksRequest) GetTotalPrice() types.Coin

func (*MsgFillAsksRequest) Marshal

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

func (*MsgFillAsksRequest) MarshalTo

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

func (*MsgFillAsksRequest) MarshalToSizedBuffer

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

func (*MsgFillAsksRequest) ProtoMessage

func (*MsgFillAsksRequest) ProtoMessage()

func (*MsgFillAsksRequest) Reset

func (m *MsgFillAsksRequest) Reset()

func (*MsgFillAsksRequest) Size

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

func (*MsgFillAsksRequest) String

func (m *MsgFillAsksRequest) String() string

func (*MsgFillAsksRequest) Unmarshal

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

func (MsgFillAsksRequest) ValidateBasic

func (m MsgFillAsksRequest) ValidateBasic() error

func (*MsgFillAsksRequest) XXX_DiscardUnknown

func (m *MsgFillAsksRequest) XXX_DiscardUnknown()

func (*MsgFillAsksRequest) XXX_Marshal

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

func (*MsgFillAsksRequest) XXX_Merge

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

func (*MsgFillAsksRequest) XXX_Size

func (m *MsgFillAsksRequest) XXX_Size() int

func (*MsgFillAsksRequest) XXX_Unmarshal

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

type MsgFillAsksResponse

type MsgFillAsksResponse struct {
}

MsgFillAsksResponse is a response message for the FillAsks endpoint.

func (*MsgFillAsksResponse) Descriptor

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

func (*MsgFillAsksResponse) Marshal

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

func (*MsgFillAsksResponse) MarshalTo

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

func (*MsgFillAsksResponse) MarshalToSizedBuffer

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

func (*MsgFillAsksResponse) ProtoMessage

func (*MsgFillAsksResponse) ProtoMessage()

func (*MsgFillAsksResponse) Reset

func (m *MsgFillAsksResponse) Reset()

func (*MsgFillAsksResponse) Size

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

func (*MsgFillAsksResponse) String

func (m *MsgFillAsksResponse) String() string

func (*MsgFillAsksResponse) Unmarshal

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

func (*MsgFillAsksResponse) XXX_DiscardUnknown

func (m *MsgFillAsksResponse) XXX_DiscardUnknown()

func (*MsgFillAsksResponse) XXX_Marshal

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

func (*MsgFillAsksResponse) XXX_Merge

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

func (*MsgFillAsksResponse) XXX_Size

func (m *MsgFillAsksResponse) XXX_Size() int

func (*MsgFillAsksResponse) XXX_Unmarshal

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

type MsgFillBidsRequest

type MsgFillBidsRequest struct {
	// seller is the address of the account with the assets to sell.
	Seller string `protobuf:"bytes,1,opt,name=seller,proto3" json:"seller,omitempty"`
	// market_id is the numerical identifier of the market with the bids to fill.
	// All bid orders being filled must be in this market.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// total_assets are the things that the seller wishes to sell.
	// It must be the sum of all bid order assets.
	TotalAssets github_com_cosmos_cosmos_sdk_types.Coins `` /* 138-byte string literal not displayed */
	// bid_order_ids are the ids of the bid orders that you are trying to fill.
	// All ids must be for bid orders, and must be in the same market as the market_id.
	BidOrderIds []uint64 `protobuf:"varint,4,rep,packed,name=bid_order_ids,json=bidOrderIds,proto3" json:"bid_order_ids,omitempty"`
	// seller_settlement_flat_fee is the flat fee for sellers that will be charged for this settlement.
	SellerSettlementFlatFee *types.Coin `` /* 134-byte string literal not displayed */
	// ask_order_creation_fee is the fee that is being paid to create this order (which is immediately then settled).
	AskOrderCreationFee *types.Coin `protobuf:"bytes,6,opt,name=ask_order_creation_fee,json=askOrderCreationFee,proto3" json:"ask_order_creation_fee,omitempty"`
}

MsgFillBidsRequest is a request message for the FillBids endpoint.

func (*MsgFillBidsRequest) Descriptor

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

func (*MsgFillBidsRequest) GetAskOrderCreationFee

func (m *MsgFillBidsRequest) GetAskOrderCreationFee() *types.Coin

func (*MsgFillBidsRequest) GetBidOrderIds

func (m *MsgFillBidsRequest) GetBidOrderIds() []uint64

func (*MsgFillBidsRequest) GetMarketId

func (m *MsgFillBidsRequest) GetMarketId() uint32

func (*MsgFillBidsRequest) GetSeller

func (m *MsgFillBidsRequest) GetSeller() string

func (*MsgFillBidsRequest) GetSellerSettlementFlatFee

func (m *MsgFillBidsRequest) GetSellerSettlementFlatFee() *types.Coin

func (MsgFillBidsRequest) GetSigners

func (m MsgFillBidsRequest) GetSigners() []sdk.AccAddress

func (*MsgFillBidsRequest) GetTotalAssets

func (*MsgFillBidsRequest) Marshal

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

func (*MsgFillBidsRequest) MarshalTo

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

func (*MsgFillBidsRequest) MarshalToSizedBuffer

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

func (*MsgFillBidsRequest) ProtoMessage

func (*MsgFillBidsRequest) ProtoMessage()

func (*MsgFillBidsRequest) Reset

func (m *MsgFillBidsRequest) Reset()

func (*MsgFillBidsRequest) Size

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

func (*MsgFillBidsRequest) String

func (m *MsgFillBidsRequest) String() string

func (*MsgFillBidsRequest) Unmarshal

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

func (MsgFillBidsRequest) ValidateBasic

func (m MsgFillBidsRequest) ValidateBasic() error

func (*MsgFillBidsRequest) XXX_DiscardUnknown

func (m *MsgFillBidsRequest) XXX_DiscardUnknown()

func (*MsgFillBidsRequest) XXX_Marshal

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

func (*MsgFillBidsRequest) XXX_Merge

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

func (*MsgFillBidsRequest) XXX_Size

func (m *MsgFillBidsRequest) XXX_Size() int

func (*MsgFillBidsRequest) XXX_Unmarshal

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

type MsgFillBidsResponse

type MsgFillBidsResponse struct {
}

MsgFillBidsResponse is a response message for the FillBids endpoint.

func (*MsgFillBidsResponse) Descriptor

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

func (*MsgFillBidsResponse) Marshal

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

func (*MsgFillBidsResponse) MarshalTo

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

func (*MsgFillBidsResponse) MarshalToSizedBuffer

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

func (*MsgFillBidsResponse) ProtoMessage

func (*MsgFillBidsResponse) ProtoMessage()

func (*MsgFillBidsResponse) Reset

func (m *MsgFillBidsResponse) Reset()

func (*MsgFillBidsResponse) Size

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

func (*MsgFillBidsResponse) String

func (m *MsgFillBidsResponse) String() string

func (*MsgFillBidsResponse) Unmarshal

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

func (*MsgFillBidsResponse) XXX_DiscardUnknown

func (m *MsgFillBidsResponse) XXX_DiscardUnknown()

func (*MsgFillBidsResponse) XXX_Marshal

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

func (*MsgFillBidsResponse) XXX_Merge

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

func (*MsgFillBidsResponse) XXX_Size

func (m *MsgFillBidsResponse) XXX_Size() int

func (*MsgFillBidsResponse) XXX_Unmarshal

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

type MsgGovCreateMarketRequest

type MsgGovCreateMarketRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// market is the initial market configuration.
	// If the market_id is 0, the next available market_id will be used (once voting ends).
	// If it is not zero, it must not yet be in use when the voting period ends.
	Market Market `protobuf:"bytes,2,opt,name=market,proto3" json:"market"`
}

MsgGovCreateMarketRequest is a request message for the GovCreateMarket endpoint.

func (*MsgGovCreateMarketRequest) Descriptor

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

func (*MsgGovCreateMarketRequest) GetAuthority

func (m *MsgGovCreateMarketRequest) GetAuthority() string

func (*MsgGovCreateMarketRequest) GetMarket

func (m *MsgGovCreateMarketRequest) GetMarket() Market

func (MsgGovCreateMarketRequest) GetSigners

func (m MsgGovCreateMarketRequest) GetSigners() []sdk.AccAddress

func (*MsgGovCreateMarketRequest) Marshal

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

func (*MsgGovCreateMarketRequest) MarshalTo

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

func (*MsgGovCreateMarketRequest) MarshalToSizedBuffer

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

func (*MsgGovCreateMarketRequest) ProtoMessage

func (*MsgGovCreateMarketRequest) ProtoMessage()

func (*MsgGovCreateMarketRequest) Reset

func (m *MsgGovCreateMarketRequest) Reset()

func (*MsgGovCreateMarketRequest) Size

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

func (*MsgGovCreateMarketRequest) String

func (m *MsgGovCreateMarketRequest) String() string

func (*MsgGovCreateMarketRequest) Unmarshal

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

func (MsgGovCreateMarketRequest) ValidateBasic

func (m MsgGovCreateMarketRequest) ValidateBasic() error

func (*MsgGovCreateMarketRequest) XXX_DiscardUnknown

func (m *MsgGovCreateMarketRequest) XXX_DiscardUnknown()

func (*MsgGovCreateMarketRequest) XXX_Marshal

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

func (*MsgGovCreateMarketRequest) XXX_Merge

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

func (*MsgGovCreateMarketRequest) XXX_Size

func (m *MsgGovCreateMarketRequest) XXX_Size() int

func (*MsgGovCreateMarketRequest) XXX_Unmarshal

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

type MsgGovCreateMarketResponse

type MsgGovCreateMarketResponse struct {
}

MsgGovCreateMarketResponse is a response message for the GovCreateMarket endpoint.

func (*MsgGovCreateMarketResponse) Descriptor

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

func (*MsgGovCreateMarketResponse) Marshal

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

func (*MsgGovCreateMarketResponse) MarshalTo

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

func (*MsgGovCreateMarketResponse) MarshalToSizedBuffer

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

func (*MsgGovCreateMarketResponse) ProtoMessage

func (*MsgGovCreateMarketResponse) ProtoMessage()

func (*MsgGovCreateMarketResponse) Reset

func (m *MsgGovCreateMarketResponse) Reset()

func (*MsgGovCreateMarketResponse) Size

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

func (*MsgGovCreateMarketResponse) String

func (m *MsgGovCreateMarketResponse) String() string

func (*MsgGovCreateMarketResponse) Unmarshal

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

func (*MsgGovCreateMarketResponse) XXX_DiscardUnknown

func (m *MsgGovCreateMarketResponse) XXX_DiscardUnknown()

func (*MsgGovCreateMarketResponse) XXX_Marshal

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

func (*MsgGovCreateMarketResponse) XXX_Merge

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

func (*MsgGovCreateMarketResponse) XXX_Size

func (m *MsgGovCreateMarketResponse) XXX_Size() int

func (*MsgGovCreateMarketResponse) XXX_Unmarshal

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

type MsgGovManageFeesRequest

type MsgGovManageFeesRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// market_id is the market id that will get these fee updates.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// add_fee_create_ask_flat are the create-ask flat fee options to add.
	AddFeeCreateAskFlat []types.Coin `protobuf:"bytes,3,rep,name=add_fee_create_ask_flat,json=addFeeCreateAskFlat,proto3" json:"add_fee_create_ask_flat"`
	// remove_fee_create_ask_flat are the create-ask flat fee options to remove.
	RemoveFeeCreateAskFlat []types.Coin `protobuf:"bytes,4,rep,name=remove_fee_create_ask_flat,json=removeFeeCreateAskFlat,proto3" json:"remove_fee_create_ask_flat"`
	// add_fee_create_bid_flat are the create-bid flat fee options to add.
	AddFeeCreateBidFlat []types.Coin `protobuf:"bytes,5,rep,name=add_fee_create_bid_flat,json=addFeeCreateBidFlat,proto3" json:"add_fee_create_bid_flat"`
	// remove_fee_create_bid_flat are the create-bid flat fee options to remove.
	RemoveFeeCreateBidFlat []types.Coin `protobuf:"bytes,6,rep,name=remove_fee_create_bid_flat,json=removeFeeCreateBidFlat,proto3" json:"remove_fee_create_bid_flat"`
	// add_fee_seller_settlement_flat are the seller settlement flat fee options to add.
	AddFeeSellerSettlementFlat []types.Coin `` /* 135-byte string literal not displayed */
	// remove_fee_seller_settlement_flat are the seller settlement flat fee options to remove.
	RemoveFeeSellerSettlementFlat []types.Coin `` /* 144-byte string literal not displayed */
	// add_fee_seller_settlement_ratios are the seller settlement fee ratios to add.
	AddFeeSellerSettlementRatios []FeeRatio `` /* 141-byte string literal not displayed */
	// remove_fee_seller_settlement_ratios are the seller settlement fee ratios to remove.
	RemoveFeeSellerSettlementRatios []FeeRatio `` /* 151-byte string literal not displayed */
	// add_fee_buyer_settlement_flat are the buyer settlement flat fee options to add.
	AddFeeBuyerSettlementFlat []types.Coin `` /* 133-byte string literal not displayed */
	// remove_fee_buyer_settlement_flat are the buyer settlement flat fee options to remove.
	RemoveFeeBuyerSettlementFlat []types.Coin `` /* 142-byte string literal not displayed */
	// add_fee_buyer_settlement_ratios are the buyer settlement fee ratios to add.
	AddFeeBuyerSettlementRatios []FeeRatio `` /* 139-byte string literal not displayed */
	// remove_fee_buyer_settlement_ratios are the buyer settlement fee ratios to remove.
	RemoveFeeBuyerSettlementRatios []FeeRatio `` /* 148-byte string literal not displayed */
}

MsgGovManageFeesRequest is a request message for the GovManageFees endpoint.

func (*MsgGovManageFeesRequest) Descriptor

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

func (*MsgGovManageFeesRequest) GetAddFeeBuyerSettlementFlat

func (m *MsgGovManageFeesRequest) GetAddFeeBuyerSettlementFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetAddFeeBuyerSettlementRatios

func (m *MsgGovManageFeesRequest) GetAddFeeBuyerSettlementRatios() []FeeRatio

func (*MsgGovManageFeesRequest) GetAddFeeCreateAskFlat

func (m *MsgGovManageFeesRequest) GetAddFeeCreateAskFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetAddFeeCreateBidFlat

func (m *MsgGovManageFeesRequest) GetAddFeeCreateBidFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetAddFeeSellerSettlementFlat

func (m *MsgGovManageFeesRequest) GetAddFeeSellerSettlementFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetAddFeeSellerSettlementRatios

func (m *MsgGovManageFeesRequest) GetAddFeeSellerSettlementRatios() []FeeRatio

func (*MsgGovManageFeesRequest) GetAuthority

func (m *MsgGovManageFeesRequest) GetAuthority() string

func (*MsgGovManageFeesRequest) GetMarketId

func (m *MsgGovManageFeesRequest) GetMarketId() uint32

func (*MsgGovManageFeesRequest) GetRemoveFeeBuyerSettlementFlat

func (m *MsgGovManageFeesRequest) GetRemoveFeeBuyerSettlementFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetRemoveFeeBuyerSettlementRatios

func (m *MsgGovManageFeesRequest) GetRemoveFeeBuyerSettlementRatios() []FeeRatio

func (*MsgGovManageFeesRequest) GetRemoveFeeCreateAskFlat

func (m *MsgGovManageFeesRequest) GetRemoveFeeCreateAskFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetRemoveFeeCreateBidFlat

func (m *MsgGovManageFeesRequest) GetRemoveFeeCreateBidFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetRemoveFeeSellerSettlementFlat

func (m *MsgGovManageFeesRequest) GetRemoveFeeSellerSettlementFlat() []types.Coin

func (*MsgGovManageFeesRequest) GetRemoveFeeSellerSettlementRatios

func (m *MsgGovManageFeesRequest) GetRemoveFeeSellerSettlementRatios() []FeeRatio

func (MsgGovManageFeesRequest) GetSigners

func (m MsgGovManageFeesRequest) GetSigners() []sdk.AccAddress

func (MsgGovManageFeesRequest) HasUpdates

func (m MsgGovManageFeesRequest) HasUpdates() bool

HasUpdates returns true if this has at least one fee change, false if devoid of updates.

func (*MsgGovManageFeesRequest) Marshal

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

func (*MsgGovManageFeesRequest) MarshalTo

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

func (*MsgGovManageFeesRequest) MarshalToSizedBuffer

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

func (*MsgGovManageFeesRequest) ProtoMessage

func (*MsgGovManageFeesRequest) ProtoMessage()

func (*MsgGovManageFeesRequest) Reset

func (m *MsgGovManageFeesRequest) Reset()

func (*MsgGovManageFeesRequest) Size

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

func (*MsgGovManageFeesRequest) String

func (m *MsgGovManageFeesRequest) String() string

func (*MsgGovManageFeesRequest) Unmarshal

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

func (MsgGovManageFeesRequest) ValidateBasic

func (m MsgGovManageFeesRequest) ValidateBasic() error

func (*MsgGovManageFeesRequest) XXX_DiscardUnknown

func (m *MsgGovManageFeesRequest) XXX_DiscardUnknown()

func (*MsgGovManageFeesRequest) XXX_Marshal

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

func (*MsgGovManageFeesRequest) XXX_Merge

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

func (*MsgGovManageFeesRequest) XXX_Size

func (m *MsgGovManageFeesRequest) XXX_Size() int

func (*MsgGovManageFeesRequest) XXX_Unmarshal

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

type MsgGovManageFeesResponse

type MsgGovManageFeesResponse struct {
}

MsgGovManageFeesResponse is a response message for the GovManageFees endpoint.

func (*MsgGovManageFeesResponse) Descriptor

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

func (*MsgGovManageFeesResponse) Marshal

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

func (*MsgGovManageFeesResponse) MarshalTo

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

func (*MsgGovManageFeesResponse) MarshalToSizedBuffer

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

func (*MsgGovManageFeesResponse) ProtoMessage

func (*MsgGovManageFeesResponse) ProtoMessage()

func (*MsgGovManageFeesResponse) Reset

func (m *MsgGovManageFeesResponse) Reset()

func (*MsgGovManageFeesResponse) Size

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

func (*MsgGovManageFeesResponse) String

func (m *MsgGovManageFeesResponse) String() string

func (*MsgGovManageFeesResponse) Unmarshal

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

func (*MsgGovManageFeesResponse) XXX_DiscardUnknown

func (m *MsgGovManageFeesResponse) XXX_DiscardUnknown()

func (*MsgGovManageFeesResponse) XXX_Marshal

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

func (*MsgGovManageFeesResponse) XXX_Merge

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

func (*MsgGovManageFeesResponse) XXX_Size

func (m *MsgGovManageFeesResponse) XXX_Size() int

func (*MsgGovManageFeesResponse) XXX_Unmarshal

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

type MsgGovUpdateParamsRequest

type MsgGovUpdateParamsRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params are the new param values to set
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgGovUpdateParamsRequest is a request message for the GovUpdateParams endpoint.

func (*MsgGovUpdateParamsRequest) Descriptor

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

func (*MsgGovUpdateParamsRequest) GetAuthority

func (m *MsgGovUpdateParamsRequest) GetAuthority() string

func (*MsgGovUpdateParamsRequest) GetParams

func (m *MsgGovUpdateParamsRequest) GetParams() Params

func (MsgGovUpdateParamsRequest) GetSigners

func (m MsgGovUpdateParamsRequest) GetSigners() []sdk.AccAddress

func (*MsgGovUpdateParamsRequest) Marshal

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

func (*MsgGovUpdateParamsRequest) MarshalTo

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

func (*MsgGovUpdateParamsRequest) MarshalToSizedBuffer

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

func (*MsgGovUpdateParamsRequest) ProtoMessage

func (*MsgGovUpdateParamsRequest) ProtoMessage()

func (*MsgGovUpdateParamsRequest) Reset

func (m *MsgGovUpdateParamsRequest) Reset()

func (*MsgGovUpdateParamsRequest) Size

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

func (*MsgGovUpdateParamsRequest) String

func (m *MsgGovUpdateParamsRequest) String() string

func (*MsgGovUpdateParamsRequest) Unmarshal

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

func (MsgGovUpdateParamsRequest) ValidateBasic

func (m MsgGovUpdateParamsRequest) ValidateBasic() error

func (*MsgGovUpdateParamsRequest) XXX_DiscardUnknown

func (m *MsgGovUpdateParamsRequest) XXX_DiscardUnknown()

func (*MsgGovUpdateParamsRequest) XXX_Marshal

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

func (*MsgGovUpdateParamsRequest) XXX_Merge

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

func (*MsgGovUpdateParamsRequest) XXX_Size

func (m *MsgGovUpdateParamsRequest) XXX_Size() int

func (*MsgGovUpdateParamsRequest) XXX_Unmarshal

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

type MsgGovUpdateParamsResponse

type MsgGovUpdateParamsResponse struct {
}

MsgGovUpdateParamsResponse is a response message for the GovUpdateParams endpoint.

func (*MsgGovUpdateParamsResponse) Descriptor

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

func (*MsgGovUpdateParamsResponse) Marshal

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

func (*MsgGovUpdateParamsResponse) MarshalTo

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

func (*MsgGovUpdateParamsResponse) MarshalToSizedBuffer

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

func (*MsgGovUpdateParamsResponse) ProtoMessage

func (*MsgGovUpdateParamsResponse) ProtoMessage()

func (*MsgGovUpdateParamsResponse) Reset

func (m *MsgGovUpdateParamsResponse) Reset()

func (*MsgGovUpdateParamsResponse) Size

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

func (*MsgGovUpdateParamsResponse) String

func (m *MsgGovUpdateParamsResponse) String() string

func (*MsgGovUpdateParamsResponse) Unmarshal

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

func (*MsgGovUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgGovUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgGovUpdateParamsResponse) XXX_Marshal

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

func (*MsgGovUpdateParamsResponse) XXX_Merge

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

func (*MsgGovUpdateParamsResponse) XXX_Size

func (m *MsgGovUpdateParamsResponse) XXX_Size() int

func (*MsgGovUpdateParamsResponse) XXX_Unmarshal

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

type MsgMarketManagePermissionsRequest

type MsgMarketManagePermissionsRequest struct {
	// admin is the account with "permissions" permission requesting this change.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// revoke_all are addresses that should have all their permissions revoked.
	RevokeAll []string `protobuf:"bytes,3,rep,name=revoke_all,json=revokeAll,proto3" json:"revoke_all,omitempty"`
	// to_revoke are the specific permissions to remove for addresses.
	ToRevoke []AccessGrant `protobuf:"bytes,4,rep,name=to_revoke,json=toRevoke,proto3" json:"to_revoke"`
	// to_grant are the permissions to grant to addresses.
	ToGrant []AccessGrant `protobuf:"bytes,5,rep,name=to_grant,json=toGrant,proto3" json:"to_grant"`
}

MsgMarketManagePermissionsRequest is a request message for the MarketManagePermissions endpoint.

func (*MsgMarketManagePermissionsRequest) Descriptor

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

func (*MsgMarketManagePermissionsRequest) GetAdmin

func (*MsgMarketManagePermissionsRequest) GetMarketId

func (m *MsgMarketManagePermissionsRequest) GetMarketId() uint32

func (*MsgMarketManagePermissionsRequest) GetRevokeAll

func (m *MsgMarketManagePermissionsRequest) GetRevokeAll() []string

func (MsgMarketManagePermissionsRequest) GetSigners

func (*MsgMarketManagePermissionsRequest) GetToGrant

func (*MsgMarketManagePermissionsRequest) GetToRevoke

func (MsgMarketManagePermissionsRequest) HasUpdates

func (m MsgMarketManagePermissionsRequest) HasUpdates() bool

HasUpdates returns true if this has at least one permission change, false if devoid of updates.

func (*MsgMarketManagePermissionsRequest) Marshal

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

func (*MsgMarketManagePermissionsRequest) MarshalTo

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

func (*MsgMarketManagePermissionsRequest) MarshalToSizedBuffer

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

func (*MsgMarketManagePermissionsRequest) ProtoMessage

func (*MsgMarketManagePermissionsRequest) ProtoMessage()

func (*MsgMarketManagePermissionsRequest) Reset

func (*MsgMarketManagePermissionsRequest) Size

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

func (*MsgMarketManagePermissionsRequest) String

func (*MsgMarketManagePermissionsRequest) Unmarshal

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

func (MsgMarketManagePermissionsRequest) ValidateBasic

func (m MsgMarketManagePermissionsRequest) ValidateBasic() error

func (*MsgMarketManagePermissionsRequest) XXX_DiscardUnknown

func (m *MsgMarketManagePermissionsRequest) XXX_DiscardUnknown()

func (*MsgMarketManagePermissionsRequest) XXX_Marshal

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

func (*MsgMarketManagePermissionsRequest) XXX_Merge

func (*MsgMarketManagePermissionsRequest) XXX_Size

func (m *MsgMarketManagePermissionsRequest) XXX_Size() int

func (*MsgMarketManagePermissionsRequest) XXX_Unmarshal

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

type MsgMarketManagePermissionsResponse

type MsgMarketManagePermissionsResponse struct {
}

MsgMarketManagePermissionsResponse is a response message for the MarketManagePermissions endpoint.

func (*MsgMarketManagePermissionsResponse) Descriptor

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

func (*MsgMarketManagePermissionsResponse) Marshal

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

func (*MsgMarketManagePermissionsResponse) MarshalTo

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

func (*MsgMarketManagePermissionsResponse) MarshalToSizedBuffer

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

func (*MsgMarketManagePermissionsResponse) ProtoMessage

func (*MsgMarketManagePermissionsResponse) ProtoMessage()

func (*MsgMarketManagePermissionsResponse) Reset

func (*MsgMarketManagePermissionsResponse) Size

func (*MsgMarketManagePermissionsResponse) String

func (*MsgMarketManagePermissionsResponse) Unmarshal

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

func (*MsgMarketManagePermissionsResponse) XXX_DiscardUnknown

func (m *MsgMarketManagePermissionsResponse) XXX_DiscardUnknown()

func (*MsgMarketManagePermissionsResponse) XXX_Marshal

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

func (*MsgMarketManagePermissionsResponse) XXX_Merge

func (*MsgMarketManagePermissionsResponse) XXX_Size

func (*MsgMarketManagePermissionsResponse) XXX_Unmarshal

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

type MsgMarketManageReqAttrsRequest

type MsgMarketManageReqAttrsRequest struct {
	// admin is the account with "attributes" permission requesting this change.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// create_ask_to_add are the attributes that should now also be required to create an ask order.
	CreateAskToAdd []string `protobuf:"bytes,3,rep,name=create_ask_to_add,json=createAskToAdd,proto3" json:"create_ask_to_add,omitempty"`
	// create_ask_to_remove are the attributes that should no longer be required to create an ask order.
	CreateAskToRemove []string `protobuf:"bytes,4,rep,name=create_ask_to_remove,json=createAskToRemove,proto3" json:"create_ask_to_remove,omitempty"`
	// create_bid_to_add are the attributes that should now also be required to create a bid order.
	CreateBidToAdd []string `protobuf:"bytes,5,rep,name=create_bid_to_add,json=createBidToAdd,proto3" json:"create_bid_to_add,omitempty"`
	// create_bid_to_remove are the attributes that should no longer be required to create a bid order.
	CreateBidToRemove []string `protobuf:"bytes,6,rep,name=create_bid_to_remove,json=createBidToRemove,proto3" json:"create_bid_to_remove,omitempty"`
}

MsgMarketManageReqAttrsRequest is a request message for the MarketManageReqAttrs endpoint.

func (*MsgMarketManageReqAttrsRequest) Descriptor

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

func (*MsgMarketManageReqAttrsRequest) GetAdmin

func (m *MsgMarketManageReqAttrsRequest) GetAdmin() string

func (*MsgMarketManageReqAttrsRequest) GetCreateAskToAdd

func (m *MsgMarketManageReqAttrsRequest) GetCreateAskToAdd() []string

func (*MsgMarketManageReqAttrsRequest) GetCreateAskToRemove

func (m *MsgMarketManageReqAttrsRequest) GetCreateAskToRemove() []string

func (*MsgMarketManageReqAttrsRequest) GetCreateBidToAdd

func (m *MsgMarketManageReqAttrsRequest) GetCreateBidToAdd() []string

func (*MsgMarketManageReqAttrsRequest) GetCreateBidToRemove

func (m *MsgMarketManageReqAttrsRequest) GetCreateBidToRemove() []string

func (*MsgMarketManageReqAttrsRequest) GetMarketId

func (m *MsgMarketManageReqAttrsRequest) GetMarketId() uint32

func (MsgMarketManageReqAttrsRequest) GetSigners

func (MsgMarketManageReqAttrsRequest) HasUpdates

func (m MsgMarketManageReqAttrsRequest) HasUpdates() bool

HasUpdates returns true if this has at least one required attribute change, false if devoid of updates.

func (*MsgMarketManageReqAttrsRequest) Marshal

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

func (*MsgMarketManageReqAttrsRequest) MarshalTo

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

func (*MsgMarketManageReqAttrsRequest) MarshalToSizedBuffer

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

func (*MsgMarketManageReqAttrsRequest) ProtoMessage

func (*MsgMarketManageReqAttrsRequest) ProtoMessage()

func (*MsgMarketManageReqAttrsRequest) Reset

func (m *MsgMarketManageReqAttrsRequest) Reset()

func (*MsgMarketManageReqAttrsRequest) Size

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

func (*MsgMarketManageReqAttrsRequest) String

func (*MsgMarketManageReqAttrsRequest) Unmarshal

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

func (MsgMarketManageReqAttrsRequest) ValidateBasic

func (m MsgMarketManageReqAttrsRequest) ValidateBasic() error

func (*MsgMarketManageReqAttrsRequest) XXX_DiscardUnknown

func (m *MsgMarketManageReqAttrsRequest) XXX_DiscardUnknown()

func (*MsgMarketManageReqAttrsRequest) XXX_Marshal

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

func (*MsgMarketManageReqAttrsRequest) XXX_Merge

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

func (*MsgMarketManageReqAttrsRequest) XXX_Size

func (m *MsgMarketManageReqAttrsRequest) XXX_Size() int

func (*MsgMarketManageReqAttrsRequest) XXX_Unmarshal

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

type MsgMarketManageReqAttrsResponse

type MsgMarketManageReqAttrsResponse struct {
}

MsgMarketManageReqAttrsResponse is a response message for the MarketManageReqAttrs endpoint.

func (*MsgMarketManageReqAttrsResponse) Descriptor

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

func (*MsgMarketManageReqAttrsResponse) Marshal

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

func (*MsgMarketManageReqAttrsResponse) MarshalTo

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

func (*MsgMarketManageReqAttrsResponse) MarshalToSizedBuffer

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

func (*MsgMarketManageReqAttrsResponse) ProtoMessage

func (*MsgMarketManageReqAttrsResponse) ProtoMessage()

func (*MsgMarketManageReqAttrsResponse) Reset

func (*MsgMarketManageReqAttrsResponse) Size

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

func (*MsgMarketManageReqAttrsResponse) String

func (*MsgMarketManageReqAttrsResponse) Unmarshal

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

func (*MsgMarketManageReqAttrsResponse) XXX_DiscardUnknown

func (m *MsgMarketManageReqAttrsResponse) XXX_DiscardUnknown()

func (*MsgMarketManageReqAttrsResponse) XXX_Marshal

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

func (*MsgMarketManageReqAttrsResponse) XXX_Merge

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

func (*MsgMarketManageReqAttrsResponse) XXX_Size

func (m *MsgMarketManageReqAttrsResponse) XXX_Size() int

func (*MsgMarketManageReqAttrsResponse) XXX_Unmarshal

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

type MsgMarketSetOrderExternalIDRequest

type MsgMarketSetOrderExternalIDRequest struct {
	// admin is the account with "set_ids" permission requesting this settlement.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// order_id is the numerical identifier of the order to update.
	OrderId uint64 `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// external_id is the new external id to associate with the order. Max length is 100 characters.
	// If the external id is already associated with another order in this market, this update will fail.
	ExternalId string `protobuf:"bytes,4,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

MsgMarketSetOrderExternalIDRequest is a request message for the MarketSetOrderExternalID endpoint.

func (*MsgMarketSetOrderExternalIDRequest) Descriptor

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

func (*MsgMarketSetOrderExternalIDRequest) GetAdmin

func (*MsgMarketSetOrderExternalIDRequest) GetExternalId

func (m *MsgMarketSetOrderExternalIDRequest) GetExternalId() string

func (*MsgMarketSetOrderExternalIDRequest) GetMarketId

func (m *MsgMarketSetOrderExternalIDRequest) GetMarketId() uint32

func (*MsgMarketSetOrderExternalIDRequest) GetOrderId

func (MsgMarketSetOrderExternalIDRequest) GetSigners

func (*MsgMarketSetOrderExternalIDRequest) Marshal

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

func (*MsgMarketSetOrderExternalIDRequest) MarshalTo

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

func (*MsgMarketSetOrderExternalIDRequest) MarshalToSizedBuffer

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

func (*MsgMarketSetOrderExternalIDRequest) ProtoMessage

func (*MsgMarketSetOrderExternalIDRequest) ProtoMessage()

func (*MsgMarketSetOrderExternalIDRequest) Reset

func (*MsgMarketSetOrderExternalIDRequest) Size

func (*MsgMarketSetOrderExternalIDRequest) String

func (*MsgMarketSetOrderExternalIDRequest) Unmarshal

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

func (MsgMarketSetOrderExternalIDRequest) ValidateBasic

func (m MsgMarketSetOrderExternalIDRequest) ValidateBasic() error

func (*MsgMarketSetOrderExternalIDRequest) XXX_DiscardUnknown

func (m *MsgMarketSetOrderExternalIDRequest) XXX_DiscardUnknown()

func (*MsgMarketSetOrderExternalIDRequest) XXX_Marshal

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

func (*MsgMarketSetOrderExternalIDRequest) XXX_Merge

func (*MsgMarketSetOrderExternalIDRequest) XXX_Size

func (*MsgMarketSetOrderExternalIDRequest) XXX_Unmarshal

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

type MsgMarketSetOrderExternalIDResponse

type MsgMarketSetOrderExternalIDResponse struct {
}

MsgMarketSetOrderExternalIDResponse is a response message for the MarketSetOrderExternalID endpoint.

func (*MsgMarketSetOrderExternalIDResponse) Descriptor

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

func (*MsgMarketSetOrderExternalIDResponse) Marshal

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

func (*MsgMarketSetOrderExternalIDResponse) MarshalTo

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

func (*MsgMarketSetOrderExternalIDResponse) MarshalToSizedBuffer

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

func (*MsgMarketSetOrderExternalIDResponse) ProtoMessage

func (*MsgMarketSetOrderExternalIDResponse) ProtoMessage()

func (*MsgMarketSetOrderExternalIDResponse) Reset

func (*MsgMarketSetOrderExternalIDResponse) Size

func (*MsgMarketSetOrderExternalIDResponse) String

func (*MsgMarketSetOrderExternalIDResponse) Unmarshal

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

func (*MsgMarketSetOrderExternalIDResponse) XXX_DiscardUnknown

func (m *MsgMarketSetOrderExternalIDResponse) XXX_DiscardUnknown()

func (*MsgMarketSetOrderExternalIDResponse) XXX_Marshal

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

func (*MsgMarketSetOrderExternalIDResponse) XXX_Merge

func (*MsgMarketSetOrderExternalIDResponse) XXX_Size

func (*MsgMarketSetOrderExternalIDResponse) XXX_Unmarshal

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

type MsgMarketSettleRequest

type MsgMarketSettleRequest struct {
	// admin is the account with "settle" permission requesting this settlement.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// ask_order_ids are the ask orders being filled.
	AskOrderIds []uint64 `protobuf:"varint,3,rep,packed,name=ask_order_ids,json=askOrderIds,proto3" json:"ask_order_ids,omitempty"`
	// bid_order_ids are the bid orders being filled.
	BidOrderIds []uint64 `protobuf:"varint,4,rep,packed,name=bid_order_ids,json=bidOrderIds,proto3" json:"bid_order_ids,omitempty"`
	// expect_partial is whether to expect an order to only be partially filled. Set to true to indicate that either
	// the last ask order, or last bid order will be partially filled by this settlement. Set to false to indicate
	// that all provided orders will be filled in full during this settlement.
	ExpectPartial bool `protobuf:"varint,5,opt,name=expect_partial,json=expectPartial,proto3" json:"expect_partial,omitempty"`
}

MsgMarketSettleRequest is a request message for the MarketSettle endpoint.

func (*MsgMarketSettleRequest) Descriptor

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

func (*MsgMarketSettleRequest) GetAdmin

func (m *MsgMarketSettleRequest) GetAdmin() string

func (*MsgMarketSettleRequest) GetAskOrderIds

func (m *MsgMarketSettleRequest) GetAskOrderIds() []uint64

func (*MsgMarketSettleRequest) GetBidOrderIds

func (m *MsgMarketSettleRequest) GetBidOrderIds() []uint64

func (*MsgMarketSettleRequest) GetExpectPartial

func (m *MsgMarketSettleRequest) GetExpectPartial() bool

func (*MsgMarketSettleRequest) GetMarketId

func (m *MsgMarketSettleRequest) GetMarketId() uint32

func (MsgMarketSettleRequest) GetSigners

func (m MsgMarketSettleRequest) GetSigners() []sdk.AccAddress

func (*MsgMarketSettleRequest) Marshal

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

func (*MsgMarketSettleRequest) MarshalTo

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

func (*MsgMarketSettleRequest) MarshalToSizedBuffer

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

func (*MsgMarketSettleRequest) ProtoMessage

func (*MsgMarketSettleRequest) ProtoMessage()

func (*MsgMarketSettleRequest) Reset

func (m *MsgMarketSettleRequest) Reset()

func (*MsgMarketSettleRequest) Size

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

func (*MsgMarketSettleRequest) String

func (m *MsgMarketSettleRequest) String() string

func (*MsgMarketSettleRequest) Unmarshal

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

func (MsgMarketSettleRequest) ValidateBasic

func (m MsgMarketSettleRequest) ValidateBasic() error

func (*MsgMarketSettleRequest) XXX_DiscardUnknown

func (m *MsgMarketSettleRequest) XXX_DiscardUnknown()

func (*MsgMarketSettleRequest) XXX_Marshal

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

func (*MsgMarketSettleRequest) XXX_Merge

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

func (*MsgMarketSettleRequest) XXX_Size

func (m *MsgMarketSettleRequest) XXX_Size() int

func (*MsgMarketSettleRequest) XXX_Unmarshal

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

type MsgMarketSettleResponse

type MsgMarketSettleResponse struct {
}

MsgMarketSettleResponse is a response message for the MarketSettle endpoint.

func (*MsgMarketSettleResponse) Descriptor

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

func (*MsgMarketSettleResponse) Marshal

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

func (*MsgMarketSettleResponse) MarshalTo

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

func (*MsgMarketSettleResponse) MarshalToSizedBuffer

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

func (*MsgMarketSettleResponse) ProtoMessage

func (*MsgMarketSettleResponse) ProtoMessage()

func (*MsgMarketSettleResponse) Reset

func (m *MsgMarketSettleResponse) Reset()

func (*MsgMarketSettleResponse) Size

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

func (*MsgMarketSettleResponse) String

func (m *MsgMarketSettleResponse) String() string

func (*MsgMarketSettleResponse) Unmarshal

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

func (*MsgMarketSettleResponse) XXX_DiscardUnknown

func (m *MsgMarketSettleResponse) XXX_DiscardUnknown()

func (*MsgMarketSettleResponse) XXX_Marshal

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

func (*MsgMarketSettleResponse) XXX_Merge

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

func (*MsgMarketSettleResponse) XXX_Size

func (m *MsgMarketSettleResponse) XXX_Size() int

func (*MsgMarketSettleResponse) XXX_Unmarshal

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

type MsgMarketUpdateDetailsRequest

type MsgMarketUpdateDetailsRequest struct {
	// admin is the account with "update" permission requesting this change.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// market_details is some information about this market.
	MarketDetails MarketDetails `protobuf:"bytes,3,opt,name=market_details,json=marketDetails,proto3" json:"market_details"`
}

MsgMarketUpdateDetailsRequest is a request message for the MarketUpdateDetails endpoint.

func (*MsgMarketUpdateDetailsRequest) Descriptor

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

func (*MsgMarketUpdateDetailsRequest) GetAdmin

func (m *MsgMarketUpdateDetailsRequest) GetAdmin() string

func (*MsgMarketUpdateDetailsRequest) GetMarketDetails

func (m *MsgMarketUpdateDetailsRequest) GetMarketDetails() MarketDetails

func (*MsgMarketUpdateDetailsRequest) GetMarketId

func (m *MsgMarketUpdateDetailsRequest) GetMarketId() uint32

func (MsgMarketUpdateDetailsRequest) GetSigners

func (m MsgMarketUpdateDetailsRequest) GetSigners() []sdk.AccAddress

func (*MsgMarketUpdateDetailsRequest) Marshal

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

func (*MsgMarketUpdateDetailsRequest) MarshalTo

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

func (*MsgMarketUpdateDetailsRequest) MarshalToSizedBuffer

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

func (*MsgMarketUpdateDetailsRequest) ProtoMessage

func (*MsgMarketUpdateDetailsRequest) ProtoMessage()

func (*MsgMarketUpdateDetailsRequest) Reset

func (m *MsgMarketUpdateDetailsRequest) Reset()

func (*MsgMarketUpdateDetailsRequest) Size

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

func (*MsgMarketUpdateDetailsRequest) String

func (*MsgMarketUpdateDetailsRequest) Unmarshal

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

func (MsgMarketUpdateDetailsRequest) ValidateBasic

func (m MsgMarketUpdateDetailsRequest) ValidateBasic() error

func (*MsgMarketUpdateDetailsRequest) XXX_DiscardUnknown

func (m *MsgMarketUpdateDetailsRequest) XXX_DiscardUnknown()

func (*MsgMarketUpdateDetailsRequest) XXX_Marshal

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

func (*MsgMarketUpdateDetailsRequest) XXX_Merge

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

func (*MsgMarketUpdateDetailsRequest) XXX_Size

func (m *MsgMarketUpdateDetailsRequest) XXX_Size() int

func (*MsgMarketUpdateDetailsRequest) XXX_Unmarshal

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

type MsgMarketUpdateDetailsResponse

type MsgMarketUpdateDetailsResponse struct {
}

MsgMarketUpdateDetailsResponse is a response message for the MarketUpdateDetails endpoint.

func (*MsgMarketUpdateDetailsResponse) Descriptor

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

func (*MsgMarketUpdateDetailsResponse) Marshal

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

func (*MsgMarketUpdateDetailsResponse) MarshalTo

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

func (*MsgMarketUpdateDetailsResponse) MarshalToSizedBuffer

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

func (*MsgMarketUpdateDetailsResponse) ProtoMessage

func (*MsgMarketUpdateDetailsResponse) ProtoMessage()

func (*MsgMarketUpdateDetailsResponse) Reset

func (m *MsgMarketUpdateDetailsResponse) Reset()

func (*MsgMarketUpdateDetailsResponse) Size

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

func (*MsgMarketUpdateDetailsResponse) String

func (*MsgMarketUpdateDetailsResponse) Unmarshal

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

func (*MsgMarketUpdateDetailsResponse) XXX_DiscardUnknown

func (m *MsgMarketUpdateDetailsResponse) XXX_DiscardUnknown()

func (*MsgMarketUpdateDetailsResponse) XXX_Marshal

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

func (*MsgMarketUpdateDetailsResponse) XXX_Merge

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

func (*MsgMarketUpdateDetailsResponse) XXX_Size

func (m *MsgMarketUpdateDetailsResponse) XXX_Size() int

func (*MsgMarketUpdateDetailsResponse) XXX_Unmarshal

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

type MsgMarketUpdateEnabledRequest

type MsgMarketUpdateEnabledRequest struct {
	// admin is the account with "update" permission requesting this change.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// accepting_orders is whether this market is allowing orders to be created for it.
	AcceptingOrders bool `protobuf:"varint,3,opt,name=accepting_orders,json=acceptingOrders,proto3" json:"accepting_orders,omitempty"`
}

MsgMarketUpdateEnabledRequest is a request message for the MarketUpdateEnabled endpoint.

func (*MsgMarketUpdateEnabledRequest) Descriptor

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

func (*MsgMarketUpdateEnabledRequest) GetAcceptingOrders

func (m *MsgMarketUpdateEnabledRequest) GetAcceptingOrders() bool

func (*MsgMarketUpdateEnabledRequest) GetAdmin

func (m *MsgMarketUpdateEnabledRequest) GetAdmin() string

func (*MsgMarketUpdateEnabledRequest) GetMarketId

func (m *MsgMarketUpdateEnabledRequest) GetMarketId() uint32

func (MsgMarketUpdateEnabledRequest) GetSigners

func (m MsgMarketUpdateEnabledRequest) GetSigners() []sdk.AccAddress

func (*MsgMarketUpdateEnabledRequest) Marshal

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

func (*MsgMarketUpdateEnabledRequest) MarshalTo

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

func (*MsgMarketUpdateEnabledRequest) MarshalToSizedBuffer

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

func (*MsgMarketUpdateEnabledRequest) ProtoMessage

func (*MsgMarketUpdateEnabledRequest) ProtoMessage()

func (*MsgMarketUpdateEnabledRequest) Reset

func (m *MsgMarketUpdateEnabledRequest) Reset()

func (*MsgMarketUpdateEnabledRequest) Size

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

func (*MsgMarketUpdateEnabledRequest) String

func (*MsgMarketUpdateEnabledRequest) Unmarshal

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

func (MsgMarketUpdateEnabledRequest) ValidateBasic

func (m MsgMarketUpdateEnabledRequest) ValidateBasic() error

func (*MsgMarketUpdateEnabledRequest) XXX_DiscardUnknown

func (m *MsgMarketUpdateEnabledRequest) XXX_DiscardUnknown()

func (*MsgMarketUpdateEnabledRequest) XXX_Marshal

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

func (*MsgMarketUpdateEnabledRequest) XXX_Merge

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

func (*MsgMarketUpdateEnabledRequest) XXX_Size

func (m *MsgMarketUpdateEnabledRequest) XXX_Size() int

func (*MsgMarketUpdateEnabledRequest) XXX_Unmarshal

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

type MsgMarketUpdateEnabledResponse

type MsgMarketUpdateEnabledResponse struct {
}

MsgMarketUpdateEnabledResponse is a response message for the MarketUpdateEnabled endpoint.

func (*MsgMarketUpdateEnabledResponse) Descriptor

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

func (*MsgMarketUpdateEnabledResponse) Marshal

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

func (*MsgMarketUpdateEnabledResponse) MarshalTo

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

func (*MsgMarketUpdateEnabledResponse) MarshalToSizedBuffer

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

func (*MsgMarketUpdateEnabledResponse) ProtoMessage

func (*MsgMarketUpdateEnabledResponse) ProtoMessage()

func (*MsgMarketUpdateEnabledResponse) Reset

func (m *MsgMarketUpdateEnabledResponse) Reset()

func (*MsgMarketUpdateEnabledResponse) Size

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

func (*MsgMarketUpdateEnabledResponse) String

func (*MsgMarketUpdateEnabledResponse) Unmarshal

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

func (*MsgMarketUpdateEnabledResponse) XXX_DiscardUnknown

func (m *MsgMarketUpdateEnabledResponse) XXX_DiscardUnknown()

func (*MsgMarketUpdateEnabledResponse) XXX_Marshal

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

func (*MsgMarketUpdateEnabledResponse) XXX_Merge

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

func (*MsgMarketUpdateEnabledResponse) XXX_Size

func (m *MsgMarketUpdateEnabledResponse) XXX_Size() int

func (*MsgMarketUpdateEnabledResponse) XXX_Unmarshal

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

type MsgMarketUpdateUserSettleRequest

type MsgMarketUpdateUserSettleRequest struct {
	// admin is the account with "update" permission requesting this change.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to update required attributes for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// allow_user_settlement is whether this market allows users to initiate their own settlements.
	// For example, the FillBids and FillAsks endpoints are available if and only if this is true.
	// The MarketSettle endpoint is only available to market actors regardless of the value of this field.
	AllowUserSettlement bool `protobuf:"varint,3,opt,name=allow_user_settlement,json=allowUserSettlement,proto3" json:"allow_user_settlement,omitempty"`
}

MsgMarketUpdateUserSettleRequest is a request message for the MarketUpdateUserSettle endpoint.

func (*MsgMarketUpdateUserSettleRequest) Descriptor

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

func (*MsgMarketUpdateUserSettleRequest) GetAdmin

func (*MsgMarketUpdateUserSettleRequest) GetAllowUserSettlement

func (m *MsgMarketUpdateUserSettleRequest) GetAllowUserSettlement() bool

func (*MsgMarketUpdateUserSettleRequest) GetMarketId

func (m *MsgMarketUpdateUserSettleRequest) GetMarketId() uint32

func (MsgMarketUpdateUserSettleRequest) GetSigners

func (*MsgMarketUpdateUserSettleRequest) Marshal

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

func (*MsgMarketUpdateUserSettleRequest) MarshalTo

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

func (*MsgMarketUpdateUserSettleRequest) MarshalToSizedBuffer

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

func (*MsgMarketUpdateUserSettleRequest) ProtoMessage

func (*MsgMarketUpdateUserSettleRequest) ProtoMessage()

func (*MsgMarketUpdateUserSettleRequest) Reset

func (*MsgMarketUpdateUserSettleRequest) Size

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

func (*MsgMarketUpdateUserSettleRequest) String

func (*MsgMarketUpdateUserSettleRequest) Unmarshal

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

func (MsgMarketUpdateUserSettleRequest) ValidateBasic

func (m MsgMarketUpdateUserSettleRequest) ValidateBasic() error

func (*MsgMarketUpdateUserSettleRequest) XXX_DiscardUnknown

func (m *MsgMarketUpdateUserSettleRequest) XXX_DiscardUnknown()

func (*MsgMarketUpdateUserSettleRequest) XXX_Marshal

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

func (*MsgMarketUpdateUserSettleRequest) XXX_Merge

func (*MsgMarketUpdateUserSettleRequest) XXX_Size

func (m *MsgMarketUpdateUserSettleRequest) XXX_Size() int

func (*MsgMarketUpdateUserSettleRequest) XXX_Unmarshal

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

type MsgMarketUpdateUserSettleResponse

type MsgMarketUpdateUserSettleResponse struct {
}

MsgMarketUpdateUserSettleResponse is a response message for the MarketUpdateUserSettle endpoint.

func (*MsgMarketUpdateUserSettleResponse) Descriptor

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

func (*MsgMarketUpdateUserSettleResponse) Marshal

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

func (*MsgMarketUpdateUserSettleResponse) MarshalTo

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

func (*MsgMarketUpdateUserSettleResponse) MarshalToSizedBuffer

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

func (*MsgMarketUpdateUserSettleResponse) ProtoMessage

func (*MsgMarketUpdateUserSettleResponse) ProtoMessage()

func (*MsgMarketUpdateUserSettleResponse) Reset

func (*MsgMarketUpdateUserSettleResponse) Size

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

func (*MsgMarketUpdateUserSettleResponse) String

func (*MsgMarketUpdateUserSettleResponse) Unmarshal

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

func (*MsgMarketUpdateUserSettleResponse) XXX_DiscardUnknown

func (m *MsgMarketUpdateUserSettleResponse) XXX_DiscardUnknown()

func (*MsgMarketUpdateUserSettleResponse) XXX_Marshal

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

func (*MsgMarketUpdateUserSettleResponse) XXX_Merge

func (*MsgMarketUpdateUserSettleResponse) XXX_Size

func (m *MsgMarketUpdateUserSettleResponse) XXX_Size() int

func (*MsgMarketUpdateUserSettleResponse) XXX_Unmarshal

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

type MsgMarketWithdrawRequest

type MsgMarketWithdrawRequest struct {
	// admin is the account with withdraw permission requesting the withdrawal.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market to withdraw from.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// to_address is the address that will receive the funds.
	ToAddress string `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	// amount is the funds to withdraw.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgMarketWithdrawRequest is a request message for the MarketWithdraw endpoint.

func (*MsgMarketWithdrawRequest) Descriptor

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

func (*MsgMarketWithdrawRequest) GetAdmin

func (m *MsgMarketWithdrawRequest) GetAdmin() string

func (*MsgMarketWithdrawRequest) GetAmount

func (*MsgMarketWithdrawRequest) GetMarketId

func (m *MsgMarketWithdrawRequest) GetMarketId() uint32

func (MsgMarketWithdrawRequest) GetSigners

func (m MsgMarketWithdrawRequest) GetSigners() []sdk.AccAddress

func (*MsgMarketWithdrawRequest) GetToAddress

func (m *MsgMarketWithdrawRequest) GetToAddress() string

func (*MsgMarketWithdrawRequest) Marshal

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

func (*MsgMarketWithdrawRequest) MarshalTo

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

func (*MsgMarketWithdrawRequest) MarshalToSizedBuffer

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

func (*MsgMarketWithdrawRequest) ProtoMessage

func (*MsgMarketWithdrawRequest) ProtoMessage()

func (*MsgMarketWithdrawRequest) Reset

func (m *MsgMarketWithdrawRequest) Reset()

func (*MsgMarketWithdrawRequest) Size

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

func (*MsgMarketWithdrawRequest) String

func (m *MsgMarketWithdrawRequest) String() string

func (*MsgMarketWithdrawRequest) Unmarshal

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

func (MsgMarketWithdrawRequest) ValidateBasic

func (m MsgMarketWithdrawRequest) ValidateBasic() error

func (*MsgMarketWithdrawRequest) XXX_DiscardUnknown

func (m *MsgMarketWithdrawRequest) XXX_DiscardUnknown()

func (*MsgMarketWithdrawRequest) XXX_Marshal

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

func (*MsgMarketWithdrawRequest) XXX_Merge

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

func (*MsgMarketWithdrawRequest) XXX_Size

func (m *MsgMarketWithdrawRequest) XXX_Size() int

func (*MsgMarketWithdrawRequest) XXX_Unmarshal

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

type MsgMarketWithdrawResponse

type MsgMarketWithdrawResponse struct {
}

MsgMarketWithdrawResponse is a response message for the MarketWithdraw endpoint.

func (*MsgMarketWithdrawResponse) Descriptor

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

func (*MsgMarketWithdrawResponse) Marshal

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

func (*MsgMarketWithdrawResponse) MarshalTo

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

func (*MsgMarketWithdrawResponse) MarshalToSizedBuffer

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

func (*MsgMarketWithdrawResponse) ProtoMessage

func (*MsgMarketWithdrawResponse) ProtoMessage()

func (*MsgMarketWithdrawResponse) Reset

func (m *MsgMarketWithdrawResponse) Reset()

func (*MsgMarketWithdrawResponse) Size

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

func (*MsgMarketWithdrawResponse) String

func (m *MsgMarketWithdrawResponse) String() string

func (*MsgMarketWithdrawResponse) Unmarshal

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

func (*MsgMarketWithdrawResponse) XXX_DiscardUnknown

func (m *MsgMarketWithdrawResponse) XXX_DiscardUnknown()

func (*MsgMarketWithdrawResponse) XXX_Marshal

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

func (*MsgMarketWithdrawResponse) XXX_Merge

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

func (*MsgMarketWithdrawResponse) XXX_Size

func (m *MsgMarketWithdrawResponse) XXX_Size() int

func (*MsgMarketWithdrawResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// CreateAsk creates an ask order (to sell something you own).
	CreateAsk(context.Context, *MsgCreateAskRequest) (*MsgCreateAskResponse, error)
	// CreateBid creates a bid order (to buy something you want).
	CreateBid(context.Context, *MsgCreateBidRequest) (*MsgCreateBidResponse, error)
	// CancelOrder cancels an order.
	CancelOrder(context.Context, *MsgCancelOrderRequest) (*MsgCancelOrderResponse, error)
	// FillBids uses the assets in your account to fulfill one or more bids (similar to a fill-or-cancel ask).
	FillBids(context.Context, *MsgFillBidsRequest) (*MsgFillBidsResponse, error)
	// FillAsks uses the funds in your account to fulfill one or more asks (similar to a fill-or-cancel bid).
	FillAsks(context.Context, *MsgFillAsksRequest) (*MsgFillAsksResponse, error)
	// MarketSettle is a market endpoint to trigger the settlement of orders.
	MarketSettle(context.Context, *MsgMarketSettleRequest) (*MsgMarketSettleResponse, error)
	// MarketSetOrderExternalID updates an order's external id field.
	MarketSetOrderExternalID(context.Context, *MsgMarketSetOrderExternalIDRequest) (*MsgMarketSetOrderExternalIDResponse, error)
	// MarketWithdraw is a market endpoint to withdraw fees that have been collected.
	MarketWithdraw(context.Context, *MsgMarketWithdrawRequest) (*MsgMarketWithdrawResponse, error)
	// MarketUpdateDetails is a market endpoint to update its details.
	MarketUpdateDetails(context.Context, *MsgMarketUpdateDetailsRequest) (*MsgMarketUpdateDetailsResponse, error)
	// MarketUpdateEnabled is a market endpoint to update whether its accepting orders.
	MarketUpdateEnabled(context.Context, *MsgMarketUpdateEnabledRequest) (*MsgMarketUpdateEnabledResponse, error)
	// MarketUpdateUserSettle is a market endpoint to update whether it allows user-initiated settlement.
	MarketUpdateUserSettle(context.Context, *MsgMarketUpdateUserSettleRequest) (*MsgMarketUpdateUserSettleResponse, error)
	// MarketManagePermissions is a market endpoint to manage a market's user permissions.
	MarketManagePermissions(context.Context, *MsgMarketManagePermissionsRequest) (*MsgMarketManagePermissionsResponse, error)
	// MarketManageReqAttrs is a market endpoint to manage the attributes required to interact with it.
	MarketManageReqAttrs(context.Context, *MsgMarketManageReqAttrsRequest) (*MsgMarketManageReqAttrsResponse, error)
	// GovCreateMarket is a governance proposal endpoint for creating a market.
	GovCreateMarket(context.Context, *MsgGovCreateMarketRequest) (*MsgGovCreateMarketResponse, error)
	// GovManageFees is a governance proposal endpoint for updating a market's fees.
	GovManageFees(context.Context, *MsgGovManageFeesRequest) (*MsgGovManageFeesResponse, error)
	// GovUpdateParams is a governance proposal endpoint for updating the exchange module's params.
	GovUpdateParams(context.Context, *MsgGovUpdateParamsRequest) (*MsgGovUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type Order

type Order struct {
	// order_id is the numerical identifier for this order.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// order is the specifics of this order.
	//
	// Types that are valid to be assigned to Order:
	//	*Order_AskOrder
	//	*Order_BidOrder
	Order isOrder_Order `protobuf_oneof:"order"`
}

Order associates an order id with one of the order types.

func NewOrder

func NewOrder(orderID uint64) *Order

NewOrder creates a new empty Order with the provided order id. The order details are set using one of: WithAsk, WithBid.

func (*Order) Descriptor

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

func (*Order) GetAskOrder

func (m *Order) GetAskOrder() *AskOrder

func (Order) GetAssets

func (o Order) GetAssets() sdk.Coin

GetAssets returns the assets for this order. Panics if the sub-order is not set or is something unexpected.

func (*Order) GetBidOrder

func (m *Order) GetBidOrder() *BidOrder

func (Order) GetExternalID

func (o Order) GetExternalID() string

GetUUID returns this order's UUID.

func (Order) GetHoldAmount

func (o Order) GetHoldAmount() sdk.Coins

GetHoldAmount returns the amount that should be on hold for this order. Panics if the sub-order is not set or is something unexpected.

func (Order) GetMarketID

func (o Order) GetMarketID() uint32

GetMarketID returns the market id for this order. Panics if the sub-order is not set or is something unexpected.

func (*Order) GetOrder

func (m *Order) GetOrder() isOrder_Order

func (Order) GetOrderID

func (o Order) GetOrderID() uint64

GetOrderID gets the numerical identifier for this order.

func (Order) GetOrderType

func (o Order) GetOrderType() string

GetOrderType returns a string indicating what type this order is. E.g: OrderTypeAsk or OrderTypeBid

func (Order) GetOrderTypeByte

func (o Order) GetOrderTypeByte() byte

GetOrderTypeByte returns the type byte for this order. E.g: OrderTypeByteAsk or OrderTypeByteBid Panics if the sub-order is not set or is something unexpected.

func (Order) GetOwner

func (o Order) GetOwner() string

GetOwner returns the owner of this order. E.g. the seller for ask orders, or buyer for bid orders. Panics if the sub-order is not set or is something unexpected.

func (Order) GetPrice

func (o Order) GetPrice() sdk.Coin

GetPrice returns the price for this order. Panics if the sub-order is not set or is something unexpected.

func (Order) GetSettlementFees

func (o Order) GetSettlementFees() sdk.Coins

GetSettlementFees returns the settlement fees in this order.

func (Order) GetSubOrder

func (o Order) GetSubOrder() (SubOrderI, error)

GetSubOrder gets this order's sub-order as a SubOrderI.

func (Order) IsAskOrder

func (o Order) IsAskOrder() bool

IsAskOrder returns true if this order is an ask order.

func (Order) IsBidOrder

func (o Order) IsBidOrder() bool

IsBidOrder returns true if this order is a bid order.

func (*Order) Marshal

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

func (*Order) MarshalTo

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

func (*Order) MarshalToSizedBuffer

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

func (Order) MustGetSubOrder

func (o Order) MustGetSubOrder() SubOrderI

MustGetSubOrder gets this order's sub-order as a SubOrderI. Panics if the sub-order is not set or is something unexpected.

func (Order) PartialFillAllowed

func (o Order) PartialFillAllowed() bool

PartialFillAllowed returns true if this order allows partial fulfillment.

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) Reset

func (m *Order) Reset()

func (*Order) Size

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

func (Order) Split

func (o Order) Split(assetsFilledAmt sdkmath.Int) (filled *Order, unfilled *Order, err error)

Split splits this order by the provided assets filled.

func (*Order) String

func (m *Order) String() string

func (*Order) Unmarshal

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

func (Order) Validate

func (o Order) Validate() error

Validate returns an error if anything in this order is invalid.

func (*Order) WithAsk

func (o *Order) WithAsk(askOrder *AskOrder) *Order

WithAsk updates this to contain the provided AskOrder and returns itself.

func (*Order) WithBid

func (o *Order) WithBid(bidOrder *BidOrder) *Order

WithBid updates this to contain the provided BidOrder and returns itself.

func (*Order) XXX_DiscardUnknown

func (m *Order) XXX_DiscardUnknown()

func (*Order) XXX_Marshal

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

func (*Order) XXX_Merge

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

func (*Order) XXX_OneofWrappers

func (*Order) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Order) XXX_Size

func (m *Order) XXX_Size() int

func (*Order) XXX_Unmarshal

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

type OrderI

type OrderI interface {
	SubOrderI
	GetOrderID() uint64
	IsAskOrder() bool
	IsBidOrder() bool
}

OrderI is an interface with getters for all the fields associated with an order and it's sub-order.

type Order_AskOrder

type Order_AskOrder struct {
	AskOrder *AskOrder `protobuf:"bytes,2,opt,name=ask_order,json=askOrder,proto3,oneof" json:"ask_order,omitempty"`
}

func (*Order_AskOrder) MarshalTo

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

func (*Order_AskOrder) MarshalToSizedBuffer

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

func (*Order_AskOrder) Size

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

type Order_BidOrder

type Order_BidOrder struct {
	BidOrder *BidOrder `protobuf:"bytes,3,opt,name=bid_order,json=bidOrder,proto3,oneof" json:"bid_order,omitempty"`
}

func (*Order_BidOrder) MarshalTo

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

func (*Order_BidOrder) MarshalToSizedBuffer

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

func (*Order_BidOrder) Size

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

type Params

type Params struct {
	// default_split is the default proportion of fees the exchange receives in basis points.
	// It is used if there isn't an applicable denom-specific split defined.
	// E.g. 100 = 1%. Min = 0, Max = 10000.
	DefaultSplit uint32 `protobuf:"varint,1,opt,name=default_split,json=defaultSplit,proto3" json:"default_split,omitempty"`
	// denom_splits are the denom-specific amounts the exchange receives.
	DenomSplits []DenomSplit `protobuf:"bytes,2,rep,name=denom_splits,json=denomSplits,proto3" json:"denom_splits"`
}

Params is a representation of the exchange module parameters.

func DefaultParams

func DefaultParams() *Params

DefaultParams returns the default exchange module params.

func NewParams

func NewParams(defaultSplit uint32, denomSplits []DenomSplit) *Params

func (*Params) Descriptor

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

func (*Params) GetDefaultSplit

func (m *Params) GetDefaultSplit() uint32

func (*Params) GetDenomSplits

func (m *Params) GetDenomSplits() []DenomSplit

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

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

func (Params) Validate

func (p Params) Validate() error

Validate returns an error if there's something wrong with these params.

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

type Permission

type Permission int32

Permission defines the different types of permission that can be given to an account for a market.

const (
	// PERMISSION_UNSPECIFIED is the zero-value Permission; it is an error to use it.
	Permission_unspecified Permission = 0
	// PERMISSION_SETTLE is the ability to use the Settle Tx endpoint on behalf of a market.
	Permission_settle Permission = 1
	// PERMISSION_SET_IDS is the ability to use the SetOrderExternalID Tx endpoint on behalf of a market.
	Permission_set_ids Permission = 2
	// PERMISSION_CANCEL is the ability to use the Cancel Tx endpoint on behalf of a market.
	Permission_cancel Permission = 3
	// PERMISSION_WITHDRAW is the ability to use the MarketWithdraw Tx endpoint.
	Permission_withdraw Permission = 4
	// PERMISSION_UPDATE is the ability to use the MarketUpdate* Tx endpoints.
	Permission_update Permission = 5
	// PERMISSION_PERMISSIONS is the ability to use the MarketManagePermissions Tx endpoint.
	Permission_permissions Permission = 6
	// PERMISSION_ATTRIBUTES is the ability to use the MarketManageReqAttrs Tx endpoint.
	Permission_attributes Permission = 7
)

func AllPermissions

func AllPermissions() []Permission

AllPermissions returns all permission values except unspecified.

func ParsePermission

func ParsePermission(permission string) (Permission, error)

ParsePermission converts the provided permission string into a Permission value. An error is returned if unknown or Permission_unspecified. Example inputs: "settle", "CanCel", "WITHDRAW", "permission_update", "PermISSion_PErmissioNs", "PERMISSION_ATTRIBUTES"

func ParsePermissions

func ParsePermissions(permissions ...string) ([]Permission, error)

ParsePermissions converts the provided permissions strings into a []Permission. An error is returned if any are unknown or Permission_unspecified. See also: ParsePermission.

func (Permission) EnumDescriptor

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

func (Permission) SimpleString

func (p Permission) SimpleString() string

SimpleString returns a lower-cased version of the permission.String() without the leading "permission_" E.g. "settle", or "update".

func (Permission) String

func (x Permission) String() string

func (Permission) Validate

func (p Permission) Validate() error

Validate returns an error if this Permission is unspecified or an unknown value.

type QueryClient

type QueryClient interface {
	// OrderFeeCalc calculates the fees that will be associated with the provided order.
	OrderFeeCalc(ctx context.Context, in *QueryOrderFeeCalcRequest, opts ...grpc.CallOption) (*QueryOrderFeeCalcResponse, error)
	// GetOrder looks up an order by id.
	GetOrder(ctx context.Context, in *QueryGetOrderRequest, opts ...grpc.CallOption) (*QueryGetOrderResponse, error)
	// GetOrderByExternalID looks up an order by market id and external id.
	GetOrderByExternalID(ctx context.Context, in *QueryGetOrderByExternalIDRequest, opts ...grpc.CallOption) (*QueryGetOrderByExternalIDResponse, error)
	// GetMarketOrders looks up the orders in a market.
	GetMarketOrders(ctx context.Context, in *QueryGetMarketOrdersRequest, opts ...grpc.CallOption) (*QueryGetMarketOrdersResponse, error)
	// GetOwnerOrders looks up the orders from the provided owner address.
	GetOwnerOrders(ctx context.Context, in *QueryGetOwnerOrdersRequest, opts ...grpc.CallOption) (*QueryGetOwnerOrdersResponse, error)
	// GetAssetOrders looks up the orders for a specific asset denom.
	GetAssetOrders(ctx context.Context, in *QueryGetAssetOrdersRequest, opts ...grpc.CallOption) (*QueryGetAssetOrdersResponse, error)
	// GetAllOrders gets all orders in the exchange module.
	GetAllOrders(ctx context.Context, in *QueryGetAllOrdersRequest, opts ...grpc.CallOption) (*QueryGetAllOrdersResponse, error)
	// GetMarket returns all the information and details about a market.
	GetMarket(ctx context.Context, in *QueryGetMarketRequest, opts ...grpc.CallOption) (*QueryGetMarketResponse, error)
	// GetAllMarkets returns brief information about each market.
	GetAllMarkets(ctx context.Context, in *QueryGetAllMarketsRequest, opts ...grpc.CallOption) (*QueryGetAllMarketsResponse, error)
	// Params returns the exchange module parameters.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// ValidateCreateMarket checks the provided MsgGovCreateMarketResponse and returns any errors it might have.
	ValidateCreateMarket(ctx context.Context, in *QueryValidateCreateMarketRequest, opts ...grpc.CallOption) (*QueryValidateCreateMarketResponse, error)
	// ValidateMarket checks for any problems with a market's setup.
	ValidateMarket(ctx context.Context, in *QueryValidateMarketRequest, opts ...grpc.CallOption) (*QueryValidateMarketResponse, error)
	// ValidateManageFees checks the provided MsgGovManageFeesRequest and returns any errors that it might have.
	ValidateManageFees(ctx context.Context, in *QueryValidateManageFeesRequest, opts ...grpc.CallOption) (*QueryValidateManageFeesResponse, 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 QueryGetAllMarketsRequest

type QueryGetAllMarketsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllMarketsRequest is a request message for the GetAllMarkets query.

func (*QueryGetAllMarketsRequest) Descriptor

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

func (*QueryGetAllMarketsRequest) GetPagination

func (m *QueryGetAllMarketsRequest) GetPagination() *query.PageRequest

func (*QueryGetAllMarketsRequest) Marshal

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

func (*QueryGetAllMarketsRequest) MarshalTo

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

func (*QueryGetAllMarketsRequest) MarshalToSizedBuffer

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

func (*QueryGetAllMarketsRequest) ProtoMessage

func (*QueryGetAllMarketsRequest) ProtoMessage()

func (*QueryGetAllMarketsRequest) Reset

func (m *QueryGetAllMarketsRequest) Reset()

func (*QueryGetAllMarketsRequest) Size

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

func (*QueryGetAllMarketsRequest) String

func (m *QueryGetAllMarketsRequest) String() string

func (*QueryGetAllMarketsRequest) Unmarshal

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

func (*QueryGetAllMarketsRequest) XXX_DiscardUnknown

func (m *QueryGetAllMarketsRequest) XXX_DiscardUnknown()

func (*QueryGetAllMarketsRequest) XXX_Marshal

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

func (*QueryGetAllMarketsRequest) XXX_Merge

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

func (*QueryGetAllMarketsRequest) XXX_Size

func (m *QueryGetAllMarketsRequest) XXX_Size() int

func (*QueryGetAllMarketsRequest) XXX_Unmarshal

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

type QueryGetAllMarketsResponse

type QueryGetAllMarketsResponse struct {
	// markets are a page of the briefs for all markets.
	Markets []*MarketBrief `protobuf:"bytes,1,rep,name=markets,proto3" json:"markets,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllMarketsResponse is a response message for the GetAllMarkets query.

func (*QueryGetAllMarketsResponse) Descriptor

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

func (*QueryGetAllMarketsResponse) GetMarkets

func (m *QueryGetAllMarketsResponse) GetMarkets() []*MarketBrief

func (*QueryGetAllMarketsResponse) GetPagination

func (m *QueryGetAllMarketsResponse) GetPagination() *query.PageResponse

func (*QueryGetAllMarketsResponse) Marshal

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

func (*QueryGetAllMarketsResponse) MarshalTo

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

func (*QueryGetAllMarketsResponse) MarshalToSizedBuffer

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

func (*QueryGetAllMarketsResponse) ProtoMessage

func (*QueryGetAllMarketsResponse) ProtoMessage()

func (*QueryGetAllMarketsResponse) Reset

func (m *QueryGetAllMarketsResponse) Reset()

func (*QueryGetAllMarketsResponse) Size

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

func (*QueryGetAllMarketsResponse) String

func (m *QueryGetAllMarketsResponse) String() string

func (*QueryGetAllMarketsResponse) Unmarshal

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

func (*QueryGetAllMarketsResponse) XXX_DiscardUnknown

func (m *QueryGetAllMarketsResponse) XXX_DiscardUnknown()

func (*QueryGetAllMarketsResponse) XXX_Marshal

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

func (*QueryGetAllMarketsResponse) XXX_Merge

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

func (*QueryGetAllMarketsResponse) XXX_Size

func (m *QueryGetAllMarketsResponse) XXX_Size() int

func (*QueryGetAllMarketsResponse) XXX_Unmarshal

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

type QueryGetAllOrdersRequest

type QueryGetAllOrdersRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllOrdersRequest is a request message for the GetAllOrders query.

func (*QueryGetAllOrdersRequest) Descriptor

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

func (*QueryGetAllOrdersRequest) GetPagination

func (m *QueryGetAllOrdersRequest) GetPagination() *query.PageRequest

func (*QueryGetAllOrdersRequest) Marshal

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

func (*QueryGetAllOrdersRequest) MarshalTo

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

func (*QueryGetAllOrdersRequest) MarshalToSizedBuffer

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

func (*QueryGetAllOrdersRequest) ProtoMessage

func (*QueryGetAllOrdersRequest) ProtoMessage()

func (*QueryGetAllOrdersRequest) Reset

func (m *QueryGetAllOrdersRequest) Reset()

func (*QueryGetAllOrdersRequest) Size

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

func (*QueryGetAllOrdersRequest) String

func (m *QueryGetAllOrdersRequest) String() string

func (*QueryGetAllOrdersRequest) Unmarshal

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

func (*QueryGetAllOrdersRequest) XXX_DiscardUnknown

func (m *QueryGetAllOrdersRequest) XXX_DiscardUnknown()

func (*QueryGetAllOrdersRequest) XXX_Marshal

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

func (*QueryGetAllOrdersRequest) XXX_Merge

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

func (*QueryGetAllOrdersRequest) XXX_Size

func (m *QueryGetAllOrdersRequest) XXX_Size() int

func (*QueryGetAllOrdersRequest) XXX_Unmarshal

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

type QueryGetAllOrdersResponse

type QueryGetAllOrdersResponse struct {
	// orders are a page of the all orders.
	Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllOrdersResponse is a response message for the GetAllOrders query.

func (*QueryGetAllOrdersResponse) Descriptor

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

func (*QueryGetAllOrdersResponse) GetOrders

func (m *QueryGetAllOrdersResponse) GetOrders() []*Order

func (*QueryGetAllOrdersResponse) GetPagination

func (m *QueryGetAllOrdersResponse) GetPagination() *query.PageResponse

func (*QueryGetAllOrdersResponse) Marshal

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

func (*QueryGetAllOrdersResponse) MarshalTo

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

func (*QueryGetAllOrdersResponse) MarshalToSizedBuffer

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

func (*QueryGetAllOrdersResponse) ProtoMessage

func (*QueryGetAllOrdersResponse) ProtoMessage()

func (*QueryGetAllOrdersResponse) Reset

func (m *QueryGetAllOrdersResponse) Reset()

func (*QueryGetAllOrdersResponse) Size

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

func (*QueryGetAllOrdersResponse) String

func (m *QueryGetAllOrdersResponse) String() string

func (*QueryGetAllOrdersResponse) Unmarshal

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

func (*QueryGetAllOrdersResponse) XXX_DiscardUnknown

func (m *QueryGetAllOrdersResponse) XXX_DiscardUnknown()

func (*QueryGetAllOrdersResponse) XXX_Marshal

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

func (*QueryGetAllOrdersResponse) XXX_Merge

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

func (*QueryGetAllOrdersResponse) XXX_Size

func (m *QueryGetAllOrdersResponse) XXX_Size() int

func (*QueryGetAllOrdersResponse) XXX_Unmarshal

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

type QueryGetAssetOrdersRequest

type QueryGetAssetOrdersRequest struct {
	// asset is the denom of assets to get orders for.
	Asset string `protobuf:"bytes,1,opt,name=asset,proto3" json:"asset,omitempty"`
	// order_type is optional and can limit orders to only "ask" or "bid" orders.
	OrderType string `protobuf:"bytes,2,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	// after_order_id is a minimum (exclusive) order id. All results will be strictly greater than this.
	AfterOrderId uint64 `protobuf:"varint,3,opt,name=after_order_id,json=afterOrderId,proto3" json:"after_order_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAssetOrdersRequest is a request message for the GetAssetOrders query.

func (*QueryGetAssetOrdersRequest) Descriptor

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

func (*QueryGetAssetOrdersRequest) GetAfterOrderId

func (m *QueryGetAssetOrdersRequest) GetAfterOrderId() uint64

func (*QueryGetAssetOrdersRequest) GetAsset

func (m *QueryGetAssetOrdersRequest) GetAsset() string

func (*QueryGetAssetOrdersRequest) GetOrderType

func (m *QueryGetAssetOrdersRequest) GetOrderType() string

func (*QueryGetAssetOrdersRequest) GetPagination

func (m *QueryGetAssetOrdersRequest) GetPagination() *query.PageRequest

func (*QueryGetAssetOrdersRequest) Marshal

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

func (*QueryGetAssetOrdersRequest) MarshalTo

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

func (*QueryGetAssetOrdersRequest) MarshalToSizedBuffer

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

func (*QueryGetAssetOrdersRequest) ProtoMessage

func (*QueryGetAssetOrdersRequest) ProtoMessage()

func (*QueryGetAssetOrdersRequest) Reset

func (m *QueryGetAssetOrdersRequest) Reset()

func (*QueryGetAssetOrdersRequest) Size

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

func (*QueryGetAssetOrdersRequest) String

func (m *QueryGetAssetOrdersRequest) String() string

func (*QueryGetAssetOrdersRequest) Unmarshal

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

func (*QueryGetAssetOrdersRequest) XXX_DiscardUnknown

func (m *QueryGetAssetOrdersRequest) XXX_DiscardUnknown()

func (*QueryGetAssetOrdersRequest) XXX_Marshal

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

func (*QueryGetAssetOrdersRequest) XXX_Merge

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

func (*QueryGetAssetOrdersRequest) XXX_Size

func (m *QueryGetAssetOrdersRequest) XXX_Size() int

func (*QueryGetAssetOrdersRequest) XXX_Unmarshal

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

type QueryGetAssetOrdersResponse

type QueryGetAssetOrdersResponse struct {
	// orders are a page of the orders for the provided asset.
	Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAssetOrdersResponse is a response message for the GetAssetOrders query.

func (*QueryGetAssetOrdersResponse) Descriptor

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

func (*QueryGetAssetOrdersResponse) GetOrders

func (m *QueryGetAssetOrdersResponse) GetOrders() []*Order

func (*QueryGetAssetOrdersResponse) GetPagination

func (m *QueryGetAssetOrdersResponse) GetPagination() *query.PageResponse

func (*QueryGetAssetOrdersResponse) Marshal

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

func (*QueryGetAssetOrdersResponse) MarshalTo

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

func (*QueryGetAssetOrdersResponse) MarshalToSizedBuffer

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

func (*QueryGetAssetOrdersResponse) ProtoMessage

func (*QueryGetAssetOrdersResponse) ProtoMessage()

func (*QueryGetAssetOrdersResponse) Reset

func (m *QueryGetAssetOrdersResponse) Reset()

func (*QueryGetAssetOrdersResponse) Size

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

func (*QueryGetAssetOrdersResponse) String

func (m *QueryGetAssetOrdersResponse) String() string

func (*QueryGetAssetOrdersResponse) Unmarshal

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

func (*QueryGetAssetOrdersResponse) XXX_DiscardUnknown

func (m *QueryGetAssetOrdersResponse) XXX_DiscardUnknown()

func (*QueryGetAssetOrdersResponse) XXX_Marshal

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

func (*QueryGetAssetOrdersResponse) XXX_Merge

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

func (*QueryGetAssetOrdersResponse) XXX_Size

func (m *QueryGetAssetOrdersResponse) XXX_Size() int

func (*QueryGetAssetOrdersResponse) XXX_Unmarshal

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

type QueryGetMarketOrdersRequest

type QueryGetMarketOrdersRequest struct {
	// market_id is the id of the market to get all the orders for.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// order_type is optional and can limit orders to only "ask" or "bid" orders.
	OrderType string `protobuf:"bytes,2,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	// after_order_id is a minimum (exclusive) order id. All results will be strictly greater than this.
	AfterOrderId uint64 `protobuf:"varint,3,opt,name=after_order_id,json=afterOrderId,proto3" json:"after_order_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetMarketOrdersRequest is a request message for the GetMarketOrders query.

func (*QueryGetMarketOrdersRequest) Descriptor

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

func (*QueryGetMarketOrdersRequest) GetAfterOrderId

func (m *QueryGetMarketOrdersRequest) GetAfterOrderId() uint64

func (*QueryGetMarketOrdersRequest) GetMarketId

func (m *QueryGetMarketOrdersRequest) GetMarketId() uint32

func (*QueryGetMarketOrdersRequest) GetOrderType

func (m *QueryGetMarketOrdersRequest) GetOrderType() string

func (*QueryGetMarketOrdersRequest) GetPagination

func (m *QueryGetMarketOrdersRequest) GetPagination() *query.PageRequest

func (*QueryGetMarketOrdersRequest) Marshal

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

func (*QueryGetMarketOrdersRequest) MarshalTo

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

func (*QueryGetMarketOrdersRequest) MarshalToSizedBuffer

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

func (*QueryGetMarketOrdersRequest) ProtoMessage

func (*QueryGetMarketOrdersRequest) ProtoMessage()

func (*QueryGetMarketOrdersRequest) Reset

func (m *QueryGetMarketOrdersRequest) Reset()

func (*QueryGetMarketOrdersRequest) Size

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

func (*QueryGetMarketOrdersRequest) String

func (m *QueryGetMarketOrdersRequest) String() string

func (*QueryGetMarketOrdersRequest) Unmarshal

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

func (*QueryGetMarketOrdersRequest) XXX_DiscardUnknown

func (m *QueryGetMarketOrdersRequest) XXX_DiscardUnknown()

func (*QueryGetMarketOrdersRequest) XXX_Marshal

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

func (*QueryGetMarketOrdersRequest) XXX_Merge

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

func (*QueryGetMarketOrdersRequest) XXX_Size

func (m *QueryGetMarketOrdersRequest) XXX_Size() int

func (*QueryGetMarketOrdersRequest) XXX_Unmarshal

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

type QueryGetMarketOrdersResponse

type QueryGetMarketOrdersResponse struct {
	// orders are a page of the orders in the provided market.
	Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetMarketOrdersResponse is a response message for the GetMarketOrders query.

func (*QueryGetMarketOrdersResponse) Descriptor

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

func (*QueryGetMarketOrdersResponse) GetOrders

func (m *QueryGetMarketOrdersResponse) GetOrders() []*Order

func (*QueryGetMarketOrdersResponse) GetPagination

func (m *QueryGetMarketOrdersResponse) GetPagination() *query.PageResponse

func (*QueryGetMarketOrdersResponse) Marshal

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

func (*QueryGetMarketOrdersResponse) MarshalTo

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

func (*QueryGetMarketOrdersResponse) MarshalToSizedBuffer

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

func (*QueryGetMarketOrdersResponse) ProtoMessage

func (*QueryGetMarketOrdersResponse) ProtoMessage()

func (*QueryGetMarketOrdersResponse) Reset

func (m *QueryGetMarketOrdersResponse) Reset()

func (*QueryGetMarketOrdersResponse) Size

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

func (*QueryGetMarketOrdersResponse) String

func (*QueryGetMarketOrdersResponse) Unmarshal

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

func (*QueryGetMarketOrdersResponse) XXX_DiscardUnknown

func (m *QueryGetMarketOrdersResponse) XXX_DiscardUnknown()

func (*QueryGetMarketOrdersResponse) XXX_Marshal

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

func (*QueryGetMarketOrdersResponse) XXX_Merge

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

func (*QueryGetMarketOrdersResponse) XXX_Size

func (m *QueryGetMarketOrdersResponse) XXX_Size() int

func (*QueryGetMarketOrdersResponse) XXX_Unmarshal

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

type QueryGetMarketRequest

type QueryGetMarketRequest struct {
	// market_id is the id of the market to look up.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryGetMarketRequest is a request message for the GetMarket query.

func (*QueryGetMarketRequest) Descriptor

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

func (*QueryGetMarketRequest) GetMarketId

func (m *QueryGetMarketRequest) GetMarketId() uint32

func (*QueryGetMarketRequest) Marshal

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

func (*QueryGetMarketRequest) MarshalTo

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

func (*QueryGetMarketRequest) MarshalToSizedBuffer

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

func (*QueryGetMarketRequest) ProtoMessage

func (*QueryGetMarketRequest) ProtoMessage()

func (*QueryGetMarketRequest) Reset

func (m *QueryGetMarketRequest) Reset()

func (*QueryGetMarketRequest) Size

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

func (*QueryGetMarketRequest) String

func (m *QueryGetMarketRequest) String() string

func (*QueryGetMarketRequest) Unmarshal

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

func (*QueryGetMarketRequest) XXX_DiscardUnknown

func (m *QueryGetMarketRequest) XXX_DiscardUnknown()

func (*QueryGetMarketRequest) XXX_Marshal

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

func (*QueryGetMarketRequest) XXX_Merge

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

func (*QueryGetMarketRequest) XXX_Size

func (m *QueryGetMarketRequest) XXX_Size() int

func (*QueryGetMarketRequest) XXX_Unmarshal

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

type QueryGetMarketResponse

type QueryGetMarketResponse struct {
	// address is the bech32 address string of this market's account.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// market is all information and details of the market.
	Market *Market `protobuf:"bytes,2,opt,name=market,proto3" json:"market,omitempty"`
}

QueryGetMarketResponse is a response message for the GetMarket query.

func (*QueryGetMarketResponse) Descriptor

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

func (*QueryGetMarketResponse) GetAddress

func (m *QueryGetMarketResponse) GetAddress() string

func (*QueryGetMarketResponse) GetMarket

func (m *QueryGetMarketResponse) GetMarket() *Market

func (*QueryGetMarketResponse) Marshal

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

func (*QueryGetMarketResponse) MarshalTo

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

func (*QueryGetMarketResponse) MarshalToSizedBuffer

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

func (*QueryGetMarketResponse) ProtoMessage

func (*QueryGetMarketResponse) ProtoMessage()

func (*QueryGetMarketResponse) Reset

func (m *QueryGetMarketResponse) Reset()

func (*QueryGetMarketResponse) Size

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

func (*QueryGetMarketResponse) String

func (m *QueryGetMarketResponse) String() string

func (*QueryGetMarketResponse) Unmarshal

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

func (*QueryGetMarketResponse) XXX_DiscardUnknown

func (m *QueryGetMarketResponse) XXX_DiscardUnknown()

func (*QueryGetMarketResponse) XXX_Marshal

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

func (*QueryGetMarketResponse) XXX_Merge

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

func (*QueryGetMarketResponse) XXX_Size

func (m *QueryGetMarketResponse) XXX_Size() int

func (*QueryGetMarketResponse) XXX_Unmarshal

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

type QueryGetOrderByExternalIDRequest

type QueryGetOrderByExternalIDRequest struct {
	// market_id is the id of the market that's expected to have the order.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// external_id the external id to look up.
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

QueryGetOrderByExternalIDRequest is a request message for the GetOrderByExternalID query.

func (*QueryGetOrderByExternalIDRequest) Descriptor

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

func (*QueryGetOrderByExternalIDRequest) GetExternalId

func (m *QueryGetOrderByExternalIDRequest) GetExternalId() string

func (*QueryGetOrderByExternalIDRequest) GetMarketId

func (m *QueryGetOrderByExternalIDRequest) GetMarketId() uint32

func (*QueryGetOrderByExternalIDRequest) Marshal

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

func (*QueryGetOrderByExternalIDRequest) MarshalTo

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

func (*QueryGetOrderByExternalIDRequest) MarshalToSizedBuffer

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

func (*QueryGetOrderByExternalIDRequest) ProtoMessage

func (*QueryGetOrderByExternalIDRequest) ProtoMessage()

func (*QueryGetOrderByExternalIDRequest) Reset

func (*QueryGetOrderByExternalIDRequest) Size

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

func (*QueryGetOrderByExternalIDRequest) String

func (*QueryGetOrderByExternalIDRequest) Unmarshal

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

func (*QueryGetOrderByExternalIDRequest) XXX_DiscardUnknown

func (m *QueryGetOrderByExternalIDRequest) XXX_DiscardUnknown()

func (*QueryGetOrderByExternalIDRequest) XXX_Marshal

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

func (*QueryGetOrderByExternalIDRequest) XXX_Merge

func (*QueryGetOrderByExternalIDRequest) XXX_Size

func (m *QueryGetOrderByExternalIDRequest) XXX_Size() int

func (*QueryGetOrderByExternalIDRequest) XXX_Unmarshal

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

type QueryGetOrderByExternalIDResponse

type QueryGetOrderByExternalIDResponse struct {
	// order is the requested order.
	Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
}

QueryGetOrderByExternalIDResponse is a response message for the GetOrderByExternalID query.

func (*QueryGetOrderByExternalIDResponse) Descriptor

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

func (*QueryGetOrderByExternalIDResponse) GetOrder

func (*QueryGetOrderByExternalIDResponse) Marshal

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

func (*QueryGetOrderByExternalIDResponse) MarshalTo

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

func (*QueryGetOrderByExternalIDResponse) MarshalToSizedBuffer

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

func (*QueryGetOrderByExternalIDResponse) ProtoMessage

func (*QueryGetOrderByExternalIDResponse) ProtoMessage()

func (*QueryGetOrderByExternalIDResponse) Reset

func (*QueryGetOrderByExternalIDResponse) Size

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

func (*QueryGetOrderByExternalIDResponse) String

func (*QueryGetOrderByExternalIDResponse) Unmarshal

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

func (*QueryGetOrderByExternalIDResponse) XXX_DiscardUnknown

func (m *QueryGetOrderByExternalIDResponse) XXX_DiscardUnknown()

func (*QueryGetOrderByExternalIDResponse) XXX_Marshal

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

func (*QueryGetOrderByExternalIDResponse) XXX_Merge

func (*QueryGetOrderByExternalIDResponse) XXX_Size

func (m *QueryGetOrderByExternalIDResponse) XXX_Size() int

func (*QueryGetOrderByExternalIDResponse) XXX_Unmarshal

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

type QueryGetOrderRequest

type QueryGetOrderRequest struct {
	// order_id is the id of the order to look up.
	OrderId uint64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
}

QueryGetOrderRequest is a request message for the GetOrder query.

func (*QueryGetOrderRequest) Descriptor

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

func (*QueryGetOrderRequest) GetOrderId

func (m *QueryGetOrderRequest) GetOrderId() uint64

func (*QueryGetOrderRequest) Marshal

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

func (*QueryGetOrderRequest) MarshalTo

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

func (*QueryGetOrderRequest) MarshalToSizedBuffer

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

func (*QueryGetOrderRequest) ProtoMessage

func (*QueryGetOrderRequest) ProtoMessage()

func (*QueryGetOrderRequest) Reset

func (m *QueryGetOrderRequest) Reset()

func (*QueryGetOrderRequest) Size

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

func (*QueryGetOrderRequest) String

func (m *QueryGetOrderRequest) String() string

func (*QueryGetOrderRequest) Unmarshal

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

func (*QueryGetOrderRequest) XXX_DiscardUnknown

func (m *QueryGetOrderRequest) XXX_DiscardUnknown()

func (*QueryGetOrderRequest) XXX_Marshal

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

func (*QueryGetOrderRequest) XXX_Merge

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

func (*QueryGetOrderRequest) XXX_Size

func (m *QueryGetOrderRequest) XXX_Size() int

func (*QueryGetOrderRequest) XXX_Unmarshal

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

type QueryGetOrderResponse

type QueryGetOrderResponse struct {
	// order is the requested order.
	Order *Order `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
}

QueryGetOrderResponse is a response message for the GetOrder query.

func (*QueryGetOrderResponse) Descriptor

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

func (*QueryGetOrderResponse) GetOrder

func (m *QueryGetOrderResponse) GetOrder() *Order

func (*QueryGetOrderResponse) Marshal

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

func (*QueryGetOrderResponse) MarshalTo

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

func (*QueryGetOrderResponse) MarshalToSizedBuffer

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

func (*QueryGetOrderResponse) ProtoMessage

func (*QueryGetOrderResponse) ProtoMessage()

func (*QueryGetOrderResponse) Reset

func (m *QueryGetOrderResponse) Reset()

func (*QueryGetOrderResponse) Size

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

func (*QueryGetOrderResponse) String

func (m *QueryGetOrderResponse) String() string

func (*QueryGetOrderResponse) Unmarshal

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

func (*QueryGetOrderResponse) XXX_DiscardUnknown

func (m *QueryGetOrderResponse) XXX_DiscardUnknown()

func (*QueryGetOrderResponse) XXX_Marshal

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

func (*QueryGetOrderResponse) XXX_Merge

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

func (*QueryGetOrderResponse) XXX_Size

func (m *QueryGetOrderResponse) XXX_Size() int

func (*QueryGetOrderResponse) XXX_Unmarshal

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

type QueryGetOwnerOrdersRequest

type QueryGetOwnerOrdersRequest struct {
	// owner is the bech32 address string of the owner to get the orders for.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// order_type is optional and can limit orders to only "ask" or "bid" orders.
	OrderType string `protobuf:"bytes,2,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	// after_order_id is a minimum (exclusive) order id. All results will be strictly greater than this.
	AfterOrderId uint64 `protobuf:"varint,3,opt,name=after_order_id,json=afterOrderId,proto3" json:"after_order_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetOwnerOrdersRequest is a request message for the GetOwnerOrders query.

func (*QueryGetOwnerOrdersRequest) Descriptor

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

func (*QueryGetOwnerOrdersRequest) GetAfterOrderId

func (m *QueryGetOwnerOrdersRequest) GetAfterOrderId() uint64

func (*QueryGetOwnerOrdersRequest) GetOrderType

func (m *QueryGetOwnerOrdersRequest) GetOrderType() string

func (*QueryGetOwnerOrdersRequest) GetOwner

func (m *QueryGetOwnerOrdersRequest) GetOwner() string

func (*QueryGetOwnerOrdersRequest) GetPagination

func (m *QueryGetOwnerOrdersRequest) GetPagination() *query.PageRequest

func (*QueryGetOwnerOrdersRequest) Marshal

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

func (*QueryGetOwnerOrdersRequest) MarshalTo

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

func (*QueryGetOwnerOrdersRequest) MarshalToSizedBuffer

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

func (*QueryGetOwnerOrdersRequest) ProtoMessage

func (*QueryGetOwnerOrdersRequest) ProtoMessage()

func (*QueryGetOwnerOrdersRequest) Reset

func (m *QueryGetOwnerOrdersRequest) Reset()

func (*QueryGetOwnerOrdersRequest) Size

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

func (*QueryGetOwnerOrdersRequest) String

func (m *QueryGetOwnerOrdersRequest) String() string

func (*QueryGetOwnerOrdersRequest) Unmarshal

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

func (*QueryGetOwnerOrdersRequest) XXX_DiscardUnknown

func (m *QueryGetOwnerOrdersRequest) XXX_DiscardUnknown()

func (*QueryGetOwnerOrdersRequest) XXX_Marshal

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

func (*QueryGetOwnerOrdersRequest) XXX_Merge

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

func (*QueryGetOwnerOrdersRequest) XXX_Size

func (m *QueryGetOwnerOrdersRequest) XXX_Size() int

func (*QueryGetOwnerOrdersRequest) XXX_Unmarshal

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

type QueryGetOwnerOrdersResponse

type QueryGetOwnerOrdersResponse struct {
	// orders are a page of the orders for the provided address.
	Orders []*Order `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetOwnerOrdersResponse is a response message for the GetOwnerOrders query.

func (*QueryGetOwnerOrdersResponse) Descriptor

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

func (*QueryGetOwnerOrdersResponse) GetOrders

func (m *QueryGetOwnerOrdersResponse) GetOrders() []*Order

func (*QueryGetOwnerOrdersResponse) GetPagination

func (m *QueryGetOwnerOrdersResponse) GetPagination() *query.PageResponse

func (*QueryGetOwnerOrdersResponse) Marshal

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

func (*QueryGetOwnerOrdersResponse) MarshalTo

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

func (*QueryGetOwnerOrdersResponse) MarshalToSizedBuffer

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

func (*QueryGetOwnerOrdersResponse) ProtoMessage

func (*QueryGetOwnerOrdersResponse) ProtoMessage()

func (*QueryGetOwnerOrdersResponse) Reset

func (m *QueryGetOwnerOrdersResponse) Reset()

func (*QueryGetOwnerOrdersResponse) Size

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

func (*QueryGetOwnerOrdersResponse) String

func (m *QueryGetOwnerOrdersResponse) String() string

func (*QueryGetOwnerOrdersResponse) Unmarshal

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

func (*QueryGetOwnerOrdersResponse) XXX_DiscardUnknown

func (m *QueryGetOwnerOrdersResponse) XXX_DiscardUnknown()

func (*QueryGetOwnerOrdersResponse) XXX_Marshal

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

func (*QueryGetOwnerOrdersResponse) XXX_Merge

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

func (*QueryGetOwnerOrdersResponse) XXX_Size

func (m *QueryGetOwnerOrdersResponse) XXX_Size() int

func (*QueryGetOwnerOrdersResponse) XXX_Unmarshal

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

type QueryOrderFeeCalcRequest

type QueryOrderFeeCalcRequest struct {
	// ask_order is the ask order to calculate the fees for.
	AskOrder *AskOrder `protobuf:"bytes,2,opt,name=ask_order,json=askOrder,proto3" json:"ask_order,omitempty"`
	// bid_order is the bid order to calculate the fees for.
	BidOrder *BidOrder `protobuf:"bytes,3,opt,name=bid_order,json=bidOrder,proto3" json:"bid_order,omitempty"`
}

QueryOrderFeeCalcRequest is a request message for the OrderFeeCalc query. Exactly one of ask_order or bid_order must be provided.

func (*QueryOrderFeeCalcRequest) Descriptor

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

func (*QueryOrderFeeCalcRequest) GetAskOrder

func (m *QueryOrderFeeCalcRequest) GetAskOrder() *AskOrder

func (*QueryOrderFeeCalcRequest) GetBidOrder

func (m *QueryOrderFeeCalcRequest) GetBidOrder() *BidOrder

func (*QueryOrderFeeCalcRequest) Marshal

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

func (*QueryOrderFeeCalcRequest) MarshalTo

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

func (*QueryOrderFeeCalcRequest) MarshalToSizedBuffer

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

func (*QueryOrderFeeCalcRequest) ProtoMessage

func (*QueryOrderFeeCalcRequest) ProtoMessage()

func (*QueryOrderFeeCalcRequest) Reset

func (m *QueryOrderFeeCalcRequest) Reset()

func (*QueryOrderFeeCalcRequest) Size

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

func (*QueryOrderFeeCalcRequest) String

func (m *QueryOrderFeeCalcRequest) String() string

func (*QueryOrderFeeCalcRequest) Unmarshal

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

func (*QueryOrderFeeCalcRequest) XXX_DiscardUnknown

func (m *QueryOrderFeeCalcRequest) XXX_DiscardUnknown()

func (*QueryOrderFeeCalcRequest) XXX_Marshal

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

func (*QueryOrderFeeCalcRequest) XXX_Merge

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

func (*QueryOrderFeeCalcRequest) XXX_Size

func (m *QueryOrderFeeCalcRequest) XXX_Size() int

func (*QueryOrderFeeCalcRequest) XXX_Unmarshal

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

type QueryOrderFeeCalcResponse

type QueryOrderFeeCalcResponse struct {
	// creation_fee_options are the order creation flat fee options available for creating the provided order.
	// If it's empty, no order creation fee is required.
	// When creating the order, you should include exactly one of these.
	CreationFeeOptions []types.Coin `protobuf:"bytes,1,rep,name=creation_fee_options,json=creationFeeOptions,proto3" json:"creation_fee_options"`
	// settlement_flat_fee_options are the settlement flat fee options available for the provided order.
	// If it's empty, no settlement flat fee is required.
	// When creating an order, you should include exactly one of these in the settlement fees field.
	SettlementFlatFeeOptions []types.Coin `` /* 127-byte string literal not displayed */
	// settlement_ratio_fee_options are the settlement ratio fee options available for the provided order.
	// If it's empty, no settlement ratio fee is required.
	//
	// If the provided order was a bid order, you should include exactly one of these in the settlement fees field.
	// If the flat and ratio options you've chose have the same denom, a single entry should be included with their sum.
	//
	// If the provided order was an ask order, these are purely informational and represent how much will be removed
	// from your price if it settles at that price. If it settles for more, the actual amount will probably be larger.
	SettlementRatioFeeOptions []types.Coin `` /* 130-byte string literal not displayed */
}

QueryOrderFeeCalcResponse is a response message for the OrderFeeCalc query.

func (*QueryOrderFeeCalcResponse) Descriptor

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

func (*QueryOrderFeeCalcResponse) GetCreationFeeOptions

func (m *QueryOrderFeeCalcResponse) GetCreationFeeOptions() []types.Coin

func (*QueryOrderFeeCalcResponse) GetSettlementFlatFeeOptions

func (m *QueryOrderFeeCalcResponse) GetSettlementFlatFeeOptions() []types.Coin

func (*QueryOrderFeeCalcResponse) GetSettlementRatioFeeOptions

func (m *QueryOrderFeeCalcResponse) GetSettlementRatioFeeOptions() []types.Coin

func (*QueryOrderFeeCalcResponse) Marshal

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

func (*QueryOrderFeeCalcResponse) MarshalTo

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

func (*QueryOrderFeeCalcResponse) MarshalToSizedBuffer

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

func (*QueryOrderFeeCalcResponse) ProtoMessage

func (*QueryOrderFeeCalcResponse) ProtoMessage()

func (*QueryOrderFeeCalcResponse) Reset

func (m *QueryOrderFeeCalcResponse) Reset()

func (*QueryOrderFeeCalcResponse) Size

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

func (*QueryOrderFeeCalcResponse) String

func (m *QueryOrderFeeCalcResponse) String() string

func (*QueryOrderFeeCalcResponse) Unmarshal

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

func (*QueryOrderFeeCalcResponse) XXX_DiscardUnknown

func (m *QueryOrderFeeCalcResponse) XXX_DiscardUnknown()

func (*QueryOrderFeeCalcResponse) XXX_Marshal

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

func (*QueryOrderFeeCalcResponse) XXX_Merge

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

func (*QueryOrderFeeCalcResponse) XXX_Size

func (m *QueryOrderFeeCalcResponse) XXX_Size() int

func (*QueryOrderFeeCalcResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is a request message for the Params query.

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 are the exchange module parameter values.
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}

QueryParamsResponse is a response message for the Params query.

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 QueryServer

type QueryServer interface {
	// OrderFeeCalc calculates the fees that will be associated with the provided order.
	OrderFeeCalc(context.Context, *QueryOrderFeeCalcRequest) (*QueryOrderFeeCalcResponse, error)
	// GetOrder looks up an order by id.
	GetOrder(context.Context, *QueryGetOrderRequest) (*QueryGetOrderResponse, error)
	// GetOrderByExternalID looks up an order by market id and external id.
	GetOrderByExternalID(context.Context, *QueryGetOrderByExternalIDRequest) (*QueryGetOrderByExternalIDResponse, error)
	// GetMarketOrders looks up the orders in a market.
	GetMarketOrders(context.Context, *QueryGetMarketOrdersRequest) (*QueryGetMarketOrdersResponse, error)
	// GetOwnerOrders looks up the orders from the provided owner address.
	GetOwnerOrders(context.Context, *QueryGetOwnerOrdersRequest) (*QueryGetOwnerOrdersResponse, error)
	// GetAssetOrders looks up the orders for a specific asset denom.
	GetAssetOrders(context.Context, *QueryGetAssetOrdersRequest) (*QueryGetAssetOrdersResponse, error)
	// GetAllOrders gets all orders in the exchange module.
	GetAllOrders(context.Context, *QueryGetAllOrdersRequest) (*QueryGetAllOrdersResponse, error)
	// GetMarket returns all the information and details about a market.
	GetMarket(context.Context, *QueryGetMarketRequest) (*QueryGetMarketResponse, error)
	// GetAllMarkets returns brief information about each market.
	GetAllMarkets(context.Context, *QueryGetAllMarketsRequest) (*QueryGetAllMarketsResponse, error)
	// Params returns the exchange module parameters.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// ValidateCreateMarket checks the provided MsgGovCreateMarketResponse and returns any errors it might have.
	ValidateCreateMarket(context.Context, *QueryValidateCreateMarketRequest) (*QueryValidateCreateMarketResponse, error)
	// ValidateMarket checks for any problems with a market's setup.
	ValidateMarket(context.Context, *QueryValidateMarketRequest) (*QueryValidateMarketResponse, error)
	// ValidateManageFees checks the provided MsgGovManageFeesRequest and returns any errors that it might have.
	ValidateManageFees(context.Context, *QueryValidateManageFeesRequest) (*QueryValidateManageFeesResponse, error)
}

QueryServer is the server API for Query service.

type QueryValidateCreateMarketRequest

type QueryValidateCreateMarketRequest struct {
	// create_market_request is the request to run validation on.
	CreateMarketRequest *MsgGovCreateMarketRequest `protobuf:"bytes,1,opt,name=create_market_request,json=createMarketRequest,proto3" json:"create_market_request,omitempty"`
}

QueryValidateCreateMarketRequest is a request message for the ValidateCreateMarket query.

func (*QueryValidateCreateMarketRequest) Descriptor

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

func (*QueryValidateCreateMarketRequest) GetCreateMarketRequest

func (m *QueryValidateCreateMarketRequest) GetCreateMarketRequest() *MsgGovCreateMarketRequest

func (*QueryValidateCreateMarketRequest) Marshal

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

func (*QueryValidateCreateMarketRequest) MarshalTo

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

func (*QueryValidateCreateMarketRequest) MarshalToSizedBuffer

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

func (*QueryValidateCreateMarketRequest) ProtoMessage

func (*QueryValidateCreateMarketRequest) ProtoMessage()

func (*QueryValidateCreateMarketRequest) Reset

func (*QueryValidateCreateMarketRequest) Size

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

func (*QueryValidateCreateMarketRequest) String

func (*QueryValidateCreateMarketRequest) Unmarshal

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

func (*QueryValidateCreateMarketRequest) XXX_DiscardUnknown

func (m *QueryValidateCreateMarketRequest) XXX_DiscardUnknown()

func (*QueryValidateCreateMarketRequest) XXX_Marshal

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

func (*QueryValidateCreateMarketRequest) XXX_Merge

func (*QueryValidateCreateMarketRequest) XXX_Size

func (m *QueryValidateCreateMarketRequest) XXX_Size() int

func (*QueryValidateCreateMarketRequest) XXX_Unmarshal

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

type QueryValidateCreateMarketResponse

type QueryValidateCreateMarketResponse struct {
	// error is any problems or inconsistencies in the provided gov prop msg.
	// This goes above and beyond the validation done when actually processing the governance proposal.
	// If an error is returned, and gov_prop_will_pass is true, it means the error is more of an
	// inconsistency that might cause certain aspects of the market to behave unexpectedly.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// gov_prop_will_pass will be true if the the provided msg will be successfully processed at the end of it's voting
	// period (assuming it passes).
	GovPropWillPass bool `protobuf:"varint,2,opt,name=gov_prop_will_pass,json=govPropWillPass,proto3" json:"gov_prop_will_pass,omitempty"`
}

QueryValidateCreateMarketResponse is a response message for the ValidateCreateMarket query.

func (*QueryValidateCreateMarketResponse) Descriptor

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

func (*QueryValidateCreateMarketResponse) GetError

func (*QueryValidateCreateMarketResponse) GetGovPropWillPass

func (m *QueryValidateCreateMarketResponse) GetGovPropWillPass() bool

func (*QueryValidateCreateMarketResponse) Marshal

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

func (*QueryValidateCreateMarketResponse) MarshalTo

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

func (*QueryValidateCreateMarketResponse) MarshalToSizedBuffer

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

func (*QueryValidateCreateMarketResponse) ProtoMessage

func (*QueryValidateCreateMarketResponse) ProtoMessage()

func (*QueryValidateCreateMarketResponse) Reset

func (*QueryValidateCreateMarketResponse) Size

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

func (*QueryValidateCreateMarketResponse) String

func (*QueryValidateCreateMarketResponse) Unmarshal

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

func (*QueryValidateCreateMarketResponse) XXX_DiscardUnknown

func (m *QueryValidateCreateMarketResponse) XXX_DiscardUnknown()

func (*QueryValidateCreateMarketResponse) XXX_Marshal

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

func (*QueryValidateCreateMarketResponse) XXX_Merge

func (*QueryValidateCreateMarketResponse) XXX_Size

func (m *QueryValidateCreateMarketResponse) XXX_Size() int

func (*QueryValidateCreateMarketResponse) XXX_Unmarshal

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

type QueryValidateManageFeesRequest

type QueryValidateManageFeesRequest struct {
	// manage_fees_request is the request to run validation on.
	ManageFeesRequest *MsgGovManageFeesRequest `protobuf:"bytes,1,opt,name=manage_fees_request,json=manageFeesRequest,proto3" json:"manage_fees_request,omitempty"`
}

QueryValidateManageFeesRequest is a request message for the ValidateManageFees query.

func (*QueryValidateManageFeesRequest) Descriptor

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

func (*QueryValidateManageFeesRequest) GetManageFeesRequest

func (m *QueryValidateManageFeesRequest) GetManageFeesRequest() *MsgGovManageFeesRequest

func (*QueryValidateManageFeesRequest) Marshal

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

func (*QueryValidateManageFeesRequest) MarshalTo

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

func (*QueryValidateManageFeesRequest) MarshalToSizedBuffer

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

func (*QueryValidateManageFeesRequest) ProtoMessage

func (*QueryValidateManageFeesRequest) ProtoMessage()

func (*QueryValidateManageFeesRequest) Reset

func (m *QueryValidateManageFeesRequest) Reset()

func (*QueryValidateManageFeesRequest) Size

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

func (*QueryValidateManageFeesRequest) String

func (*QueryValidateManageFeesRequest) Unmarshal

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

func (*QueryValidateManageFeesRequest) XXX_DiscardUnknown

func (m *QueryValidateManageFeesRequest) XXX_DiscardUnknown()

func (*QueryValidateManageFeesRequest) XXX_Marshal

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

func (*QueryValidateManageFeesRequest) XXX_Merge

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

func (*QueryValidateManageFeesRequest) XXX_Size

func (m *QueryValidateManageFeesRequest) XXX_Size() int

func (*QueryValidateManageFeesRequest) XXX_Unmarshal

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

type QueryValidateManageFeesResponse

type QueryValidateManageFeesResponse struct {
	// error is any problems or inconsistencies in the provided gov prop msg.
	// This goes above and beyond the validation done when actually processing the governance proposal.
	// If an error is returned, and gov_prop_will_pass is true, it means the error is more of an
	// inconsistency that might cause certain aspects of the market to behave unexpectedly.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// gov_prop_will_pass will be true if the the provided msg will be successfully processed at the end of it's voting
	// period (assuming it passes).
	GovPropWillPass bool `protobuf:"varint,2,opt,name=gov_prop_will_pass,json=govPropWillPass,proto3" json:"gov_prop_will_pass,omitempty"`
}

QueryValidateManageFeesResponse is a response message for the ValidateManageFees query.

func (*QueryValidateManageFeesResponse) Descriptor

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

func (*QueryValidateManageFeesResponse) GetError

func (*QueryValidateManageFeesResponse) GetGovPropWillPass

func (m *QueryValidateManageFeesResponse) GetGovPropWillPass() bool

func (*QueryValidateManageFeesResponse) Marshal

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

func (*QueryValidateManageFeesResponse) MarshalTo

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

func (*QueryValidateManageFeesResponse) MarshalToSizedBuffer

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

func (*QueryValidateManageFeesResponse) ProtoMessage

func (*QueryValidateManageFeesResponse) ProtoMessage()

func (*QueryValidateManageFeesResponse) Reset

func (*QueryValidateManageFeesResponse) Size

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

func (*QueryValidateManageFeesResponse) String

func (*QueryValidateManageFeesResponse) Unmarshal

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

func (*QueryValidateManageFeesResponse) XXX_DiscardUnknown

func (m *QueryValidateManageFeesResponse) XXX_DiscardUnknown()

func (*QueryValidateManageFeesResponse) XXX_Marshal

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

func (*QueryValidateManageFeesResponse) XXX_Merge

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

func (*QueryValidateManageFeesResponse) XXX_Size

func (m *QueryValidateManageFeesResponse) XXX_Size() int

func (*QueryValidateManageFeesResponse) XXX_Unmarshal

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

type QueryValidateMarketRequest

type QueryValidateMarketRequest struct {
	// market_id is the id of the market to check.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryValidateMarketRequest is a request message for the ValidateMarket query.

func (*QueryValidateMarketRequest) Descriptor

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

func (*QueryValidateMarketRequest) GetMarketId

func (m *QueryValidateMarketRequest) GetMarketId() uint32

func (*QueryValidateMarketRequest) Marshal

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

func (*QueryValidateMarketRequest) MarshalTo

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

func (*QueryValidateMarketRequest) MarshalToSizedBuffer

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

func (*QueryValidateMarketRequest) ProtoMessage

func (*QueryValidateMarketRequest) ProtoMessage()

func (*QueryValidateMarketRequest) Reset

func (m *QueryValidateMarketRequest) Reset()

func (*QueryValidateMarketRequest) Size

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

func (*QueryValidateMarketRequest) String

func (m *QueryValidateMarketRequest) String() string

func (*QueryValidateMarketRequest) Unmarshal

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

func (*QueryValidateMarketRequest) XXX_DiscardUnknown

func (m *QueryValidateMarketRequest) XXX_DiscardUnknown()

func (*QueryValidateMarketRequest) XXX_Marshal

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

func (*QueryValidateMarketRequest) XXX_Merge

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

func (*QueryValidateMarketRequest) XXX_Size

func (m *QueryValidateMarketRequest) XXX_Size() int

func (*QueryValidateMarketRequest) XXX_Unmarshal

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

type QueryValidateMarketResponse

type QueryValidateMarketResponse struct {
	// error is any problems or inconsistencies in the provided market.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}

QueryValidateMarketResponse is a response message for the ValidateMarket query.

func (*QueryValidateMarketResponse) Descriptor

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

func (*QueryValidateMarketResponse) GetError

func (m *QueryValidateMarketResponse) GetError() string

func (*QueryValidateMarketResponse) Marshal

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

func (*QueryValidateMarketResponse) MarshalTo

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

func (*QueryValidateMarketResponse) MarshalToSizedBuffer

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

func (*QueryValidateMarketResponse) ProtoMessage

func (*QueryValidateMarketResponse) ProtoMessage()

func (*QueryValidateMarketResponse) Reset

func (m *QueryValidateMarketResponse) Reset()

func (*QueryValidateMarketResponse) Size

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

func (*QueryValidateMarketResponse) String

func (m *QueryValidateMarketResponse) String() string

func (*QueryValidateMarketResponse) Unmarshal

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

func (*QueryValidateMarketResponse) XXX_DiscardUnknown

func (m *QueryValidateMarketResponse) XXX_DiscardUnknown()

func (*QueryValidateMarketResponse) XXX_Marshal

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

func (*QueryValidateMarketResponse) XXX_Merge

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

func (*QueryValidateMarketResponse) XXX_Size

func (m *QueryValidateMarketResponse) XXX_Size() int

func (*QueryValidateMarketResponse) XXX_Unmarshal

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

type Settlement

type Settlement struct {
	// Transfers are all of the inputs and outputs needed to facilitate movement of assets and price.
	Transfers []*Transfer
	// FeeInputs are the inputs needed to facilitate payment of order fees.
	FeeInputs []banktypes.Input
	// FullyFilledOrders are all the orders that are fully filled in this settlement.
	// If there is an order that's being partially filled, it will not be included in this list.
	FullyFilledOrders []*FilledOrder
	// PartialOrderFilled is a partially filled order with amounts indicating how much was filled.
	// This is not included in FullyFilledOrders.
	PartialOrderFilled *FilledOrder
	// PartialOrderLeft is what's left of the partially filled order.
	PartialOrderLeft *Order
}

Settlement contains information on how a set of orders is to be settled.

func BuildSettlement

func BuildSettlement(askOrders, bidOrders []*Order, sellerFeeRatioLookup func(denom string) (*FeeRatio, error)) (*Settlement, error)

BuildSettlement processes the provided orders, identifying how the provided orders can be settled.

type SubOrderI

type SubOrderI interface {
	GetMarketID() uint32
	GetOwner() string
	GetAssets() sdk.Coin
	GetPrice() sdk.Coin
	GetSettlementFees() sdk.Coins
	PartialFillAllowed() bool
	GetExternalID() string
	GetOrderType() string
	GetOrderTypeByte() byte
	GetHoldAmount() sdk.Coins
	Validate() error
}

SubOrderI is an interface with getters for the fields in a sub-order (i.e. AskOrder or BidOrder).

type Transfer

type Transfer struct {
	// Inputs are the inputs that make up this transfer.
	Inputs []banktypes.Input
	// Outputs are the outputs that make up this transfer.
	Outputs []banktypes.Output
}

Transfer contains bank inputs and outputs indicating a transfer that needs to be made.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CancelOrder

func (*UnimplementedMsgServer) CreateAsk

func (*UnimplementedMsgServer) CreateBid

func (*UnimplementedMsgServer) FillAsks

func (*UnimplementedMsgServer) FillBids

func (*UnimplementedMsgServer) GovCreateMarket

func (*UnimplementedMsgServer) GovManageFees

func (*UnimplementedMsgServer) GovUpdateParams

func (*UnimplementedMsgServer) MarketManageReqAttrs

func (*UnimplementedMsgServer) MarketSettle

func (*UnimplementedMsgServer) MarketUpdateDetails

func (*UnimplementedMsgServer) MarketUpdateEnabled

func (*UnimplementedMsgServer) MarketWithdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetAllMarkets

func (*UnimplementedQueryServer) GetAllOrders

func (*UnimplementedQueryServer) GetAssetOrders

func (*UnimplementedQueryServer) GetMarket

func (*UnimplementedQueryServer) GetMarketOrders

func (*UnimplementedQueryServer) GetOrder

func (*UnimplementedQueryServer) GetOwnerOrders

func (*UnimplementedQueryServer) OrderFeeCalc

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) ValidateManageFees

func (*UnimplementedQueryServer) ValidateMarket

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL