types

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 33 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "invoice"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_invoice"
)
View Source
const (
	AddedSellOrderKey = "Added-SellOrder-value-"
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	InvoiceKey = "Invoice-value-"
)
View Source
const (
	PlaceOrderKey = "PlaceOrder-value-"
)
View Source
const STABLECOIN = "VUSD"
View Source
const (
	SellOrderKey = "SellOrder-value-"
)

Variables

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 (
	ErrInvalidLengthInvoice        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowInvoice          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupInvoice = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPlaceOrder        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPlaceOrder          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPlaceOrder = 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 (
	ErrInvalidLengthSellOrder        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSellOrder          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSellOrder = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)

x/invoice module sentinel errors

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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)

Types

type BankKeeper

type BankKeeper interface {
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error

	GetParams(ctx sdk.Context) banktypes.Params
	SetParams(ctx sdk.Context, params banktypes.Params)

	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
}

BankKeeper Methods imported from bank should be defined here

type GenesisState

type GenesisState struct {
	// this line is used by starport scaffolding # genesis/proto/state
	PlaceOrderList []*PlaceOrder `protobuf:"bytes,3,rep,name=placeOrderList,proto3" json:"placeOrderList,omitempty"`
	SellOrderList  []*SellOrder  `protobuf:"bytes,2,rep,name=sellOrderList,proto3" json:"sellOrderList,omitempty"`
	InvoiceList    []*Invoice    `protobuf:"bytes,1,rep,name=invoiceList,proto3" json:"invoiceList,omitempty"`
}

GenesisState defines the invoice module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetInvoiceList

func (m *GenesisState) GetInvoiceList() []*Invoice

func (*GenesisState) GetPlaceOrderList

func (m *GenesisState) GetPlaceOrderList() []*PlaceOrder

func (*GenesisState) GetSellOrderList

func (m *GenesisState) GetSellOrderList() []*SellOrder

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type Invoice

type Invoice struct {
	InvoiceID       string                                        `protobuf:"bytes,1,opt,name=invoiceID,proto3" json:"invoiceID,omitempty"`
	InvoiceBase     *InvoiceBase                                  `protobuf:"bytes,2,opt,name=invoiceBase,proto3" json:"invoiceBase,omitempty"`
	InvoiceFinance  *InvoiceFinance                               `protobuf:"bytes,3,opt,name=invoiceFinance,proto3" json:"invoiceFinance,omitempty"`
	CurrentOwner    github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 132-byte string literal not displayed */
	InvoiceMembers  []InvoiceMember                               `protobuf:"bytes,5,rep,name=invoiceMembers,proto3" json:"invoiceMembers"`
	RootOwner       bool                                          `protobuf:"varint,6,opt,name=rootOwner,proto3" json:"rootOwner,omitempty"`
	Deleted         bool                                          `protobuf:"varint,7,opt,name=deleted,proto3" json:"deleted,omitempty"`
	IsListedForSell bool                                          `protobuf:"varint,8,opt,name=isListedForSell,proto3" json:"isListedForSell,omitempty"`
}

func (*Invoice) Descriptor

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

func (*Invoice) GetCurrentOwner

func (*Invoice) GetDeleted

func (m *Invoice) GetDeleted() bool

func (*Invoice) GetInvoiceBase

func (m *Invoice) GetInvoiceBase() *InvoiceBase

func (*Invoice) GetInvoiceFinance

func (m *Invoice) GetInvoiceFinance() *InvoiceFinance

func (*Invoice) GetInvoiceID

func (m *Invoice) GetInvoiceID() string

func (*Invoice) GetInvoiceMembers

func (m *Invoice) GetInvoiceMembers() []InvoiceMember

func (*Invoice) GetIsListedForSell

func (m *Invoice) GetIsListedForSell() bool

func (*Invoice) GetRootOwner

func (m *Invoice) GetRootOwner() bool

func (*Invoice) Marshal

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

func (*Invoice) MarshalTo

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

func (*Invoice) MarshalToSizedBuffer

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

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) Reset

func (m *Invoice) Reset()

func (*Invoice) Size

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

func (*Invoice) String

func (m *Invoice) String() string

func (*Invoice) Unmarshal

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

func (*Invoice) XXX_DiscardUnknown

func (m *Invoice) XXX_DiscardUnknown()

func (*Invoice) XXX_Marshal

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

func (*Invoice) XXX_Merge

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

func (*Invoice) XXX_Size

func (m *Invoice) XXX_Size() int

func (*Invoice) XXX_Unmarshal

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

type InvoiceBase

type InvoiceBase struct {
	Creator   github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	Name      string                                        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Url       string                                        `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Data      string                                        `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	OrigOwner github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 126-byte string literal not displayed */
}

func (*InvoiceBase) Descriptor

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

func (*InvoiceBase) GetCreator

func (*InvoiceBase) GetData

func (m *InvoiceBase) GetData() string

func (*InvoiceBase) GetName

func (m *InvoiceBase) GetName() string

func (*InvoiceBase) GetOrigOwner

func (*InvoiceBase) GetUrl

func (m *InvoiceBase) GetUrl() string

func (*InvoiceBase) Marshal

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

func (*InvoiceBase) MarshalTo

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

func (*InvoiceBase) MarshalToSizedBuffer

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

func (*InvoiceBase) ProtoMessage

func (*InvoiceBase) ProtoMessage()

func (*InvoiceBase) Reset

func (m *InvoiceBase) Reset()

func (*InvoiceBase) Size

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

func (*InvoiceBase) String

func (m *InvoiceBase) String() string

func (*InvoiceBase) Unmarshal

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

func (*InvoiceBase) XXX_DiscardUnknown

func (m *InvoiceBase) XXX_DiscardUnknown()

func (*InvoiceBase) XXX_Marshal

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

func (*InvoiceBase) XXX_Merge

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

func (*InvoiceBase) XXX_Size

func (m *InvoiceBase) XXX_Size() int

func (*InvoiceBase) XXX_Unmarshal

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

type InvoiceFinance

type InvoiceFinance struct {
	Denom        string                                 `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount       github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	AmountLocked github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amountLocked,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amountLocked"`
	Apy          float32                                `protobuf:"fixed32,5,opt,name=apy,proto3" json:"apy,omitempty"`
}

func (*InvoiceFinance) Descriptor

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

func (*InvoiceFinance) GetApy

func (m *InvoiceFinance) GetApy() float32

func (*InvoiceFinance) GetDenom

func (m *InvoiceFinance) GetDenom() string

func (*InvoiceFinance) Marshal

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

func (*InvoiceFinance) MarshalTo

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

func (*InvoiceFinance) MarshalToSizedBuffer

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

func (*InvoiceFinance) ProtoMessage

func (*InvoiceFinance) ProtoMessage()

func (*InvoiceFinance) Reset

func (m *InvoiceFinance) Reset()

func (*InvoiceFinance) Size

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

func (*InvoiceFinance) String

func (m *InvoiceFinance) String() string

func (*InvoiceFinance) Unmarshal

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

