keeper

package
v0.0.0-...-3aeaace Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSessionsIDBytes

func GetSessionsIDBytes(id uint64) []byte

GetSessionsIDBytes returns the byte representation of the ID

func GetSessionsIDFromBytes

func GetSessionsIDFromBytes(bz []byte) uint64

GetSessionsIDFromBytes returns ID in uint64 format from a byte array

func NewMsgServerImpl

func NewMsgServerImpl(keeper Keeper) types.MsgServer

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.Codec,
	storeKey,
	memKey storetypes.StoreKey,
	ps paramtypes.Subspace,

	didKeeper didKeeper.Keeper,
	micKeeper micKeeper.Keeper,
) *Keeper

func (Keeper) GetAccountRegistration

func (k Keeper) GetAccountRegistration(ctx sdk.Context, address string) (val types.AccountRegistration, found bool)

GetAccountRegistration returns an accountRegistration using address

func (Keeper) GetAccountRegistrationCount

func (k Keeper) GetAccountRegistrationCount(ctx sdk.Context) uint64

GetAccountRegistrationCount get the total number of accountRegistration

func (Keeper) GetAllAccountRegistration

func (k Keeper) GetAllAccountRegistration(ctx sdk.Context) []types.AccountRegistration

GetAllAccountRegistration returns all accountRegistration

func (Keeper) GetAllMarketData

func (k Keeper) GetAllMarketData(ctx sdk.Context) []types.MarketData

GetAllMarketData returns all marketData

func (Keeper) GetAllOrderMassStatus

func (k Keeper) GetAllOrderMassStatus(ctx sdk.Context) (list []types.OrderMassStatus)

GetAllOrderMassStatus returns all orderMassStatus

func (Keeper) GetAllQuote

func (k Keeper) GetAllQuote(ctx sdk.Context) (list []types.Quote)

GetAllQuote returns all quote

func (Keeper) GetAllSecurity

func (k Keeper) GetAllSecurity(ctx sdk.Context) (list []types.Security)

GetAllSecurity returns all security

func (Keeper) GetAllSecurityList

func (k Keeper) GetAllSecurityList(ctx sdk.Context) (list []types.SecurityList)

GetAllSecurityList returns all securityList

func (Keeper) GetAllSecurityStatus

func (k Keeper) GetAllSecurityStatus(ctx sdk.Context) (list []types.SecurityStatus)

GetAllSecurityStatus returns all securityStatus

func (Keeper) GetAllSecurityTypes

func (k Keeper) GetAllSecurityTypes(ctx sdk.Context) (list []types.SecurityTypes)

GetAllSecurityTypes returns all securityTypes

func (Keeper) GetAllSessions

func (k Keeper) GetAllSessions(ctx sdk.Context) (list []types.Sessions)

GetAllSessions returns all sessions

func (Keeper) GetAllTradeCapture

func (k Keeper) GetAllTradeCapture(ctx sdk.Context) (list []types.TradeCapture)

GetAllTradeCapture returns all tradeCapture

func (Keeper) GetAllTradingSession

func (k Keeper) GetAllTradingSession(ctx sdk.Context) (list []types.TradingSession)

GetAllTradingSession returns all tradingSession

func (Keeper) GetAllTradingSessionList

func (k Keeper) GetAllTradingSessionList(ctx sdk.Context) (list []types.TradingSessionList)

GetAllTradingSessionList returns all tradingSessionList

func (Keeper) GetMarketData

func (k Keeper) GetMarketData(ctx sdk.Context, mdReqID string) (val types.MarketData, found bool)

GetMarketData returns a marketData from its mdReqID

func (Keeper) GetMarketDataCount

func (k Keeper) GetMarketDataCount(ctx sdk.Context) uint64

GetMarketDataCount get the total number of marketData

func (Keeper) GetOrderMassStatus

func (k Keeper) GetOrderMassStatus(ctx sdk.Context, massStatusReqID string) (val types.OrderMassStatus, found bool)

GetOrderMassStatus returns a orderMassStatus from its id

func (Keeper) GetOrderMassStatusCount

func (k Keeper) GetOrderMassStatusCount(ctx sdk.Context) uint64

GetOrderMassStatusCount get the total number of orderMassStatus

func (Keeper) GetOrders

func (k Keeper) GetOrders(ctx sdk.Context, clOrdID string) (val types.Orders, found bool)

GetOrders returns an order using clOrdID

func (Keeper) GetOrdersCancelReject

func (k Keeper) GetOrdersCancelReject(ctx sdk.Context, clOrdID string) (val types.OrdersCancelReject, found bool)

GetOrdersCancelReject returns an ordersCancelReject using clOrdID

func (Keeper) GetOrdersCancelRequest

