exchange

package
v1.20.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 42 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

	// MaxBips is the maximum bips value. 10,000 basis points = 100%.
	MaxBips = uint32(10_000)
)
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.
	DefaultDefaultSplit = uint32(500)
	// DefaultFeeCreatePaymentFlatAmount is the default amount for creating a payment. The denom is the chain's FeeDenom.
	DefaultFeeCreatePaymentFlatAmount = int64(10_000_000_000)
	// DefaultFeeAcceptPaymentFlatAmount is the default amount for accepting a payment. The denom is the chain's FeeDenom.
	DefaultFeeAcceptPaymentFlatAmount = int64(8_000_000_000)

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

MaxEventTagLength is the maximum length that an event tag can have. 100 was chosen because that's what we used for the external ids.

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 (
	ErrInvalidLengthCommitments        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommitments          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCommitments = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthPayments        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPayments          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPayments = 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")
)

AllRequestMsgs defines all the Msg*Request messages.

View Source
var Msg_serviceDesc = _Msg_serviceDesc
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,
}
View Source
var Query_serviceDesc = _Query_serviceDesc

Functions

func AccountAmountsToBankInputs added in v1.18.0

func AccountAmountsToBankInputs(entries ...AccountAmount) []banktypes.Input

AccountAmountsToBankInputs converts each AccountAmount entry to a banktypes.Input.

func AccountAmountsToBankOutputs added in v1.18.0

func AccountAmountsToBankOutputs(entries ...AccountAmount) []banktypes.Output

AccountAmountsToBankOutputs converts each AccountAmount entry to a banktypes.Output.

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 provide sdk.Coin.Equal to intersection because it takes in an interface{} (instead of sdk.Coin).

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 DefineCustomGetSigners added in v1.19.0

func DefineCustomGetSigners(options *signing.Options)

DefineCustomGetSigners registers all the exchange module custom GetSigners functions with the provided signing options.

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 NewEventMarketAcceptingCommitmentsUpdated added in v1.18.0

func NewEventMarketAcceptingCommitmentsUpdated(marketID uint32, updatedBy string, isAccepting bool) proto.Message

NewEventMarketAcceptingCommitmentsUpdated returns a new NewEventMarketCommitmentsEnabled if isAccepting == true, or a new NewEventMarketCommitmentsDisabled if isAccepting == false.

func NewEventMarketAcceptingOrdersUpdated added in v1.18.0

func NewEventMarketAcceptingOrdersUpdated(marketID uint32, updatedBy string, isAccepting bool) proto.Message

NewEventMarketAcceptingOrdersUpdated returns a new EventMarketOrdersEnabled if isAccepting == true, or a new EventMarketOrdersDisabled if isAccepting == false.

func NewEventMarketUserSettleUpdated

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

NewEventMarketUserSettleUpdated returns a new EventMarketUserSettleEnabled if isAllowed == true, or a new EventMarketUserSettleDisabled if isAllowed == 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 ParseCoin added in v1.17.1

func ParseCoin(coinStr string) (sdk.Coin, error)

ParseCoin parses a string into an sdk.Coin

func QuoIntRoundUp added in v1.18.0

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

QuoIntRoundUp does a/b returning the integer result. If there was any remainder, the result is increased by 1 away from zero.

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 b == 0, a division-by-zero run-time panic occurs.

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

quo = a/b      with the result truncated to zero
rem = a - b*q

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

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers concrete implementations for this module.

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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SumAccountAmounts added in v1.18.0

func SumAccountAmounts(entries []AccountAmount) sdk.Coins

SumAccountAmounts gets the total of all the amounts in the provided entries.

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 ValidateBips added in v1.18.0

func ValidateBips(name string, bips uint32) error

ValidateBips returns an error if the provided bips value is bad. The name is part of the error message.

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 ValidateEventTag added in v1.18.0

func ValidateEventTag(eventTag string) error

ValidateEventTag makes sure an event tag is okay.

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 ValidateIntermediaryDenom added in v1.18.0

func ValidateIntermediaryDenom(denom string) error

ValidateIntermediaryDenom returns an error if a non-empty denom is provided that is not a valid denom.

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 AccountAmount added in v1.18.0

type AccountAmount struct {
	// account is the bech32 address string of the account associated with the amount.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// amount is the funds associated with the address.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

AccountAmount associates an account with a coins amount.

func SimplifyAccountAmounts added in v1.18.0

func SimplifyAccountAmounts(entries []AccountAmount) []AccountAmount

SimplifyAccountAmounts combines entries with the same account into a single entry.

func (*AccountAmount) Descriptor added in v1.18.0

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

func (*AccountAmount) GetAccount added in v1.18.0

func (m *AccountAmount) GetAccount() string

func (*AccountAmount) GetAmount added in v1.18.0

func (*AccountAmount) Marshal added in v1.18.0

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

func (*AccountAmount) MarshalTo added in v1.18.0

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

func (*AccountAmount) MarshalToSizedBuffer added in v1.18.0

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

func (*AccountAmount) ProtoMessage added in v1.18.0

func (*AccountAmount) ProtoMessage()

func (*AccountAmount) Reset added in v1.18.0

func (m *AccountAmount) Reset()

func (*AccountAmount) Size added in v1.18.0

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

func (AccountAmount) String added in v1.18.0

func (a AccountAmount) String() string

String returns a string representation of this AccountAmount.

func (*AccountAmount) Unmarshal added in v1.18.0

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

func (AccountAmount) Validate added in v1.18.0

func (a AccountAmount) Validate() error

Validate returns an error if this AccountAmount is invalid or has a zero amount.

func (AccountAmount) ValidateWithOptionalAmount added in v1.18.0

func (a AccountAmount) ValidateWithOptionalAmount() error

ValidateWithOptionalAmount returns an error if this AccountAmount is invalid. The amount is allowed to be empty.

func (*AccountAmount) XXX_DiscardUnknown added in v1.18.0

func (m *AccountAmount) XXX_DiscardUnknown()

func (*AccountAmount) XXX_Marshal added in v1.18.0

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

func (*AccountAmount) XXX_Merge added in v1.18.0

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

func (*AccountAmount) XXX_Size added in v1.18.0

func (m *AccountAmount) XXX_Size() int

func (*AccountAmount) XXX_Unmarshal added in v1.18.0

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

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx context.Context, addr sdk.AccAddress) sdk.AccountI
	SetAccount(ctx context.Context, acc sdk.AccountI)
	HasAccount(ctx context.Context, addr sdk.AccAddress) bool
	NewAccount(ctx context.Context, acc sdk.AccountI) sdk.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 context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx context.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	InputOutputCoinsProv(ctx context.Context, inputs []banktypes.Input, outputs []banktypes.Output) error
	BlockedAddr(addr sdk.AccAddress) bool
}

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 Commitment added in v1.18.0

type Commitment struct {
	// account is the bech32 address string with the committed funds.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// market_id is the numeric identifier of the market the funds are committed to.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// amount is the funds that have been committed by the account to the market.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

Commitment contains information on committed funds.

func (*Commitment) Descriptor added in v1.18.0

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

func (*Commitment) GetAccount added in v1.18.0

func (m *Commitment) GetAccount() string

func (*Commitment) GetAmount added in v1.18.0

func (*Commitment) GetMarketId added in v1.18.0

func (m *Commitment) GetMarketId() uint32

func (*Commitment) Marshal added in v1.18.0

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

func (*Commitment) MarshalTo added in v1.18.0

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

func (*Commitment) MarshalToSizedBuffer added in v1.18.0

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

func (*Commitment) ProtoMessage added in v1.18.0

func (*Commitment) ProtoMessage()

func (*Commitment) Reset added in v1.18.0

func (m *Commitment) Reset()

func (*Commitment) Size added in v1.18.0

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

func (*Commitment) String added in v1.18.0

func (m *Commitment) String() string

func (*Commitment) Unmarshal added in v1.18.0

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

func (Commitment) Validate added in v1.18.0

func (c Commitment) Validate() error

Validate returns an error if this Commitment is invalid.

func (*Commitment) XXX_DiscardUnknown added in v1.18.0

func (m *Commitment) XXX_DiscardUnknown()

func (*Commitment) XXX_Marshal added in v1.18.0

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

func (*Commitment) XXX_Merge added in v1.18.0

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

func (*Commitment) XXX_Size added in v1.18.0

func (m *Commitment) XXX_Size() int

func (*Commitment) XXX_Unmarshal added in v1.18.0

func (m *Commitment) 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 EventCommitmentReleased added in v1.18.0

type EventCommitmentReleased struct {
	// account is the bech32 address string of the account.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,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"`
	// amount is the coins string of the funds that were released from commitment.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// tag is the string provided in the message causing this event.
	Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
}

EventCommitmentReleased is an event emitted when funds are released from their commitment.

func NewEventCommitmentReleased added in v1.18.0

func NewEventCommitmentReleased(account string, marketID uint32, amount sdk.Coins, tag string) *EventCommitmentReleased

func (*EventCommitmentReleased) Descriptor added in v1.18.0

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

func (*EventCommitmentReleased) GetAccount added in v1.18.0

func (m *EventCommitmentReleased) GetAccount() string

func (*EventCommitmentReleased) GetAmount added in v1.18.0

func (m *EventCommitmentReleased) GetAmount() string

func (*EventCommitmentReleased) GetMarketId added in v1.18.0

func (m *EventCommitmentReleased) GetMarketId() uint32

func (*EventCommitmentReleased) GetTag added in v1.18.0

func (m *EventCommitmentReleased) GetTag() string

func (*EventCommitmentReleased) Marshal added in v1.18.0

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

func (*EventCommitmentReleased) MarshalTo added in v1.18.0

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

func (*EventCommitmentReleased) MarshalToSizedBuffer added in v1.18.0

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

func (*EventCommitmentReleased) ProtoMessage added in v1.18.0

func (*EventCommitmentReleased) ProtoMessage()

func (*EventCommitmentReleased) Reset added in v1.18.0

func (m *EventCommitmentReleased) Reset()

func (*EventCommitmentReleased) Size added in v1.18.0

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

func (*EventCommitmentReleased) String added in v1.18.0

func (m *EventCommitmentReleased) String() string

func (*EventCommitmentReleased) Unmarshal added in v1.18.0

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

func (*EventCommitmentReleased) XXX_DiscardUnknown added in v1.18.0

func (m *EventCommitmentReleased) XXX_DiscardUnknown()

func (*EventCommitmentReleased) XXX_Marshal added in v1.18.0

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

func (*EventCommitmentReleased) XXX_Merge added in v1.18.0

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

func (*EventCommitmentReleased) XXX_Size added in v1.18.0

func (m *EventCommitmentReleased) XXX_Size() int

func (*EventCommitmentReleased) XXX_Unmarshal added in v1.18.0

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

type EventFundsCommitted added in v1.18.0

type EventFundsCommitted struct {
	// account is the bech32 address string of the account.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,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"`
	// amount is the coins string of the newly committed funds.
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// tag is the string provided in the message causing this event.
	Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
}

EventFundsCommitted is an event emitted when funds are committed to a market.

func NewEventFundsCommitted added in v1.18.0

func NewEventFundsCommitted(account string, marketID uint32, amount sdk.Coins, tag string) *EventFundsCommitted

func (*EventFundsCommitted) Descriptor added in v1.18.0

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

func (*EventFundsCommitted) GetAccount added in v1.18.0

func (m *EventFundsCommitted) GetAccount() string

func (*EventFundsCommitted) GetAmount added in v1.18.0

func (m *EventFundsCommitted) GetAmount() string

func (*EventFundsCommitted) GetMarketId added in v1.18.0

func (m *EventFundsCommitted) GetMarketId() uint32

func (*EventFundsCommitted) GetTag added in v1.18.0

func (m *EventFundsCommitted) GetTag() string

func (*EventFundsCommitted) Marshal added in v1.18.0

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

func (*EventFundsCommitted) MarshalTo added in v1.18.0

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

func (*EventFundsCommitted) MarshalToSizedBuffer added in v1.18.0

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

func (*EventFundsCommitted) ProtoMessage added in v1.18.0

func (*EventFundsCommitted) ProtoMessage()

func (*EventFundsCommitted) Reset added in v1.18.0

func (m *EventFundsCommitted) Reset()

func (*EventFundsCommitted) Size added in v1.18.0

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

func (*EventFundsCommitted) String added in v1.18.0

func (m *EventFundsCommitted) String() string

func (*EventFundsCommitted) Unmarshal added in v1.18.0

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

func (*EventFundsCommitted) XXX_DiscardUnknown added in v1.18.0

func (m *EventFundsCommitted) XXX_DiscardUnknown()

func (*EventFundsCommitted) XXX_Marshal added in v1.18.0

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

func (*EventFundsCommitted) XXX_Merge added in v1.18.0

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

func (*EventFundsCommitted) XXX_Size added in v1.18.0

func (m *EventFundsCommitted) XXX_Size() int

func (*EventFundsCommitted) XXX_Unmarshal added in v1.18.0

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

type EventMarketCommitmentsDisabled added in v1.18.0

type EventMarketCommitmentsDisabled 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 accepting_commitments option.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketCommitmentsDisabled is an event emitted when a market's accepting_commitments option is disabled.

func NewEventMarketCommitmentsDisabled added in v1.18.0

func NewEventMarketCommitmentsDisabled(marketID uint32, updatedBy string) *EventMarketCommitmentsDisabled

func (*EventMarketCommitmentsDisabled) Descriptor added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) GetMarketId added in v1.18.0

func (m *EventMarketCommitmentsDisabled) GetMarketId() uint32

func (*EventMarketCommitmentsDisabled) GetUpdatedBy added in v1.18.0

func (m *EventMarketCommitmentsDisabled) GetUpdatedBy() string

func (*EventMarketCommitmentsDisabled) Marshal added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) MarshalTo added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) MarshalToSizedBuffer added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) ProtoMessage added in v1.18.0

func (*EventMarketCommitmentsDisabled) ProtoMessage()

func (*EventMarketCommitmentsDisabled) Reset added in v1.18.0

func (m *EventMarketCommitmentsDisabled) Reset()

func (*EventMarketCommitmentsDisabled) Size added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) String added in v1.18.0

func (*EventMarketCommitmentsDisabled) Unmarshal added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) XXX_DiscardUnknown added in v1.18.0

func (m *EventMarketCommitmentsDisabled) XXX_DiscardUnknown()

func (*EventMarketCommitmentsDisabled) XXX_Marshal added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) XXX_Merge added in v1.18.0

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

func (*EventMarketCommitmentsDisabled) XXX_Size added in v1.18.0

func (m *EventMarketCommitmentsDisabled) XXX_Size() int

func (*EventMarketCommitmentsDisabled) XXX_Unmarshal added in v1.18.0

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

type EventMarketCommitmentsEnabled added in v1.18.0

type EventMarketCommitmentsEnabled 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 accepting_commitments option.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketCommitmentsEnabled is an event emitted when a market's accepting_commitments option is enabled.

func NewEventMarketCommitmentsEnabled added in v1.18.0

func NewEventMarketCommitmentsEnabled(marketID uint32, updatedBy string) *EventMarketCommitmentsEnabled

func (*EventMarketCommitmentsEnabled) Descriptor added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) GetMarketId added in v1.18.0

func (m *EventMarketCommitmentsEnabled) GetMarketId() uint32

func (*EventMarketCommitmentsEnabled) GetUpdatedBy added in v1.18.0

func (m *EventMarketCommitmentsEnabled) GetUpdatedBy() string

func (*EventMarketCommitmentsEnabled) Marshal added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) MarshalTo added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) MarshalToSizedBuffer added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) ProtoMessage added in v1.18.0

func (*EventMarketCommitmentsEnabled) ProtoMessage()

func (*EventMarketCommitmentsEnabled) Reset added in v1.18.0

func (m *EventMarketCommitmentsEnabled) Reset()

func (*EventMarketCommitmentsEnabled) Size added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) String added in v1.18.0

func (*EventMarketCommitmentsEnabled) Unmarshal added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) XXX_DiscardUnknown added in v1.18.0

func (m *EventMarketCommitmentsEnabled) XXX_DiscardUnknown()

func (*EventMarketCommitmentsEnabled) XXX_Marshal added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) XXX_Merge added in v1.18.0

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

func (*EventMarketCommitmentsEnabled) XXX_Size added in v1.18.0

func (m *EventMarketCommitmentsEnabled) XXX_Size() int

func (*EventMarketCommitmentsEnabled) XXX_Unmarshal added in v1.18.0

func (m *EventMarketCommitmentsEnabled) 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 string) *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 deprecated

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. Deprecated: This event is no longer used. It is replaced with EventMarketOrdersDisabled.

Deprecated: Do not use.

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 deprecated

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. Deprecated: This event is no longer used. It is replaced with EventMarketOrdersEnabled.

Deprecated: Do not use.

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 EventMarketIntermediaryDenomUpdated added in v1.18.0

type EventMarketIntermediaryDenomUpdated 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 intermediary denom.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketIntermediaryDenomUpdated is an event emitted when a market updates its commitment_settlement_intermediary_denom field.

func NewEventMarketIntermediaryDenomUpdated added in v1.18.0

func NewEventMarketIntermediaryDenomUpdated(marketID uint32, updatedBy string) *EventMarketIntermediaryDenomUpdated

func (*EventMarketIntermediaryDenomUpdated) Descriptor added in v1.18.0

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

func (*EventMarketIntermediaryDenomUpdated) GetMarketId added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) GetUpdatedBy added in v1.18.0

func (m *EventMarketIntermediaryDenomUpdated) GetUpdatedBy() string

func (*EventMarketIntermediaryDenomUpdated) Marshal added in v1.18.0

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

func (*EventMarketIntermediaryDenomUpdated) MarshalTo added in v1.18.0

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

func (*EventMarketIntermediaryDenomUpdated) MarshalToSizedBuffer added in v1.18.0

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

func (*EventMarketIntermediaryDenomUpdated) ProtoMessage added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) ProtoMessage()

func (*EventMarketIntermediaryDenomUpdated) Reset added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) Size added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) String added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) Unmarshal added in v1.18.0

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

func (*EventMarketIntermediaryDenomUpdated) XXX_DiscardUnknown added in v1.18.0

func (m *EventMarketIntermediaryDenomUpdated) XXX_DiscardUnknown()