func (*InvoiceFinance) XXX_DiscardUnknown

func (m *InvoiceFinance) XXX_DiscardUnknown()

func (*InvoiceFinance) XXX_Marshal

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

func (*InvoiceFinance) XXX_Merge

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

func (*InvoiceFinance) XXX_Size

func (m *InvoiceFinance) XXX_Size() int

func (*InvoiceFinance) XXX_Unmarshal

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

type InvoiceMember

type InvoiceMember struct {
	InvoiceID     string                                        `protobuf:"bytes,1,opt,name=invoiceID,proto3" json:"invoiceID,omitempty"`
	Share         github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,2,opt,name=share,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"share"`
	InvoiceHolder github_com_cosmos_cosmos_sdk_types.AccAddress `` /* 134-byte string literal not displayed */
}

func (*InvoiceMember) Descriptor

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

func (*InvoiceMember) GetInvoiceHolder

func (*InvoiceMember) GetInvoiceID

func (m *InvoiceMember) GetInvoiceID() string

func (*InvoiceMember) Marshal

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

func (*InvoiceMember) MarshalTo

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

func (*InvoiceMember) MarshalToSizedBuffer

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

func (*InvoiceMember) ProtoMessage

func (*InvoiceMember) ProtoMessage()

func (*InvoiceMember) Reset

func (m *InvoiceMember) Reset()

func (*InvoiceMember) Size

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

func (*InvoiceMember) String

func (m *InvoiceMember) String() string

func (*InvoiceMember) Unmarshal

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

func (*InvoiceMember) XXX_DiscardUnknown

func (m *InvoiceMember) XXX_DiscardUnknown()

func (*InvoiceMember) XXX_Marshal

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

func (*InvoiceMember) XXX_Merge

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

func (*InvoiceMember) XXX_Size

func (m *InvoiceMember) XXX_Size() int

func (*InvoiceMember) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	CreatePlaceOrder(ctx context.Context, in *MsgCreatePlaceOrder, opts ...grpc.CallOption) (*MsgCreatePlaceOrderResponse, error)
	CreateSellOrder(ctx context.Context, in *MsgCreateSellOrder, opts ...grpc.CallOption) (*MsgCreateSellOrderResponse, error)
	DeleteSellOrder(ctx context.Context, in *MsgDeleteSellOrder, opts ...grpc.CallOption) (*MsgDeleteSellOrderResponse, error)
	CreateInvoice(ctx context.Context, in *MsgCreateInvoice, opts ...grpc.CallOption) (*MsgCreateInvoiceResponse, error)
	DeleteInvoice(ctx context.Context, in *MsgDeleteInvoice, opts ...grpc.CallOption) (*MsgDeleteInvoiceResponse, 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 MsgCreateInvoice

type MsgCreateInvoice struct {
	Creator     string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	OrigOwner   string `protobuf:"bytes,2,opt,name=origOwner,proto3" json:"origOwner,omitempty"`
	Name        string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Url         string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	Amount      string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	Apy         string `protobuf:"bytes,6,opt,name=apy,proto3" json:"apy,omitempty"`
	IsRootOwner bool   `protobuf:"varint,7,opt,name=isRootOwner,proto3" json:"isRootOwner,omitempty"`
}

func NewMsgCreateInvoice

func NewMsgCreateInvoice(creator, owner, name, amount, url, apy string, isRootOwner bool) *MsgCreateInvoice

func (*MsgCreateInvoice) Descriptor

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

func (*MsgCreateInvoice) GetAmount

func (m *MsgCreateInvoice) GetAmount() string

func (*MsgCreateInvoice) GetApy

func (m *MsgCreateInvoice) GetApy() string

func (*MsgCreateInvoice) GetCreator

func (m *MsgCreateInvoice) GetCreator() string

func (*MsgCreateInvoice) GetIsRootOwner

func (m *MsgCreateInvoice) GetIsRootOwner() bool

func (*MsgCreateInvoice) GetName

func (m *MsgCreateInvoice) GetName() string

func (*MsgCreateInvoice) GetOrigOwner

func (m *MsgCreateInvoice) GetOrigOwner() string

func (*MsgCreateInvoice) GetSignBytes

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

func (*MsgCreateInvoice) GetSigners

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

func (*MsgCreateInvoice) GetUrl

func (m *MsgCreateInvoice) GetUrl() string

func (*MsgCreateInvoice) Marshal

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

func (*MsgCreateInvoice) MarshalTo

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

func (*MsgCreateInvoice) MarshalToSizedBuffer

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

func (*MsgCreateInvoice) ProtoMessage

func (*MsgCreateInvoice) ProtoMessage()

func (*MsgCreateInvoice) Reset

func (m *MsgCreateInvoice) Reset()

func (*MsgCreateInvoice) Route

func (msg *MsgCreateInvoice) Route() string

func (*MsgCreateInvoice) Size

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

func (*MsgCreateInvoice) String

func (m *MsgCreateInvoice) String() string

func (*MsgCreateInvoice) Type

func (msg *MsgCreateInvoice) Type() string

func (*MsgCreateInvoice) Unmarshal

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

func (*MsgCreateInvoice) ValidateBasic

func (msg *MsgCreateInvoice) ValidateBasic() error

func (*MsgCreateInvoice) XXX_DiscardUnknown

func (m *MsgCreateInvoice) XXX_DiscardUnknown()

func (*MsgCreateInvoice) XXX_Marshal

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

func (*MsgCreateInvoice) XXX_Merge

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

func (*MsgCreateInvoice) XXX_Size

func (m *MsgCreateInvoice) XXX_Size() int

func (*MsgCreateInvoice) XXX_Unmarshal

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

type MsgCreateInvoiceResponse

type MsgCreateInvoiceResponse struct {
	InvoiceID string `protobuf:"bytes,1,opt,name=invoiceID,proto3" json:"invoiceID,omitempty"`
}

func (*MsgCreateInvoiceResponse) Descriptor

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

func (*MsgCreateInvoiceResponse) GetInvoiceID

func (m *MsgCreateInvoiceResponse) GetInvoiceID() string

func (*MsgCreateInvoiceResponse) Marshal

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

func (*MsgCreateInvoiceResponse) MarshalTo

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

func (*MsgCreateInvoiceResponse) MarshalToSizedBuffer

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

func (*MsgCreateInvoiceResponse) ProtoMessage

func (*MsgCreateInvoiceResponse) ProtoMessage()

func (*MsgCreateInvoiceResponse) Reset

func (m *MsgCreateInvoiceResponse) Reset()

func (*MsgCreateInvoiceResponse) Size

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

func (*MsgCreateInvoiceResponse) String

func (m *MsgCreateInvoiceResponse) String() string

func (*MsgCreateInvoiceResponse) Unmarshal

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

func (*MsgCreateInvoiceResponse) XXX_DiscardUnknown

func (m *MsgCreateInvoiceResponse) XXX_DiscardUnknown()

func (*MsgCreateInvoiceResponse) XXX_Marshal

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

func (*MsgCreateInvoiceResponse) XXX_Merge

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

func (*MsgCreateInvoiceResponse) XXX_Size

func (m *MsgCreateInvoiceResponse) XXX_Size() int

func (*MsgCreateInvoiceResponse) XXX_Unmarshal

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

type MsgCreatePlaceOrder

type MsgCreatePlaceOrder struct {
	Creator     github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	SellOrderID string                                        `protobuf:"bytes,3,opt,name=sellOrderID,proto3" json:"sellOrderID,omitempty"`
	Amount      github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Price       github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,5,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"price"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgCreatePlaceOrder

func NewMsgCreatePlaceOrder(creator sdk.AccAddress, sellOrderID string, amount sdk.Int) *MsgCreatePlaceOrder

func (*MsgCreatePlaceOrder) Descriptor

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

func (*MsgCreatePlaceOrder) GetCreator

func (*MsgCreatePlaceOrder) GetSellOrderID

func (m *MsgCreatePlaceOrder) GetSellOrderID() string

func (*MsgCreatePlaceOrder) GetSignBytes

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

func (*MsgCreatePlaceOrder) GetSigners

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

func (*MsgCreatePlaceOrder) Marshal

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

func (*MsgCreatePlaceOrder) MarshalTo

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

func (*MsgCreatePlaceOrder) MarshalToSizedBuffer

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

func (*MsgCreatePlaceOrder) ProtoMessage

func (*MsgCreatePlaceOrder) ProtoMessage()

func (*MsgCreatePlaceOrder) Reset

func (m *MsgCreatePlaceOrder) Reset()

func (*MsgCreatePlaceOrder) Route

func (msg *MsgCreatePlaceOrder) Route() string

func (*MsgCreatePlaceOrder) Size

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

func (*MsgCreatePlaceOrder) String

func (m *MsgCreatePlaceOrder) String() string

func (*MsgCreatePlaceOrder) Type

func (msg *MsgCreatePlaceOrder) Type() string

func (*MsgCreatePlaceOrder) Unmarshal

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

func (*MsgCreatePlaceOrder) ValidateBasic

func (msg *MsgCreatePlaceOrder) ValidateBasic() error

func (*MsgCreatePlaceOrder) XXX_DiscardUnknown

func (m *MsgCreatePlaceOrder) XXX_DiscardUnknown()

func (*MsgCreatePlaceOrder) XXX_Marshal

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

func (*MsgCreatePlaceOrder) XXX_Merge

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

func (*MsgCreatePlaceOrder) XXX_Size

func (m *MsgCreatePlaceOrder) XXX_Size() int

func (*MsgCreatePlaceOrder) XXX_Unmarshal

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

type MsgCreatePlaceOrderResponse

type MsgCreatePlaceOrderResponse struct {
	PlaceOrderID string `protobuf:"bytes,1,opt,name=placeOrderID,proto3" json:"placeOrderID,omitempty"`
}

func (*MsgCreatePlaceOrderResponse) Descriptor

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

func (*MsgCreatePlaceOrderResponse) GetPlaceOrderID

func (m *MsgCreatePlaceOrderResponse) GetPlaceOrderID() string

func (*MsgCreatePlaceOrderResponse) Marshal

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

func (*MsgCreatePlaceOrderResponse) MarshalTo

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

func (*MsgCreatePlaceOrderResponse) MarshalToSizedBuffer

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

func (*MsgCreatePlaceOrderResponse) ProtoMessage

func (*MsgCreatePlaceOrderResponse) ProtoMessage()

func (*MsgCreatePlaceOrderResponse) Reset

func (m *MsgCreatePlaceOrderResponse) Reset()

func (*MsgCreatePlaceOrderResponse) Size

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

func (*MsgCreatePlaceOrderResponse) String

func (m *MsgCreatePlaceOrderResponse) String() string

func (*MsgCreatePlaceOrderResponse) Unmarshal

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

func (*MsgCreatePlaceOrderResponse) XXX_DiscardUnknown

func (m *MsgCreatePlaceOrderResponse) XXX_DiscardUnknown()

func (*MsgCreatePlaceOrderResponse) XXX_Marshal

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

func (*MsgCreatePlaceOrderResponse) XXX_Merge

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

func (*MsgCreatePlaceOrderResponse) XXX_Size

func (m *MsgCreatePlaceOrderResponse) XXX_Size() int

func (*MsgCreatePlaceOrderResponse) XXX_Unmarshal

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

type MsgCreateSellOrder

type MsgCreateSellOrder struct {
	Creator       github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	SellInvoiceID string                                        `protobuf:"bytes,2,opt,name=sellInvoiceID,proto3" json:"sellInvoiceID,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	SellDuration  time.Duration                                 `protobuf:"bytes,4,opt,name=sellDuration,proto3,stdduration" json:"sellDuration"`
	Price         github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,5,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"price"`
}

func NewMsgCreateSellOrder

func NewMsgCreateSellOrder(creator sdk.AccAddress, invoiceID string, amount, price sdk.Int, duration time.Duration) *MsgCreateSellOrder

func (*MsgCreateSellOrder) Descriptor

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

func (*MsgCreateSellOrder) GetCreator

func (*MsgCreateSellOrder) GetSellDuration

func (m *MsgCreateSellOrder) GetSellDuration() time.Duration

func (*MsgCreateSellOrder) GetSellInvoiceID

func (m *MsgCreateSellOrder) GetSellInvoiceID() string

func (*MsgCreateSellOrder) GetSignBytes

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

func (*MsgCreateSellOrder) GetSigners

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

func (*MsgCreateSellOrder) Marshal

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

func (*MsgCreateSellOrder) MarshalTo

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

func (*MsgCreateSellOrder) MarshalToSizedBuffer

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

func (*MsgCreateSellOrder) ProtoMessage

func (*MsgCreateSellOrder) ProtoMessage()

func (*MsgCreateSellOrder) Reset

func (m *MsgCreateSellOrder) Reset()

func (*MsgCreateSellOrder) Route

func (msg *MsgCreateSellOrder) Route() string

func (*MsgCreateSellOrder) Size

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

func (*MsgCreateSellOrder) String

func (m *MsgCreateSellOrder) String() string

func (*MsgCreateSellOrder) Type

func (msg *MsgCreateSellOrder) Type() string

func (*MsgCreateSellOrder) Unmarshal

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

func (*MsgCreateSellOrder) ValidateBasic

func (msg *MsgCreateSellOrder) ValidateBasic() error

func (*MsgCreateSellOrder) XXX_DiscardUnknown

func (m *MsgCreateSellOrder) XXX_DiscardUnknown()

func (*MsgCreateSellOrder) XXX_Marshal

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

func (*MsgCreateSellOrder) XXX_Merge

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

func (*MsgCreateSellOrder) XXX_Size

func (m *MsgCreateSellOrder) XXX_Size() int

func (*MsgCreateSellOrder) XXX_Unmarshal

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

type MsgCreateSellOrderResponse

type MsgCreateSellOrderResponse struct {
	OrderID string `protobuf:"bytes,1,opt,name=orderID,proto3" json:"orderID,omitempty"`
}

func (*MsgCreateSellOrderResponse) Descriptor

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

func (*MsgCreateSellOrderResponse) GetOrderID

func (m *MsgCreateSellOrderResponse) GetOrderID() string

func (*MsgCreateSellOrderResponse) Marshal

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

func (*MsgCreateSellOrderResponse) MarshalTo

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

func (*MsgCreateSellOrderResponse) MarshalToSizedBuffer

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

func (*MsgCreateSellOrderResponse) ProtoMessage

func (*MsgCreateSellOrderResponse) ProtoMessage()

func (*MsgCreateSellOrderResponse) Reset

func (m *MsgCreateSellOrderResponse) Reset()

func (*MsgCreateSellOrderResponse) Size

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

func (*MsgCreateSellOrderResponse) String

func (m *MsgCreateSellOrderResponse) String() string

func (*MsgCreateSellOrderResponse) Unmarshal

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

func (*MsgCreateSellOrderResponse) XXX_DiscardUnknown

func (m *MsgCreateSellOrderResponse) XXX_DiscardUnknown()

func (*MsgCreateSellOrderResponse) XXX_Marshal

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

func (*MsgCreateSellOrderResponse) XXX_Merge

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

func (*MsgCreateSellOrderResponse) XXX_Size

func (m *MsgCreateSellOrderResponse) XXX_Size() int

func (*MsgCreateSellOrderResponse) XXX_Unmarshal

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

type MsgDeleteInvoice

type MsgDeleteInvoice struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	OrigOwner string `protobuf:"bytes,2,opt,name=origOwner,proto3" json:"origOwner,omitempty"`
	Name      string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}

func NewMsgDeleteInvoice

func NewMsgDeleteInvoice(creator, owner, name string) *MsgDeleteInvoice

func (*MsgDeleteInvoice) Descriptor

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

func (*MsgDeleteInvoice) GetCreator

func (m *MsgDeleteInvoice) GetCreator() string

func (*MsgDeleteInvoice) GetName

func (m *MsgDeleteInvoice) GetName() string

func (*MsgDeleteInvoice) GetOrigOwner

func (m *MsgDeleteInvoice) GetOrigOwner() string

func (*MsgDeleteInvoice) GetSignBytes

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

func (*MsgDeleteInvoice) GetSigners

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

func (*MsgDeleteInvoice) Marshal

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

func (*MsgDeleteInvoice) MarshalTo

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

func (*MsgDeleteInvoice) MarshalToSizedBuffer

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

func (*MsgDeleteInvoice) ProtoMessage

func (*MsgDeleteInvoice) ProtoMessage()

func (*MsgDeleteInvoice) Reset

func (m *MsgDeleteInvoice) Reset()

func (*MsgDeleteInvoice) Route

func (msg *MsgDeleteInvoice) Route() string

func (*MsgDeleteInvoice) Size

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

func (*MsgDeleteInvoice) String

func (m *MsgDeleteInvoice) String() string

func (*MsgDeleteInvoice) Type

func (msg *MsgDeleteInvoice) Type() string

func (*MsgDeleteInvoice) Unmarshal

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

func (*MsgDeleteInvoice) ValidateBasic

func (msg *MsgDeleteInvoice) ValidateBasic() error

func (*MsgDeleteInvoice) XXX_DiscardUnknown

func (m *MsgDeleteInvoice) XXX_DiscardUnknown()

func (*MsgDeleteInvoice) XXX_Marshal

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

func (*MsgDeleteInvoice) XXX_Merge

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

func (*MsgDeleteInvoice) XXX_Size

func (m *MsgDeleteInvoice) XXX_Size() int

func (*MsgDeleteInvoice) XXX_Unmarshal

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

type MsgDeleteInvoiceResponse

type MsgDeleteInvoiceResponse struct {
}

func (*MsgDeleteInvoiceResponse) Descriptor

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

func (*MsgDeleteInvoiceResponse) Marshal

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

func (*MsgDeleteInvoiceResponse) MarshalTo

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

func (*MsgDeleteInvoiceResponse) MarshalToSizedBuffer

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

func (*MsgDeleteInvoiceResponse) ProtoMessage

func (*MsgDeleteInvoiceResponse) ProtoMessage()

func (*MsgDeleteInvoiceResponse) Reset

func (m *MsgDeleteInvoiceResponse) Reset()

func (*MsgDeleteInvoiceResponse) Size

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

func (*MsgDeleteInvoiceResponse) String

func (m *MsgDeleteInvoiceResponse) String() string

func (*MsgDeleteInvoiceResponse) Unmarshal

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

func (*MsgDeleteInvoiceResponse) XXX_DiscardUnknown

func (m *MsgDeleteInvoiceResponse) XXX_DiscardUnknown()

func (*MsgDeleteInvoiceResponse) XXX_Marshal

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

func (*MsgDeleteInvoiceResponse) XXX_Merge

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

func (*MsgDeleteInvoiceResponse) XXX_Size

func (m *MsgDeleteInvoiceResponse) XXX_Size() int

func (*MsgDeleteInvoiceResponse) XXX_Unmarshal

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

type MsgDeleteSellOrder

type MsgDeleteSellOrder struct {
	Creator     github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	SellOrderID string                                        `protobuf:"bytes,2,opt,name=sellOrderID,proto3" json:"sellOrderID,omitempty"`
}

func NewMsgDeleteSellOrder

func NewMsgDeleteSellOrder(creator sdk.AccAddress, index string) *MsgDeleteSellOrder

func (*MsgDeleteSellOrder) Descriptor

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

func (*MsgDeleteSellOrder) GetCreator

func (*MsgDeleteSellOrder) GetSellOrderID

func (m *MsgDeleteSellOrder) GetSellOrderID() string

func (*MsgDeleteSellOrder) GetSignBytes

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

func (*MsgDeleteSellOrder) GetSigners

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

func (*MsgDeleteSellOrder) Marshal

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

func (*MsgDeleteSellOrder) MarshalTo

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

func (*MsgDeleteSellOrder) MarshalToSizedBuffer

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

func (*MsgDeleteSellOrder) ProtoMessage

func (*MsgDeleteSellOrder) ProtoMessage()

func (*MsgDeleteSellOrder) Reset

func (m *MsgDeleteSellOrder) Reset()

func (*MsgDeleteSellOrder) Route

func (msg *MsgDeleteSellOrder) Route() string

func (*MsgDeleteSellOrder) Size

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

func (*MsgDeleteSellOrder) String

func (m *MsgDeleteSellOrder) String() string

func (*MsgDeleteSellOrder) Type

func (msg *MsgDeleteSellOrder) Type() string

func (*MsgDeleteSellOrder) Unmarshal

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

func (*MsgDeleteSellOrder) ValidateBasic

func (msg *MsgDeleteSellOrder) ValidateBasic() error

func (*MsgDeleteSellOrder) XXX_DiscardUnknown

func (m *MsgDeleteSellOrder) XXX_DiscardUnknown()

func (*MsgDeleteSellOrder) XXX_Marshal

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

func (*MsgDeleteSellOrder) XXX_Merge

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

func (*MsgDeleteSellOrder) XXX_Size

func (m *MsgDeleteSellOrder) XXX_Size() int

func (*MsgDeleteSellOrder) XXX_Unmarshal

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

type MsgDeleteSellOrderResponse

type MsgDeleteSellOrderResponse struct {
}

func (*MsgDeleteSellOrderResponse) Descriptor

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

func (*MsgDeleteSellOrderResponse) Marshal

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

func (*MsgDeleteSellOrderResponse) MarshalTo

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

func (*MsgDeleteSellOrderResponse) MarshalToSizedBuffer

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

func (*MsgDeleteSellOrderResponse) ProtoMessage

func (*MsgDeleteSellOrderResponse) ProtoMessage()

func (*MsgDeleteSellOrderResponse) Reset

func (m *MsgDeleteSellOrderResponse) Reset()

func (*MsgDeleteSellOrderResponse) Size

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

func (*MsgDeleteSellOrderResponse) String

func (m *MsgDeleteSellOrderResponse) String() string

func (*MsgDeleteSellOrderResponse) Unmarshal

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

func (*MsgDeleteSellOrderResponse) XXX_DiscardUnknown

func (m *MsgDeleteSellOrderResponse) XXX_DiscardUnknown()

func (*MsgDeleteSellOrderResponse) XXX_Marshal

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

func (*MsgDeleteSellOrderResponse) XXX_Merge

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

func (*MsgDeleteSellOrderResponse) XXX_Size

func (m *MsgDeleteSellOrderResponse) XXX_Size() int

func (*MsgDeleteSellOrderResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	CreatePlaceOrder(context.Context, *MsgCreatePlaceOrder) (*MsgCreatePlaceOrderResponse, error)
	CreateSellOrder(context.Context, *MsgCreateSellOrder) (*MsgCreateSellOrderResponse, error)
	DeleteSellOrder(context.Context, *MsgDeleteSellOrder) (*MsgDeleteSellOrderResponse, error)
	CreateInvoice(context.Context, *MsgCreateInvoice) (*MsgCreateInvoiceResponse, error)
	DeleteInvoice(context.Context, *MsgDeleteInvoice) (*MsgDeleteInvoiceResponse, error)
}

MsgServer is the server API for Msg service.

type PlaceOrder

type PlaceOrder struct {
	Creator         github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	PlaceOrderIndex string                                        `protobuf:"bytes,2,opt,name=placeOrderIndex,proto3" json:"placeOrderIndex,omitempty"`
	SellOrderID     string                                        `protobuf:"bytes,3,opt,name=sellOrderID,proto3" json:"sellOrderID,omitempty"`
	Amount          github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	OrderStatus     Status                                        `protobuf:"varint,5,opt,name=OrderStatus,proto3,customtype=Status" json:"OrderStatus"`
	CreatedTime     time.Time                                     `protobuf:"bytes,6,opt,name=createdTime,proto3,stdtime" json:"createdTime"`
}

func (*PlaceOrder) Descriptor

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

func (*PlaceOrder) GetCreatedTime

func (m *PlaceOrder) GetCreatedTime() time.Time

func (*PlaceOrder) GetCreator

func (*PlaceOrder) GetPlaceOrderIndex

func (m *PlaceOrder) GetPlaceOrderIndex() string

func (*PlaceOrder) GetSellOrderID

func (m *PlaceOrder) GetSellOrderID() string

func (*PlaceOrder) Marshal

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

func (*PlaceOrder) MarshalTo

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

func (*PlaceOrder) MarshalToSizedBuffer

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

func (*PlaceOrder) ProtoMessage

func (*PlaceOrder) ProtoMessage()

func (*PlaceOrder) Reset

func (m *PlaceOrder) Reset()

func (*PlaceOrder) Size

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

func (*PlaceOrder) String

func (m *PlaceOrder) String() string

func (*PlaceOrder) Unmarshal

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

func (*PlaceOrder) XXX_DiscardUnknown

func (m *PlaceOrder) XXX_DiscardUnknown()

func (*PlaceOrder) XXX_Marshal

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

func (*PlaceOrder) XXX_Merge

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

func (*PlaceOrder) XXX_Size

func (m *PlaceOrder) XXX_Size() int

func (*PlaceOrder) XXX_Unmarshal

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

type QueryAllInvoiceRequest

type QueryAllInvoiceRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInvoiceRequest) Descriptor

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

func (*QueryAllInvoiceRequest) GetPagination

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

func (*QueryAllInvoiceRequest) Marshal

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

func (*QueryAllInvoiceRequest) MarshalTo

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

func (*QueryAllInvoiceRequest) MarshalToSizedBuffer

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

func (*QueryAllInvoiceRequest) ProtoMessage

func (*QueryAllInvoiceRequest) ProtoMessage()

func (*QueryAllInvoiceRequest) Reset

func (m *QueryAllInvoiceRequest) Reset()

func (*QueryAllInvoiceRequest) Size

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

func (*QueryAllInvoiceRequest) String

func (m *QueryAllInvoiceRequest) String() string

func (*QueryAllInvoiceRequest) Unmarshal

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

func (*QueryAllInvoiceRequest) XXX_DiscardUnknown

func (m *QueryAllInvoiceRequest) XXX_DiscardUnknown()

func (*QueryAllInvoiceRequest) XXX_Marshal

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

func (*QueryAllInvoiceRequest) XXX_Merge

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

func (*QueryAllInvoiceRequest) XXX_Size

func (m *QueryAllInvoiceRequest) XXX_Size() int

func (*QueryAllInvoiceRequest) XXX_Unmarshal

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

type QueryAllInvoiceResponse

type QueryAllInvoiceResponse struct {
	Invoice    []*Invoice          `protobuf:"bytes,1,rep,name=Invoice,proto3" json:"Invoice,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllInvoiceResponse) Descriptor

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

func (*QueryAllInvoiceResponse) GetInvoice

func (m *QueryAllInvoiceResponse) GetInvoice() []*Invoice

func (*QueryAllInvoiceResponse) GetPagination

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

func (*QueryAllInvoiceResponse) Marshal

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

func (*QueryAllInvoiceResponse) MarshalTo

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

func (*QueryAllInvoiceResponse) MarshalToSizedBuffer

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

func (*QueryAllInvoiceResponse) ProtoMessage

func (*QueryAllInvoiceResponse) ProtoMessage()

func (*QueryAllInvoiceResponse) Reset

func (m *QueryAllInvoiceResponse) Reset()

func (*QueryAllInvoiceResponse) Size

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

func (*QueryAllInvoiceResponse) String

func (m *QueryAllInvoiceResponse) String() string

func (*QueryAllInvoiceResponse) Unmarshal

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

func (*QueryAllInvoiceResponse) XXX_DiscardUnknown

func (m *QueryAllInvoiceResponse) XXX_DiscardUnknown()

func (*QueryAllInvoiceResponse) XXX_Marshal

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

func (*QueryAllInvoiceResponse) XXX_Merge

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

func (*QueryAllInvoiceResponse) XXX_Size

func (m *QueryAllInvoiceResponse) XXX_Size() int

func (*QueryAllInvoiceResponse) XXX_Unmarshal

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

type QueryAllPlaceOrderRequest

type QueryAllPlaceOrderRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPlaceOrderRequest) Descriptor

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