func (k Keeper) GetOrdersCancelRequest(ctx sdk.Context, clOrdID string) (val types.OrdersCancelRequest, found bool)

GetOrdersCancelRequest returns an ordersCancelRequest using clOrdID

func (Keeper) GetOrdersExecutionReport

func (k Keeper) GetOrdersExecutionReport(ctx sdk.Context, clOrdID string) (val types.OrdersExecutionReport, found bool)

GetOrdersExecutionReport returns an ordersExecutionReport using clOrdID

func (Keeper) GetParams

func (k Keeper) GetParams(ctx sdk.Context) types.Params

GetParams get all parameters as types.Params

func (Keeper) GetQuote

func (k Keeper) GetQuote(ctx sdk.Context, quoteReqID string) (val types.Quote, found bool)

GetQuote returns a quote from the store with quoteReqID

func (Keeper) GetSecurity

func (k Keeper) GetSecurity(ctx sdk.Context, securityReqID string) (val types.Security, found bool)

GetSecurity returns a security from its id

func (Keeper) GetSecurityCount

func (k Keeper) GetSecurityCount(ctx sdk.Context) uint64

GetSecurityCount get the total number of security

func (Keeper) GetSecurityList

func (k Keeper) GetSecurityList(ctx sdk.Context, securityReqID string) (val types.SecurityList, found bool)

GetSecurityList returns a securityList from its id

func (Keeper) GetSecurityListCount

func (k Keeper) GetSecurityListCount(ctx sdk.Context) uint64

GetSecurityListCount get the total number of securityList

func (Keeper) GetSecurityStatus

func (k Keeper) GetSecurityStatus(ctx sdk.Context, securityStatusReqID string) (val types.SecurityStatus, found bool)

GetSecurityStatus returns a securityStatus using securityStatusReqID

func (Keeper) GetSecurityStatusCount

func (k Keeper) GetSecurityStatusCount(ctx sdk.Context) uint64

GetSecurityStatusCount get the total number of securityStatus

func (Keeper) GetSecurityTypes

func (k Keeper) GetSecurityTypes(ctx sdk.Context, securityReqID string) (val types.SecurityTypes, found bool)

GetSecurityTypes returns a securityTypes using securityReqID

func (Keeper) GetSecurityTypesCount

func (k Keeper) GetSecurityTypesCount(ctx sdk.Context) uint64

GetSecurityTypesCount get the total number of securityTypes

func (Keeper) GetSessionLogout

func (k Keeper) GetSessionLogout(ctx sdk.Context, sessionID string) (val types.SessionLogout, found bool)

GetSessionLogout returns a sessionLogout from its session name

func (Keeper) GetSessionReject

func (k Keeper) GetSessionReject(ctx sdk.Context, sessionID string) (val types.SessionReject, found bool)

GetSessionReject returns a sessionReject from its sessionName

func (Keeper) GetSessions

func (k Keeper) GetSessions(ctx sdk.Context, sessionID string) (val types.Sessions, found bool)

GetSessions returns a sessions from its id

func (Keeper) GetSessionsCount

func (k Keeper) GetSessionsCount(ctx sdk.Context) uint64

GetSessionsCount get the total number of sessions

func (Keeper) GetTradeCapture

func (k Keeper) GetTradeCapture(ctx sdk.Context, tradeReportID string) (val types.TradeCapture, found bool)

GetTradeCapture returns a tradeCapture from its id

func (Keeper) GetTradeCaptureCount

func (k Keeper) GetTradeCaptureCount(ctx sdk.Context) uint64

GetTradeCaptureCount get the total number of tradeCapture

func (Keeper) GetTradingSession

func (k Keeper) GetTradingSession(ctx sdk.Context, tradSesReqID string) (val types.TradingSession, found bool)

GetTradingSession returns a tradingSession using tradSesReqID

func (Keeper) GetTradingSessionCount

func (k Keeper) GetTradingSessionCount(ctx sdk.Context) uint64

GetTradingSessionCount get the total number of tradingSession

func (Keeper) GetTradingSessionList

func (k Keeper) GetTradingSessionList(ctx sdk.Context, tradSesReqID string) (val types.TradingSessionList, found bool)

GetTradingSessionList returns a tradingSessionList using tradSesReqID

func (Keeper) GetTradingSessionListCount

func (k Keeper) GetTradingSessionListCount(ctx sdk.Context) uint64

GetTradingSessionListCount get the total number of tradingSessionList

func (Keeper) Logger

func (k Keeper) Logger(ctx sdk.Context) log.Logger

func (Keeper) Orders

func (Keeper) OrdersAll

func (Keeper) Params

func (Keeper) Quote

func (Keeper) QuoteAll