func (*EventMarketIntermediaryDenomUpdated) XXX_Marshal added in v1.18.0

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

func (*EventMarketIntermediaryDenomUpdated) XXX_Merge added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) XXX_Size added in v1.18.0

func (*EventMarketIntermediaryDenomUpdated) XXX_Unmarshal added in v1.18.0

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

type EventMarketOrdersDisabled added in v1.18.0

type EventMarketOrdersDisabled 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 accepting_orders option.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketOrdersEnabled is an event emitted when a market disables order creation.

func NewEventMarketOrdersDisabled added in v1.18.0

func NewEventMarketOrdersDisabled(marketID uint32, updatedBy string) *EventMarketOrdersDisabled

func (*EventMarketOrdersDisabled) Descriptor added in v1.18.0

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

func (*EventMarketOrdersDisabled) GetMarketId added in v1.18.0

func (m *EventMarketOrdersDisabled) GetMarketId() uint32

func (*EventMarketOrdersDisabled) GetUpdatedBy added in v1.18.0

func (m *EventMarketOrdersDisabled) GetUpdatedBy() string

func (*EventMarketOrdersDisabled) Marshal added in v1.18.0

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

func (*EventMarketOrdersDisabled) MarshalTo added in v1.18.0

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

func (*EventMarketOrdersDisabled) MarshalToSizedBuffer added in v1.18.0

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

func (*EventMarketOrdersDisabled) ProtoMessage added in v1.18.0

func (*EventMarketOrdersDisabled) ProtoMessage()

func (*EventMarketOrdersDisabled) Reset added in v1.18.0

func (m *EventMarketOrdersDisabled) Reset()

func (*EventMarketOrdersDisabled) Size added in v1.18.0

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

func (*EventMarketOrdersDisabled) String added in v1.18.0

func (m *EventMarketOrdersDisabled) String() string

func (*EventMarketOrdersDisabled) Unmarshal added in v1.18.0

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

func (*EventMarketOrdersDisabled) XXX_DiscardUnknown added in v1.18.0

func (m *EventMarketOrdersDisabled) XXX_DiscardUnknown()

func (*EventMarketOrdersDisabled) XXX_Marshal added in v1.18.0

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

func (*EventMarketOrdersDisabled) XXX_Merge added in v1.18.0

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

func (*EventMarketOrdersDisabled) XXX_Size added in v1.18.0

func (m *EventMarketOrdersDisabled) XXX_Size() int

func (*EventMarketOrdersDisabled) XXX_Unmarshal added in v1.18.0

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

type EventMarketOrdersEnabled added in v1.18.0

type EventMarketOrdersEnabled 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 accepting_orders option.
	UpdatedBy string `protobuf:"bytes,2,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
}

EventMarketOrdersEnabled is an event emitted when a market enables order creation.

func NewEventMarketOrdersEnabled added in v1.18.0

func NewEventMarketOrdersEnabled(marketID uint32, updatedBy string) *EventMarketOrdersEnabled

func (*EventMarketOrdersEnabled) Descriptor added in v1.18.0

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

func (*EventMarketOrdersEnabled) GetMarketId added in v1.18.0

func (m *EventMarketOrdersEnabled) GetMarketId() uint32

func (*EventMarketOrdersEnabled) GetUpdatedBy added in v1.18.0

func (m *EventMarketOrdersEnabled) GetUpdatedBy() string

func (*EventMarketOrdersEnabled) Marshal added in v1.18.0

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

func (*EventMarketOrdersEnabled) MarshalTo added in v1.18.0

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

func (*EventMarketOrdersEnabled) MarshalToSizedBuffer added in v1.18.0

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

func (*EventMarketOrdersEnabled) ProtoMessage added in v1.18.0

func (*EventMarketOrdersEnabled) ProtoMessage()

func (*EventMarketOrdersEnabled) Reset added in v1.18.0

func (m *EventMarketOrdersEnabled) Reset()

func (*EventMarketOrdersEnabled) Size added in v1.18.0

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

func (*EventMarketOrdersEnabled) String added in v1.18.0

func (m *EventMarketOrdersEnabled) String() string

func (*EventMarketOrdersEnabled) Unmarshal added in v1.18.0

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

func (*EventMarketOrdersEnabled) XXX_DiscardUnknown added in v1.18.0

func (m *EventMarketOrdersEnabled) XXX_DiscardUnknown()

func (*EventMarketOrdersEnabled) XXX_Marshal added in v1.18.0

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

func (*EventMarketOrdersEnabled) XXX_Merge added in v1.18.0

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

func (*EventMarketOrdersEnabled) XXX_Size added in v1.18.0

func (m *EventMarketOrdersEnabled) XXX_Size() int

func (*EventMarketOrdersEnabled) XXX_Unmarshal added in v1.18.0

func (m *EventMarketOrdersEnabled) 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 string) *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 string) *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 string) *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 string) *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 sdk.AccAddress, withdrawnBy string) *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 string) *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 EventPaymentAccepted added in v1.18.0

type EventPaymentAccepted struct {
	// source is the account that created the Payment.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// source_amount is the coins amount string of the funds that the source will pay (to the target).
	SourceAmount string `protobuf:"bytes,2,opt,name=source_amount,json=sourceAmount,proto3" json:"source_amount,omitempty"`
	// target is the account that accepted the Payment.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// target_amount is the coins amount string of the funds that the target will pay (to the source).
	TargetAmount string `protobuf:"bytes,4,opt,name=target_amount,json=targetAmount,proto3" json:"target_amount,omitempty"`
	// external_id is used along with the source to uniquely identify this Payment.
	ExternalId string `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventPaymentAccepted is an event emitted when a payment is accepted.

func NewEventPaymentAccepted added in v1.18.0

func NewEventPaymentAccepted(payment *Payment) *EventPaymentAccepted

func (*EventPaymentAccepted) Descriptor added in v1.18.0

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

func (*EventPaymentAccepted) GetExternalId added in v1.18.0

func (m *EventPaymentAccepted) GetExternalId() string

func (*EventPaymentAccepted) GetSource added in v1.18.0

func (m *EventPaymentAccepted) GetSource() string

func (*EventPaymentAccepted) GetSourceAmount added in v1.18.0

func (m *EventPaymentAccepted) GetSourceAmount() string

func (*EventPaymentAccepted) GetTarget added in v1.18.0

func (m *EventPaymentAccepted) GetTarget() string

func (*EventPaymentAccepted) GetTargetAmount added in v1.18.0

func (m *EventPaymentAccepted) GetTargetAmount() string

func (*EventPaymentAccepted) Marshal added in v1.18.0

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

func (*EventPaymentAccepted) MarshalTo added in v1.18.0

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

func (*EventPaymentAccepted) MarshalToSizedBuffer added in v1.18.0

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

func (*EventPaymentAccepted) ProtoMessage added in v1.18.0

func (*EventPaymentAccepted) ProtoMessage()

func (*EventPaymentAccepted) Reset added in v1.18.0

func (m *EventPaymentAccepted) Reset()

func (*EventPaymentAccepted) Size added in v1.18.0

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

func (*EventPaymentAccepted) String added in v1.18.0

func (m *EventPaymentAccepted) String() string

func (*EventPaymentAccepted) Unmarshal added in v1.18.0

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

func (*EventPaymentAccepted) XXX_DiscardUnknown added in v1.18.0

func (m *EventPaymentAccepted) XXX_DiscardUnknown()

func (*EventPaymentAccepted) XXX_Marshal added in v1.18.0

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

func (*EventPaymentAccepted) XXX_Merge added in v1.18.0

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

func (*EventPaymentAccepted) XXX_Size added in v1.18.0

func (m *EventPaymentAccepted) XXX_Size() int

func (*EventPaymentAccepted) XXX_Unmarshal added in v1.18.0

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

type EventPaymentCancelled added in v1.18.0

type EventPaymentCancelled struct {
	// source is the account that cancelled (and created) the Payment.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// target is the account that could have accepted the Payment.
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// external_id is used along with the source to uniquely identify this Payment.
	ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventPaymentCancelled is an event emitted when a payment is cancelled (by the source).

func NewEventPaymentCancelled added in v1.18.0

func NewEventPaymentCancelled(payment *Payment) *EventPaymentCancelled

func NewEventsPaymentsCancelled added in v1.18.0

func NewEventsPaymentsCancelled(payments []*Payment) []*EventPaymentCancelled

NewEventsPaymentsCancelled creates a payment-cancelled event for each payment provided.

func (*EventPaymentCancelled) Descriptor added in v1.18.0

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

func (*EventPaymentCancelled) GetExternalId added in v1.18.0

func (m *EventPaymentCancelled) GetExternalId() string

func (*EventPaymentCancelled) GetSource added in v1.18.0

func (m *EventPaymentCancelled) GetSource() string

func (*EventPaymentCancelled) GetTarget added in v1.18.0

func (m *EventPaymentCancelled) GetTarget() string

func (*EventPaymentCancelled) Marshal added in v1.18.0

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

func (*EventPaymentCancelled) MarshalTo added in v1.18.0

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

func (*EventPaymentCancelled) MarshalToSizedBuffer added in v1.18.0

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

func (*EventPaymentCancelled) ProtoMessage added in v1.18.0

func (*EventPaymentCancelled) ProtoMessage()

func (*EventPaymentCancelled) Reset added in v1.18.0

func (m *EventPaymentCancelled) Reset()

func (*EventPaymentCancelled) Size added in v1.18.0

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

func (*EventPaymentCancelled) String added in v1.18.0

func (m *EventPaymentCancelled) String() string

func (*EventPaymentCancelled) Unmarshal added in v1.18.0

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

func (*EventPaymentCancelled) XXX_DiscardUnknown added in v1.18.0

func (m *EventPaymentCancelled) XXX_DiscardUnknown()

func (*EventPaymentCancelled) XXX_Marshal added in v1.18.0

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

func (*EventPaymentCancelled) XXX_Merge added in v1.18.0

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

func (*EventPaymentCancelled) XXX_Size added in v1.18.0

func (m *EventPaymentCancelled) XXX_Size() int

func (*EventPaymentCancelled) XXX_Unmarshal added in v1.18.0

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

type EventPaymentCreated added in v1.18.0

type EventPaymentCreated struct {
	// source is the account that created the Payment.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// source_amount is the coins amount string of the funds that the source will pay (to the target).
	SourceAmount string `protobuf:"bytes,2,opt,name=source_amount,json=sourceAmount,proto3" json:"source_amount,omitempty"`
	// target is the account that can accept the Payment.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// target_amount is the coins amount string of the funds that the target will pay (to the source).
	TargetAmount string `protobuf:"bytes,4,opt,name=target_amount,json=targetAmount,proto3" json:"target_amount,omitempty"`
	// external_id is used along with the source to uniquely identify this Payment.
	ExternalId string `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventPaymentCreated is an event emitted when a payment is created.

func NewEventPaymentCreated added in v1.18.0

func NewEventPaymentCreated(payment *Payment) *EventPaymentCreated

func (*EventPaymentCreated) Descriptor added in v1.18.0

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

func (*EventPaymentCreated) GetExternalId added in v1.18.0

func (m *EventPaymentCreated) GetExternalId() string

func (*EventPaymentCreated) GetSource added in v1.18.0

func (m *EventPaymentCreated) GetSource() string

func (*EventPaymentCreated) GetSourceAmount added in v1.18.0

func (m *EventPaymentCreated) GetSourceAmount() string

func (*EventPaymentCreated) GetTarget added in v1.18.0

func (m *EventPaymentCreated) GetTarget() string

func (*EventPaymentCreated) GetTargetAmount added in v1.18.0

func (m *EventPaymentCreated) GetTargetAmount() string

func (*EventPaymentCreated) Marshal added in v1.18.0

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

func (*EventPaymentCreated) MarshalTo added in v1.18.0

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

func (*EventPaymentCreated) MarshalToSizedBuffer added in v1.18.0

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

func (*EventPaymentCreated) ProtoMessage added in v1.18.0

func (*EventPaymentCreated) ProtoMessage()

func (*EventPaymentCreated) Reset added in v1.18.0

func (m *EventPaymentCreated) Reset()

func (*EventPaymentCreated) Size added in v1.18.0

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

func (*EventPaymentCreated) String added in v1.18.0

func (m *EventPaymentCreated) String() string

func (*EventPaymentCreated) Unmarshal added in v1.18.0

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

func (*EventPaymentCreated) XXX_DiscardUnknown added in v1.18.0

func (m *EventPaymentCreated) XXX_DiscardUnknown()

func (*EventPaymentCreated) XXX_Marshal added in v1.18.0

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

func (*EventPaymentCreated) XXX_Merge added in v1.18.0

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

func (*EventPaymentCreated) XXX_Size added in v1.18.0

func (m *EventPaymentCreated) XXX_Size() int

func (*EventPaymentCreated) XXX_Unmarshal added in v1.18.0

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

type EventPaymentRejected added in v1.18.0

type EventPaymentRejected struct {
	// source is the account that created the Payment.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// target is the account that rejected the Payment.
	Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// external_id is used along with the source to uniquely identify this Payment.
	ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventPaymentRejected is an event emitted when a payment is rejected (by the target).

func NewEventPaymentRejected added in v1.18.0

func NewEventPaymentRejected(payment *Payment) *EventPaymentRejected

func NewEventsPaymentsRejected added in v1.18.0

func NewEventsPaymentsRejected(payments []*Payment) []*EventPaymentRejected

NewEventsPaymentsRejected creates a payment-rejected event for each payment provided.

func (*EventPaymentRejected) Descriptor added in v1.18.0

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

func (*EventPaymentRejected) GetExternalId added in v1.18.0

func (m *EventPaymentRejected) GetExternalId() string

func (*EventPaymentRejected) GetSource added in v1.18.0

func (m *EventPaymentRejected) GetSource() string

func (*EventPaymentRejected) GetTarget added in v1.18.0

func (m *EventPaymentRejected) GetTarget() string

func (*EventPaymentRejected) Marshal added in v1.18.0

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

func (*EventPaymentRejected) MarshalTo added in v1.18.0

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

func (*EventPaymentRejected) MarshalToSizedBuffer added in v1.18.0

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

func (*EventPaymentRejected) ProtoMessage added in v1.18.0

func (*EventPaymentRejected) ProtoMessage()

func (*EventPaymentRejected) Reset added in v1.18.0

func (m *EventPaymentRejected) Reset()

func (*EventPaymentRejected) Size added in v1.18.0

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

func (*EventPaymentRejected) String added in v1.18.0

func (m *EventPaymentRejected) String() string

func (*EventPaymentRejected) Unmarshal added in v1.18.0

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

func (*EventPaymentRejected) XXX_DiscardUnknown added in v1.18.0

func (m *EventPaymentRejected) XXX_DiscardUnknown()

func (*EventPaymentRejected) XXX_Marshal added in v1.18.0

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

func (*EventPaymentRejected) XXX_Merge added in v1.18.0

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

func (*EventPaymentRejected) XXX_Size added in v1.18.0

func (m *EventPaymentRejected) XXX_Size() int

func (*EventPaymentRejected) XXX_Unmarshal added in v1.18.0

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

type EventPaymentUpdated added in v1.18.0

type EventPaymentUpdated struct {
	// source is the account that updated (and previously created) the Payment.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// source_amount is the coins amount string of the funds that the source will pay (to the target).
	SourceAmount string `protobuf:"bytes,2,opt,name=source_amount,json=sourceAmount,proto3" json:"source_amount,omitempty"`
	// old_target is the account that used to be able to accept the Payment (but not any more).
	OldTarget string `protobuf:"bytes,3,opt,name=old_target,json=oldTarget,proto3" json:"old_target,omitempty"`
	// new_target is the account that is now able to accept the Payment.
	NewTarget string `protobuf:"bytes,4,opt,name=new_target,json=newTarget,proto3" json:"new_target,omitempty"`
	// target_amount is the coins amount string of the funds that the target will pay (to the source).
	TargetAmount string `protobuf:"bytes,5,opt,name=target_amount,json=targetAmount,proto3" json:"target_amount,omitempty"`
	// external_id is used along with the source to uniquely identify this Payment.
	ExternalId string `protobuf:"bytes,6,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

EventPaymentUpdated is an event emitted when a payment is updated.

func NewEventPaymentUpdated added in v1.18.0

func NewEventPaymentUpdated(payment *Payment, oldTarget string) *EventPaymentUpdated

func (*EventPaymentUpdated) Descriptor added in v1.18.0

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

func (*EventPaymentUpdated) GetExternalId added in v1.18.0

func (m *EventPaymentUpdated) GetExternalId() string

func (*EventPaymentUpdated) GetNewTarget added in v1.18.0

func (m *EventPaymentUpdated) GetNewTarget() string

func (*EventPaymentUpdated) GetOldTarget added in v1.18.0

func (m *EventPaymentUpdated) GetOldTarget() string

func (*EventPaymentUpdated) GetSource added in v1.18.0

func (m *EventPaymentUpdated) GetSource() string

func (*EventPaymentUpdated) GetSourceAmount added in v1.18.0

func (m *EventPaymentUpdated) GetSourceAmount() string

func (*EventPaymentUpdated) GetTargetAmount added in v1.18.0

func (m *EventPaymentUpdated) GetTargetAmount() string

func (*EventPaymentUpdated) Marshal added in v1.18.0

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

func (*EventPaymentUpdated) MarshalTo added in v1.18.0

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

func (*EventPaymentUpdated) MarshalToSizedBuffer added in v1.18.0

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

func (*EventPaymentUpdated) ProtoMessage added in v1.18.0

func (*EventPaymentUpdated) ProtoMessage()

func (*EventPaymentUpdated) Reset added in v1.18.0

func (m *EventPaymentUpdated) Reset()

func (*EventPaymentUpdated) Size added in v1.18.0

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

func (*EventPaymentUpdated) String added in v1.18.0

func (m *EventPaymentUpdated) String() string

func (*EventPaymentUpdated) Unmarshal added in v1.18.0

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

func (*EventPaymentUpdated) XXX_DiscardUnknown added in v1.18.0

func (m *EventPaymentUpdated) XXX_DiscardUnknown()

func (*EventPaymentUpdated) XXX_Marshal added in v1.18.0

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

func (*EventPaymentUpdated) XXX_Merge added in v1.18.0

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

func (*EventPaymentUpdated) XXX_Size added in v1.18.0

func (m *EventPaymentUpdated) XXX_Size() int

func (*EventPaymentUpdated) XXX_Unmarshal added in v1.18.0

func (m *EventPaymentUpdated) 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"`
	// commitments are all of the commitments to create at genesis.
	Commitments []Commitment `protobuf:"bytes,6,rep,name=commitments,proto3" json:"commitments"`
	// payments are all the payments to create at genesis.
	Payments []Payment `protobuf:"bytes,7,rep,name=payments,proto3" json:"payments"`
}

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 MarkerKeeper

type MarkerKeeper interface {
	GetMarker(ctx sdk.Context, address sdk.AccAddress) (markertypes.MarkerAccountI, error)
	AddSetNetAssetValues(ctx sdk.Context, marker markertypes.MarkerAccountI, netAssetValues []markertypes.NetAssetValue, source string) error
	GetNetAssetValue(ctx sdk.Context, markerDenom, priceDenom string) (*markertypes.NetAssetValue, error)
}

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"`
	// accepting_commitments is whether the market is allowing users to commit funds to it.
	AcceptingCommitments bool `protobuf:"varint,14,opt,name=accepting_commitments,json=acceptingCommitments,proto3" json:"accepting_commitments,omitempty"`
	// fee_create_commitment_flat is the flat fee charged for creating a commitment.
	// Each coin entry is a separate option. When a commitment is created, one of these must be paid.
	// If empty, no fee is required to create a commitment.
	FeeCreateCommitmentFlat []types1.Coin `protobuf:"bytes,15,rep,name=fee_create_commitment_flat,json=feeCreateCommitmentFlat,proto3" json:"fee_create_commitment_flat"`
	// commitment_settlement_bips is the fraction of a commitment settlement that will be paid to the exchange.
	// It is represented in basis points (1/100th of 1%, e.g. 0.0001) and is limited to 0 to 10,000 inclusive.
	// During a commitment settlement, the inputs are summed and NAVs are used to convert that total to the
	// intermediary denom, then to the fee denom. That is then multiplied by this value to get the fee amount
	// that will be transferred out of the market's account into the exchange for that settlement.
	//
	// Summing the inputs effectively doubles the value of the settlement from what what is usually thought of
	// as the value of a trade. That should be taken into account when setting this value.
	// E.g. if two accounts are trading 10apples for 100grapes, the inputs total will be 10apples,100grapes
	// (which might then be converted to USD then nhash before applying this ratio); Usually, though, the value
	// of that trade would be viewed as either just 10apples or just 100grapes.
	CommitmentSettlementBips uint32 `` /* 137-byte string literal not displayed */
	// intermediary_denom is the denom that funds get converted to (before being converted to the chain's fee denom)
	// when calculating the fees that are paid to the exchange. NAVs are used for this conversion and actions will fail
	// if a NAV is needed but not available.
	IntermediaryDenom string `protobuf:"bytes,17,opt,name=intermediary_denom,json=intermediaryDenom,proto3" json:"intermediary_denom,omitempty"`
	// req_attr_create_commitment is a list of attributes required on an account for it to be allowed to create a
	// commitment. An account must have all of these attributes in order to create a commitment in this market.
	// If the list is empty, any account can create commitments 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".
	ReqAttrCreateCommitment []string `` /* 135-byte string literal not displayed */
}