func (*QueryAllPlaceOrderRequest) GetPagination

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

func (*QueryAllPlaceOrderRequest) Marshal

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

func (*QueryAllPlaceOrderRequest) MarshalTo

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

func (*QueryAllPlaceOrderRequest) MarshalToSizedBuffer

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

func (*QueryAllPlaceOrderRequest) ProtoMessage

func (*QueryAllPlaceOrderRequest) ProtoMessage()

func (*QueryAllPlaceOrderRequest) Reset

func (m *QueryAllPlaceOrderRequest) Reset()

func (*QueryAllPlaceOrderRequest) Size

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

func (*QueryAllPlaceOrderRequest) String

func (m *QueryAllPlaceOrderRequest) String() string

func (*QueryAllPlaceOrderRequest) Unmarshal

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

func (*QueryAllPlaceOrderRequest) XXX_DiscardUnknown

func (m *QueryAllPlaceOrderRequest) XXX_DiscardUnknown()

func (*QueryAllPlaceOrderRequest) XXX_Marshal

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

func (*QueryAllPlaceOrderRequest) XXX_Merge

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

func (*QueryAllPlaceOrderRequest) XXX_Size

func (m *QueryAllPlaceOrderRequest) XXX_Size() int

func (*QueryAllPlaceOrderRequest) XXX_Unmarshal

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