func (Keeper) QuotesBySessionID

Query quotes by sessionID

func (Keeper) RemoveAccountRegistration

func (k Keeper) RemoveAccountRegistration(ctx sdk.Context, address string)

RemoveAccountRegistration removes a accountRegistration from the store

func (Keeper) RemoveMarketData

func (k Keeper) RemoveMarketData(ctx sdk.Context, mdReqID string)

RemoveMarketData removes a marketData from the store

func (Keeper) RemoveOrderMassStatus

func (k Keeper) RemoveOrderMassStatus(ctx sdk.Context, massStatusReqID string)

RemoveOrderMassStatus removes a orderMassStatus from the store

func (Keeper) RemoveOrders

func (k Keeper) RemoveOrders(ctx sdk.Context, clOrdID string)

RemoveOrders removes an order from the store

func (Keeper) RemoveOrdersCancelReject

func (k Keeper) RemoveOrdersCancelReject(ctx sdk.Context, clOrdID string)

RemoveOrdersCancelReject removes an ordersCancelReject from the store

func (Keeper) RemoveOrdersCancelRequest

func (k Keeper) RemoveOrdersCancelRequest(ctx sdk.Context, clOrdID string)

RemoveOrdersCancelRequest removes an ordersCancelRequest from the store

func (Keeper) RemoveOrdersExecutionReport

func (k Keeper) RemoveOrdersExecutionReport(ctx sdk.Context, clOrdID string)

RemoveOrdersExecutionReport removes an ordersExecutionReport from the store

func (Keeper) RemoveQuote

func (k Keeper) RemoveQuote(ctx sdk.Context, quoteReqID string)

RemoveQuote removes a quote from the store

func (Keeper) RemoveSecurity

func (k Keeper) RemoveSecurity(ctx sdk.Context, securityReqID string)

RemoveSecurity removes a security from the store

func (Keeper) RemoveSecurityList

func (k Keeper) RemoveSecurityList(ctx sdk.Context, securityReqID string)

RemoveSecurityList removes a securityList from the store

func (Keeper) RemoveSecurityStatus

func (k Keeper) RemoveSecurityStatus(ctx sdk.Context, securityStatusReqID string)

RemoveSecurityStatus removes a securityStatus from the store

func (Keeper) RemoveSecurityTypes

func (k Keeper) RemoveSecurityTypes(ctx sdk.Context, securityReqID string)

RemoveSecurityTypes removes a securityTypes from the store

func (Keeper) RemoveSessions

func (k Keeper) RemoveSessions(ctx sdk.Context, sessionID string)

RemoveSessions removes a sessions from the store

func (Keeper) RemoveTradeCapture

func (k Keeper) RemoveTradeCapture(ctx sdk.Context, tradeReportID string)

RemoveTradeCapture removes a tradeCapture from the store

func (Keeper) RemoveTradingSession

func (k Keeper) RemoveTradingSession(ctx sdk.Context, tradSesReqID string)

RemoveTradingSession removes a tradingSession from the store

func (Keeper) RemoveTradingSessionList

func (k Keeper) RemoveTradingSessionList(ctx sdk.Context, tradSesReqID string)

RemoveTradingSessionList removes a tradingSessionList from the store

func (Keeper) SetAccountRegistration

func (k Keeper) SetAccountRegistration(ctx sdk.Context, address string, accountRegistration types.AccountRegistration)

SetAccountRegistration set a specific accountRegistration in the store

func (Keeper) SetAccountRegistrationCount

func (k Keeper) SetAccountRegistrationCount(ctx sdk.Context, count uint64)

SetAccountRegistrationCount set the total number of accountRegistration

func (Keeper) SetMarketData

func (k Keeper) SetMarketData(ctx sdk.Context, mdReqID string, marketData types.MarketData)

SetMarketData set a specific marketData in the store

func (Keeper) SetMarketDataCount

func (k Keeper) SetMarketDataCount(ctx sdk.Context, count uint64)

SetMarketDataCount set the total number of marketData

func (Keeper) SetOrderMassStatus

func (k Keeper) SetOrderMassStatus(ctx sdk.Context, massStatusReqID string, orderMassStatus types.OrderMassStatus)

SetOrderMassStatus set a specific orderMassStatus in the store

func (Keeper) SetOrderMassStatusCount

func (k Keeper) SetOrderMassStatusCount(ctx sdk.Context, count uint64)

SetOrderMassStatusCount set the total number of orderMassStatus

func (Keeper) SetOrders

func (k Keeper) SetOrders(ctx sdk.Context, clOrdID string, orders types.Orders)

SetOrders set a specific orders in the store

func (Keeper) SetOrdersCancelReject