Market contains all information about a market.

func (*Market) Descriptor

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

func (*Market) GetAcceptingCommitments added in v1.18.0

func (m *Market) GetAcceptingCommitments() bool

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) GetCommitmentSettlementBips added in v1.18.0

func (m *Market) GetCommitmentSettlementBips() uint32

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) GetFeeCreateCommitmentFlat added in v1.18.0

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

func (*Market) GetFeeSellerSettlementFlat

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

func (*Market) GetFeeSellerSettlementRatios

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

func (*Market) GetIntermediaryDenom added in v1.18.0

func (m *Market) GetIntermediaryDenom() string

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) GetReqAttrCreateCommitment added in v1.18.0

func (m *Market) GetReqAttrCreateCommitment() []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 MarketAmount added in v1.18.0

type MarketAmount struct {
	// market_id is the numeric identifier the amount has been committed to.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// amount is the funds associated with the address.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MarketAmount associates a market with a coins amount.

func (*MarketAmount) Descriptor added in v1.18.0

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

func (*MarketAmount) GetAmount added in v1.18.0

func (*MarketAmount) GetMarketId added in v1.18.0

func (m *MarketAmount) GetMarketId() uint32

func (*MarketAmount) Marshal added in v1.18.0

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

func (*MarketAmount) MarshalTo added in v1.18.0

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

func (*MarketAmount) MarshalToSizedBuffer added in v1.18.0

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

func (*MarketAmount) ProtoMessage added in v1.18.0

func (*MarketAmount) ProtoMessage()

func (*MarketAmount) Reset added in v1.18.0

func (m *MarketAmount) Reset()

func (*MarketAmount) Size added in v1.18.0

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

func (MarketAmount) String added in v1.18.0

func (m MarketAmount) String() string

String returns a string representation of this MarketAmount.

func (*MarketAmount) Unmarshal added in v1.18.0

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

func (*MarketAmount) XXX_DiscardUnknown added in v1.18.0

func (m *MarketAmount) XXX_DiscardUnknown()

func (*MarketAmount) XXX_Marshal added in v1.18.0

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

func (*MarketAmount) XXX_Merge added in v1.18.0

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

func (*MarketAmount) XXX_Size added in v1.18.0

func (m *MarketAmount) XXX_Size() int

func (*MarketAmount) XXX_Unmarshal added in v1.18.0

func (m *MarketAmount) 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 MetadataKeeper added in v1.20.0

type MetadataKeeper interface {
	AddSetNetAssetValues(ctx sdk.Context, scopeID metadatatypes.MetadataAddress, netAssetValues []metadatatypes.NetAssetValue, source string) error
	GetNetAssetValue(ctx sdk.Context, metadataDenom, priceDenom string) (*metadatatypes.NetAssetValue, error)
}

type MsgAcceptPaymentRequest added in v1.18.0

type MsgAcceptPaymentRequest struct {
	// payment is the details of the payment to accept.
	Payment Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment"`
}

MsgAcceptPaymentRequest is a request message for the AcceptPayment endpoint.

func (*MsgAcceptPaymentRequest) Descriptor added in v1.18.0

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

func (*MsgAcceptPaymentRequest) GetPayment added in v1.18.0

func (m *MsgAcceptPaymentRequest) GetPayment() Payment

func (*MsgAcceptPaymentRequest) Marshal added in v1.18.0

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

func (*MsgAcceptPaymentRequest) MarshalTo added in v1.18.0

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

func (*MsgAcceptPaymentRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgAcceptPaymentRequest) ProtoMessage added in v1.18.0

func (*MsgAcceptPaymentRequest) ProtoMessage()

func (*MsgAcceptPaymentRequest) Reset added in v1.18.0

func (m *MsgAcceptPaymentRequest) Reset()

func (*MsgAcceptPaymentRequest) Size added in v1.18.0

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

func (*MsgAcceptPaymentRequest) String added in v1.18.0

func (m *MsgAcceptPaymentRequest) String() string

func (*MsgAcceptPaymentRequest) Unmarshal added in v1.18.0

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

func (MsgAcceptPaymentRequest) ValidateBasic added in v1.18.0

func (m MsgAcceptPaymentRequest) ValidateBasic() error

func (*MsgAcceptPaymentRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgAcceptPaymentRequest) XXX_DiscardUnknown()

func (*MsgAcceptPaymentRequest) XXX_Marshal added in v1.18.0

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

func (*MsgAcceptPaymentRequest) XXX_Merge added in v1.18.0

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

func (*MsgAcceptPaymentRequest) XXX_Size added in v1.18.0

func (m *MsgAcceptPaymentRequest) XXX_Size() int

func (*MsgAcceptPaymentRequest) XXX_Unmarshal added in v1.18.0

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

type MsgAcceptPaymentResponse added in v1.18.0

type MsgAcceptPaymentResponse struct {
}

MsgAcceptPaymentResponse is a response message for the AcceptPayment endpoint.

func (*MsgAcceptPaymentResponse) Descriptor added in v1.18.0

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

func (*MsgAcceptPaymentResponse) Marshal added in v1.18.0

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

func (*MsgAcceptPaymentResponse) MarshalTo added in v1.18.0

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

func (*MsgAcceptPaymentResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgAcceptPaymentResponse) ProtoMessage added in v1.18.0

func (*MsgAcceptPaymentResponse) ProtoMessage()

func (*MsgAcceptPaymentResponse) Reset added in v1.18.0

func (m *MsgAcceptPaymentResponse) Reset()

func (*MsgAcceptPaymentResponse) Size added in v1.18.0

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

func (*MsgAcceptPaymentResponse) String added in v1.18.0

func (m *MsgAcceptPaymentResponse) String() string

func (*MsgAcceptPaymentResponse) Unmarshal added in v1.18.0

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

func (*MsgAcceptPaymentResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgAcceptPaymentResponse) XXX_DiscardUnknown()

func (*MsgAcceptPaymentResponse) XXX_Marshal added in v1.18.0

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

func (*MsgAcceptPaymentResponse) XXX_Merge added in v1.18.0

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

func (*MsgAcceptPaymentResponse) XXX_Size added in v1.18.0

func (m *MsgAcceptPaymentResponse) XXX_Size() int

func (*MsgAcceptPaymentResponse) XXX_Unmarshal added in v1.18.0

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

type MsgCancelOrderRequest

type MsgCancelOrderRequest struct {
	// signer is the account requesting the order cancellation.
	// 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) 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 MsgCancelPaymentsRequest added in v1.18.0

type MsgCancelPaymentsRequest struct {
	// source is the account that wishes to cancel some of their payments.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// external_ids is all of the external ids of the payments to cancel.
	ExternalIds []string `protobuf:"bytes,2,rep,name=external_ids,json=externalIds,proto3" json:"external_ids,omitempty"`
}

MsgCancelPaymentsRequest is a request message for the CancelPayments endpoint.

func (*MsgCancelPaymentsRequest) Descriptor added in v1.18.0

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

func (*MsgCancelPaymentsRequest) GetExternalIds added in v1.18.0

func (m *MsgCancelPaymentsRequest) GetExternalIds() []string

func (*MsgCancelPaymentsRequest) GetSource added in v1.18.0

func (m *MsgCancelPaymentsRequest) GetSource() string

func (*MsgCancelPaymentsRequest) Marshal added in v1.18.0

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

func (*MsgCancelPaymentsRequest) MarshalTo added in v1.18.0

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

func (*MsgCancelPaymentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgCancelPaymentsRequest) ProtoMessage added in v1.18.0

func (*MsgCancelPaymentsRequest) ProtoMessage()

func (*MsgCancelPaymentsRequest) Reset added in v1.18.0

func (m *MsgCancelPaymentsRequest) Reset()

func (*MsgCancelPaymentsRequest) Size added in v1.18.0

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

func (*MsgCancelPaymentsRequest) String added in v1.18.0

func (m *MsgCancelPaymentsRequest) String() string

func (*MsgCancelPaymentsRequest) Unmarshal added in v1.18.0

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

func (MsgCancelPaymentsRequest) ValidateBasic added in v1.18.0

func (m MsgCancelPaymentsRequest) ValidateBasic() error

func (*MsgCancelPaymentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgCancelPaymentsRequest) XXX_DiscardUnknown()

func (*MsgCancelPaymentsRequest) XXX_Marshal added in v1.18.0

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

func (*MsgCancelPaymentsRequest) XXX_Merge added in v1.18.0

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

func (*MsgCancelPaymentsRequest) XXX_Size added in v1.18.0

func (m *MsgCancelPaymentsRequest) XXX_Size() int

func (*MsgCancelPaymentsRequest) XXX_Unmarshal added in v1.18.0

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

type MsgCancelPaymentsResponse added in v1.18.0

type MsgCancelPaymentsResponse struct {
}

MsgCancelPaymentsResponse is a response message for the CancelPayments endpoint.

func (*MsgCancelPaymentsResponse) Descriptor added in v1.18.0

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

func (*MsgCancelPaymentsResponse) Marshal added in v1.18.0

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

func (*MsgCancelPaymentsResponse) MarshalTo added in v1.18.0

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

func (*MsgCancelPaymentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgCancelPaymentsResponse) ProtoMessage added in v1.18.0

func (*MsgCancelPaymentsResponse) ProtoMessage()

func (*MsgCancelPaymentsResponse) Reset added in v1.18.0

func (m *MsgCancelPaymentsResponse) Reset()

func (*MsgCancelPaymentsResponse) Size added in v1.18.0

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

func (*MsgCancelPaymentsResponse) String added in v1.18.0

func (m *MsgCancelPaymentsResponse) String() string

func (*MsgCancelPaymentsResponse) Unmarshal added in v1.18.0

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

func (*MsgCancelPaymentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgCancelPaymentsResponse) XXX_DiscardUnknown()

func (*MsgCancelPaymentsResponse) XXX_Marshal added in v1.18.0

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

func (*MsgCancelPaymentsResponse) XXX_Merge added in v1.18.0

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

func (*MsgCancelPaymentsResponse) XXX_Size added in v1.18.0

func (m *MsgCancelPaymentsResponse) XXX_Size() int

func (*MsgCancelPaymentsResponse) XXX_Unmarshal added in v1.18.0

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

type MsgChangePaymentTargetRequest added in v1.18.0

type MsgChangePaymentTargetRequest struct {
	// source is the account that wishes to update the target of one of their payments.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// external_id is the external id of the payment to update.
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	// new_target is the new target account of the payment.
	NewTarget string `protobuf:"bytes,3,opt,name=new_target,json=newTarget,proto3" json:"new_target,omitempty"`
}

MsgChangePaymentTargetRequest is a request message for the ChangePaymentTarget endpoint.

func (*MsgChangePaymentTargetRequest) Descriptor added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) GetExternalId added in v1.18.0

func (m *MsgChangePaymentTargetRequest) GetExternalId() string

func (*MsgChangePaymentTargetRequest) GetNewTarget added in v1.18.0

func (m *MsgChangePaymentTargetRequest) GetNewTarget() string

func (*MsgChangePaymentTargetRequest) GetSource added in v1.18.0

func (m *MsgChangePaymentTargetRequest) GetSource() string

func (*MsgChangePaymentTargetRequest) Marshal added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) MarshalTo added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) ProtoMessage added in v1.18.0

func (*MsgChangePaymentTargetRequest) ProtoMessage()

func (*MsgChangePaymentTargetRequest) Reset added in v1.18.0

func (m *MsgChangePaymentTargetRequest) Reset()

func (*MsgChangePaymentTargetRequest) Size added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) String added in v1.18.0

func (*MsgChangePaymentTargetRequest) Unmarshal added in v1.18.0

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

func (MsgChangePaymentTargetRequest) ValidateBasic added in v1.18.0

func (m MsgChangePaymentTargetRequest) ValidateBasic() error

func (*MsgChangePaymentTargetRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgChangePaymentTargetRequest) XXX_DiscardUnknown()

func (*MsgChangePaymentTargetRequest) XXX_Marshal added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) XXX_Merge added in v1.18.0

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

func (*MsgChangePaymentTargetRequest) XXX_Size added in v1.18.0

func (m *MsgChangePaymentTargetRequest) XXX_Size() int

func (*MsgChangePaymentTargetRequest) XXX_Unmarshal added in v1.18.0

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

type MsgChangePaymentTargetResponse added in v1.18.0

type MsgChangePaymentTargetResponse struct {
}

MsgChangePaymentTargetResponse is a response message for the ChangePaymentTarget endpoint.

func (*MsgChangePaymentTargetResponse) Descriptor added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) Marshal added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) MarshalTo added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) ProtoMessage added in v1.18.0

func (*MsgChangePaymentTargetResponse) ProtoMessage()

func (*MsgChangePaymentTargetResponse) Reset added in v1.18.0

func (m *MsgChangePaymentTargetResponse) Reset()

func (*MsgChangePaymentTargetResponse) Size added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) String added in v1.18.0

func (*MsgChangePaymentTargetResponse) Unmarshal added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgChangePaymentTargetResponse) XXX_DiscardUnknown()

func (*MsgChangePaymentTargetResponse) XXX_Marshal added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) XXX_Merge added in v1.18.0

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

func (*MsgChangePaymentTargetResponse) XXX_Size added in v1.18.0

func (m *MsgChangePaymentTargetResponse) XXX_Size() int

func (*MsgChangePaymentTargetResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgChangePaymentTargetResponse) 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)
	// CommitFunds marks funds in an account as manageable by a market.
	CommitFunds(ctx context.Context, in *MsgCommitFundsRequest, opts ...grpc.CallOption) (*MsgCommitFundsResponse, 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)
	// MarketCommitmentSettle is a market endpoint to transfer committed funds.
	MarketCommitmentSettle(ctx context.Context, in *MsgMarketCommitmentSettleRequest, opts ...grpc.CallOption) (*MsgMarketCommitmentSettleResponse, error)
	// MarketReleaseCommitments is a market endpoint return control of funds back to the account owner(s).
	MarketReleaseCommitments(ctx context.Context, in *MsgMarketReleaseCommitmentsRequest, opts ...grpc.CallOption) (*MsgMarketReleaseCommitmentsResponse, 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.
	// Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.
	MarketUpdateEnabled(ctx context.Context, in *MsgMarketUpdateEnabledRequest, opts ...grpc.CallOption) (*MsgMarketUpdateEnabledResponse, error)
	// MarketUpdateAcceptingOrders is a market endpoint to update whether its accepting orders.
	MarketUpdateAcceptingOrders(ctx context.Context, in *MsgMarketUpdateAcceptingOrdersRequest, opts ...grpc.CallOption) (*MsgMarketUpdateAcceptingOrdersResponse, 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)
	// MarketUpdateAcceptingCommitments is a market endpoint to update whether it accepts commitments.
	MarketUpdateAcceptingCommitments(ctx context.Context, in *MsgMarketUpdateAcceptingCommitmentsRequest, opts ...grpc.CallOption) (*MsgMarketUpdateAcceptingCommitmentsResponse, error)
	// MarketUpdateIntermediaryDenom sets a market's intermediary denom.
	MarketUpdateIntermediaryDenom(ctx context.Context, in *MsgMarketUpdateIntermediaryDenomRequest, opts ...grpc.CallOption) (*MsgMarketUpdateIntermediaryDenomResponse, 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)
	// CreatePayment creates a payment to facilitate a trade between two accounts.
	CreatePayment(ctx context.Context, in *MsgCreatePaymentRequest, opts ...grpc.CallOption) (*MsgCreatePaymentResponse, error)
	// AcceptPayment is used by a target to accept a payment.
	AcceptPayment(ctx context.Context, in *MsgAcceptPaymentRequest, opts ...grpc.CallOption) (*MsgAcceptPaymentResponse, error)
	// RejectPayment can be used by a target to reject a payment.
	RejectPayment(ctx context.Context, in *MsgRejectPaymentRequest, opts ...grpc.CallOption) (*MsgRejectPaymentResponse, error)
	// RejectPayments can be used by a target to reject all payments from one or more sources.
	RejectPayments(ctx context.Context, in *MsgRejectPaymentsRequest, opts ...grpc.CallOption) (*MsgRejectPaymentsResponse, error)
	// CancelPayments can be used by a source to cancel one or more payments.
	CancelPayments(ctx context.Context, in *MsgCancelPaymentsRequest, opts ...grpc.CallOption) (*MsgCancelPaymentsResponse, error)
	// ChangePaymentTarget can be used by a source to change the target in one of their payments.
	ChangePaymentTarget(ctx context.Context, in *MsgChangePaymentTargetRequest, opts ...grpc.CallOption) (*MsgChangePaymentTargetResponse, 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)
	// GovCloseMarket is a governance proposal endpoint that will disable order and commitment creation,
	// cancel all orders, and release all commitments.
	GovCloseMarket(ctx context.Context, in *MsgGovCloseMarketRequest, opts ...grpc.CallOption) (*MsgGovCloseMarketResponse, error)
	// GovUpdateParams is a governance proposal endpoint for updating the exchange module's params.
	// Deprecated: Use UpdateParams instead.
	GovUpdateParams(ctx context.Context, in *MsgGovUpdateParamsRequest, opts ...grpc.CallOption) (*MsgGovUpdateParamsResponse, error)
	// UpdateParams is a governance proposal endpoint for updating the exchange module's params.
	UpdateParams(ctx context.Context, in *MsgUpdateParamsRequest, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCommitFundsRequest added in v1.18.0

type MsgCommitFundsRequest struct {
	// account is the address of the account with the funds being committed.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// market_id is the numerical identifier of the market the funds will be committed to.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// amount is the funds being committed to the market.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	// creation_fee is the fee that is being paid to create this commitment.
	CreationFee *types.Coin `protobuf:"bytes,4,opt,name=creation_fee,json=creationFee,proto3" json:"creation_fee,omitempty"`
	// event_tag is a string that is included in the funds-committed event. Max length is 100 characters.
	EventTag string `protobuf:"bytes,5,opt,name=event_tag,json=eventTag,proto3" json:"event_tag,omitempty"`
}

MsgCommitFundsRequest is a request message for the CommitFunds endpoint.

func (*MsgCommitFundsRequest) Descriptor added in v1.18.0

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

func (*MsgCommitFundsRequest) GetAccount added in v1.18.0

func (m *MsgCommitFundsRequest) GetAccount() string

func (*MsgCommitFundsRequest) GetAmount added in v1.18.0

func (*MsgCommitFundsRequest) GetCreationFee added in v1.18.0

func (m *MsgCommitFundsRequest) GetCreationFee() *types.Coin

func (*MsgCommitFundsRequest) GetEventTag added in v1.18.0

func (m *MsgCommitFundsRequest) GetEventTag() string

func (*MsgCommitFundsRequest) GetMarketId added in v1.18.0

func (m *MsgCommitFundsRequest) GetMarketId() uint32

func (*MsgCommitFundsRequest) Marshal added in v1.18.0

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

func (*MsgCommitFundsRequest) MarshalTo added in v1.18.0

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

func (*MsgCommitFundsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgCommitFundsRequest) ProtoMessage added in v1.18.0

func (*MsgCommitFundsRequest) ProtoMessage()

func (*MsgCommitFundsRequest) Reset added in v1.18.0

func (m *MsgCommitFundsRequest) Reset()

func (*MsgCommitFundsRequest) Size added in v1.18.0

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

func (*MsgCommitFundsRequest) String added in v1.18.0

func (m *MsgCommitFundsRequest) String() string

func (*MsgCommitFundsRequest) Unmarshal added in v1.18.0

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

func (MsgCommitFundsRequest) ValidateBasic added in v1.18.0

func (m MsgCommitFundsRequest) ValidateBasic() error

func (*MsgCommitFundsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgCommitFundsRequest) XXX_DiscardUnknown()

func (*MsgCommitFundsRequest) XXX_Marshal added in v1.18.0

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

func (*MsgCommitFundsRequest) XXX_Merge added in v1.18.0

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

func (*MsgCommitFundsRequest) XXX_Size added in v1.18.0

func (m *MsgCommitFundsRequest) XXX_Size() int

func (*MsgCommitFundsRequest) XXX_Unmarshal added in v1.18.0

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

type MsgCommitFundsResponse added in v1.18.0

type MsgCommitFundsResponse struct {
}

MsgCommitFundsResponse is a response message for the CommitFunds endpoint.

func (*MsgCommitFundsResponse) Descriptor added in v1.18.0

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

func (*MsgCommitFundsResponse) Marshal added in v1.18.0

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

func (*MsgCommitFundsResponse) MarshalTo added in v1.18.0

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

func (*MsgCommitFundsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgCommitFundsResponse) ProtoMessage added in v1.18.0

func (*MsgCommitFundsResponse) ProtoMessage()

func (*MsgCommitFundsResponse) Reset added in v1.18.0

func (m *MsgCommitFundsResponse) Reset()

func (*MsgCommitFundsResponse) Size added in v1.18.0

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

func (*MsgCommitFundsResponse) String added in v1.18.0

func (m *MsgCommitFundsResponse) String() string

func (*MsgCommitFundsResponse) Unmarshal added in v1.18.0

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

func (*MsgCommitFundsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgCommitFundsResponse) XXX_DiscardUnknown()

func (*MsgCommitFundsResponse) XXX_Marshal added in v1.18.0

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

func (*MsgCommitFundsResponse) XXX_Merge added in v1.18.0

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

func (*MsgCommitFundsResponse) XXX_Size added in v1.18.0

func (m *MsgCommitFundsResponse) XXX_Size() int

func (*MsgCommitFundsResponse) XXX_Unmarshal added in v1.18.0

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

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) 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) 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 MsgCreatePaymentRequest added in v1.18.0

type MsgCreatePaymentRequest struct {
	// payment is the details of the payment to create.
	Payment Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment"`
}

MsgCreatePaymentRequest is a request message for the CreatePayment endpoint.

func (*MsgCreatePaymentRequest) Descriptor added in v1.18.0

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

func (*MsgCreatePaymentRequest) GetPayment added in v1.18.0

func (m *MsgCreatePaymentRequest) GetPayment() Payment

func (*MsgCreatePaymentRequest) Marshal added in v1.18.0

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

func (*MsgCreatePaymentRequest) MarshalTo added in v1.18.0

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

func (*MsgCreatePaymentRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgCreatePaymentRequest) ProtoMessage added in v1.18.0

func (*MsgCreatePaymentRequest) ProtoMessage()

func (*MsgCreatePaymentRequest) Reset added in v1.18.0

func (m *MsgCreatePaymentRequest) Reset()

func (*MsgCreatePaymentRequest) Size added in v1.18.0

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

func (*MsgCreatePaymentRequest) String added in v1.18.0

func (m *MsgCreatePaymentRequest) String() string

func (*MsgCreatePaymentRequest) Unmarshal added in v1.18.0

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

func (MsgCreatePaymentRequest) ValidateBasic added in v1.18.0

func (m MsgCreatePaymentRequest) ValidateBasic() error

func (*MsgCreatePaymentRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgCreatePaymentRequest) XXX_DiscardUnknown()

func (*MsgCreatePaymentRequest) XXX_Marshal added in v1.18.0

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

func (*MsgCreatePaymentRequest) XXX_Merge added in v1.18.0

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

func (*MsgCreatePaymentRequest) XXX_Size added in v1.18.0

func (m *MsgCreatePaymentRequest) XXX_Size() int

func (*MsgCreatePaymentRequest) XXX_Unmarshal added in v1.18.0

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

type MsgCreatePaymentResponse added in v1.18.0

type MsgCreatePaymentResponse struct {
}

MsgCreatePaymentResponse is a response message for the CreatePayment endpoint.

func (*MsgCreatePaymentResponse) Descriptor added in v1.18.0

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

func (*MsgCreatePaymentResponse) Marshal added in v1.18.0

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

func (*MsgCreatePaymentResponse) MarshalTo added in v1.18.0

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

func (*MsgCreatePaymentResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgCreatePaymentResponse) ProtoMessage added in v1.18.0

func (*MsgCreatePaymentResponse) ProtoMessage()

func (*MsgCreatePaymentResponse) Reset added in v1.18.0

func (m *MsgCreatePaymentResponse) Reset()

func (*MsgCreatePaymentResponse) Size added in v1.18.0

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

func (*MsgCreatePaymentResponse) String added in v1.18.0

func (m *MsgCreatePaymentResponse) String() string

func (*MsgCreatePaymentResponse) Unmarshal added in v1.18.0

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

func (*MsgCreatePaymentResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgCreatePaymentResponse) XXX_DiscardUnknown()

func (*MsgCreatePaymentResponse) XXX_Marshal added in v1.18.0

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

func (*MsgCreatePaymentResponse) XXX_Merge added in v1.18.0

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

func (*MsgCreatePaymentResponse) XXX_Size added in v1.18.0

func (m *MsgCreatePaymentResponse) XXX_Size() int

func (*MsgCreatePaymentResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgCreatePaymentResponse) 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) 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) 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 MsgGovCloseMarketRequest added in v1.18.0

type MsgGovCloseMarketRequest struct {
	// authority must be the governance module account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// market_id is the numerical identifier of the market to close.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

MsgGovCloseMarketRequest is a request message for the GovCloseMarket endpoint.

func (*MsgGovCloseMarketRequest) Descriptor added in v1.18.0

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

func (*MsgGovCloseMarketRequest) GetAuthority added in v1.18.0

func (m *MsgGovCloseMarketRequest) GetAuthority() string

func (*MsgGovCloseMarketRequest) GetMarketId added in v1.18.0

func (m *MsgGovCloseMarketRequest) GetMarketId() uint32

func (*MsgGovCloseMarketRequest) Marshal added in v1.18.0

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

func (*MsgGovCloseMarketRequest) MarshalTo added in v1.18.0

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

func (*MsgGovCloseMarketRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgGovCloseMarketRequest) ProtoMessage added in v1.18.0

func (*MsgGovCloseMarketRequest) ProtoMessage()

func (*MsgGovCloseMarketRequest) Reset added in v1.18.0

func (m *MsgGovCloseMarketRequest) Reset()

func (*MsgGovCloseMarketRequest) Size added in v1.18.0

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

func (*MsgGovCloseMarketRequest) String added in v1.18.0

func (m *MsgGovCloseMarketRequest) String() string

func (*MsgGovCloseMarketRequest) Unmarshal added in v1.18.0

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

func (MsgGovCloseMarketRequest) ValidateBasic added in v1.18.0

func (m MsgGovCloseMarketRequest) ValidateBasic() error

func (*MsgGovCloseMarketRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgGovCloseMarketRequest) XXX_DiscardUnknown()

func (*MsgGovCloseMarketRequest) XXX_Marshal added in v1.18.0

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

func (*MsgGovCloseMarketRequest) XXX_Merge added in v1.18.0

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

func (*MsgGovCloseMarketRequest) XXX_Size added in v1.18.0

func (m *MsgGovCloseMarketRequest) XXX_Size() int

func (*MsgGovCloseMarketRequest) XXX_Unmarshal added in v1.18.0

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

type MsgGovCloseMarketResponse added in v1.18.0

type MsgGovCloseMarketResponse struct {
}

MsgGovCloseMarketResponse is a response message for the GovCloseMarket endpoint.

func (*MsgGovCloseMarketResponse) Descriptor added in v1.18.0

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

func (*MsgGovCloseMarketResponse) Marshal added in v1.18.0

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

func (*MsgGovCloseMarketResponse) MarshalTo added in v1.18.0

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

func (*MsgGovCloseMarketResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgGovCloseMarketResponse) ProtoMessage added in v1.18.0

func (*MsgGovCloseMarketResponse) ProtoMessage()

func (*MsgGovCloseMarketResponse) Reset added in v1.18.0

func (m *MsgGovCloseMarketResponse) Reset()

func (*MsgGovCloseMarketResponse) Size added in v1.18.0

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

func (*MsgGovCloseMarketResponse) String added in v1.18.0

func (m *MsgGovCloseMarketResponse) String() string

func (*MsgGovCloseMarketResponse) Unmarshal added in v1.18.0

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

func (*MsgGovCloseMarketResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgGovCloseMarketResponse) XXX_DiscardUnknown()

func (*MsgGovCloseMarketResponse) XXX_Marshal added in v1.18.0

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

func (*MsgGovCloseMarketResponse) XXX_Merge added in v1.18.0

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

func (*MsgGovCloseMarketResponse) XXX_Size added in v1.18.0

func (m *MsgGovCloseMarketResponse) XXX_Size() int

func (*MsgGovCloseMarketResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgGovCloseMarketResponse) 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) 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 */
	// add_fee_create_commitment_flat are the create-commitment flat fee options to add.
	AddFeeCreateCommitmentFlat []types.Coin `` /* 136-byte string literal not displayed */
	// remove_fee_create_commitment_flat are the create-commitment flat fee options to remove.
	RemoveFeeCreateCommitmentFlat []types.Coin `` /* 145-byte string literal not displayed */
	// set_fee_commitment_settlement_bips is the new fee_commitment_settlement_bips for the market.
	// It is ignored if it is zero. To set it to zero set unset_fee_commitment_settlement_bips to true.
	SetFeeCommitmentSettlementBips uint32 `` /* 159-byte string literal not displayed */
	// unset_fee_commitment_settlement_bips, if true, sets the fee_commitment_settlement_bips to zero.
	// If false, it is ignored.
	UnsetFeeCommitmentSettlementBips bool `` /* 165-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) GetAddFeeCreateCommitmentFlat added in v1.18.0

func (m *MsgGovManageFeesRequest) GetAddFeeCreateCommitmentFlat() []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) GetRemoveFeeCreateCommitmentFlat added in v1.18.0

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

func (*MsgGovManageFeesRequest) GetRemoveFeeSellerSettlementFlat

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

func (*MsgGovManageFeesRequest) GetRemoveFeeSellerSettlementRatios

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

func (*MsgGovManageFeesRequest) GetSetFeeCommitmentSettlementBips added in v1.18.0

func (m *MsgGovManageFeesRequest) GetSetFeeCommitmentSettlementBips() uint32

func (*MsgGovManageFeesRequest) GetUnsetFeeCommitmentSettlementBips added in v1.18.0

func (m *MsgGovManageFeesRequest) GetUnsetFeeCommitmentSettlementBips() bool

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 deprecated

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. Deprecated: Use MsgUpdateParamsRequest instead.

Deprecated: Do not use.

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

type MsgGovUpdateParamsResponse struct {
}

MsgGovUpdateParamsResponse is a response message for the GovUpdateParams endpoint. Deprecated: Use MsgUpdateParamsResponse instead.

Deprecated: Do not use.

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 MsgMarketCommitmentSettleRequest added in v1.18.0

type MsgMarketCommitmentSettleRequest 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 requesting this settlement.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// inputs defines where the funds are coming from. All of these funds must be already committed to the market.
	Inputs []AccountAmount `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs"`
	// outputs defines how the funds are to be distributed. These funds will be re-committed in the destination accounts.
	Outputs []AccountAmount `protobuf:"bytes,4,rep,name=outputs,proto3" json:"outputs"`
	// fees is the funds that the market is collecting as part of this settlement.
	// All of these funds must be already committed to the market.
	Fees []AccountAmount `protobuf:"bytes,5,rep,name=fees,proto3" json:"fees"`
	// navs are any NAV info that should be updated at the beginning of this settlement.
	Navs []NetAssetPrice `protobuf:"bytes,6,rep,name=navs,proto3" json:"navs"`
	// event_tag is a string that is included in the funds-committed/released events. Max length is 100 characters.
	EventTag string `protobuf:"bytes,7,opt,name=event_tag,json=eventTag,proto3" json:"event_tag,omitempty"`
}

MsgMarketCommitmentSettleRequest is a request message for the MarketCommitmentSettle endpoint.

func (*MsgMarketCommitmentSettleRequest) Descriptor added in v1.18.0

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

func (*MsgMarketCommitmentSettleRequest) GetAdmin added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) GetEventTag added in v1.18.0

func (m *MsgMarketCommitmentSettleRequest) GetEventTag() string

func (*MsgMarketCommitmentSettleRequest) GetFees added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) GetInputs added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) GetMarketId added in v1.18.0

func (m *MsgMarketCommitmentSettleRequest) GetMarketId() uint32

func (*MsgMarketCommitmentSettleRequest) GetNavs added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) GetOutputs added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) Marshal added in v1.18.0

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

func (*MsgMarketCommitmentSettleRequest) MarshalTo added in v1.18.0

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

func (*MsgMarketCommitmentSettleRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketCommitmentSettleRequest) ProtoMessage added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) ProtoMessage()

func (*MsgMarketCommitmentSettleRequest) Reset added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) Size added in v1.18.0

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

func (*MsgMarketCommitmentSettleRequest) String added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) Unmarshal added in v1.18.0

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

func (MsgMarketCommitmentSettleRequest) Validate added in v1.18.0

func (m MsgMarketCommitmentSettleRequest) Validate(requireInputs bool) error

func (MsgMarketCommitmentSettleRequest) ValidateBasic added in v1.18.0

func (m MsgMarketCommitmentSettleRequest) ValidateBasic() error

func (*MsgMarketCommitmentSettleRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketCommitmentSettleRequest) XXX_DiscardUnknown()

func (*MsgMarketCommitmentSettleRequest) XXX_Marshal added in v1.18.0

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

func (*MsgMarketCommitmentSettleRequest) XXX_Merge added in v1.18.0

func (*MsgMarketCommitmentSettleRequest) XXX_Size added in v1.18.0

func (m *MsgMarketCommitmentSettleRequest) XXX_Size() int

func (*MsgMarketCommitmentSettleRequest) XXX_Unmarshal added in v1.18.0

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

type MsgMarketCommitmentSettleResponse added in v1.18.0

type MsgMarketCommitmentSettleResponse struct {
}

MsgMarketCommitmentSettleResponse is a response message for the MarketCommitmentSettle endpoint.

func (*MsgMarketCommitmentSettleResponse) Descriptor added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) Marshal added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) MarshalTo added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) ProtoMessage added in v1.18.0

func (*MsgMarketCommitmentSettleResponse) ProtoMessage()

func (*MsgMarketCommitmentSettleResponse) Reset added in v1.18.0

func (*MsgMarketCommitmentSettleResponse) Size added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) String added in v1.18.0

func (*MsgMarketCommitmentSettleResponse) Unmarshal added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketCommitmentSettleResponse) XXX_DiscardUnknown()

func (*MsgMarketCommitmentSettleResponse) XXX_Marshal added in v1.18.0

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

func (*MsgMarketCommitmentSettleResponse) XXX_Merge added in v1.18.0

func (*MsgMarketCommitmentSettleResponse) XXX_Size added in v1.18.0

func (m *MsgMarketCommitmentSettleResponse) XXX_Size() int

func (*MsgMarketCommitmentSettleResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgMarketCommitmentSettleResponse) 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 manage permissions 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) 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"`
	// create_commitment_to_add are the attributes that should now also be required to create a commitment.
	CreateCommitmentToAdd []string `` /* 128-byte string literal not displayed */
	// create_commitment_to_remove are the attributes that should no longer be required to create a commitment.
	CreateCommitmentToRemove []string `` /* 137-byte string literal not displayed */
}

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) GetCreateCommitmentToAdd added in v1.18.0

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