type QueryAllPlaceOrderResponse

type QueryAllPlaceOrderResponse struct {
	PlaceOrder []*PlaceOrder       `protobuf:"bytes,1,rep,name=PlaceOrder,proto3" json:"PlaceOrder,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPlaceOrderResponse) Descriptor

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

func (*QueryAllPlaceOrderResponse) GetPagination

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

func (*QueryAllPlaceOrderResponse) GetPlaceOrder

func (m *QueryAllPlaceOrderResponse) GetPlaceOrder() []*PlaceOrder

func (*QueryAllPlaceOrderResponse) Marshal

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

func (*QueryAllPlaceOrderResponse) MarshalTo

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

func (*QueryAllPlaceOrderResponse) MarshalToSizedBuffer

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

func (*QueryAllPlaceOrderResponse) ProtoMessage

func (*QueryAllPlaceOrderResponse) ProtoMessage()

func (*QueryAllPlaceOrderResponse) Reset

func (m *QueryAllPlaceOrderResponse) Reset()

func (*QueryAllPlaceOrderResponse) Size

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

func (*QueryAllPlaceOrderResponse) String

func (m *QueryAllPlaceOrderResponse) String() string

func (*QueryAllPlaceOrderResponse) Unmarshal

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

func (*QueryAllPlaceOrderResponse) XXX_DiscardUnknown

func (m *QueryAllPlaceOrderResponse) XXX_DiscardUnknown()

func (*QueryAllPlaceOrderResponse) XXX_Marshal

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

func (*QueryAllPlaceOrderResponse) XXX_Merge

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

func (*QueryAllPlaceOrderResponse) XXX_Size

func (m *QueryAllPlaceOrderResponse) XXX_Size() int

func (*QueryAllPlaceOrderResponse) XXX_Unmarshal

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

type QueryAllSellOrderRequest

type QueryAllSellOrderRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSellOrderRequest) Descriptor

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

func (*QueryAllSellOrderRequest) GetPagination

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

func (*QueryAllSellOrderRequest) Marshal

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

func (*QueryAllSellOrderRequest) MarshalTo

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

func (*QueryAllSellOrderRequest) MarshalToSizedBuffer

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

func (*QueryAllSellOrderRequest) ProtoMessage

func (*QueryAllSellOrderRequest) ProtoMessage()

func (*QueryAllSellOrderRequest) Reset

func (m *QueryAllSellOrderRequest) Reset()

func (*QueryAllSellOrderRequest) Size

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

func (*QueryAllSellOrderRequest) String

func (m *QueryAllSellOrderRequest) String() string

func (*QueryAllSellOrderRequest) Unmarshal

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

func (*QueryAllSellOrderRequest) XXX_DiscardUnknown

func (m *QueryAllSellOrderRequest) XXX_DiscardUnknown()

func (*QueryAllSellOrderRequest) XXX_Marshal

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

func (*QueryAllSellOrderRequest) XXX_Merge

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

func (*QueryAllSellOrderRequest) XXX_Size

func (m *QueryAllSellOrderRequest) XXX_Size() int

func (*QueryAllSellOrderRequest) XXX_Unmarshal

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

type QueryAllSellOrderResponse

type QueryAllSellOrderResponse struct {
	SellOrder  []*SellOrder        `protobuf:"bytes,1,rep,name=SellOrder,proto3" json:"SellOrder,omitempty"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllSellOrderResponse) Descriptor

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