func (k Keeper) SetOrdersCancelReject(ctx sdk.Context, clOrdID string, ordersCancelReject types.OrdersCancelReject)

SetOrdersCancelReject set a specific ordersCancelReject in the store

func (Keeper) SetOrdersCancelRequest

func (k Keeper) SetOrdersCancelRequest(ctx sdk.Context, clOrdID string, ordersCancelRequest types.OrdersCancelRequest)

SetOrdersCancelRequest set a specific ordersCancelRequest in the store

func (Keeper) SetOrdersExecutionReport

func (k Keeper) SetOrdersExecutionReport(ctx sdk.Context, clOrdID string, ordersExecutionReport types.OrdersExecutionReport)

SetOrdersExecutionReport set a specific ordersExecutionReport in the store

func (Keeper) SetParams

func (k Keeper) SetParams(ctx sdk.Context, params types.Params)

SetParams set the params

func (Keeper) SetQuote

func (k Keeper) SetQuote(ctx sdk.Context, quoteReqID string, quote types.Quote)

SetQuote set a specific quote in the store with quoteReqID

func (Keeper) SetSecurity

func (k Keeper) SetSecurity(ctx sdk.Context, securityReqID string, security types.Security)

SetSecurity set a specific security in the store

func (Keeper) SetSecurityCount

func (k Keeper) SetSecurityCount(ctx sdk.Context, count uint64)

SetSecurityCount set the total number of security

func (Keeper) SetSecurityList

func (k Keeper) SetSecurityList(ctx sdk.Context, securityReqID string, securityList types.SecurityList)

SetSecurityList set a specific securityList in the store

func (Keeper) SetSecurityListCount

func (k Keeper) SetSecurityListCount(ctx sdk.Context, count uint64)

SetSecurityListCount set the total number of securityList

func (Keeper) SetSecurityStatus

func (k Keeper) SetSecurityStatus(ctx sdk.Context, securityStatusReqID string, securityStatus types.SecurityStatus)

SetSecurityStatus set a specific securityStatus in the store

func (Keeper) SetSecurityStatusCount

func (k Keeper) SetSecurityStatusCount(ctx sdk.Context, count uint64)

SetSecurityStatusCount set the total number of securityStatus

func (Keeper) SetSecurityTypes

func (k Keeper) SetSecurityTypes(ctx sdk.Context, securityReqID string, securityTypes types.SecurityTypes)

SetSecurityTypes set a specific securityTypes in the store

func (Keeper) SetSecurityTypesCount

func (k Keeper) SetSecurityTypesCount(ctx sdk.Context, count uint64)

SetSecurityTypesCount set the total number of securityTypes

func (Keeper) SetSessionLogout

func (k Keeper) SetSessionLogout(ctx sdk.Context, sessionID string, sessionLogout types.SessionLogout)

SetSessionLogout set a specific sessionLogout in the store

func (Keeper) SetSessionReject

func (k Keeper) SetSessionReject(ctx sdk.Context, sessionID string, sessionReject types.SessionReject)

SetSessionReject set a specific sessionReject in the store

func (Keeper) SetSessions

func (k Keeper) SetSessions(ctx sdk.Context, sessionID string, sessions types.Sessions)

SetSessions set a specific sessions in the store

func (Keeper) SetSessionsCount

func (k Keeper) SetSessionsCount(ctx sdk.Context, count uint64)

SetSessionsCount set the total number of sessions

func (Keeper) SetTradeCapture

func (k Keeper) SetTradeCapture(ctx sdk.Context, tradeReportID string, tradeCapture types.TradeCapture)

SetTradeCapture set a specific tradeCapture in the store

func (Keeper) SetTradeCaptureCount

func (k Keeper) SetTradeCaptureCount(ctx sdk.Context, count uint64)

SetTradeCaptureCount set the total number of tradeCapture

func (Keeper) SetTradingSession

func (k Keeper) SetTradingSession(ctx sdk.Context, tradSesReqID string, tradingSession types.TradingSession)

SetTradingSession set a specific tradingSession in the store

func (Keeper) SetTradingSessionCount

func (k Keeper) SetTradingSessionCount(ctx sdk.Context, count uint64)

SetTradingSessionCount set the total number of tradingSession

func (Keeper) SetTradingSessionList

func (k Keeper) SetTradingSessionList(ctx sdk.Context, tradSesReqID string, tradingSessionList types.TradingSessionList)

SetTradingSessionList set a specific tradingSessionList in the store

func (Keeper) SetTradingSessionListCount

func (k Keeper) SetTradingSessionListCount(ctx sdk.Context, count uint64)

SetTradingSessionListCount set the total number of tradingSessionList

Jump to

Keyboard shortcuts

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