func (*MsgMarketManageReqAttrsRequest) GetCreateCommitmentToRemove added in v1.18.0

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

func (*MsgMarketManageReqAttrsRequest) GetMarketId

func (m *MsgMarketManageReqAttrsRequest) GetMarketId() uint32

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 MsgMarketReleaseCommitmentsRequest added in v1.18.0

type MsgMarketReleaseCommitmentsRequest struct {
	// admin is the account with "cancel" permission requesting this release.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
	// market_id is the numerical identifier of the market releasing these funds.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// to_release is the funds that are to be released.
	// An entry with a zero amount indicates that all committed funds for that account should be released.
	ToRelease []AccountAmount `protobuf:"bytes,3,rep,name=to_release,json=toRelease,proto3" json:"to_release"`
	// event_tag is a string that is included in the funds-released events. Max length is 100 characters.
	EventTag string `protobuf:"bytes,4,opt,name=event_tag,json=eventTag,proto3" json:"event_tag,omitempty"`
}

MsgMarketReleaseCommitmentsRequest is a request message for the MarketReleaseCommitments endpoint.

func (*MsgMarketReleaseCommitmentsRequest) Descriptor added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsRequest) GetAdmin added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) GetEventTag added in v1.18.0

func (m *MsgMarketReleaseCommitmentsRequest) GetEventTag() string

func (*MsgMarketReleaseCommitmentsRequest) GetMarketId added in v1.18.0

func (m *MsgMarketReleaseCommitmentsRequest) GetMarketId() uint32

func (*MsgMarketReleaseCommitmentsRequest) GetToRelease added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) Marshal added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsRequest) MarshalTo added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsRequest) ProtoMessage added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) ProtoMessage()

func (*MsgMarketReleaseCommitmentsRequest) Reset added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) Size added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) String added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) Unmarshal added in v1.18.0

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

func (MsgMarketReleaseCommitmentsRequest) ValidateBasic added in v1.18.0

func (m MsgMarketReleaseCommitmentsRequest) ValidateBasic() error

func (*MsgMarketReleaseCommitmentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketReleaseCommitmentsRequest) XXX_DiscardUnknown()

func (*MsgMarketReleaseCommitmentsRequest) XXX_Marshal added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsRequest) XXX_Merge added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) XXX_Size added in v1.18.0

func (*MsgMarketReleaseCommitmentsRequest) XXX_Unmarshal added in v1.18.0

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

type MsgMarketReleaseCommitmentsResponse added in v1.18.0

type MsgMarketReleaseCommitmentsResponse struct {
}

MsgMarketReleaseCommitmentsResponse is a response message for the MarketReleaseCommitments endpoint.

func (*MsgMarketReleaseCommitmentsResponse) Descriptor added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsResponse) Marshal added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsResponse) MarshalTo added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsResponse) ProtoMessage added in v1.18.0

func (*MsgMarketReleaseCommitmentsResponse) ProtoMessage()

func (*MsgMarketReleaseCommitmentsResponse) Reset added in v1.18.0

func (*MsgMarketReleaseCommitmentsResponse) Size added in v1.18.0

func (*MsgMarketReleaseCommitmentsResponse) String added in v1.18.0

func (*MsgMarketReleaseCommitmentsResponse) Unmarshal added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketReleaseCommitmentsResponse) XXX_DiscardUnknown()

func (*MsgMarketReleaseCommitmentsResponse) XXX_Marshal added in v1.18.0

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

func (*MsgMarketReleaseCommitmentsResponse) XXX_Merge added in v1.18.0

func (*MsgMarketReleaseCommitmentsResponse) XXX_Size added in v1.18.0

func (*MsgMarketReleaseCommitmentsResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgMarketReleaseCommitmentsResponse) 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 with the orders to update.
	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) 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 requesting this settlement.
	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) 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 MsgMarketUpdateAcceptingCommitmentsRequest added in v1.18.0

type MsgMarketUpdateAcceptingCommitmentsRequest 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 enable or disable commitments for.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// accepting_commitments is whether this market allows users to commit funds to it.
	// For example, the CommitFunds endpoint is available if and only if this is true.
	// The MarketCommitmentSettle endpoint is available (only to market actors) regardless of the value of this field.
	AcceptingCommitments bool `protobuf:"varint,3,opt,name=accepting_commitments,json=acceptingCommitments,proto3" json:"accepting_commitments,omitempty"`
}

MsgMarketUpdateAcceptingCommitmentsRequest is a request message for the MarketUpdateAcceptingCommitments endpoint.

func (*MsgMarketUpdateAcceptingCommitmentsRequest) Descriptor added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) GetAcceptingCommitments added in v1.18.0

func (m *MsgMarketUpdateAcceptingCommitmentsRequest) GetAcceptingCommitments() bool

func (*MsgMarketUpdateAcceptingCommitmentsRequest) GetAdmin added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) GetMarketId added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsRequest) MarshalTo added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsRequest) ProtoMessage added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) Reset added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) Size added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) String added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) Unmarshal added in v1.18.0

func (MsgMarketUpdateAcceptingCommitmentsRequest) ValidateBasic added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketUpdateAcceptingCommitmentsRequest) XXX_DiscardUnknown()

func (*MsgMarketUpdateAcceptingCommitmentsRequest) XXX_Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsRequest) XXX_Merge added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) XXX_Size added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsRequest) XXX_Unmarshal added in v1.18.0

type MsgMarketUpdateAcceptingCommitmentsResponse added in v1.18.0

type MsgMarketUpdateAcceptingCommitmentsResponse struct {
}

MsgMarketUpdateAcceptingCommitmentsResponse is a response message for the MarketUpdateAcceptingCommitments endpoint.

func (*MsgMarketUpdateAcceptingCommitmentsResponse) Descriptor added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsResponse) MarshalTo added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsResponse) ProtoMessage added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) Reset added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) Size added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) String added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) Unmarshal added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketUpdateAcceptingCommitmentsResponse) XXX_DiscardUnknown()

func (*MsgMarketUpdateAcceptingCommitmentsResponse) XXX_Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingCommitmentsResponse) XXX_Merge added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) XXX_Size added in v1.18.0

func (*MsgMarketUpdateAcceptingCommitmentsResponse) XXX_Unmarshal added in v1.18.0

type MsgMarketUpdateAcceptingOrdersRequest added in v1.18.0

type MsgMarketUpdateAcceptingOrdersRequest 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 enable or disable.
	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"`
}

MsgMarketUpdateAcceptingOrdersRequest is a request message for the MarketUpdateAcceptingOrders endpoint.

func (*MsgMarketUpdateAcceptingOrdersRequest) Descriptor added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersRequest) GetAcceptingOrders added in v1.18.0

func (m *MsgMarketUpdateAcceptingOrdersRequest) GetAcceptingOrders() bool

func (*MsgMarketUpdateAcceptingOrdersRequest) GetAdmin added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) GetMarketId added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersRequest) MarshalTo added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersRequest) ProtoMessage added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) ProtoMessage()

func (*MsgMarketUpdateAcceptingOrdersRequest) Reset added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) Size added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) String added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) Unmarshal added in v1.18.0

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

func (MsgMarketUpdateAcceptingOrdersRequest) ValidateBasic added in v1.18.0

func (m MsgMarketUpdateAcceptingOrdersRequest) ValidateBasic() error

func (*MsgMarketUpdateAcceptingOrdersRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketUpdateAcceptingOrdersRequest) XXX_DiscardUnknown()

func (*MsgMarketUpdateAcceptingOrdersRequest) XXX_Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersRequest) XXX_Merge added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) XXX_Size added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersRequest) XXX_Unmarshal added in v1.18.0

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

type MsgMarketUpdateAcceptingOrdersResponse added in v1.18.0

type MsgMarketUpdateAcceptingOrdersResponse struct {
}

MsgMarketUpdateAcceptingOrdersResponse is a response message for the MarketUpdateAcceptingOrders endpoint.

func (*MsgMarketUpdateAcceptingOrdersResponse) Descriptor added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersResponse) Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersResponse) MarshalTo added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersResponse) ProtoMessage added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersResponse) Reset added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersResponse) Size added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersResponse) String added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersResponse) Unmarshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketUpdateAcceptingOrdersResponse) XXX_DiscardUnknown()

func (*MsgMarketUpdateAcceptingOrdersResponse) XXX_Marshal added in v1.18.0

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

func (*MsgMarketUpdateAcceptingOrdersResponse) XXX_Merge added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersResponse) XXX_Size added in v1.18.0

func (*MsgMarketUpdateAcceptingOrdersResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgMarketUpdateAcceptingOrdersResponse) 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 details 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) 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 deprecated

type MsgMarketUpdateEnabledRequest struct {
	// admin is the account with "update" permission requesting this change.
	// Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.
	Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"` // Deprecated: Do not use.
	// market_id is the numerical identifier of the market to enable or disable.
	// Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"` // Deprecated: Do not use.
	// accepting_orders is whether this market is allowing orders to be created for it.
	// Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.
	AcceptingOrders bool `protobuf:"varint,3,opt,name=accepting_orders,json=acceptingOrders,proto3" json:"accepting_orders,omitempty"` // Deprecated: Do not use.
}

MsgMarketUpdateEnabledRequest is a request message for the MarketUpdateEnabled endpoint. Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.

Deprecated: Do not use.

func (*MsgMarketUpdateEnabledRequest) Descriptor

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

func (*MsgMarketUpdateEnabledRequest) GetAcceptingOrders deprecated

func (m *MsgMarketUpdateEnabledRequest) GetAcceptingOrders() bool

Deprecated: Do not use.

func (*MsgMarketUpdateEnabledRequest) GetAdmin deprecated

func (m *MsgMarketUpdateEnabledRequest) GetAdmin() string

Deprecated: Do not use.

func (*MsgMarketUpdateEnabledRequest) GetMarketId deprecated

func (m *MsgMarketUpdateEnabledRequest) GetMarketId() uint32

Deprecated: Do not use.

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 deprecated

type MsgMarketUpdateEnabledResponse struct {
}

MsgMarketUpdateEnabledResponse is a response message for the MarketUpdateEnabled endpoint. Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.

Deprecated: Do not use.

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 MsgMarketUpdateIntermediaryDenomRequest added in v1.18.0

type MsgMarketUpdateIntermediaryDenomRequest 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 changing the intermediary denom.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// intermediary_denom is the new intermediary denom for this market to use.
	IntermediaryDenom string `protobuf:"bytes,3,opt,name=intermediary_denom,json=intermediaryDenom,proto3" json:"intermediary_denom,omitempty"`
}

MsgMarketUpdateIntermediaryDenomRequest is a request message for the MarketUpdateIntermediaryDenom endpoint.

func (*MsgMarketUpdateIntermediaryDenomRequest) Descriptor added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomRequest) GetAdmin added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) GetIntermediaryDenom added in v1.18.0

func (m *MsgMarketUpdateIntermediaryDenomRequest) GetIntermediaryDenom() string

func (*MsgMarketUpdateIntermediaryDenomRequest) GetMarketId added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) Marshal added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomRequest) MarshalTo added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomRequest) ProtoMessage added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) Reset added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) Size added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) String added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) Unmarshal added in v1.18.0

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

func (MsgMarketUpdateIntermediaryDenomRequest) ValidateBasic added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketUpdateIntermediaryDenomRequest) XXX_DiscardUnknown()

func (*MsgMarketUpdateIntermediaryDenomRequest) XXX_Marshal added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomRequest) XXX_Merge added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) XXX_Size added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomRequest) XXX_Unmarshal added in v1.18.0

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

type MsgMarketUpdateIntermediaryDenomResponse added in v1.18.0

type MsgMarketUpdateIntermediaryDenomResponse struct {
}

MsgMarketUpdateIntermediaryDenomResponse is a response message for the MarketUpdateIntermediaryDenom endpoint.

func (*MsgMarketUpdateIntermediaryDenomResponse) Descriptor added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomResponse) Marshal added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomResponse) MarshalTo added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomResponse) ProtoMessage added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) Reset added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) Size added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) String added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) Unmarshal added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgMarketUpdateIntermediaryDenomResponse) XXX_DiscardUnknown()

func (*MsgMarketUpdateIntermediaryDenomResponse) XXX_Marshal added in v1.18.0

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

func (*MsgMarketUpdateIntermediaryDenomResponse) XXX_Merge added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) XXX_Size added in v1.18.0

func (*MsgMarketUpdateIntermediaryDenomResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgMarketUpdateIntermediaryDenomResponse) 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 enable or disable user-settlement 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 available (only 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) 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) 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 MsgRejectPaymentRequest added in v1.18.0