func (*QueryAllSellOrderResponse) GetPagination

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

func (*QueryAllSellOrderResponse) GetSellOrder

func (m *QueryAllSellOrderResponse) GetSellOrder() []*SellOrder

func (*QueryAllSellOrderResponse) Marshal

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

func (*QueryAllSellOrderResponse) MarshalTo

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

func (*QueryAllSellOrderResponse) MarshalToSizedBuffer

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

func (*QueryAllSellOrderResponse) ProtoMessage

func (*QueryAllSellOrderResponse) ProtoMessage()

func (*QueryAllSellOrderResponse) Reset

func (m *QueryAllSellOrderResponse) Reset()

func (*QueryAllSellOrderResponse) Size

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

func (*QueryAllSellOrderResponse) String

func (m *QueryAllSellOrderResponse) String() string

func (*QueryAllSellOrderResponse) Unmarshal

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

func (*QueryAllSellOrderResponse) XXX_DiscardUnknown

func (m *QueryAllSellOrderResponse) XXX_DiscardUnknown()

func (*QueryAllSellOrderResponse) XXX_Marshal

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

func (*QueryAllSellOrderResponse) XXX_Merge

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

func (*QueryAllSellOrderResponse) XXX_Size

func (m *QueryAllSellOrderResponse) XXX_Size() int

