Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- type Keeper
- func (k Keeper) FulfillTheOrder(ctx sdk.Context, sender sdk.AccAddress, costPaid, amount sdk.Int, ...) error
- func (k Keeper) GetAddedSellOrder(ctx sdk.Context, index string) (val types.SellOrder, found bool)
- func (k Keeper) GetAllAddedSellOrder(ctx sdk.Context) (list []types.SellOrder)
- func (k Keeper) GetAllInvoice(ctx sdk.Context) (list []types.Invoice)
- func (k Keeper) GetAllPlaceOrder(ctx sdk.Context) (list []types.PlaceOrder)
- func (k Keeper) GetAllSellOrder(ctx sdk.Context) (list []types.SellOrder)
- func (k Keeper) GetInvoice(ctx sdk.Context, index string) (val types.Invoice, found bool)
- func (k Keeper) GetPlaceOrder(ctx sdk.Context, index string) (val types.PlaceOrder, found bool)
- func (k Keeper) GetSellOrder(ctx sdk.Context, index string) (val types.SellOrder, found bool)
- func (k Keeper) Invoice(c context.Context, req *types.QueryGetInvoiceRequest) (*types.QueryGetInvoiceResponse, error)
- func (k Keeper) InvoiceAll(c context.Context, req *types.QueryAllInvoiceRequest) (*types.QueryAllInvoiceResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) PlaceOrder(c context.Context, req *types.QueryGetPlaceOrderRequest) (*types.QueryGetPlaceOrderResponse, error)
- func (k Keeper) PlaceOrderAll(c context.Context, req *types.QueryAllPlaceOrderRequest) (*types.QueryAllPlaceOrderResponse, error)
- func (k Keeper) RemoveAddedSellOrder(ctx sdk.Context, index string)
- func (k Keeper) RemoveExpireInvoice(ctx sdk.Context) error
- func (k Keeper) RemoveInvoice(ctx sdk.Context, index string)
- func (k Keeper) RemovePlaceOrder(ctx sdk.Context, index string)
- func (k Keeper) RemoveSellOrder(ctx sdk.Context, index string)
- func (k Keeper) SellOrder(c context.Context, req *types.QueryGetSellOrderRequest) (*types.QueryGetSellOrderResponse, error)
- func (k Keeper) SellOrderAll(c context.Context, req *types.QueryAllSellOrderRequest) (*types.QueryAllSellOrderResponse, error)
- func (k Keeper) SetAddedSellOrder(ctx sdk.Context, sellOrder types.SellOrder)
- func (k Keeper) SetInvoice(ctx sdk.Context, invoice types.Invoice)
- func (k Keeper) SetPlaceOrder(ctx sdk.Context, placeOrder types.PlaceOrder)
- func (k Keeper) SetSellOrder(ctx sdk.Context, sellOrder types.SellOrder)
- func (k Keeper) TransferInvoice(ctx sdk.Context, claimedOwner sdk.AccAddress, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, bankKeeper types.BankKeeper, ) *Keeper
func (Keeper) FulfillTheOrder ¶
func (Keeper) GetAddedSellOrder ¶
GetAddedSellOrder returns a sellOrder from its index
func (Keeper) GetAllAddedSellOrder ¶
GetAllAddedSellOrder returns all sellOrder
func (Keeper) GetAllInvoice ¶
GetAllInvoice returns all invoice
func (Keeper) GetAllPlaceOrder ¶
func (k Keeper) GetAllPlaceOrder(ctx sdk.Context) (list []types.PlaceOrder)
GetAllPlaceOrder returns all placeOrder
func (Keeper) GetAllSellOrder ¶
GetAllSellOrder returns all sellOrder
func (Keeper) GetInvoice ¶
GetInvoice returns a invoice from its index
func (Keeper) GetPlaceOrder ¶
GetPlaceOrder returns a placeOrder from its index
func (Keeper) GetSellOrder ¶
GetSellOrder returns a sellOrder from its index
func (Keeper) Invoice ¶
func (k Keeper) Invoice(c context.Context, req *types.QueryGetInvoiceRequest) (*types.QueryGetInvoiceResponse, error)
func (Keeper) InvoiceAll ¶
func (k Keeper) InvoiceAll(c context.Context, req *types.QueryAllInvoiceRequest) (*types.QueryAllInvoiceResponse, error)
func (Keeper) PlaceOrder ¶
func (k Keeper) PlaceOrder(c context.Context, req *types.QueryGetPlaceOrderRequest) (*types.QueryGetPlaceOrderResponse, error)
func (Keeper) PlaceOrderAll ¶
func (k Keeper) PlaceOrderAll(c context.Context, req *types.QueryAllPlaceOrderRequest) (*types.QueryAllPlaceOrderResponse, error)
func (Keeper) RemoveAddedSellOrder ¶
RemoveAddedSellOrder removes a sellOrder from the store
func (Keeper) RemoveInvoice ¶
RemoveInvoice removes an invoice from the store
func (Keeper) RemovePlaceOrder ¶
RemovePlaceOrder removes a placeOrder from the store
func (Keeper) RemoveSellOrder ¶
RemoveSellOrder removes a sellOrder from the store
func (Keeper) SellOrder ¶
func (k Keeper) SellOrder(c context.Context, req *types.QueryGetSellOrderRequest) (*types.QueryGetSellOrderResponse, error)
func (Keeper) SellOrderAll ¶
func (k Keeper) SellOrderAll(c context.Context, req *types.QueryAllSellOrderRequest) (*types.QueryAllSellOrderResponse, error)
func (Keeper) SetAddedSellOrder ¶
SetAddedSellOrder set a specific sellOrder in the store from its index
func (Keeper) SetInvoice ¶
SetInvoice set a specific invoice in the store from its index
func (Keeper) SetPlaceOrder ¶
func (k Keeper) SetPlaceOrder(ctx sdk.Context, placeOrder types.PlaceOrder)
SetPlaceOrder set a specific placeOrder in the store from its index
func (Keeper) SetSellOrder ¶
SetSellOrder set a specific sellOrder in the store from its index