type MsgRejectPaymentRequest struct {
	// target is the target account of the payment to reject.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// source is the source account of the payment to reject.
	Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// external_id is the external id of the payment to reject.
	ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

MsgRejectPaymentRequest is a request message for the RejectPayment endpoint.

func (*MsgRejectPaymentRequest) Descriptor added in v1.18.0

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

func (*MsgRejectPaymentRequest) GetExternalId added in v1.18.0

func (m *MsgRejectPaymentRequest) GetExternalId() string

func (*MsgRejectPaymentRequest) GetSource added in v1.18.0

func (m *MsgRejectPaymentRequest) GetSource() string

func (*MsgRejectPaymentRequest) GetTarget added in v1.18.0

func (m *MsgRejectPaymentRequest) GetTarget() string

func (*MsgRejectPaymentRequest) Marshal added in v1.18.0

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

func (*MsgRejectPaymentRequest) MarshalTo added in v1.18.0

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

func (*MsgRejectPaymentRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgRejectPaymentRequest) ProtoMessage added in v1.18.0

func (*MsgRejectPaymentRequest) ProtoMessage()

func (*MsgRejectPaymentRequest) Reset added in v1.18.0

func (m *MsgRejectPaymentRequest) Reset()

func (*MsgRejectPaymentRequest) Size added in v1.18.0

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

func (*MsgRejectPaymentRequest) String added in v1.18.0

func (m *MsgRejectPaymentRequest) String() string

func (*MsgRejectPaymentRequest) Unmarshal added in v1.18.0

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

func (MsgRejectPaymentRequest) ValidateBasic added in v1.18.0

func (m MsgRejectPaymentRequest) ValidateBasic() error

func (*MsgRejectPaymentRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgRejectPaymentRequest) XXX_DiscardUnknown()

func (*MsgRejectPaymentRequest) XXX_Marshal added in v1.18.0

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

func (*MsgRejectPaymentRequest) XXX_Merge added in v1.18.0

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

func (*MsgRejectPaymentRequest) XXX_Size added in v1.18.0

func (m *MsgRejectPaymentRequest) XXX_Size() int

func (*MsgRejectPaymentRequest) XXX_Unmarshal added in v1.18.0

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

type MsgRejectPaymentResponse added in v1.18.0

type MsgRejectPaymentResponse struct {
}

MsgRejectPaymentResponse is a response message for the RejectPayment endpoint.

func (*MsgRejectPaymentResponse) Descriptor added in v1.18.0

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

func (*MsgRejectPaymentResponse) Marshal added in v1.18.0

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

func (*MsgRejectPaymentResponse) MarshalTo added in v1.18.0

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

func (*MsgRejectPaymentResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgRejectPaymentResponse) ProtoMessage added in v1.18.0

func (*MsgRejectPaymentResponse) ProtoMessage()

func (*MsgRejectPaymentResponse) Reset added in v1.18.0

func (m *MsgRejectPaymentResponse) Reset()

func (*MsgRejectPaymentResponse) Size added in v1.18.0

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

func (*MsgRejectPaymentResponse) String added in v1.18.0

func (m *MsgRejectPaymentResponse) String() string

func (*MsgRejectPaymentResponse) Unmarshal added in v1.18.0

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

func (*MsgRejectPaymentResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgRejectPaymentResponse) XXX_DiscardUnknown()

func (*MsgRejectPaymentResponse) XXX_Marshal added in v1.18.0

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

func (*MsgRejectPaymentResponse) XXX_Merge added in v1.18.0

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

func (*MsgRejectPaymentResponse) XXX_Size added in v1.18.0

func (m *MsgRejectPaymentResponse) XXX_Size() int

func (*MsgRejectPaymentResponse) XXX_Unmarshal added in v1.18.0

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

type MsgRejectPaymentsRequest added in v1.18.0

type MsgRejectPaymentsRequest struct {
	// target is the account that wishes to reject some payments.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// sources is the source accounts of the payments to reject.
	Sources []string `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
}

MsgRejectPaymentsRequest is a request message for the RejectPayments endpoint.

func (*MsgRejectPaymentsRequest) Descriptor added in v1.18.0

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

func (*MsgRejectPaymentsRequest) GetSources added in v1.18.0

func (m *MsgRejectPaymentsRequest) GetSources() []string

func (*MsgRejectPaymentsRequest) GetTarget added in v1.18.0

func (m *MsgRejectPaymentsRequest) GetTarget() string

func (*MsgRejectPaymentsRequest) Marshal added in v1.18.0

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

func (*MsgRejectPaymentsRequest) MarshalTo added in v1.18.0

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

func (*MsgRejectPaymentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgRejectPaymentsRequest) ProtoMessage added in v1.18.0

func (*MsgRejectPaymentsRequest) ProtoMessage()

func (*MsgRejectPaymentsRequest) Reset added in v1.18.0

func (m *MsgRejectPaymentsRequest) Reset()

func (*MsgRejectPaymentsRequest) Size added in v1.18.0

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

func (*MsgRejectPaymentsRequest) String added in v1.18.0

func (m *MsgRejectPaymentsRequest) String() string

func (*MsgRejectPaymentsRequest) Unmarshal added in v1.18.0

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

func (MsgRejectPaymentsRequest) ValidateBasic added in v1.18.0

func (m MsgRejectPaymentsRequest) ValidateBasic() error

func (*MsgRejectPaymentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *MsgRejectPaymentsRequest) XXX_DiscardUnknown()

func (*MsgRejectPaymentsRequest) XXX_Marshal added in v1.18.0

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

func (*MsgRejectPaymentsRequest) XXX_Merge added in v1.18.0

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

func (*MsgRejectPaymentsRequest) XXX_Size added in v1.18.0

func (m *MsgRejectPaymentsRequest) XXX_Size() int

func (*MsgRejectPaymentsRequest) XXX_Unmarshal added in v1.18.0

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

type MsgRejectPaymentsResponse added in v1.18.0

type MsgRejectPaymentsResponse struct {
}

MsgRejectPaymentsResponse is a response message for the RejectPayments endpoint.

func (*MsgRejectPaymentsResponse) Descriptor added in v1.18.0

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

func (*MsgRejectPaymentsResponse) Marshal added in v1.18.0

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

func (*MsgRejectPaymentsResponse) MarshalTo added in v1.18.0

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

func (*MsgRejectPaymentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*MsgRejectPaymentsResponse) ProtoMessage added in v1.18.0

func (*MsgRejectPaymentsResponse) ProtoMessage()

func (*MsgRejectPaymentsResponse) Reset added in v1.18.0

func (m *MsgRejectPaymentsResponse) Reset()

func (*MsgRejectPaymentsResponse) Size added in v1.18.0

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

func (*MsgRejectPaymentsResponse) String added in v1.18.0

func (m *MsgRejectPaymentsResponse) String() string

func (*MsgRejectPaymentsResponse) Unmarshal added in v1.18.0

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

func (*MsgRejectPaymentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *MsgRejectPaymentsResponse) XXX_DiscardUnknown()

func (*MsgRejectPaymentsResponse) XXX_Marshal added in v1.18.0

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

func (*MsgRejectPaymentsResponse) XXX_Merge added in v1.18.0

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

func (*MsgRejectPaymentsResponse) XXX_Size added in v1.18.0

func (m *MsgRejectPaymentsResponse) XXX_Size() int

func (*MsgRejectPaymentsResponse) XXX_Unmarshal added in v1.18.0

func (m *MsgRejectPaymentsResponse) 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)
	// CommitFunds marks funds in an account as manageable by a market.
	CommitFunds(context.Context, *MsgCommitFundsRequest) (*MsgCommitFundsResponse, 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)
	// MarketCommitmentSettle is a market endpoint to transfer committed funds.
	MarketCommitmentSettle(context.Context, *MsgMarketCommitmentSettleRequest) (*MsgMarketCommitmentSettleResponse, error)
	// MarketReleaseCommitments is a market endpoint return control of funds back to the account owner(s).
	MarketReleaseCommitments(context.Context, *MsgMarketReleaseCommitmentsRequest) (*MsgMarketReleaseCommitmentsResponse, 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.
	// Deprecated: This endpoint is no longer usable. It is replaced by MarketUpdateAcceptingOrders.
	MarketUpdateEnabled(context.Context, *MsgMarketUpdateEnabledRequest) (*MsgMarketUpdateEnabledResponse, error)
	// MarketUpdateAcceptingOrders is a market endpoint to update whether its accepting orders.
	MarketUpdateAcceptingOrders(context.Context, *MsgMarketUpdateAcceptingOrdersRequest) (*MsgMarketUpdateAcceptingOrdersResponse, error)
	// MarketUpdateUserSettle is a market endpoint to update whether it allows user-initiated settlement.
	MarketUpdateUserSettle(context.Context, *MsgMarketUpdateUserSettleRequest) (*MsgMarketUpdateUserSettleResponse, error)
	// MarketUpdateAcceptingCommitments is a market endpoint to update whether it accepts commitments.
	MarketUpdateAcceptingCommitments(context.Context, *MsgMarketUpdateAcceptingCommitmentsRequest) (*MsgMarketUpdateAcceptingCommitmentsResponse, error)
	// MarketUpdateIntermediaryDenom sets a market's intermediary denom.
	MarketUpdateIntermediaryDenom(context.Context, *MsgMarketUpdateIntermediaryDenomRequest) (*MsgMarketUpdateIntermediaryDenomResponse, 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)
	// CreatePayment creates a payment to facilitate a trade between two accounts.
	CreatePayment(context.Context, *MsgCreatePaymentRequest) (*MsgCreatePaymentResponse, error)
	// AcceptPayment is used by a target to accept a payment.
	AcceptPayment(context.Context, *MsgAcceptPaymentRequest) (*MsgAcceptPaymentResponse, error)
	// RejectPayment can be used by a target to reject a payment.
	RejectPayment(context.Context, *MsgRejectPaymentRequest) (*MsgRejectPaymentResponse, error)
	// RejectPayments can be used by a target to reject all payments from one or more sources.
	RejectPayments(context.Context, *MsgRejectPaymentsRequest) (*MsgRejectPaymentsResponse, error)
	// CancelPayments can be used by a source to cancel one or more payments.
	CancelPayments(context.Context, *MsgCancelPaymentsRequest) (*MsgCancelPaymentsResponse, error)
	// ChangePaymentTarget can be used by a source to change the target in one of their payments.
	ChangePaymentTarget(context.Context, *MsgChangePaymentTargetRequest) (*MsgChangePaymentTargetResponse, 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)
	// GovCloseMarket is a governance proposal endpoint that will disable order and commitment creation,
	// cancel all orders, and release all commitments.
	GovCloseMarket(context.Context, *MsgGovCloseMarketRequest) (*MsgGovCloseMarketResponse, error)
	// GovUpdateParams is a governance proposal endpoint for updating the exchange module's params.
	// Deprecated: Use UpdateParams instead.
	GovUpdateParams(context.Context, *MsgGovUpdateParamsRequest) (*MsgGovUpdateParamsResponse, error)
	// UpdateParams is a governance proposal endpoint for updating the exchange module's params.
	UpdateParams(context.Context, *MsgUpdateParamsRequest) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateParamsRequest added in v1.19.0

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

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

func (*MsgUpdateParamsRequest) GetAuthority added in v1.19.0

func (m *MsgUpdateParamsRequest) GetAuthority() string

func (*MsgUpdateParamsRequest) GetParams added in v1.19.0

func (m *MsgUpdateParamsRequest) GetParams() Params

func (*MsgUpdateParamsRequest) Marshal added in v1.19.0

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

func (*MsgUpdateParamsRequest) MarshalTo added in v1.19.0

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

func (*MsgUpdateParamsRequest) MarshalToSizedBuffer added in v1.19.0

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

func (*MsgUpdateParamsRequest) ProtoMessage added in v1.19.0

func (*MsgUpdateParamsRequest) ProtoMessage()

func (*MsgUpdateParamsRequest) Reset added in v1.19.0

func (m *MsgUpdateParamsRequest) Reset()

func (*MsgUpdateParamsRequest) Size added in v1.19.0

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

func (*MsgUpdateParamsRequest) String added in v1.19.0

func (m *MsgUpdateParamsRequest) String() string

func (*MsgUpdateParamsRequest) Unmarshal added in v1.19.0

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

func (MsgUpdateParamsRequest) ValidateBasic added in v1.19.0

func (m MsgUpdateParamsRequest) ValidateBasic() error

func (*MsgUpdateParamsRequest) XXX_DiscardUnknown added in v1.19.0

func (m *MsgUpdateParamsRequest) XXX_DiscardUnknown()

func (*MsgUpdateParamsRequest) XXX_Marshal added in v1.19.0

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

func (*MsgUpdateParamsRequest) XXX_Merge added in v1.19.0

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

func (*MsgUpdateParamsRequest) XXX_Size added in v1.19.0

func (m *MsgUpdateParamsRequest) XXX_Size() int

func (*MsgUpdateParamsRequest) XXX_Unmarshal added in v1.19.0

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

type MsgUpdateParamsResponse added in v1.19.0

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse is a response message for the GovUpdateParams endpoint.

func (*MsgUpdateParamsResponse) Descriptor added in v1.19.0

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

func (*MsgUpdateParamsResponse) Marshal added in v1.19.0

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

func (*MsgUpdateParamsResponse) MarshalTo added in v1.19.0

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

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer added in v1.19.0

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

func (*MsgUpdateParamsResponse) ProtoMessage added in v1.19.0

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset added in v1.19.0

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size added in v1.19.0

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

func (*MsgUpdateParamsResponse) String added in v1.19.0

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal added in v1.19.0

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

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown added in v1.19.0

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal added in v1.19.0

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

func (*MsgUpdateParamsResponse) XXX_Merge added in v1.19.0

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

func (*MsgUpdateParamsResponse) XXX_Size added in v1.19.0

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal added in v1.19.0

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

type NetAssetPrice added in v1.18.0

type NetAssetPrice struct {
	// assets is the volume and denom that has been bought or sold.
	Assets types.Coin `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets"`
	// price is what was paid for the assets.
	Price types.Coin `protobuf:"bytes,2,opt,name=price,proto3" json:"price"`
}

NetAssetPrice is an association of assets and price used to record the value of things. It is related to the NetAssetValue message from the x/marker module, and is therefore often referred to as "a NAV".

func GetNAVs

func GetNAVs(settlement *Settlement) []NetAssetPrice

GetNAVs returns all the net-asset-value entries that represent this settlement.

func (*NetAssetPrice) Descriptor added in v1.18.0

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

func (*NetAssetPrice) GetAssets added in v1.18.0

func (m *NetAssetPrice) GetAssets() types.Coin

func (*NetAssetPrice) GetPrice added in v1.18.0

func (m *NetAssetPrice) GetPrice() types.Coin

func (*NetAssetPrice) Marshal added in v1.18.0

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

func (*NetAssetPrice) MarshalTo added in v1.18.0

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

func (*NetAssetPrice) MarshalToSizedBuffer added in v1.18.0

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

func (*NetAssetPrice) ProtoMessage added in v1.18.0

func (*NetAssetPrice) ProtoMessage()

func (*NetAssetPrice) Reset added in v1.18.0

func (m *NetAssetPrice) Reset()

func (*NetAssetPrice) Size added in v1.18.0

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

func (NetAssetPrice) String added in v1.18.0

func (n NetAssetPrice) String() string

String returns a string representation of this NetAssetPrice.

func (*NetAssetPrice) Unmarshal added in v1.18.0

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

func (NetAssetPrice) Validate added in v1.18.0

func (n NetAssetPrice) Validate() error

Validate returns an error if this NetAssetPrice is invalid.

func (*NetAssetPrice) XXX_DiscardUnknown added in v1.18.0

func (m *NetAssetPrice) XXX_DiscardUnknown()

func (*NetAssetPrice) XXX_Marshal added in v1.18.0

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

func (*NetAssetPrice) XXX_Merge added in v1.18.0

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

func (*NetAssetPrice) XXX_Size added in v1.18.0

func (m *NetAssetPrice) XXX_Size() int

func (*NetAssetPrice) XXX_Unmarshal added in v1.18.0

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

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"`
	// fee_create_payment_flat is the flat fee options for creating a payment.
	// If the source amount is not zero then one of these fee entries is required to create the payment.
	// This field is currently limited to zero or one entries.
	FeeCreatePaymentFlat []types.Coin `protobuf:"bytes,3,rep,name=fee_create_payment_flat,json=feeCreatePaymentFlat,proto3" json:"fee_create_payment_flat"`
	// fee_accept_payment_flat is the flat fee options for accepting a payment.
	// If the target amount is not zero then one of these fee entries is required to accept the payment.
	// This field is currently limited to zero or one entries.
	FeeAcceptPaymentFlat []types.Coin `protobuf:"bytes,4,rep,name=fee_accept_payment_flat,json=feeAcceptPaymentFlat,proto3" json:"fee_accept_payment_flat"`
}

Params is a representation of the exchange module parameters.

func DefaultParams

func DefaultParams() *Params

DefaultParams returns the default exchange module 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) GetFeeAcceptPaymentFlat added in v1.18.0

func (m *Params) GetFeeAcceptPaymentFlat() []types.Coin

func (*Params) GetFeeCreatePaymentFlat added in v1.18.0

func (m *Params) GetFeeCreatePaymentFlat() []types.Coin

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 Payment added in v1.18.0