func (*QueryAllSellOrderResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Queries a placeOrder by index.
	PlaceOrder(ctx context.Context, in *QueryGetPlaceOrderRequest, opts ...grpc.CallOption) (*QueryGetPlaceOrderResponse, error)
	// Queries a list of placeOrder items.
	PlaceOrderAll(ctx context.Context, in *QueryAllPlaceOrderRequest, opts ...grpc.CallOption) (*QueryAllPlaceOrderResponse, error)
	// Queries a sellOrder by index.
	SellOrder(ctx context.Context, in *QueryGetSellOrderRequest, opts ...grpc.CallOption) (*QueryGetSellOrderResponse, error)
	// Queries a list of sellOrder items.
	SellOrderAll(ctx context.Context, in *QueryAllSellOrderRequest, opts ...grpc.CallOption) (*QueryAllSellOrderResponse, error)
	// Queries a invoice by index.
	Invoice(ctx context.Context, in *QueryGetInvoiceRequest, opts ...grpc.CallOption) (*QueryGetInvoiceResponse, error)
	// Queries a list of invoice items.
	InvoiceAll(ctx context.Context, in *QueryAllInvoiceRequest, opts ...grpc.CallOption) (*QueryAllInvoiceResponse, 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 QueryGetInvoiceRequest

type QueryGetInvoiceRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetInvoiceRequest) Descriptor

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

func (*QueryGetInvoiceRequest) GetIndex

func (m *QueryGetInvoiceRequest) GetIndex() string

func (*QueryGetInvoiceRequest) Marshal

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

func (*QueryGetInvoiceRequest) MarshalTo

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

func (*QueryGetInvoiceRequest) MarshalToSizedBuffer

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

func (*QueryGetInvoiceRequest) ProtoMessage

func (*QueryGetInvoiceRequest) ProtoMessage()

func (*QueryGetInvoiceRequest) Reset

func (m *QueryGetInvoiceRequest) Reset()

func (*QueryGetInvoiceRequest) Size

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

func (*QueryGetInvoiceRequest) String

func (m *QueryGetInvoiceRequest) String() string

func (*QueryGetInvoiceRequest) Unmarshal

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

func (*QueryGetInvoiceRequest) XXX_DiscardUnknown

func (m *QueryGetInvoiceRequest) XXX_DiscardUnknown()

func (*QueryGetInvoiceRequest) XXX_Marshal

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

func (*QueryGetInvoiceRequest) XXX_Merge

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

func (*QueryGetInvoiceRequest) XXX_Size

func (m *QueryGetInvoiceRequest) XXX_Size() int

func (*QueryGetInvoiceRequest) XXX_Unmarshal

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

type QueryGetInvoiceResponse

type QueryGetInvoiceResponse struct {
	Invoice *Invoice `protobuf:"bytes,1,opt,name=Invoice,proto3" json:"Invoice,omitempty"`
}

func (*QueryGetInvoiceResponse) Descriptor

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

func (*QueryGetInvoiceResponse) GetInvoice

func (m *QueryGetInvoiceResponse) GetInvoice() *Invoice

func (*QueryGetInvoiceResponse) Marshal

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

func (*QueryGetInvoiceResponse) MarshalTo

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

func (*QueryGetInvoiceResponse) MarshalToSizedBuffer

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

func (*QueryGetInvoiceResponse) ProtoMessage

func (*QueryGetInvoiceResponse) ProtoMessage()

func (*QueryGetInvoiceResponse) Reset

func (m *QueryGetInvoiceResponse) Reset()

func (*QueryGetInvoiceResponse) Size

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

func (*QueryGetInvoiceResponse) String

func (m *QueryGetInvoiceResponse) String() string

func (*QueryGetInvoiceResponse) Unmarshal

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

func (*QueryGetInvoiceResponse) XXX_DiscardUnknown

func (m *QueryGetInvoiceResponse) XXX_DiscardUnknown()

func (*QueryGetInvoiceResponse) XXX_Marshal

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

func (*QueryGetInvoiceResponse) XXX_Merge

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

func (*QueryGetInvoiceResponse) XXX_Size

func (m *QueryGetInvoiceResponse) XXX_Size() int

func (*QueryGetInvoiceResponse) XXX_Unmarshal

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

type QueryGetPlaceOrderRequest

type QueryGetPlaceOrderRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

this line is used by starport scaffolding # 3

func (*QueryGetPlaceOrderRequest) Descriptor

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

func (*QueryGetPlaceOrderRequest) GetIndex

func (m *QueryGetPlaceOrderRequest) GetIndex() string

func (*QueryGetPlaceOrderRequest) Marshal

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

func (*QueryGetPlaceOrderRequest) MarshalTo

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

func (*QueryGetPlaceOrderRequest) MarshalToSizedBuffer

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

func (*QueryGetPlaceOrderRequest) ProtoMessage

func (*QueryGetPlaceOrderRequest) ProtoMessage()

func (*QueryGetPlaceOrderRequest) Reset

func (m *QueryGetPlaceOrderRequest) Reset()

func (*QueryGetPlaceOrderRequest) Size

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

func (*QueryGetPlaceOrderRequest) String

func (m *QueryGetPlaceOrderRequest) String() string

func (*QueryGetPlaceOrderRequest) Unmarshal

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

func (*QueryGetPlaceOrderRequest) XXX_DiscardUnknown

func (m *QueryGetPlaceOrderRequest) XXX_DiscardUnknown()

func (*QueryGetPlaceOrderRequest) XXX_Marshal

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

func (*QueryGetPlaceOrderRequest) XXX_Merge

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

func (*QueryGetPlaceOrderRequest) XXX_Size

func (m *QueryGetPlaceOrderRequest) XXX_Size() int

func (*QueryGetPlaceOrderRequest) XXX_Unmarshal

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

type QueryGetPlaceOrderResponse

type QueryGetPlaceOrderResponse struct {
	PlaceOrder *PlaceOrder `protobuf:"bytes,1,opt,name=PlaceOrder,proto3" json:"PlaceOrder,omitempty"`
}

func (*QueryGetPlaceOrderResponse) Descriptor

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

func (*QueryGetPlaceOrderResponse) GetPlaceOrder

func (m *QueryGetPlaceOrderResponse) GetPlaceOrder() *PlaceOrder

func (*QueryGetPlaceOrderResponse) Marshal

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

func (*QueryGetPlaceOrderResponse) MarshalTo

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

func (*QueryGetPlaceOrderResponse) MarshalToSizedBuffer

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

func (*QueryGetPlaceOrderResponse) ProtoMessage

func (*QueryGetPlaceOrderResponse) ProtoMessage()

func (*QueryGetPlaceOrderResponse) Reset

func (m *QueryGetPlaceOrderResponse) Reset()

func (*QueryGetPlaceOrderResponse) Size

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

func (*QueryGetPlaceOrderResponse) String

func (m *QueryGetPlaceOrderResponse) String() string

func (*QueryGetPlaceOrderResponse) Unmarshal

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

func (*QueryGetPlaceOrderResponse) XXX_DiscardUnknown

func (m *QueryGetPlaceOrderResponse) XXX_DiscardUnknown()

func (*QueryGetPlaceOrderResponse) XXX_Marshal

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

func (*QueryGetPlaceOrderResponse) XXX_Merge

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

func (*QueryGetPlaceOrderResponse) XXX_Size

func (m *QueryGetPlaceOrderResponse) XXX_Size() int

func (*QueryGetPlaceOrderResponse) XXX_Unmarshal

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

type QueryGetSellOrderRequest

type QueryGetSellOrderRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetSellOrderRequest) Descriptor

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