type Payment struct {
	// source is the account that created this Payment. It is considered the owner of the payment.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// source_amount is the funds that the source is will pay the target in exchange for the target_amount.
	// A hold will be placed on this amount in the source account until this Payment is accepted, rejected or cancelled.
	// If the source_amount is zero, this Payment can be considered a "payment request."
	SourceAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */
	// target is the account that can accept this Payment.
	// The target is the only thing allowed to change in a payment.
	// I.e. it can be empty initially and updated later as needed.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// target_amount is the funds that the target will pay the source in exchange for the source_amount.
	// If the target_amount is zero, this Payment can be considered a "peer-to-peer (P2P) payment."
	TargetAmount github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */
	// external_id is used along with the source to uniquely identify this Payment.
	//
	// A source can only have one Payment with any given external id.
	// A source can have two payments with two different external ids.
	// Two different sources can each have a payment with the same external id.
	// But a source cannot have two different payments each with the same external id.
	//
	// An external id can be reused by a source once the payment is accepted, rejected, or cancelled.
	//
	// The external id is limited to 100 bytes. An empty string is a valid external id.
	ExternalId string `protobuf:"bytes,5,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

Payment represents one account's desire to trade funds with another account.

func (*Payment) Descriptor added in v1.18.0

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

func (*Payment) GetExternalId added in v1.18.0

func (m *Payment) GetExternalId() string

func (*Payment) GetSource added in v1.18.0

func (m *Payment) GetSource() string

func (*Payment) GetSourceAmount added in v1.18.0

func (m *Payment) GetSourceAmount() github_com_cosmos_cosmos_sdk_types.Coins

func (*Payment) GetTarget added in v1.18.0

func (m *Payment) GetTarget() string

func (*Payment) GetTargetAmount added in v1.18.0

func (m *Payment) GetTargetAmount() github_com_cosmos_cosmos_sdk_types.Coins

func (*Payment) Marshal added in v1.18.0

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

func (*Payment) MarshalTo added in v1.18.0

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

func (*Payment) MarshalToSizedBuffer added in v1.18.0

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

func (*Payment) ProtoMessage added in v1.18.0

func (*Payment) ProtoMessage()

func (*Payment) Reset added in v1.18.0

func (m *Payment) Reset()

func (*Payment) Size added in v1.18.0

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

func (Payment) String added in v1.18.0

func (p Payment) String() string

String returns a string representing this Payment.

func (*Payment) Unmarshal added in v1.18.0

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

func (Payment) Validate added in v1.18.0

func (p Payment) Validate() error

Validate returns an error if any of this Payment's info is invalid.

func (*Payment) XXX_DiscardUnknown added in v1.18.0

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal added in v1.18.0

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

func (*Payment) XXX_Merge added in v1.18.0

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

func (*Payment) XXX_Size added in v1.18.0

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal added in v1.18.0

func (m *Payment) 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)
	// GetCommitment gets the funds in an account that are committed to the market.
	GetCommitment(ctx context.Context, in *QueryGetCommitmentRequest, opts ...grpc.CallOption) (*QueryGetCommitmentResponse, error)
	// GetAccountCommitments gets all the funds in an account that are committed to any market.
	GetAccountCommitments(ctx context.Context, in *QueryGetAccountCommitmentsRequest, opts ...grpc.CallOption) (*QueryGetAccountCommitmentsResponse, error)
	// GetMarketCommitments gets all the funds committed to a market from any account.
	GetMarketCommitments(ctx context.Context, in *QueryGetMarketCommitmentsRequest, opts ...grpc.CallOption) (*QueryGetMarketCommitmentsResponse, error)
	// GetAllCommitments gets all fund committed to any market from any account.
	GetAllCommitments(ctx context.Context, in *QueryGetAllCommitmentsRequest, opts ...grpc.CallOption) (*QueryGetAllCommitmentsResponse, 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)
	// CommitmentSettlementFeeCalc calculates the fees a market will pay for a commitment settlement using current NAVs.
	CommitmentSettlementFeeCalc(ctx context.Context, in *QueryCommitmentSettlementFeeCalcRequest, opts ...grpc.CallOption) (*QueryCommitmentSettlementFeeCalcResponse, 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)
	// GetPayment gets a single specific payment.
	GetPayment(ctx context.Context, in *QueryGetPaymentRequest, opts ...grpc.CallOption) (*QueryGetPaymentResponse, error)
	// GetPaymentsWithSource gets all payments with a specific source account.
	GetPaymentsWithSource(ctx context.Context, in *QueryGetPaymentsWithSourceRequest, opts ...grpc.CallOption) (*QueryGetPaymentsWithSourceResponse, error)
	// GetPaymentsWithTarget gets all payments with a specific target account.
	GetPaymentsWithTarget(ctx context.Context, in *QueryGetPaymentsWithTargetRequest, opts ...grpc.CallOption) (*QueryGetPaymentsWithTargetResponse, error)
	// GetAllPayments gets all payments.
	GetAllPayments(ctx context.Context, in *QueryGetAllPaymentsRequest, opts ...grpc.CallOption) (*QueryGetAllPaymentsResponse, error)
	// PaymentFeeCalc calculates the fees that must be paid for creating or accepting a specific payment.
	PaymentFeeCalc(ctx context.Context, in *QueryPaymentFeeCalcRequest, opts ...grpc.CallOption) (*QueryPaymentFeeCalcResponse, 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 QueryCommitmentSettlementFeeCalcRequest added in v1.18.0

type QueryCommitmentSettlementFeeCalcRequest struct {
	// settlement is a market's commitment settlement request message.
	// If no inputs are provided, only the to_fee_nav field will be populated in the response.
	Settlement *MsgMarketCommitmentSettleRequest `protobuf:"bytes,1,opt,name=settlement,proto3" json:"settlement,omitempty"`
	// include_breakdown_fields controls the fields that are populated in the response.
	// If false, only the exchange_fees field is populated.
	// If true, all of the fields are populated as possible.
	// If the settlement does not have any inputs, this field defaults to true.
	IncludeBreakdownFields bool `` /* 130-byte string literal not displayed */
}

QueryCommitmentSettlementFeeCalcRequest is a request message for the CommitmentSettlementFeeCalc query.

func (*QueryCommitmentSettlementFeeCalcRequest) Descriptor added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcRequest) GetIncludeBreakdownFields added in v1.18.0

func (m *QueryCommitmentSettlementFeeCalcRequest) GetIncludeBreakdownFields() bool

func (*QueryCommitmentSettlementFeeCalcRequest) GetSettlement added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) Marshal added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcRequest) MarshalTo added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcRequest) ProtoMessage added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) Reset added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) Size added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) String added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) Unmarshal added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryCommitmentSettlementFeeCalcRequest) XXX_DiscardUnknown()

func (*QueryCommitmentSettlementFeeCalcRequest) XXX_Marshal added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcRequest) XXX_Merge added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) XXX_Size added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcRequest) XXX_Unmarshal added in v1.18.0

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

type QueryCommitmentSettlementFeeCalcResponse added in v1.18.0

type QueryCommitmentSettlementFeeCalcResponse struct {
	// exchange_fees is the total that the exchange would currently pay for the provided settlement.
	ExchangeFees github_com_cosmos_cosmos_sdk_types.Coins `` /* 141-byte string literal not displayed */
	// input_total is the sum of all the inputs in the provided settlement.
	InputTotal github_com_cosmos_cosmos_sdk_types.Coins `` /* 135-byte string literal not displayed */
	// converted_total is the input_total converted to a single intermediary denom or left as the fee denom.
	ConvertedTotal github_com_cosmos_cosmos_sdk_types.Coins `` /* 147-byte string literal not displayed */
	// conversion_navs are the NAVs used to convert the input_total to the converted_total.
	ConversionNavs []NetAssetPrice `protobuf:"bytes,4,rep,name=conversion_navs,json=conversionNavs,proto3" json:"conversion_navs"`
	// to_fee_nav is the NAV used to convert the converted_total into the fee denom.
	ToFeeNav *NetAssetPrice `protobuf:"bytes,5,opt,name=to_fee_nav,json=toFeeNav,proto3" json:"to_fee_nav,omitempty"`
}

QueryCommitmentSettlementFeeCalcResponse is a response message for the CommitmentSettlementFeeCalc query.

func (*QueryCommitmentSettlementFeeCalcResponse) Descriptor added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcResponse) GetConversionNavs added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) GetConvertedTotal added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) GetExchangeFees added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) GetInputTotal added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) GetToFeeNav added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) Marshal added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcResponse) MarshalTo added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcResponse) ProtoMessage added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) Reset added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) Size added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) String added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) Unmarshal added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryCommitmentSettlementFeeCalcResponse) XXX_DiscardUnknown()

func (*QueryCommitmentSettlementFeeCalcResponse) XXX_Marshal added in v1.18.0

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

func (*QueryCommitmentSettlementFeeCalcResponse) XXX_Merge added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) XXX_Size added in v1.18.0

func (*QueryCommitmentSettlementFeeCalcResponse) XXX_Unmarshal added in v1.18.0

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

type QueryGetAccountCommitmentsRequest added in v1.18.0

type QueryGetAccountCommitmentsRequest struct {
	// account is the bech32 address string of the account with the commitments.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
}

QueryGetAccountCommitmentsRequest is a request message for the GetAccountCommitments query.

func (*QueryGetAccountCommitmentsRequest) Descriptor added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) GetAccount added in v1.18.0

func (m *QueryGetAccountCommitmentsRequest) GetAccount() string

func (*QueryGetAccountCommitmentsRequest) Marshal added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) MarshalTo added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) ProtoMessage added in v1.18.0

func (*QueryGetAccountCommitmentsRequest) ProtoMessage()

func (*QueryGetAccountCommitmentsRequest) Reset added in v1.18.0

func (*QueryGetAccountCommitmentsRequest) Size added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) String added in v1.18.0

func (*QueryGetAccountCommitmentsRequest) Unmarshal added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetAccountCommitmentsRequest) XXX_DiscardUnknown()

func (*QueryGetAccountCommitmentsRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetAccountCommitmentsRequest) XXX_Merge added in v1.18.0

func (*QueryGetAccountCommitmentsRequest) XXX_Size added in v1.18.0

func (m *QueryGetAccountCommitmentsRequest) XXX_Size() int

func (*QueryGetAccountCommitmentsRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetAccountCommitmentsResponse added in v1.18.0

type QueryGetAccountCommitmentsResponse struct {
	// commitments is the amounts committed from the account to the any market.
	Commitments []*MarketAmount `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"`
}

QueryGetAccountCommitmentsResponse is a response message for the GetAccountCommitments query.

func (*QueryGetAccountCommitmentsResponse) Descriptor added in v1.18.0

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

func (*QueryGetAccountCommitmentsResponse) GetCommitments added in v1.18.0

func (m *QueryGetAccountCommitmentsResponse) GetCommitments() []*MarketAmount

func (*QueryGetAccountCommitmentsResponse) Marshal added in v1.18.0

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

func (*QueryGetAccountCommitmentsResponse) MarshalTo added in v1.18.0

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

func (*QueryGetAccountCommitmentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetAccountCommitmentsResponse) ProtoMessage added in v1.18.0

func (*QueryGetAccountCommitmentsResponse) ProtoMessage()

func (*QueryGetAccountCommitmentsResponse) Reset added in v1.18.0

func (*QueryGetAccountCommitmentsResponse) Size added in v1.18.0

func (*QueryGetAccountCommitmentsResponse) String added in v1.18.0

func (*QueryGetAccountCommitmentsResponse) Unmarshal added in v1.18.0

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

func (*QueryGetAccountCommitmentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetAccountCommitmentsResponse) XXX_DiscardUnknown()

func (*QueryGetAccountCommitmentsResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetAccountCommitmentsResponse) XXX_Merge added in v1.18.0

func (*QueryGetAccountCommitmentsResponse) XXX_Size added in v1.18.0

func (*QueryGetAccountCommitmentsResponse) XXX_Unmarshal added in v1.18.0

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

type QueryGetAllCommitmentsRequest added in v1.18.0

type QueryGetAllCommitmentsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllCommitmentsRequest is a request message for the GetAllCommitments query.

func (*QueryGetAllCommitmentsRequest) Descriptor added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) GetPagination added in v1.18.0

func (m *QueryGetAllCommitmentsRequest) GetPagination() *query.PageRequest

func (*QueryGetAllCommitmentsRequest) Marshal added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) MarshalTo added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) ProtoMessage added in v1.18.0

func (*QueryGetAllCommitmentsRequest) ProtoMessage()

func (*QueryGetAllCommitmentsRequest) Reset added in v1.18.0

func (m *QueryGetAllCommitmentsRequest) Reset()

func (*QueryGetAllCommitmentsRequest) Size added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) String added in v1.18.0

func (*QueryGetAllCommitmentsRequest) Unmarshal added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetAllCommitmentsRequest) XXX_DiscardUnknown()

func (*QueryGetAllCommitmentsRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) XXX_Merge added in v1.18.0

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

func (*QueryGetAllCommitmentsRequest) XXX_Size added in v1.18.0

func (m *QueryGetAllCommitmentsRequest) XXX_Size() int

func (*QueryGetAllCommitmentsRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetAllCommitmentsResponse added in v1.18.0

type QueryGetAllCommitmentsResponse struct {
	// commitments is the requested commitment information.
	Commitments []*Commitment `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllCommitmentsResponse is a response message for the GetAllCommitments query.

func (*QueryGetAllCommitmentsResponse) Descriptor added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) GetCommitments added in v1.18.0

func (m *QueryGetAllCommitmentsResponse) GetCommitments() []*Commitment

func (*QueryGetAllCommitmentsResponse) GetPagination added in v1.18.0

func (*QueryGetAllCommitmentsResponse) Marshal added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) MarshalTo added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) ProtoMessage added in v1.18.0

func (*QueryGetAllCommitmentsResponse) ProtoMessage()

func (*QueryGetAllCommitmentsResponse) Reset added in v1.18.0

func (m *QueryGetAllCommitmentsResponse) Reset()

func (*QueryGetAllCommitmentsResponse) Size added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) String added in v1.18.0

func (*QueryGetAllCommitmentsResponse) Unmarshal added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetAllCommitmentsResponse) XXX_DiscardUnknown()

func (*QueryGetAllCommitmentsResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) XXX_Merge added in v1.18.0

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

func (*QueryGetAllCommitmentsResponse) XXX_Size added in v1.18.0

func (m *QueryGetAllCommitmentsResponse) XXX_Size() int

func (*QueryGetAllCommitmentsResponse) XXX_Unmarshal added in v1.18.0

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

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 QueryGetAllPaymentsRequest added in v1.18.0

type QueryGetAllPaymentsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllPaymentsRequest is a request message for the GetAllPayments query.

func (*QueryGetAllPaymentsRequest) Descriptor added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) GetPagination added in v1.18.0

func (m *QueryGetAllPaymentsRequest) GetPagination() *query.PageRequest

func (*QueryGetAllPaymentsRequest) Marshal added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) MarshalTo added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) ProtoMessage added in v1.18.0

func (*QueryGetAllPaymentsRequest) ProtoMessage()

func (*QueryGetAllPaymentsRequest) Reset added in v1.18.0

func (m *QueryGetAllPaymentsRequest) Reset()

func (*QueryGetAllPaymentsRequest) Size added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) String added in v1.18.0

func (m *QueryGetAllPaymentsRequest) String() string

func (*QueryGetAllPaymentsRequest) Unmarshal added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetAllPaymentsRequest) XXX_DiscardUnknown()

func (*QueryGetAllPaymentsRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) XXX_Merge added in v1.18.0

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

func (*QueryGetAllPaymentsRequest) XXX_Size added in v1.18.0

func (m *QueryGetAllPaymentsRequest) XXX_Size() int

func (*QueryGetAllPaymentsRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetAllPaymentsResponse added in v1.18.0

type QueryGetAllPaymentsResponse struct {
	// payments is all the payments on this page of results.
	Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetAllPaymentsResponse is a response message for the GetAllPayments query.

func (*QueryGetAllPaymentsResponse) Descriptor added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) GetPagination added in v1.18.0

func (m *QueryGetAllPaymentsResponse) GetPagination() *query.PageResponse

func (*QueryGetAllPaymentsResponse) GetPayments added in v1.18.0

func (m *QueryGetAllPaymentsResponse) GetPayments() []*Payment

func (*QueryGetAllPaymentsResponse) Marshal added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) MarshalTo added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) ProtoMessage added in v1.18.0

func (*QueryGetAllPaymentsResponse) ProtoMessage()

func (*QueryGetAllPaymentsResponse) Reset added in v1.18.0

func (m *QueryGetAllPaymentsResponse) Reset()

func (*QueryGetAllPaymentsResponse) Size added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) String added in v1.18.0

func (m *QueryGetAllPaymentsResponse) String() string

func (*QueryGetAllPaymentsResponse) Unmarshal added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetAllPaymentsResponse) XXX_DiscardUnknown()

func (*QueryGetAllPaymentsResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) XXX_Merge added in v1.18.0

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

func (*QueryGetAllPaymentsResponse) XXX_Size added in v1.18.0

func (m *QueryGetAllPaymentsResponse) XXX_Size() int

func (*QueryGetAllPaymentsResponse) XXX_Unmarshal added in v1.18.0

func (m *QueryGetAllPaymentsResponse) 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 QueryGetCommitmentRequest added in v1.18.0

type QueryGetCommitmentRequest struct {
	// account is the bech32 address string of the account in the commitment.
	Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	// market_id is the numeric identifier of the market in the commitment.
	MarketId uint32 `protobuf:"varint,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}

QueryGetCommitmentRequest is a request message for the GetCommitment query.

func (*QueryGetCommitmentRequest) Descriptor added in v1.18.0

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

func (*QueryGetCommitmentRequest) GetAccount added in v1.18.0

func (m *QueryGetCommitmentRequest) GetAccount() string

func (*QueryGetCommitmentRequest) GetMarketId added in v1.18.0

func (m *QueryGetCommitmentRequest) GetMarketId() uint32

func (*QueryGetCommitmentRequest) Marshal added in v1.18.0

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

func (*QueryGetCommitmentRequest) MarshalTo added in v1.18.0

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

func (*QueryGetCommitmentRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetCommitmentRequest) ProtoMessage added in v1.18.0

func (*QueryGetCommitmentRequest) ProtoMessage()

func (*QueryGetCommitmentRequest) Reset added in v1.18.0

func (m *QueryGetCommitmentRequest) Reset()

func (*QueryGetCommitmentRequest) Size added in v1.18.0

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

func (*QueryGetCommitmentRequest) String added in v1.18.0

func (m *QueryGetCommitmentRequest) String() string

func (*QueryGetCommitmentRequest) Unmarshal added in v1.18.0

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

func (*QueryGetCommitmentRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetCommitmentRequest) XXX_DiscardUnknown()

func (*QueryGetCommitmentRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetCommitmentRequest) XXX_Merge added in v1.18.0

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

func (*QueryGetCommitmentRequest) XXX_Size added in v1.18.0

func (m *QueryGetCommitmentRequest) XXX_Size() int

func (*QueryGetCommitmentRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetCommitmentResponse added in v1.18.0

type QueryGetCommitmentResponse struct {
	// amount is the total funds committed to the market by the account.
	Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

QueryGetCommitmentResponse is a response message for the GetCommitment query.

func (*QueryGetCommitmentResponse) Descriptor added in v1.18.0

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

func (*QueryGetCommitmentResponse) GetAmount added in v1.18.0

func (*QueryGetCommitmentResponse) Marshal added in v1.18.0

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

func (*QueryGetCommitmentResponse) MarshalTo added in v1.18.0

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

func (*QueryGetCommitmentResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetCommitmentResponse) ProtoMessage added in v1.18.0

func (*QueryGetCommitmentResponse) ProtoMessage()

func (*QueryGetCommitmentResponse) Reset added in v1.18.0

func (m *QueryGetCommitmentResponse) Reset()

func (*QueryGetCommitmentResponse) Size added in v1.18.0

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

func (*QueryGetCommitmentResponse) String added in v1.18.0

func (m *QueryGetCommitmentResponse) String() string

func (*QueryGetCommitmentResponse) Unmarshal added in v1.18.0

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

func (*QueryGetCommitmentResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetCommitmentResponse) XXX_DiscardUnknown()

func (*QueryGetCommitmentResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetCommitmentResponse) XXX_Merge added in v1.18.0

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

func (*QueryGetCommitmentResponse) XXX_Size added in v1.18.0

func (m *QueryGetCommitmentResponse) XXX_Size() int

func (*QueryGetCommitmentResponse) XXX_Unmarshal added in v1.18.0

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

type QueryGetMarketCommitmentsRequest added in v1.18.0

type QueryGetMarketCommitmentsRequest struct {
	// market_id is the numeric identifier of the market with the commitment.
	MarketId uint32 `protobuf:"varint,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetMarketCommitmentsRequest is a request message for the GetMarketCommitments query.

func (*QueryGetMarketCommitmentsRequest) Descriptor added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) GetMarketId added in v1.18.0

func (m *QueryGetMarketCommitmentsRequest) GetMarketId() uint32

func (*QueryGetMarketCommitmentsRequest) GetPagination added in v1.18.0

func (*QueryGetMarketCommitmentsRequest) Marshal added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) MarshalTo added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) ProtoMessage added in v1.18.0

func (*QueryGetMarketCommitmentsRequest) ProtoMessage()

func (*QueryGetMarketCommitmentsRequest) Reset added in v1.18.0

func (*QueryGetMarketCommitmentsRequest) Size added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) String added in v1.18.0

func (*QueryGetMarketCommitmentsRequest) Unmarshal added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetMarketCommitmentsRequest) XXX_DiscardUnknown()

func (*QueryGetMarketCommitmentsRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetMarketCommitmentsRequest) XXX_Merge added in v1.18.0

func (*QueryGetMarketCommitmentsRequest) XXX_Size added in v1.18.0

func (m *QueryGetMarketCommitmentsRequest) XXX_Size() int

func (*QueryGetMarketCommitmentsRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetMarketCommitmentsResponse added in v1.18.0

type QueryGetMarketCommitmentsResponse struct {
	// commitments is the amounts committed to the market from any account.
	Commitments []*AccountAmount `protobuf:"bytes,1,rep,name=commitments,proto3" json:"commitments,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetMarketCommitmentsResponse is a response message for the GetMarketCommitments query.

func (*QueryGetMarketCommitmentsResponse) Descriptor added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) GetCommitments added in v1.18.0

func (m *QueryGetMarketCommitmentsResponse) GetCommitments() []*AccountAmount

func (*QueryGetMarketCommitmentsResponse) GetPagination added in v1.18.0

func (*QueryGetMarketCommitmentsResponse) Marshal added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) MarshalTo added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) ProtoMessage added in v1.18.0

func (*QueryGetMarketCommitmentsResponse) ProtoMessage()

func (*QueryGetMarketCommitmentsResponse) Reset added in v1.18.0

func (*QueryGetMarketCommitmentsResponse) Size added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) String added in v1.18.0

func (*QueryGetMarketCommitmentsResponse) Unmarshal added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetMarketCommitmentsResponse) XXX_DiscardUnknown()

func (*QueryGetMarketCommitmentsResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetMarketCommitmentsResponse) XXX_Merge added in v1.18.0

func (*QueryGetMarketCommitmentsResponse) XXX_Size added in v1.18.0

func (m *QueryGetMarketCommitmentsResponse) XXX_Size() int

func (*QueryGetMarketCommitmentsResponse) XXX_Unmarshal added in v1.18.0

func (m *QueryGetMarketCommitmentsResponse) 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 QueryGetPaymentRequest added in v1.18.0

type QueryGetPaymentRequest struct {
	// source is the source account of the payment to get.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// external_id is the external id of the payment to get.
	ExternalId string `protobuf:"bytes,2,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
}

QueryGetPaymentRequest is a request message for the GetPayment query.

func (*QueryGetPaymentRequest) Descriptor added in v1.18.0

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

func (*QueryGetPaymentRequest) GetExternalId added in v1.18.0

func (m *QueryGetPaymentRequest) GetExternalId() string

func (*QueryGetPaymentRequest) GetSource added in v1.18.0

func (m *QueryGetPaymentRequest) GetSource() string

func (*QueryGetPaymentRequest) Marshal added in v1.18.0

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

func (*QueryGetPaymentRequest) MarshalTo added in v1.18.0

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

func (*QueryGetPaymentRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetPaymentRequest) ProtoMessage added in v1.18.0

func (*QueryGetPaymentRequest) ProtoMessage()

func (*QueryGetPaymentRequest) Reset added in v1.18.0

func (m *QueryGetPaymentRequest) Reset()

func (*QueryGetPaymentRequest) Size added in v1.18.0

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

func (*QueryGetPaymentRequest) String added in v1.18.0

func (m *QueryGetPaymentRequest) String() string

func (*QueryGetPaymentRequest) Unmarshal added in v1.18.0

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

func (*QueryGetPaymentRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetPaymentRequest) XXX_DiscardUnknown()

func (*QueryGetPaymentRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetPaymentRequest) XXX_Merge added in v1.18.0

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

func (*QueryGetPaymentRequest) XXX_Size added in v1.18.0

func (m *QueryGetPaymentRequest) XXX_Size() int

func (*QueryGetPaymentRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetPaymentResponse added in v1.18.0

type QueryGetPaymentResponse struct {
	// payment is the info on the requested payment.
	Payment *Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
}

QueryGetPaymentResponse is a response message for the GetPayment query.

func (*QueryGetPaymentResponse) Descriptor added in v1.18.0

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

func (*QueryGetPaymentResponse) GetPayment added in v1.18.0

func (m *QueryGetPaymentResponse) GetPayment() *Payment

func (*QueryGetPaymentResponse) Marshal added in v1.18.0

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

func (*QueryGetPaymentResponse) MarshalTo added in v1.18.0

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

func (*QueryGetPaymentResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetPaymentResponse) ProtoMessage added in v1.18.0

func (*QueryGetPaymentResponse) ProtoMessage()

func (*QueryGetPaymentResponse) Reset added in v1.18.0

func (m *QueryGetPaymentResponse) Reset()

func (*QueryGetPaymentResponse) Size added in v1.18.0

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

func (*QueryGetPaymentResponse) String added in v1.18.0

func (m *QueryGetPaymentResponse) String() string

func (*QueryGetPaymentResponse) Unmarshal added in v1.18.0

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

func (*QueryGetPaymentResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetPaymentResponse) XXX_DiscardUnknown()

func (*QueryGetPaymentResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetPaymentResponse) XXX_Merge added in v1.18.0

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

func (*QueryGetPaymentResponse) XXX_Size added in v1.18.0

func (m *QueryGetPaymentResponse) XXX_Size() int

func (*QueryGetPaymentResponse) XXX_Unmarshal added in v1.18.0

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

type QueryGetPaymentsWithSourceRequest added in v1.18.0

type QueryGetPaymentsWithSourceRequest struct {
	// source is the source account of the payments to get.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetPaymentsWithSourceRequest is a request message for the GetPaymentsWithSource query.

func (*QueryGetPaymentsWithSourceRequest) Descriptor added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) GetPagination added in v1.18.0

func (*QueryGetPaymentsWithSourceRequest) GetSource added in v1.18.0

func (*QueryGetPaymentsWithSourceRequest) Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) MarshalTo added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) ProtoMessage added in v1.18.0

func (*QueryGetPaymentsWithSourceRequest) ProtoMessage()

func (*QueryGetPaymentsWithSourceRequest) Reset added in v1.18.0

func (*QueryGetPaymentsWithSourceRequest) Size added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) String added in v1.18.0

func (*QueryGetPaymentsWithSourceRequest) Unmarshal added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetPaymentsWithSourceRequest) XXX_DiscardUnknown()

func (*QueryGetPaymentsWithSourceRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithSourceRequest) XXX_Merge added in v1.18.0

func (*QueryGetPaymentsWithSourceRequest) XXX_Size added in v1.18.0

func (m *QueryGetPaymentsWithSourceRequest) XXX_Size() int

func (*QueryGetPaymentsWithSourceRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetPaymentsWithSourceResponse added in v1.18.0

type QueryGetPaymentsWithSourceResponse struct {
	// payments is all the payments with the requested source.
	Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetPaymentsWithSourceResponse is a response message for the GetPaymentsWithSource query.

func (*QueryGetPaymentsWithSourceResponse) Descriptor added in v1.18.0

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

func (*QueryGetPaymentsWithSourceResponse) GetPagination added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) GetPayments added in v1.18.0

func (m *QueryGetPaymentsWithSourceResponse) GetPayments() []*Payment

func (*QueryGetPaymentsWithSourceResponse) Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithSourceResponse) MarshalTo added in v1.18.0

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

func (*QueryGetPaymentsWithSourceResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetPaymentsWithSourceResponse) ProtoMessage added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) ProtoMessage()

func (*QueryGetPaymentsWithSourceResponse) Reset added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) Size added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) String added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) Unmarshal added in v1.18.0

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

func (*QueryGetPaymentsWithSourceResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetPaymentsWithSourceResponse) XXX_DiscardUnknown()

func (*QueryGetPaymentsWithSourceResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithSourceResponse) XXX_Merge added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) XXX_Size added in v1.18.0

func (*QueryGetPaymentsWithSourceResponse) XXX_Unmarshal added in v1.18.0

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

type QueryGetPaymentsWithTargetRequest added in v1.18.0

type QueryGetPaymentsWithTargetRequest struct {
	// target is the target account of the payments to get.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetPaymentsWithTargetRequest is a request message for the GetPaymentsWithTarget query.

func (*QueryGetPaymentsWithTargetRequest) Descriptor added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) GetPagination added in v1.18.0

func (*QueryGetPaymentsWithTargetRequest) GetTarget added in v1.18.0

func (*QueryGetPaymentsWithTargetRequest) Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) MarshalTo added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) ProtoMessage added in v1.18.0

func (*QueryGetPaymentsWithTargetRequest) ProtoMessage()

func (*QueryGetPaymentsWithTargetRequest) Reset added in v1.18.0

func (*QueryGetPaymentsWithTargetRequest) Size added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) String added in v1.18.0

func (*QueryGetPaymentsWithTargetRequest) Unmarshal added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetPaymentsWithTargetRequest) XXX_DiscardUnknown()

func (*QueryGetPaymentsWithTargetRequest) XXX_Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithTargetRequest) XXX_Merge added in v1.18.0

func (*QueryGetPaymentsWithTargetRequest) XXX_Size added in v1.18.0

func (m *QueryGetPaymentsWithTargetRequest) XXX_Size() int

func (*QueryGetPaymentsWithTargetRequest) XXX_Unmarshal added in v1.18.0

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

type QueryGetPaymentsWithTargetResponse added in v1.18.0

type QueryGetPaymentsWithTargetResponse struct {
	// payments is all the payments with the requested target.
	Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
	// pagination is the resulting pagination parameters.
	Pagination *query.PageResponse `protobuf:"bytes,99,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryGetPaymentsWithTargetResponse is a response message for the GetPaymentsWithTarget query.

func (*QueryGetPaymentsWithTargetResponse) Descriptor added in v1.18.0

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

func (*QueryGetPaymentsWithTargetResponse) GetPagination added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) GetPayments added in v1.18.0

func (m *QueryGetPaymentsWithTargetResponse) GetPayments() []*Payment

func (*QueryGetPaymentsWithTargetResponse) Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithTargetResponse) MarshalTo added in v1.18.0

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

func (*QueryGetPaymentsWithTargetResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryGetPaymentsWithTargetResponse) ProtoMessage added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) ProtoMessage()

func (*QueryGetPaymentsWithTargetResponse) Reset added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) Size added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) String added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) Unmarshal added in v1.18.0

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

func (*QueryGetPaymentsWithTargetResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryGetPaymentsWithTargetResponse) XXX_DiscardUnknown()

func (*QueryGetPaymentsWithTargetResponse) XXX_Marshal added in v1.18.0

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

func (*QueryGetPaymentsWithTargetResponse) XXX_Merge added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) XXX_Size added in v1.18.0

func (*QueryGetPaymentsWithTargetResponse) XXX_Unmarshal added in v1.18.0

func (m *QueryGetPaymentsWithTargetResponse) 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 QueryPaymentFeeCalcRequest added in v1.18.0

type QueryPaymentFeeCalcRequest struct {
	// payment is the details of the payment to create or accept.
	Payment Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment"`
}

QueryPaymentFeeCalcRequest is a request message for the PaymentFeeCalc query.

func (*QueryPaymentFeeCalcRequest) Descriptor added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) GetPayment added in v1.18.0

func (m *QueryPaymentFeeCalcRequest) GetPayment() Payment

func (*QueryPaymentFeeCalcRequest) Marshal added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) MarshalTo added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) ProtoMessage added in v1.18.0

func (*QueryPaymentFeeCalcRequest) ProtoMessage()

func (*QueryPaymentFeeCalcRequest) Reset added in v1.18.0

func (m *QueryPaymentFeeCalcRequest) Reset()

func (*QueryPaymentFeeCalcRequest) Size added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) String added in v1.18.0

func (m *QueryPaymentFeeCalcRequest) String() string

func (*QueryPaymentFeeCalcRequest) Unmarshal added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) XXX_DiscardUnknown added in v1.18.0

func (m *QueryPaymentFeeCalcRequest) XXX_DiscardUnknown()

func (*QueryPaymentFeeCalcRequest) XXX_Marshal added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) XXX_Merge added in v1.18.0

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

func (*QueryPaymentFeeCalcRequest) XXX_Size added in v1.18.0

func (m *QueryPaymentFeeCalcRequest) XXX_Size() int

func (*QueryPaymentFeeCalcRequest) XXX_Unmarshal added in v1.18.0

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

type QueryPaymentFeeCalcResponse added in v1.18.0

type QueryPaymentFeeCalcResponse struct {
	// fee_create is the fee required to create the provided payment.
	FeeCreate github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
	// fee_accept is the fee required to accept the provided payment.
	FeeAccept github_com_cosmos_cosmos_sdk_types.Coins `` /* 132-byte string literal not displayed */
}

QueryPaymentFeeCalcResponse is a response message for the PaymentFeeCalc query.

func (*QueryPaymentFeeCalcResponse) Descriptor added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) GetFeeAccept added in v1.18.0

func (*QueryPaymentFeeCalcResponse) GetFeeCreate added in v1.18.0

func (*QueryPaymentFeeCalcResponse) Marshal added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) MarshalTo added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) MarshalToSizedBuffer added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) ProtoMessage added in v1.18.0

func (*QueryPaymentFeeCalcResponse) ProtoMessage()

func (*QueryPaymentFeeCalcResponse) Reset added in v1.18.0

func (m *QueryPaymentFeeCalcResponse) Reset()

func (*QueryPaymentFeeCalcResponse) Size added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) String added in v1.18.0

func (m *QueryPaymentFeeCalcResponse) String() string

func (*QueryPaymentFeeCalcResponse) Unmarshal added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) XXX_DiscardUnknown added in v1.18.0

func (m *QueryPaymentFeeCalcResponse) XXX_DiscardUnknown()

func (*QueryPaymentFeeCalcResponse) XXX_Marshal added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) XXX_Merge added in v1.18.0

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

func (*QueryPaymentFeeCalcResponse) XXX_Size added in v1.18.0

func (m *QueryPaymentFeeCalcResponse) XXX_Size() int

func (*QueryPaymentFeeCalcResponse) XXX_Unmarshal added in v1.18.0

func (m *QueryPaymentFeeCalcResponse) 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)
	// GetCommitment gets the funds in an account that are committed to the market.
	GetCommitment(context.Context, *QueryGetCommitmentRequest) (*QueryGetCommitmentResponse, error)
	// GetAccountCommitments gets all the funds in an account that are committed to any market.
	GetAccountCommitments(context.Context, *QueryGetAccountCommitmentsRequest) (*QueryGetAccountCommitmentsResponse, error)
	// GetMarketCommitments gets all the funds committed to a market from any account.
	GetMarketCommitments(context.Context, *QueryGetMarketCommitmentsRequest) (*QueryGetMarketCommitmentsResponse, error)
	// GetAllCommitments gets all fund committed to any market from any account.
	GetAllCommitments(context.Context, *QueryGetAllCommitmentsRequest) (*QueryGetAllCommitmentsResponse, 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)
	// CommitmentSettlementFeeCalc calculates the fees a market will pay for a commitment settlement using current NAVs.
	CommitmentSettlementFeeCalc(context.Context, *QueryCommitmentSettlementFeeCalcRequest) (*QueryCommitmentSettlementFeeCalcResponse, 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)
	// GetPayment gets a single specific payment.
	GetPayment(context.Context, *QueryGetPaymentRequest) (*QueryGetPaymentResponse, error)
	// GetPaymentsWithSource gets all payments with a specific source account.
	GetPaymentsWithSource(context.Context, *QueryGetPaymentsWithSourceRequest) (*QueryGetPaymentsWithSourceResponse, error)
	// GetPaymentsWithTarget gets all payments with a specific target account.
	GetPaymentsWithTarget(context.Context, *QueryGetPaymentsWithTargetRequest) (*QueryGetPaymentsWithTargetResponse, error)
	// GetAllPayments gets all payments.
	GetAllPayments(context.Context, *QueryGetAllPaymentsRequest) (*QueryGetAllPaymentsResponse, error)
	// PaymentFeeCalc calculates the fees that must be paid for creating or accepting a specific payment.
	PaymentFeeCalc(context.Context, *QueryPaymentFeeCalcRequest) (*QueryPaymentFeeCalcResponse, 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.

func BuildCommitmentTransfers added in v1.18.0

func BuildCommitmentTransfers(marketID uint32, inputs, outputs, fees []AccountAmount) ([]*Transfer, error)

BuildCommitmentTransfers builds all of the transfers needed to process the provided commitment transfers. Contracts:

  • The inputs, outputs, and fees must be simplified using SimplifyAccountAmounts.
  • The sum of inputs amounts must equal the sum of outputs amounts.

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AcceptPayment added in v1.18.0

func (*UnimplementedMsgServer) CancelOrder

func (*UnimplementedMsgServer) CancelPayments added in v1.18.0

func (*UnimplementedMsgServer) ChangePaymentTarget added in v1.18.0

func (*UnimplementedMsgServer) CommitFunds added in v1.18.0

func (*UnimplementedMsgServer) CreateAsk

func (*UnimplementedMsgServer) CreateBid

func (*UnimplementedMsgServer) CreatePayment added in v1.18.0

func (*UnimplementedMsgServer) FillAsks

func (*UnimplementedMsgServer) FillBids

func (*UnimplementedMsgServer) GovCloseMarket added in v1.18.0

func (*UnimplementedMsgServer) GovCreateMarket

func (*UnimplementedMsgServer) GovManageFees

func (*UnimplementedMsgServer) GovUpdateParams

func (*UnimplementedMsgServer) MarketCommitmentSettle added in v1.18.0

func (*UnimplementedMsgServer) MarketManageReqAttrs

func (*UnimplementedMsgServer) MarketReleaseCommitments added in v1.18.0

func (*UnimplementedMsgServer) MarketSettle

func (*UnimplementedMsgServer) MarketUpdateAcceptingCommitments added in v1.18.0

func (*UnimplementedMsgServer) MarketUpdateAcceptingOrders added in v1.18.0

func (*UnimplementedMsgServer) MarketUpdateDetails

func (*UnimplementedMsgServer) MarketUpdateEnabled

func (*UnimplementedMsgServer) MarketUpdateIntermediaryDenom added in v1.18.0

func (*UnimplementedMsgServer) MarketWithdraw

func (*UnimplementedMsgServer) RejectPayment added in v1.18.0

func (*UnimplementedMsgServer) RejectPayments added in v1.18.0

func (*UnimplementedMsgServer) UpdateParams added in v1.19.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) CommitmentSettlementFeeCalc added in v1.18.0

func (*UnimplementedQueryServer) GetAccountCommitments added in v1.18.0

func (*UnimplementedQueryServer) GetAllCommitments added in v1.18.0

func (*UnimplementedQueryServer) GetAllMarkets

func (*UnimplementedQueryServer) GetAllOrders

func (*UnimplementedQueryServer) GetAllPayments added in v1.18.0

func (*UnimplementedQueryServer) GetAssetOrders

func (*UnimplementedQueryServer) GetCommitment added in v1.18.0

func (*UnimplementedQueryServer) GetMarket

func (*UnimplementedQueryServer) GetMarketCommitments added in v1.18.0

func (*UnimplementedQueryServer) GetMarketOrders

func (*UnimplementedQueryServer) GetOrder

func (*UnimplementedQueryServer) GetOwnerOrders

func (*UnimplementedQueryServer) GetPayment added in v1.18.0

func (*UnimplementedQueryServer) GetPaymentsWithSource added in v1.18.0

func (*UnimplementedQueryServer) GetPaymentsWithTarget added in v1.18.0

func (*UnimplementedQueryServer) OrderFeeCalc

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) PaymentFeeCalc added in v1.18.0

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