func (*QueryGetSellOrderRequest) GetIndex

func (m *QueryGetSellOrderRequest) GetIndex() string

func (*QueryGetSellOrderRequest) Marshal

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

func (*QueryGetSellOrderRequest) MarshalTo

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

func (*QueryGetSellOrderRequest) MarshalToSizedBuffer

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

func (*QueryGetSellOrderRequest) ProtoMessage

func (*QueryGetSellOrderRequest) ProtoMessage()

func (*QueryGetSellOrderRequest) Reset

func (m *QueryGetSellOrderRequest) Reset()

func (*QueryGetSellOrderRequest) Size

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

func (*QueryGetSellOrderRequest) String

func (m *QueryGetSellOrderRequest) String() string

func (*QueryGetSellOrderRequest) Unmarshal

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

func (*QueryGetSellOrderRequest) XXX_DiscardUnknown

func (m *QueryGetSellOrderRequest) XXX_DiscardUnknown()

func (*QueryGetSellOrderRequest) XXX_Marshal

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

func (*QueryGetSellOrderRequest) XXX_Merge

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

func (*QueryGetSellOrderRequest) XXX_Size

func (m *QueryGetSellOrderRequest) XXX_Size() int

func (*QueryGetSellOrderRequest) XXX_Unmarshal

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

type QueryGetSellOrderResponse

type QueryGetSellOrderResponse struct {
	SellOrder *SellOrder `protobuf:"bytes,1,opt,name=SellOrder,proto3" json:"SellOrder,omitempty"`
}

func (*QueryGetSellOrderResponse) Descriptor

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

func (*QueryGetSellOrderResponse) GetSellOrder

func (m *QueryGetSellOrderResponse) GetSellOrder() *SellOrder

func (*QueryGetSellOrderResponse) Marshal

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

func (*QueryGetSellOrderResponse) MarshalTo

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

func (*QueryGetSellOrderResponse) MarshalToSizedBuffer

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

func (*QueryGetSellOrderResponse) ProtoMessage

func (*QueryGetSellOrderResponse) ProtoMessage()

func (*QueryGetSellOrderResponse) Reset

func (m *QueryGetSellOrderResponse) Reset()

func (*QueryGetSellOrderResponse) Size

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

func (*QueryGetSellOrderResponse) String

func (m *QueryGetSellOrderResponse) String() string

func (*QueryGetSellOrderResponse) Unmarshal

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

func (*QueryGetSellOrderResponse) XXX_DiscardUnknown

func (m *QueryGetSellOrderResponse) XXX_DiscardUnknown()

func (*QueryGetSellOrderResponse) XXX_Marshal

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

func (*QueryGetSellOrderResponse) XXX_Merge

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

func (*QueryGetSellOrderResponse) XXX_Size

func (m *QueryGetSellOrderResponse) XXX_Size() int

func (*QueryGetSellOrderResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Queries a placeOrder by index.
	PlaceOrder(context.Context, *QueryGetPlaceOrderRequest) (*QueryGetPlaceOrderResponse, error)
	// Queries a list of placeOrder items.
	PlaceOrderAll(context.Context, *QueryAllPlaceOrderRequest) (*QueryAllPlaceOrderResponse, error)
	// Queries a sellOrder by index.
	SellOrder(context.Context, *QueryGetSellOrderRequest) (*QueryGetSellOrderResponse, error)
	// Queries a list of sellOrder items.
	SellOrderAll(context.Context, *QueryAllSellOrderRequest) (*QueryAllSellOrderResponse, error)
	// Queries a invoice by index.
	Invoice(context.Context, *QueryGetInvoiceRequest) (*QueryGetInvoiceResponse, error)
	// Queries a list of invoice items.
	InvoiceAll(context.Context, *QueryAllInvoiceRequest) (*QueryAllInvoiceResponse, error)
}

QueryServer is the server API for Query service.

type SellOrder

type SellOrder struct {
	Creator      github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=creator,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"creator,omitempty"`
	SellOrderID  string                                        `protobuf:"bytes,2,opt,name=sellOrderID,proto3" json:"sellOrderID,omitempty"`
	InvoiceID    string                                        `protobuf:"bytes,3,opt,name=invoiceID,proto3" json:"invoiceID,omitempty"`
	Amount       github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Price        github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,5,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"price"`
	LeftAmount   github_com_cosmos_cosmos_sdk_types.Int        `protobuf:"bytes,6,opt,name=leftAmount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"leftAmount"`
	PriceRatio   string                                        `protobuf:"bytes,7,opt,name=priceRatio,proto3" json:"priceRatio,omitempty"`
	SellDuration time.Duration                                 `protobuf:"bytes,8,opt,name=sellDuration,proto3,stdduration" json:"sellDuration"`
	CreatedTime  time.Time                                     `protobuf:"bytes,9,opt,name=createdTime,proto3,stdtime" json:"createdTime"`
	IsDeleted    bool                                          `protobuf:"varint,10,opt,name=isDeleted,proto3" json:"isDeleted,omitempty"`
}

func (*SellOrder) Descriptor

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

func (*SellOrder) GetCreatedTime

func (m *SellOrder) GetCreatedTime() time.Time

func (*SellOrder) GetCreator

func (*SellOrder) GetInvoiceID

func (m *SellOrder) GetInvoiceID() string

func (*SellOrder) GetIsDeleted

func (m *SellOrder) GetIsDeleted() bool

func (*SellOrder) GetPriceRatio

func (m *SellOrder) GetPriceRatio() string

func (*SellOrder) GetSellDuration

func (m *SellOrder) GetSellDuration() time.Duration

func (*SellOrder) GetSellOrderID

func (m *SellOrder) GetSellOrderID() string

func (*SellOrder) Marshal

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

func (*SellOrder) MarshalTo

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

func (*SellOrder) MarshalToSizedBuffer

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

func (*SellOrder) ProtoMessage

func (*SellOrder) ProtoMessage()

func (*SellOrder) Reset

func (m *SellOrder) Reset()

func (*SellOrder) Size

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

func (*SellOrder) String

func (m *SellOrder) String() string

func (*SellOrder) Unmarshal

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

func (*SellOrder) XXX_DiscardUnknown

func (m *SellOrder) XXX_DiscardUnknown()

func (*SellOrder) XXX_Marshal

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

func (*SellOrder) XXX_Merge

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

func (*SellOrder) XXX_Size

func (m *SellOrder) XXX_Size() int

func (*SellOrder) XXX_Unmarshal

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

type Status

type Status int32
const (
	Success Status = iota
	Failed
)

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateInvoice

func (*UnimplementedMsgServer) CreatePlaceOrder

func (*UnimplementedMsgServer) CreateSellOrder

func (*UnimplementedMsgServer) DeleteInvoice

func (*UnimplementedMsgServer) DeleteSellOrder

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Invoice

func (*UnimplementedQueryServer) InvoiceAll

func (*UnimplementedQueryServer) PlaceOrder

func (*UnimplementedQueryServer) PlaceOrderAll

func (*UnimplementedQueryServer) SellOrder

func (*UnimplementedQueryServer) SellOrderAll

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL