Documentation ¶
Index ¶
- type AnteDecorator
- type AppOptions
- type BankKeeper
- func (_m *BankKeeper) AllBalances(_a0 context.Context, _a1 *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error)
- func (_m *BankKeeper) Balance(_a0 context.Context, _a1 *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error)
- func (_m *BankKeeper) BlockedAddr(addr cosmos_sdktypes.AccAddress) bool
- func (_m *BankKeeper) BurnCoins(ctx cosmos_sdktypes.Context, moduleName string, amt cosmos_sdktypes.Coins) error
- func (_m *BankKeeper) DelegateCoins(ctx cosmos_sdktypes.Context, delegatorAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) DelegateCoinsFromAccountToModule(ctx cosmos_sdktypes.Context, senderAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) DeleteSendEnabled(ctx cosmos_sdktypes.Context, denoms ...string)
- func (_m *BankKeeper) DenomMetadata(_a0 context.Context, _a1 *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error)
- func (_m *BankKeeper) DenomOwners(_a0 context.Context, _a1 *types.QueryDenomOwnersRequest) (*types.QueryDenomOwnersResponse, error)
- func (_m *BankKeeper) DenomsMetadata(_a0 context.Context, _a1 *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error)
- func (_m *BankKeeper) ExportGenesis(_a0 cosmos_sdktypes.Context) *types.GenesisState
- func (_m *BankKeeper) GetAccountsBalances(ctx cosmos_sdktypes.Context) []types.Balance
- func (_m *BankKeeper) GetAllBalances(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
- func (_m *BankKeeper) GetAllDenomMetaData(ctx cosmos_sdktypes.Context) []types.Metadata
- func (_m *BankKeeper) GetAllSendEnabledEntries(ctx cosmos_sdktypes.Context) []types.SendEnabled
- func (_m *BankKeeper) GetAuthority() string
- func (_m *BankKeeper) GetBalance(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
- func (_m *BankKeeper) GetBlockedAddresses() map[string]bool
- func (_m *BankKeeper) GetDenomMetaData(ctx cosmos_sdktypes.Context, denom string) (types.Metadata, bool)
- func (_m *BankKeeper) GetPaginatedTotalSupply(ctx cosmos_sdktypes.Context, pagination *query.PageRequest) (cosmos_sdktypes.Coins, *query.PageResponse, error)
- func (_m *BankKeeper) GetParams(ctx cosmos_sdktypes.Context) types.Params
- func (_m *BankKeeper) GetSendEnabledEntry(ctx cosmos_sdktypes.Context, denom string) (types.SendEnabled, bool)
- func (_m *BankKeeper) GetSupply(ctx cosmos_sdktypes.Context, denom string) cosmos_sdktypes.Coin
- func (_m *BankKeeper) HasBalance(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, ...) bool
- func (_m *BankKeeper) HasDenomMetaData(ctx cosmos_sdktypes.Context, denom string) bool
- func (_m *BankKeeper) HasSupply(ctx cosmos_sdktypes.Context, denom string) bool
- func (_m *BankKeeper) InitGenesis(_a0 cosmos_sdktypes.Context, _a1 *types.GenesisState)
- func (_m *BankKeeper) InputOutputCoins(ctx cosmos_sdktypes.Context, inputs []types.Input, outputs []types.Output) error
- func (_m *BankKeeper) IsSendEnabledCoin(ctx cosmos_sdktypes.Context, coin cosmos_sdktypes.Coin) bool
- func (_m *BankKeeper) IsSendEnabledCoins(ctx cosmos_sdktypes.Context, coins ...cosmos_sdktypes.Coin) error
- func (_m *BankKeeper) IsSendEnabledDenom(ctx cosmos_sdktypes.Context, denom string) bool
- func (_m *BankKeeper) IterateAccountBalances(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, ...)
- func (_m *BankKeeper) IterateAllBalances(ctx cosmos_sdktypes.Context, ...)
- func (_m *BankKeeper) IterateAllDenomMetaData(ctx cosmos_sdktypes.Context, cb func(types.Metadata) bool)
- func (_m *BankKeeper) IterateSendEnabledEntries(ctx cosmos_sdktypes.Context, cb func(string, bool) bool)
- func (_m *BankKeeper) IterateTotalSupply(ctx cosmos_sdktypes.Context, cb func(cosmos_sdktypes.Coin) bool)
- func (_m *BankKeeper) LockedCoins(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
- func (_m *BankKeeper) MintCoins(ctx cosmos_sdktypes.Context, moduleName string, amt cosmos_sdktypes.Coins) error
- func (_m *BankKeeper) Params(_a0 context.Context, _a1 *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (_m *BankKeeper) SendCoins(ctx cosmos_sdktypes.Context, fromAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx cosmos_sdktypes.Context, senderAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx cosmos_sdktypes.Context, senderModule string, ...) error
- func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx cosmos_sdktypes.Context, senderModule string, recipientModule string, ...) error
- func (_m *BankKeeper) SendEnabled(_a0 context.Context, _a1 *types.QuerySendEnabledRequest) (*types.QuerySendEnabledResponse, error)
- func (_m *BankKeeper) SetAllSendEnabled(ctx cosmos_sdktypes.Context, sendEnableds []*types.SendEnabled)
- func (_m *BankKeeper) SetDenomMetaData(ctx cosmos_sdktypes.Context, denomMetaData types.Metadata)
- func (_m *BankKeeper) SetParams(ctx cosmos_sdktypes.Context, params types.Params) error
- func (_m *BankKeeper) SetSendEnabled(ctx cosmos_sdktypes.Context, denom string, value bool)
- func (_m *BankKeeper) SpendableBalanceByDenom(_a0 context.Context, _a1 *types.QuerySpendableBalanceByDenomRequest) (*types.QuerySpendableBalanceByDenomResponse, error)
- func (_m *BankKeeper) SpendableBalances(_a0 context.Context, _a1 *types.QuerySpendableBalancesRequest) (*types.QuerySpendableBalancesResponse, error)
- func (_m *BankKeeper) SpendableCoin(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
- func (_m *BankKeeper) SpendableCoins(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
- func (_m *BankKeeper) SupplyOf(_a0 context.Context, _a1 *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error)
- func (_m *BankKeeper) TotalSupply(_a0 context.Context, _a1 *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error)
- func (_m *BankKeeper) UndelegateCoins(ctx cosmos_sdktypes.Context, moduleAccAddr cosmos_sdktypes.AccAddress, ...) error
- func (_m *BankKeeper) UndelegateCoinsFromModuleToAccount(ctx cosmos_sdktypes.Context, senderModule string, ...) error
- func (_m *BankKeeper) ValidateBalance(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) error
- func (_m *BankKeeper) WithMintCoinsRestriction(_a0 keeper.MintingRestrictionFn) keeper.BaseKeeper
- type BridgeKeeper
- func (_m *BridgeKeeper) AcknowledgeBridges(ctx types.Context, bridges []bridgetypes.BridgeEvent) error
- func (_m *BridgeKeeper) CompleteBridge(ctx types.Context, bridges bridgetypes.BridgeEvent) error
- func (_m *BridgeKeeper) GetAcknowledgedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
- func (_m *BridgeKeeper) GetEventParams(ctx types.Context) bridgetypes.EventParams
- func (_m *BridgeKeeper) GetProposeParams(ctx types.Context) bridgetypes.ProposeParams
- func (_m *BridgeKeeper) GetRecognizedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
- func (_m *BridgeKeeper) GetSafetyParams(ctx types.Context) bridgetypes.SafetyParams
- func (_m *BridgeKeeper) HasAuthority(authority string) bool
- func (_m *BridgeKeeper) UpdateEventParams(ctx types.Context, params bridgetypes.EventParams) error
- func (_m *BridgeKeeper) UpdateProposeParams(ctx types.Context, params bridgetypes.ProposeParams) error
- func (_m *BridgeKeeper) UpdateSafetyParams(ctx types.Context, params bridgetypes.SafetyParams) error
- type BridgeQueryClient
- func (_m *BridgeQueryClient) AcknowledgedEventInfo(ctx context.Context, in *types.QueryAcknowledgedEventInfoRequest, ...) (*types.QueryAcknowledgedEventInfoResponse, error)
- func (_m *BridgeQueryClient) DelayedCompleteBridgeMessages(ctx context.Context, in *types.QueryDelayedCompleteBridgeMessagesRequest, ...) (*types.QueryDelayedCompleteBridgeMessagesResponse, error)
- func (_m *BridgeQueryClient) EventParams(ctx context.Context, in *types.QueryEventParamsRequest, ...) (*types.QueryEventParamsResponse, error)
- func (_m *BridgeQueryClient) ProposeParams(ctx context.Context, in *types.QueryProposeParamsRequest, ...) (*types.QueryProposeParamsResponse, error)
- func (_m *BridgeQueryClient) RecognizedEventInfo(ctx context.Context, in *types.QueryRecognizedEventInfoRequest, ...) (*types.QueryRecognizedEventInfoResponse, error)
- func (_m *BridgeQueryClient) SafetyParams(ctx context.Context, in *types.QuerySafetyParamsRequest, ...) (*types.QuerySafetyParamsResponse, error)
- type BridgeServiceClient
- type CacheMultiStore
- func (_m *CacheMultiStore) CacheMultiStore() types.CacheMultiStore
- func (_m *CacheMultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
- func (_m *CacheMultiStore) CacheWrap() types.CacheWrap
- func (_m *CacheMultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (_m *CacheMultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
- func (_m *CacheMultiStore) GetStore(_a0 types.StoreKey) types.Store
- func (_m *CacheMultiStore) GetStoreType() types.StoreType
- func (_m *CacheMultiStore) LatestVersion() int64
- func (_m *CacheMultiStore) SetTracer(w io.Writer) types.MultiStore
- func (_m *CacheMultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
- func (_m *CacheMultiStore) TracingEnabled() bool
- func (_m *CacheMultiStore) Write()
- type ClobKeeper
- func (_m *ClobKeeper) AddOrderToOrderbookCollatCheck(ctx types.Context, clobPairId clobtypes.ClobPairId, ...) (bool, map[subaccountstypes.SubaccountId]subaccountstypes.UpdateResult)
- func (_m *ClobKeeper) CancelShortTermOrder(ctx types.Context, msg *clobtypes.MsgCancelOrder) error
- func (_m *ClobKeeper) CancelStatefulOrder(ctx types.Context, msg *clobtypes.MsgCancelOrder) error
- func (_m *ClobKeeper) ConvertFillablePriceToSubticks(ctx types.Context, fillablePrice *big.Rat, isLiquidatingLong bool, ...) clobtypes.Subticks
- func (_m *ClobKeeper) CreatePerpetualClobPair(ctx types.Context, clobPairId uint32, perpetualId uint32, ...) (clobtypes.ClobPair, error)
- func (_m *ClobKeeper) DeleteLongTermOrderPlacement(ctx types.Context, orderId clobtypes.OrderId)
- func (_m *ClobKeeper) GetAllClobPairs(ctx types.Context) []clobtypes.ClobPair
- func (_m *ClobKeeper) GetBankruptcyPriceInQuoteQuantums(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Int, error)
- func (_m *ClobKeeper) GetClobPair(ctx types.Context, id clobtypes.ClobPairId) (clobtypes.ClobPair, bool)
- func (_m *ClobKeeper) GetFillablePrice(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Rat, error)
- func (_m *ClobKeeper) GetIndexerEventManager() indexer_manager.IndexerEventManager
- func (_m *ClobKeeper) GetInsuranceFundBalance(ctx types.Context) *big.Int
- func (_m *ClobKeeper) GetLiquidationInsuranceFundDelta(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Int, error)
- func (_m *ClobKeeper) GetLiquidationsConfig(ctx types.Context) clobtypes.LiquidationsConfig
- func (_m *ClobKeeper) GetLongTermOrderPlacement(ctx types.Context, orderId clobtypes.OrderId) (clobtypes.LongTermOrderPlacement, bool)
- func (_m *ClobKeeper) GetMaxAndMinPositionNotionalLiquidatable(ctx types.Context, positionToLiquidate *subaccountstypes.PerpetualPosition) (*big.Int, *big.Int, error)
- func (_m *ClobKeeper) GetPerpetualPositionToLiquidate(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (uint32, *big.Int, error)
- func (_m *ClobKeeper) GetProcessProposerMatchesEvents(ctx types.Context) clobtypes.ProcessProposerMatchesEvents
- func (_m *ClobKeeper) GetStatePosition(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) *big.Int
- func (_m *ClobKeeper) GetStatefulOrdersTimeSlice(ctx types.Context, goodTilBlockTime time.Time) []clobtypes.OrderId
- func (_m *ClobKeeper) GetSubaccountLiquidationInfo(ctx types.Context, subaccountId subaccountstypes.SubaccountId) clobtypes.SubaccountLiquidationInfo
- func (_m *ClobKeeper) GetSubaccountMaxInsuranceLost(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Int, error)
- func (_m *ClobKeeper) GetSubaccountMaxNotionalLiquidatable(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Int, error)
- func (_m *ClobKeeper) HasAuthority(authority string) bool
- func (_m *ClobKeeper) InitializeBlockRateLimit(ctx types.Context, config clobtypes.BlockRateLimitConfiguration) error
- func (_m *ClobKeeper) InitializeEquityTierLimit(ctx types.Context, config clobtypes.EquityTierLimitConfiguration) error
- func (_m *ClobKeeper) IsLiquidatable(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (bool, error)
- func (_m *ClobKeeper) Logger(ctx types.Context) log.Logger
- func (_m *ClobKeeper) MaybeDeleverageSubaccount(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Int, error)
- func (_m *ClobKeeper) MaybeGetLiquidationOrder(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (*clobtypes.LiquidationOrder, error)
- func (_m *ClobKeeper) MustAddOrderToStatefulOrdersTimeSlice(ctx types.Context, goodTilBlockTime time.Time, orderId clobtypes.OrderId)
- func (_m *ClobKeeper) MustRemoveStatefulOrder(ctx types.Context, orderId clobtypes.OrderId)
- func (_m *ClobKeeper) MustSetProcessProposerMatchesEvents(ctx types.Context, ...)
- func (_m *ClobKeeper) MustUpdateSubaccountPerpetualLiquidated(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...)
- func (_m *ClobKeeper) PerformOrderCancellationStatefulValidation(ctx types.Context, msgCancelOrder *clobtypes.MsgCancelOrder, ...) error
- func (_m *ClobKeeper) PerformStatefulOrderValidation(ctx types.Context, order *clobtypes.Order, blockHeight uint32, ...) error
- func (_m *ClobKeeper) PlacePerpetualLiquidation(ctx types.Context, liquidationOrder clobtypes.LiquidationOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, error)
- func (_m *ClobKeeper) PlaceShortTermOrder(ctx types.Context, msg *clobtypes.MsgPlaceOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, error)
- func (_m *ClobKeeper) PlaceStatefulOrder(ctx types.Context, msg *clobtypes.MsgPlaceOrder) error
- func (_m *ClobKeeper) ProcessProposerOperations(ctx types.Context, operations []clobtypes.OperationRaw) error
- func (_m *ClobKeeper) ProcessSingleMatch(ctx types.Context, matchWithOrders *clobtypes.MatchWithOrders) (bool, subaccountstypes.UpdateResult, subaccountstypes.UpdateResult, ...)
- func (_m *ClobKeeper) PruneStateFillAmountsForShortTermOrders(ctx types.Context)
- func (_m *ClobKeeper) RateLimitCancelOrder(ctx types.Context, order *clobtypes.MsgCancelOrder) error
- func (_m *ClobKeeper) RateLimitPlaceOrder(ctx types.Context, order *clobtypes.MsgPlaceOrder) error
- func (_m *ClobKeeper) RemoveClobPair(ctx types.Context, id clobtypes.ClobPairId)
- func (_m *ClobKeeper) RemoveExpiredStatefulOrdersTimeSlices(ctx types.Context, blockTime time.Time) []clobtypes.OrderId
- func (_m *ClobKeeper) RemoveOrderFillAmount(ctx types.Context, orderId clobtypes.OrderId)
- func (_m *ClobKeeper) SetLongTermOrderPlacement(ctx types.Context, order clobtypes.Order, blockHeight uint32)
- func (_m *ClobKeeper) UpdateClobPair(ctx types.Context, clobPair clobtypes.ClobPair) error
- func (_m *ClobKeeper) UpdateLiquidationsConfig(ctx types.Context, config clobtypes.LiquidationsConfig) error
- func (_m *ClobKeeper) UpdateSubaccountLiquidationInfo(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...)
- type Configurator
- type DelayMsgKeeper
- func (_m *DelayMsgKeeper) DelayMessageByBlocks(ctx types.Context, msg types.Msg, blockDelay uint32) (uint32, error)
- func (_m *DelayMsgKeeper) DeleteMessage(ctx types.Context, id uint32) error
- func (_m *DelayMsgKeeper) GetAllDelayedMessages(ctx types.Context) []*delaymsgtypes.DelayedMessage
- func (_m *DelayMsgKeeper) GetBlockMessageIds(ctx types.Context, blockHeight int64) (delaymsgtypes.BlockMessageIds, bool)
- func (_m *DelayMsgKeeper) GetMessage(ctx types.Context, id uint32) (delaymsgtypes.DelayedMessage, bool)
- func (_m *DelayMsgKeeper) HasAuthority(authority string) bool
- func (_m *DelayMsgKeeper) Logger(ctx types.Context) log.Logger
- func (_m *DelayMsgKeeper) Router() lib.MsgRouter
- func (_m *DelayMsgKeeper) SetDelayedMessage(ctx types.Context, msg *delaymsgtypes.DelayedMessage) error
- func (_m *DelayMsgKeeper) SetNumMessages(ctx types.Context, numMessages uint32)
- type EthClient
- type ExchangeConfigUpdater
- type ExchangeQueryHandler
- type FileHandler
- type GrpcClient
- type GrpcServer
- type IndexerEventManager
- func (_m *IndexerEventManager) AddBlockEvent(ctx types.Context, subType string, data string, ...)
- func (_m *IndexerEventManager) AddTxnEvent(ctx types.Context, subType string, data string, version uint32)
- func (_m *IndexerEventManager) ClearEvents(ctx types.Context)
- func (_m *IndexerEventManager) Enabled() bool
- func (_m *IndexerEventManager) ProduceBlock(ctx types.Context) *indexer_manager.IndexerTendermintBlock
- func (_m *IndexerEventManager) SendOffchainData(message msgsender.Message)
- func (_m *IndexerEventManager) SendOnchainData(block *indexer_manager.IndexerTendermintBlock)
- type IndexerMessageSender
- type InterfaceRegistry
- func (_m *InterfaceRegistry) EnsureRegistered(iface interface{}) error
- func (_m *InterfaceRegistry) ListAllInterfaces() []string
- func (_m *InterfaceRegistry) ListImplementations(ifaceTypeURL string) []string
- func (_m *InterfaceRegistry) RegisterImplementations(iface interface{}, impls ...proto.Message)
- func (_m *InterfaceRegistry) RegisterInterface(protoName string, iface interface{}, impls ...proto.Message)
- func (_m *InterfaceRegistry) Resolve(typeUrl string) (proto.Message, error)
- func (_m *InterfaceRegistry) UnpackAny(any *types.Any, iface interface{}) error
- type Logger
- type Marshaler
- type MemClob
- func (_m *MemClob) CancelOrder(ctx types.Context, msgCancelOrder *clobtypes.MsgCancelOrder) (*clobtypes.OffchainUpdates, error)
- func (_m *MemClob) CountSubaccountOrders(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) uint32
- func (_m *MemClob) CreateOrderbook(ctx types.Context, clobPair clobtypes.ClobPair)
- func (_m *MemClob) DeleverageSubaccount(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) (*big.Int, error)
- func (_m *MemClob) GetCancelOrder(ctx types.Context, orderId clobtypes.OrderId) (uint32, bool)
- func (_m *MemClob) GetMidPrice(ctx types.Context, clobPairId clobtypes.ClobPairId) (clobtypes.Subticks, bool)
- func (_m *MemClob) GetOperationsRaw(ctx types.Context) []clobtypes.OperationRaw
- func (_m *MemClob) GetOperationsToReplay(ctx types.Context) ([]clobtypes.InternalOperation, map[clobtypes.OrderHash][]byte)
- func (_m *MemClob) GetOrder(ctx types.Context, orderId clobtypes.OrderId) (clobtypes.Order, bool)
- func (_m *MemClob) GetOrderFilledAmount(ctx types.Context, orderId clobtypes.OrderId) subaccountstypes.BaseQuantums
- func (_m *MemClob) GetOrderRemainingAmount(ctx types.Context, order clobtypes.Order) (subaccountstypes.BaseQuantums, bool)
- func (_m *MemClob) GetPricePremium(ctx types.Context, clobPair clobtypes.ClobPair, ...) (int32, error)
- func (_m *MemClob) GetSubaccountOrders(ctx types.Context, clobPairId clobtypes.ClobPairId, ...) ([]clobtypes.Order, error)
- func (_m *MemClob) PlaceOrder(ctx types.Context, order clobtypes.Order) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, ...)
- func (_m *MemClob) PlacePerpetualLiquidation(ctx types.Context, liquidationOrder clobtypes.LiquidationOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, ...)
- func (_m *MemClob) PurgeInvalidMemclobState(ctx types.Context, fullyFilledOrderIds []clobtypes.OrderId, ...) *clobtypes.OffchainUpdates
- func (_m *MemClob) RemoveAndClearOperationsQueue(ctx types.Context, localValidatorOperationsQueue []clobtypes.InternalOperation)
- func (_m *MemClob) RemoveOrderIfFilled(ctx types.Context, orderId clobtypes.OrderId)
- func (_m *MemClob) ReplayOperations(ctx types.Context, localOperations []clobtypes.InternalOperation, ...) *clobtypes.OffchainUpdates
- func (_m *MemClob) SetClobKeeper(keeper clobtypes.MemClobKeeper)
- func (_m *MemClob) SetMemclobGauges(ctx types.Context)
- type MemClobKeeper
- func (_m *MemClobKeeper) AddOrderToOrderbookCollatCheck(ctx types.Context, clobPairId clobtypes.ClobPairId, ...) (bool, map[subaccountstypes.SubaccountId]subaccountstypes.UpdateResult)
- func (_m *MemClobKeeper) CanDeleverageSubaccount(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (bool, error)
- func (_m *MemClobKeeper) CancelShortTermOrder(ctx types.Context, msgCancelOrder *clobtypes.MsgCancelOrder) error
- func (_m *MemClobKeeper) GetIndexerEventManager() indexer_manager.IndexerEventManager
- func (_m *MemClobKeeper) GetLongTermOrderPlacement(ctx types.Context, orderId clobtypes.OrderId) (clobtypes.LongTermOrderPlacement, bool)
- func (_m *MemClobKeeper) GetOrderFillAmount(ctx types.Context, orderId clobtypes.OrderId) (bool, subaccountstypes.BaseQuantums, uint32)
- func (_m *MemClobKeeper) GetStatePosition(ctx types.Context, subaccountId subaccountstypes.SubaccountId, ...) *big.Int
- func (_m *MemClobKeeper) IsLiquidatable(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (bool, error)
- func (_m *MemClobKeeper) Logger(ctx types.Context) log.Logger
- func (_m *MemClobKeeper) MustAddOrderToStatefulOrdersTimeSlice(ctx types.Context, goodTilBlockTime time.Time, orderId clobtypes.OrderId)
- func (_m *MemClobKeeper) OffsetSubaccountPerpetualPosition(ctx types.Context, liquidatedSubaccountId subaccountstypes.SubaccountId, ...) ([]clobtypes.MatchPerpetualDeleveraging_Fill, *big.Int)
- func (_m *MemClobKeeper) ProcessSingleMatch(ctx types.Context, matchWithOrders *clobtypes.MatchWithOrders) (bool, subaccountstypes.UpdateResult, subaccountstypes.UpdateResult, ...)
- func (_m *MemClobKeeper) ReplayPlaceOrder(ctx types.Context, msg *clobtypes.MsgPlaceOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, ...)
- func (_m *MemClobKeeper) SetLongTermOrderPlacement(ctx types.Context, order clobtypes.Order, blockHeight uint32)
- func (_m *MemClobKeeper) ValidateSubaccountEquityTierLimitForNewOrder(ctx types.Context, order clobtypes.Order) error
- type MsgRouter
- type MultiStore
- func (_m *MultiStore) CacheMultiStore() types.CacheMultiStore
- func (_m *MultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
- func (_m *MultiStore) CacheWrap() types.CacheWrap
- func (_m *MultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
- func (_m *MultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
- func (_m *MultiStore) GetStore(_a0 types.StoreKey) types.Store
- func (_m *MultiStore) GetStoreType() types.StoreType
- func (_m *MultiStore) LatestVersion() int64
- func (_m *MultiStore) SetTracer(w io.Writer) types.MultiStore
- func (_m *MultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
- func (_m *MultiStore) TracingEnabled() bool
- type PerpetualsClobKeeper
- type PerpetualsKeeper
- func (_m *PerpetualsKeeper) AddPremiumVotes(ctx types.Context, votes []perpetualstypes.FundingPremium) error
- func (_m *PerpetualsKeeper) CreatePerpetual(ctx types.Context, id uint32, ticker string, marketId uint32, ...) (perpetualstypes.Perpetual, error)
- func (_m *PerpetualsKeeper) GetAddPremiumVotes(ctx types.Context) *perpetualstypes.MsgAddPremiumVotes
- func (_m *PerpetualsKeeper) GetMarginRequirements(ctx types.Context, id uint32, bigQuantums *big.Int) (*big.Int, *big.Int, error)
- func (_m *PerpetualsKeeper) GetNetCollateral(ctx types.Context, id uint32, bigQuantums *big.Int) (*big.Int, error)
- func (_m *PerpetualsKeeper) GetNetNotional(ctx types.Context, id uint32, bigQuantums *big.Int) (*big.Int, error)
- func (_m *PerpetualsKeeper) GetNotionalInBaseQuantums(ctx types.Context, id uint32, bigQuoteQuantums *big.Int) (*big.Int, error)
- func (_m *PerpetualsKeeper) HasAuthority(authority string) bool
- func (_m *PerpetualsKeeper) MaybeProcessNewFundingSampleEpoch(ctx types.Context)
- func (_m *PerpetualsKeeper) MaybeProcessNewFundingTickEpoch(ctx types.Context)
- func (_m *PerpetualsKeeper) ModifyPerpetual(ctx types.Context, id uint32, ticker string, marketId uint32, ...) (perpetualstypes.Perpetual, error)
- func (_m *PerpetualsKeeper) PerformStatefulPremiumVotesValidation(ctx types.Context, msg *perpetualstypes.MsgAddPremiumVotes) error
- func (_m *PerpetualsKeeper) SetLiquidityTier(ctx types.Context, id uint32, name string, initialMarginPpm uint32, ...) (perpetualstypes.LiquidityTier, error)
- func (_m *PerpetualsKeeper) SetParams(ctx types.Context, params perpetualstypes.Params) error
- type PrepareBridgeKeeper
- type PrepareClobKeeper
- type PreparePerpetualsKeeper
- type PreparePricesKeeper
- type PricefeedMutableMarketConfigs
- func (_m *PricefeedMutableMarketConfigs) AddPriceEncoder(updater types.ExchangeConfigUpdater)
- func (_m *PricefeedMutableMarketConfigs) AddPriceFetcher(updater types.ExchangeConfigUpdater)
- func (_m *PricefeedMutableMarketConfigs) GetExchangeMarketConfigCopy(id string) (*types.MutableExchangeMarketConfig, error)
- func (_m *PricefeedMutableMarketConfigs) GetMarketConfigCopies(markets []uint32) ([]*types.MutableMarketConfig, error)
- func (_m *PricefeedMutableMarketConfigs) UpdateMarkets(marketParams []pricestypes.MarketParam) error
- type PricesKeeper
- func (_m *PricesKeeper) CreateMarket(ctx types.Context, param pricestypes.MarketParam, ...) (pricestypes.MarketParam, error)
- func (_m *PricesKeeper) GetAllMarketParamPrices(ctx types.Context) ([]pricestypes.MarketParamPrice, error)
- func (_m *PricesKeeper) GetAllMarketParams(ctx types.Context) []pricestypes.MarketParam
- func (_m *PricesKeeper) GetAllMarketPrices(ctx types.Context) []pricestypes.MarketPrice
- func (_m *PricesKeeper) GetMarketIdToValidIndexPrice(ctx types.Context) map[uint32]pricestypes.MarketPrice
- func (_m *PricesKeeper) GetMarketParam(ctx types.Context, id uint32) (pricestypes.MarketParam, bool)
- func (_m *PricesKeeper) GetMarketPrice(ctx types.Context, id uint32) (pricestypes.MarketPrice, error)
- func (_m *PricesKeeper) HasAuthority(authority string) bool
- func (_m *PricesKeeper) Logger(ctx types.Context) log.Logger
- func (_m *PricesKeeper) ModifyMarketParam(ctx types.Context, param pricestypes.MarketParam) (pricestypes.MarketParam, error)
- func (_m *PricesKeeper) PerformStatefulPriceUpdateValidation(ctx types.Context, marketPriceUpdates *pricestypes.MsgUpdateMarketPrices, ...) error
- func (_m *PricesKeeper) UpdateMarketPrices(ctx types.Context, updates []*pricestypes.MsgUpdateMarketPrices_MarketPrice) error
- func (_m *PricesKeeper) UpdateSmoothedPrices(ctx types.Context) error
- type ProcessBridgeKeeper
- func (_m *ProcessBridgeKeeper) GetAcknowledgedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
- func (_m *ProcessBridgeKeeper) GetBridgeEventFromServer(ctx types.Context, id uint32) (bridgetypes.BridgeEvent, bool)
- func (_m *ProcessBridgeKeeper) GetRecognizedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
- type ProcessClobKeeper
- type ProcessPerpetualKeeper
- func (_m *ProcessPerpetualKeeper) GetPerpetual(ctx types.Context, id uint32) (perpetualstypes.Perpetual, error)
- func (_m *ProcessPerpetualKeeper) GetSettlementPpm(ctx types.Context, perpetualId uint32, quantums *big.Int, index *big.Int) (*big.Int, *big.Int, error)
- func (_m *ProcessPerpetualKeeper) MaybeProcessNewFundingTickEpoch(ctx types.Context)
- type ProcessStakingKeeper
- type QueryClient
- func (_m *QueryClient) AddBridgeEvents(ctx context.Context, in *api.AddBridgeEventsRequest, opts ...grpc.CallOption) (*api.AddBridgeEventsResponse, error)
- func (_m *QueryClient) AllMarketParams(ctx context.Context, in *types.QueryAllMarketParamsRequest, ...) (*types.QueryAllMarketParamsResponse, error)
- func (_m *QueryClient) AllMarketPrices(ctx context.Context, in *types.QueryAllMarketPricesRequest, ...) (*types.QueryAllMarketPricesResponse, error)
- func (_m *QueryClient) AreSubaccountsLiquidatable(ctx context.Context, in *clobtypes.AreSubaccountsLiquidatableRequest, ...) (*clobtypes.AreSubaccountsLiquidatableResponse, error)
- func (_m *QueryClient) ClobPair(ctx context.Context, in *clobtypes.QueryGetClobPairRequest, ...) (*clobtypes.QueryClobPairResponse, error)
- func (_m *QueryClient) ClobPairAll(ctx context.Context, in *clobtypes.QueryAllClobPairRequest, ...) (*clobtypes.QueryClobPairAllResponse, error)
- func (_m *QueryClient) EquityTierLimitConfiguration(ctx context.Context, in *clobtypes.QueryEquityTierLimitConfigurationRequest, ...) (*clobtypes.QueryEquityTierLimitConfigurationResponse, error)
- func (_m *QueryClient) LiquidateSubaccounts(ctx context.Context, in *liquidationapi.LiquidateSubaccountsRequest, ...) (*liquidationapi.LiquidateSubaccountsResponse, error)
- func (_m *QueryClient) MarketParam(ctx context.Context, in *types.QueryMarketParamRequest, ...) (*types.QueryMarketParamResponse, error)
- func (_m *QueryClient) MarketPrice(ctx context.Context, in *types.QueryMarketPriceRequest, ...) (*types.QueryMarketPriceResponse, error)
- func (_m *QueryClient) MevNodeToNodeCalculation(ctx context.Context, in *clobtypes.MevNodeToNodeCalculationRequest, ...) (*clobtypes.MevNodeToNodeCalculationResponse, error)
- func (_m *QueryClient) Subaccount(ctx context.Context, in *subaccountstypes.QueryGetSubaccountRequest, ...) (*subaccountstypes.QuerySubaccountResponse, error)
- func (_m *QueryClient) SubaccountAll(ctx context.Context, in *subaccountstypes.QueryAllSubaccountRequest, ...) (*subaccountstypes.QuerySubaccountAllResponse, error)
- func (_m *QueryClient) UpdateMarketPrices(ctx context.Context, in *pricefeedapi.UpdateMarketPricesRequest, ...) (*pricefeedapi.UpdateMarketPricesResponse, error)
- type QueryServer
- func (_m *QueryServer) AllMarketParams(_a0 context.Context, _a1 *types.QueryAllMarketParamsRequest) (*types.QueryAllMarketParamsResponse, error)
- func (_m *QueryServer) AllMarketPrices(_a0 context.Context, _a1 *types.QueryAllMarketPricesRequest) (*types.QueryAllMarketPricesResponse, error)
- func (_m *QueryServer) MarketParam(_a0 context.Context, _a1 *types.QueryMarketParamRequest) (*types.QueryMarketParamResponse, error)
- func (_m *QueryServer) MarketPrice(_a0 context.Context, _a1 *types.QueryMarketPriceRequest) (*types.QueryMarketPriceResponse, error)
- type RequestHandler
- type SendingKeeper
- func (_m *SendingKeeper) HasAuthority(authority string) bool
- func (_m *SendingKeeper) ProcessDepositToSubaccount(ctx cosmos_sdktypes.Context, ...) error
- func (_m *SendingKeeper) ProcessTransfer(ctx cosmos_sdktypes.Context, transfer *types.Transfer) error
- func (_m *SendingKeeper) ProcessWithdrawFromSubaccount(ctx cosmos_sdktypes.Context, ...) error
- func (_m *SendingKeeper) SendFromModuleToAccount(ctx cosmos_sdktypes.Context, msg *types.MsgSendFromModuleToAccount) error
- type Server
- type SubaccountsKeeper
- func (_m *SubaccountsKeeper) CanUpdateSubaccounts(ctx types.Context, updates []subaccountstypes.Update) (bool, []subaccountstypes.UpdateResult, error)
- func (_m *SubaccountsKeeper) DepositFundsFromAccountToSubaccount(ctx types.Context, fromAccount types.AccAddress, ...) error
- func (_m *SubaccountsKeeper) GetAllSubaccount(ctx types.Context) []subaccountstypes.Subaccount
- func (_m *SubaccountsKeeper) GetNetCollateralAndMarginRequirements(ctx types.Context, update subaccountstypes.Update) (*big.Int, *big.Int, *big.Int, error)
- func (_m *SubaccountsKeeper) GetRandomSubaccount(ctx types.Context, _a1 *rand.Rand) (subaccountstypes.Subaccount, error)
- func (_m *SubaccountsKeeper) GetSubaccount(ctx types.Context, id subaccountstypes.SubaccountId) subaccountstypes.Subaccount
- func (_m *SubaccountsKeeper) SetSubaccount(ctx types.Context, subaccount subaccountstypes.Subaccount)
- func (_m *SubaccountsKeeper) UpdateSubaccounts(ctx types.Context, updates []subaccountstypes.Update) (bool, []subaccountstypes.UpdateResult, error)
- func (_m *SubaccountsKeeper) WithdrawFundsFromSubaccountToAccount(ctx types.Context, fromSubaccountId subaccountstypes.SubaccountId, ...) error
- type TimeProvider
- type TxBuilder
- func (_m *TxBuilder) AddAuxSignerData(_a0 tx.AuxSignerData) error
- func (_m *TxBuilder) GetTx() signing.Tx
- func (_m *TxBuilder) SetFeeAmount(amount types.Coins)
- func (_m *TxBuilder) SetFeeGranter(feeGranter types.AccAddress)
- func (_m *TxBuilder) SetFeePayer(feePayer types.AccAddress)
- func (_m *TxBuilder) SetGasLimit(limit uint64)
- func (_m *TxBuilder) SetMemo(memo string)
- func (_m *TxBuilder) SetMsgs(msgs ...types.Msg) error
- func (_m *TxBuilder) SetSignatures(signatures ...txsigning.SignatureV2) error
- func (_m *TxBuilder) SetTimeoutHeight(height uint64)
- func (_m *TxBuilder) SetTip(tip *tx.Tip)
- type TxConfig
- func (_m *TxConfig) MarshalSignatureJSON(_a0 []signing.SignatureV2) ([]byte, error)
- func (_m *TxConfig) NewTxBuilder() client.TxBuilder
- func (_m *TxConfig) SignModeHandler() authsigning.SignModeHandler
- func (_m *TxConfig) TxDecoder() types.TxDecoder
- func (_m *TxConfig) TxEncoder() types.TxEncoder
- func (_m *TxConfig) TxJSONDecoder() types.TxDecoder
- func (_m *TxConfig) TxJSONEncoder() types.TxEncoder
- func (_m *TxConfig) UnmarshalSignatureJSON(_a0 []byte) ([]signing.SignatureV2, error)
- func (_m *TxConfig) WrapTxBuilder(_a0 types.Tx) (client.TxBuilder, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnteDecorator ¶
AnteDecorator is an autogenerated mock type for the AnteDecorator type
func NewAnteDecorator ¶
func NewAnteDecorator(t mockConstructorTestingTNewAnteDecorator) *AnteDecorator
NewAnteDecorator creates a new instance of AnteDecorator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AnteDecorator) AnteHandle ¶
func (_m *AnteDecorator) AnteHandle(ctx types.Context, tx types.Tx, simulate bool, next types.AnteHandler) (types.Context, error)
AnteHandle provides a mock function with given fields: ctx, tx, simulate, next
type AppOptions ¶
AppOptions is an autogenerated mock type for the AppOptions type
func NewAppOptions ¶
func NewAppOptions(t mockConstructorTestingTNewAppOptions) *AppOptions
NewAppOptions creates a new instance of AppOptions. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppOptions) Get ¶
func (_m *AppOptions) Get(_a0 string) interface{}
Get provides a mock function with given fields: _a0
type BankKeeper ¶
BankKeeper is an autogenerated mock type for the Keeper type
func NewBankKeeper ¶
func NewBankKeeper(t mockConstructorTestingTNewBankKeeper) *BankKeeper
NewBankKeeper creates a new instance of BankKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BankKeeper) AllBalances ¶
func (_m *BankKeeper) AllBalances(_a0 context.Context, _a1 *types.QueryAllBalancesRequest) (*types.QueryAllBalancesResponse, error)
AllBalances provides a mock function with given fields: _a0, _a1
func (*BankKeeper) Balance ¶
func (_m *BankKeeper) Balance(_a0 context.Context, _a1 *types.QueryBalanceRequest) (*types.QueryBalanceResponse, error)
Balance provides a mock function with given fields: _a0, _a1
func (*BankKeeper) BlockedAddr ¶
func (_m *BankKeeper) BlockedAddr(addr cosmos_sdktypes.AccAddress) bool
BlockedAddr provides a mock function with given fields: addr
func (*BankKeeper) BurnCoins ¶
func (_m *BankKeeper) BurnCoins(ctx cosmos_sdktypes.Context, moduleName string, amt cosmos_sdktypes.Coins) error
BurnCoins provides a mock function with given fields: ctx, moduleName, amt
func (*BankKeeper) DelegateCoins ¶
func (_m *BankKeeper) DelegateCoins(ctx cosmos_sdktypes.Context, delegatorAddr cosmos_sdktypes.AccAddress, moduleAccAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
DelegateCoins provides a mock function with given fields: ctx, delegatorAddr, moduleAccAddr, amt
func (*BankKeeper) DelegateCoinsFromAccountToModule ¶
func (_m *BankKeeper) DelegateCoinsFromAccountToModule(ctx cosmos_sdktypes.Context, senderAddr cosmos_sdktypes.AccAddress, recipientModule string, amt cosmos_sdktypes.Coins) error
DelegateCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt
func (*BankKeeper) DeleteSendEnabled ¶
func (_m *BankKeeper) DeleteSendEnabled(ctx cosmos_sdktypes.Context, denoms ...string)
DeleteSendEnabled provides a mock function with given fields: ctx, denoms
func (*BankKeeper) DenomMetadata ¶
func (_m *BankKeeper) DenomMetadata(_a0 context.Context, _a1 *types.QueryDenomMetadataRequest) (*types.QueryDenomMetadataResponse, error)
DenomMetadata provides a mock function with given fields: _a0, _a1
func (*BankKeeper) DenomOwners ¶
func (_m *BankKeeper) DenomOwners(_a0 context.Context, _a1 *types.QueryDenomOwnersRequest) (*types.QueryDenomOwnersResponse, error)
DenomOwners provides a mock function with given fields: _a0, _a1
func (*BankKeeper) DenomsMetadata ¶
func (_m *BankKeeper) DenomsMetadata(_a0 context.Context, _a1 *types.QueryDenomsMetadataRequest) (*types.QueryDenomsMetadataResponse, error)
DenomsMetadata provides a mock function with given fields: _a0, _a1
func (*BankKeeper) ExportGenesis ¶
func (_m *BankKeeper) ExportGenesis(_a0 cosmos_sdktypes.Context) *types.GenesisState
ExportGenesis provides a mock function with given fields: _a0
func (*BankKeeper) GetAccountsBalances ¶
func (_m *BankKeeper) GetAccountsBalances(ctx cosmos_sdktypes.Context) []types.Balance
GetAccountsBalances provides a mock function with given fields: ctx
func (*BankKeeper) GetAllBalances ¶
func (_m *BankKeeper) GetAllBalances(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
GetAllBalances provides a mock function with given fields: ctx, addr
func (*BankKeeper) GetAllDenomMetaData ¶
func (_m *BankKeeper) GetAllDenomMetaData(ctx cosmos_sdktypes.Context) []types.Metadata
GetAllDenomMetaData provides a mock function with given fields: ctx
func (*BankKeeper) GetAllSendEnabledEntries ¶
func (_m *BankKeeper) GetAllSendEnabledEntries(ctx cosmos_sdktypes.Context) []types.SendEnabled
GetAllSendEnabledEntries provides a mock function with given fields: ctx
func (*BankKeeper) GetAuthority ¶
func (_m *BankKeeper) GetAuthority() string
GetAuthority provides a mock function with given fields:
func (*BankKeeper) GetBalance ¶
func (_m *BankKeeper) GetBalance(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
GetBalance provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) GetBlockedAddresses ¶
func (_m *BankKeeper) GetBlockedAddresses() map[string]bool
GetBlockedAddresses provides a mock function with given fields:
func (*BankKeeper) GetDenomMetaData ¶
func (_m *BankKeeper) GetDenomMetaData(ctx cosmos_sdktypes.Context, denom string) (types.Metadata, bool)
GetDenomMetaData provides a mock function with given fields: ctx, denom
func (*BankKeeper) GetPaginatedTotalSupply ¶
func (_m *BankKeeper) GetPaginatedTotalSupply(ctx cosmos_sdktypes.Context, pagination *query.PageRequest) (cosmos_sdktypes.Coins, *query.PageResponse, error)
GetPaginatedTotalSupply provides a mock function with given fields: ctx, pagination
func (*BankKeeper) GetParams ¶
func (_m *BankKeeper) GetParams(ctx cosmos_sdktypes.Context) types.Params
GetParams provides a mock function with given fields: ctx
func (*BankKeeper) GetSendEnabledEntry ¶
func (_m *BankKeeper) GetSendEnabledEntry(ctx cosmos_sdktypes.Context, denom string) (types.SendEnabled, bool)
GetSendEnabledEntry provides a mock function with given fields: ctx, denom
func (*BankKeeper) GetSupply ¶
func (_m *BankKeeper) GetSupply(ctx cosmos_sdktypes.Context, denom string) cosmos_sdktypes.Coin
GetSupply provides a mock function with given fields: ctx, denom
func (*BankKeeper) HasBalance ¶
func (_m *BankKeeper) HasBalance(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coin) bool
HasBalance provides a mock function with given fields: ctx, addr, amt
func (*BankKeeper) HasDenomMetaData ¶
func (_m *BankKeeper) HasDenomMetaData(ctx cosmos_sdktypes.Context, denom string) bool
HasDenomMetaData provides a mock function with given fields: ctx, denom
func (*BankKeeper) HasSupply ¶
func (_m *BankKeeper) HasSupply(ctx cosmos_sdktypes.Context, denom string) bool
HasSupply provides a mock function with given fields: ctx, denom
func (*BankKeeper) InitGenesis ¶
func (_m *BankKeeper) InitGenesis(_a0 cosmos_sdktypes.Context, _a1 *types.GenesisState)
InitGenesis provides a mock function with given fields: _a0, _a1
func (*BankKeeper) InputOutputCoins ¶
func (_m *BankKeeper) InputOutputCoins(ctx cosmos_sdktypes.Context, inputs []types.Input, outputs []types.Output) error
InputOutputCoins provides a mock function with given fields: ctx, inputs, outputs
func (*BankKeeper) IsSendEnabledCoin ¶
func (_m *BankKeeper) IsSendEnabledCoin(ctx cosmos_sdktypes.Context, coin cosmos_sdktypes.Coin) bool
IsSendEnabledCoin provides a mock function with given fields: ctx, coin
func (*BankKeeper) IsSendEnabledCoins ¶
func (_m *BankKeeper) IsSendEnabledCoins(ctx cosmos_sdktypes.Context, coins ...cosmos_sdktypes.Coin) error
IsSendEnabledCoins provides a mock function with given fields: ctx, coins
func (*BankKeeper) IsSendEnabledDenom ¶
func (_m *BankKeeper) IsSendEnabledDenom(ctx cosmos_sdktypes.Context, denom string) bool
IsSendEnabledDenom provides a mock function with given fields: ctx, denom
func (*BankKeeper) IterateAccountBalances ¶
func (_m *BankKeeper) IterateAccountBalances(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, cb func(cosmos_sdktypes.Coin) bool)
IterateAccountBalances provides a mock function with given fields: ctx, addr, cb
func (*BankKeeper) IterateAllBalances ¶
func (_m *BankKeeper) IterateAllBalances(ctx cosmos_sdktypes.Context, cb func(cosmos_sdktypes.AccAddress, cosmos_sdktypes.Coin) bool)
IterateAllBalances provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateAllDenomMetaData ¶
func (_m *BankKeeper) IterateAllDenomMetaData(ctx cosmos_sdktypes.Context, cb func(types.Metadata) bool)
IterateAllDenomMetaData provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateSendEnabledEntries ¶
func (_m *BankKeeper) IterateSendEnabledEntries(ctx cosmos_sdktypes.Context, cb func(string, bool) bool)
IterateSendEnabledEntries provides a mock function with given fields: ctx, cb
func (*BankKeeper) IterateTotalSupply ¶
func (_m *BankKeeper) IterateTotalSupply(ctx cosmos_sdktypes.Context, cb func(cosmos_sdktypes.Coin) bool)
IterateTotalSupply provides a mock function with given fields: ctx, cb
func (*BankKeeper) LockedCoins ¶
func (_m *BankKeeper) LockedCoins(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
LockedCoins provides a mock function with given fields: ctx, addr
func (*BankKeeper) MintCoins ¶
func (_m *BankKeeper) MintCoins(ctx cosmos_sdktypes.Context, moduleName string, amt cosmos_sdktypes.Coins) error
MintCoins provides a mock function with given fields: ctx, moduleName, amt
func (*BankKeeper) Params ¶
func (_m *BankKeeper) Params(_a0 context.Context, _a1 *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SendCoins ¶
func (_m *BankKeeper) SendCoins(ctx cosmos_sdktypes.Context, fromAddr cosmos_sdktypes.AccAddress, toAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
SendCoins provides a mock function with given fields: ctx, fromAddr, toAddr, amt
func (*BankKeeper) SendCoinsFromAccountToModule ¶
func (_m *BankKeeper) SendCoinsFromAccountToModule(ctx cosmos_sdktypes.Context, senderAddr cosmos_sdktypes.AccAddress, recipientModule string, amt cosmos_sdktypes.Coins) error
SendCoinsFromAccountToModule provides a mock function with given fields: ctx, senderAddr, recipientModule, amt
func (*BankKeeper) SendCoinsFromModuleToAccount ¶
func (_m *BankKeeper) SendCoinsFromModuleToAccount(ctx cosmos_sdktypes.Context, senderModule string, recipientAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
SendCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*BankKeeper) SendCoinsFromModuleToModule ¶
func (_m *BankKeeper) SendCoinsFromModuleToModule(ctx cosmos_sdktypes.Context, senderModule string, recipientModule string, amt cosmos_sdktypes.Coins) error
SendCoinsFromModuleToModule provides a mock function with given fields: ctx, senderModule, recipientModule, amt
func (*BankKeeper) SendEnabled ¶
func (_m *BankKeeper) SendEnabled(_a0 context.Context, _a1 *types.QuerySendEnabledRequest) (*types.QuerySendEnabledResponse, error)
SendEnabled provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SetAllSendEnabled ¶
func (_m *BankKeeper) SetAllSendEnabled(ctx cosmos_sdktypes.Context, sendEnableds []*types.SendEnabled)
SetAllSendEnabled provides a mock function with given fields: ctx, sendEnableds
func (*BankKeeper) SetDenomMetaData ¶
func (_m *BankKeeper) SetDenomMetaData(ctx cosmos_sdktypes.Context, denomMetaData types.Metadata)
SetDenomMetaData provides a mock function with given fields: ctx, denomMetaData
func (*BankKeeper) SetParams ¶
func (_m *BankKeeper) SetParams(ctx cosmos_sdktypes.Context, params types.Params) error
SetParams provides a mock function with given fields: ctx, params
func (*BankKeeper) SetSendEnabled ¶
func (_m *BankKeeper) SetSendEnabled(ctx cosmos_sdktypes.Context, denom string, value bool)
SetSendEnabled provides a mock function with given fields: ctx, denom, value
func (*BankKeeper) SpendableBalanceByDenom ¶
func (_m *BankKeeper) SpendableBalanceByDenom(_a0 context.Context, _a1 *types.QuerySpendableBalanceByDenomRequest) (*types.QuerySpendableBalanceByDenomResponse, error)
SpendableBalanceByDenom provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SpendableBalances ¶
func (_m *BankKeeper) SpendableBalances(_a0 context.Context, _a1 *types.QuerySpendableBalancesRequest) (*types.QuerySpendableBalancesResponse, error)
SpendableBalances provides a mock function with given fields: _a0, _a1
func (*BankKeeper) SpendableCoin ¶
func (_m *BankKeeper) SpendableCoin(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress, denom string) cosmos_sdktypes.Coin
SpendableCoin provides a mock function with given fields: ctx, addr, denom
func (*BankKeeper) SpendableCoins ¶
func (_m *BankKeeper) SpendableCoins(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) cosmos_sdktypes.Coins
SpendableCoins provides a mock function with given fields: ctx, addr
func (*BankKeeper) SupplyOf ¶
func (_m *BankKeeper) SupplyOf(_a0 context.Context, _a1 *types.QuerySupplyOfRequest) (*types.QuerySupplyOfResponse, error)
SupplyOf provides a mock function with given fields: _a0, _a1
func (*BankKeeper) TotalSupply ¶
func (_m *BankKeeper) TotalSupply(_a0 context.Context, _a1 *types.QueryTotalSupplyRequest) (*types.QueryTotalSupplyResponse, error)
TotalSupply provides a mock function with given fields: _a0, _a1
func (*BankKeeper) UndelegateCoins ¶
func (_m *BankKeeper) UndelegateCoins(ctx cosmos_sdktypes.Context, moduleAccAddr cosmos_sdktypes.AccAddress, delegatorAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
UndelegateCoins provides a mock function with given fields: ctx, moduleAccAddr, delegatorAddr, amt
func (*BankKeeper) UndelegateCoinsFromModuleToAccount ¶
func (_m *BankKeeper) UndelegateCoinsFromModuleToAccount(ctx cosmos_sdktypes.Context, senderModule string, recipientAddr cosmos_sdktypes.AccAddress, amt cosmos_sdktypes.Coins) error
UndelegateCoinsFromModuleToAccount provides a mock function with given fields: ctx, senderModule, recipientAddr, amt
func (*BankKeeper) ValidateBalance ¶
func (_m *BankKeeper) ValidateBalance(ctx cosmos_sdktypes.Context, addr cosmos_sdktypes.AccAddress) error
ValidateBalance provides a mock function with given fields: ctx, addr
func (*BankKeeper) WithMintCoinsRestriction ¶
func (_m *BankKeeper) WithMintCoinsRestriction(_a0 keeper.MintingRestrictionFn) keeper.BaseKeeper
WithMintCoinsRestriction provides a mock function with given fields: _a0
type BridgeKeeper ¶
BridgeKeeper is an autogenerated mock type for the BridgeKeeper type
func NewBridgeKeeper ¶
func NewBridgeKeeper(t mockConstructorTestingTNewBridgeKeeper) *BridgeKeeper
NewBridgeKeeper creates a new instance of BridgeKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BridgeKeeper) AcknowledgeBridges ¶
func (_m *BridgeKeeper) AcknowledgeBridges(ctx types.Context, bridges []bridgetypes.BridgeEvent) error
AcknowledgeBridges provides a mock function with given fields: ctx, bridges
func (*BridgeKeeper) CompleteBridge ¶
func (_m *BridgeKeeper) CompleteBridge(ctx types.Context, bridges bridgetypes.BridgeEvent) error
CompleteBridge provides a mock function with given fields: ctx, bridges
func (*BridgeKeeper) GetAcknowledgedEventInfo ¶
func (_m *BridgeKeeper) GetAcknowledgedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
GetAcknowledgedEventInfo provides a mock function with given fields: ctx
func (*BridgeKeeper) GetEventParams ¶
func (_m *BridgeKeeper) GetEventParams(ctx types.Context) bridgetypes.EventParams
GetEventParams provides a mock function with given fields: ctx
func (*BridgeKeeper) GetProposeParams ¶
func (_m *BridgeKeeper) GetProposeParams(ctx types.Context) bridgetypes.ProposeParams
GetProposeParams provides a mock function with given fields: ctx
func (*BridgeKeeper) GetRecognizedEventInfo ¶
func (_m *BridgeKeeper) GetRecognizedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
GetRecognizedEventInfo provides a mock function with given fields: ctx
func (*BridgeKeeper) GetSafetyParams ¶
func (_m *BridgeKeeper) GetSafetyParams(ctx types.Context) bridgetypes.SafetyParams
GetSafetyParams provides a mock function with given fields: ctx
func (*BridgeKeeper) HasAuthority ¶
func (_m *BridgeKeeper) HasAuthority(authority string) bool
HasAuthority provides a mock function with given fields: authority
func (*BridgeKeeper) UpdateEventParams ¶
func (_m *BridgeKeeper) UpdateEventParams(ctx types.Context, params bridgetypes.EventParams) error
UpdateEventParams provides a mock function with given fields: ctx, params
func (*BridgeKeeper) UpdateProposeParams ¶
func (_m *BridgeKeeper) UpdateProposeParams(ctx types.Context, params bridgetypes.ProposeParams) error
UpdateProposeParams provides a mock function with given fields: ctx, params
func (*BridgeKeeper) UpdateSafetyParams ¶
func (_m *BridgeKeeper) UpdateSafetyParams(ctx types.Context, params bridgetypes.SafetyParams) error
UpdateSafetyParams provides a mock function with given fields: ctx, params
type BridgeQueryClient ¶
BridgeQueryClient is an autogenerated mock type for the BridgeQueryClient type
func NewBridgeQueryClient ¶
func NewBridgeQueryClient(t mockConstructorTestingTNewBridgeQueryClient) *BridgeQueryClient
NewBridgeQueryClient creates a new instance of BridgeQueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BridgeQueryClient) AcknowledgedEventInfo ¶
func (_m *BridgeQueryClient) AcknowledgedEventInfo(ctx context.Context, in *types.QueryAcknowledgedEventInfoRequest, opts ...grpc.CallOption) (*types.QueryAcknowledgedEventInfoResponse, error)
AcknowledgedEventInfo provides a mock function with given fields: ctx, in, opts
func (*BridgeQueryClient) DelayedCompleteBridgeMessages ¶ added in v0.3.0
func (_m *BridgeQueryClient) DelayedCompleteBridgeMessages(ctx context.Context, in *types.QueryDelayedCompleteBridgeMessagesRequest, opts ...grpc.CallOption) (*types.QueryDelayedCompleteBridgeMessagesResponse, error)
DelayedCompleteBridgeMessages provides a mock function with given fields: ctx, in, opts
func (*BridgeQueryClient) EventParams ¶
func (_m *BridgeQueryClient) EventParams(ctx context.Context, in *types.QueryEventParamsRequest, opts ...grpc.CallOption) (*types.QueryEventParamsResponse, error)
EventParams provides a mock function with given fields: ctx, in, opts
func (*BridgeQueryClient) ProposeParams ¶
func (_m *BridgeQueryClient) ProposeParams(ctx context.Context, in *types.QueryProposeParamsRequest, opts ...grpc.CallOption) (*types.QueryProposeParamsResponse, error)
ProposeParams provides a mock function with given fields: ctx, in, opts
func (*BridgeQueryClient) RecognizedEventInfo ¶
func (_m *BridgeQueryClient) RecognizedEventInfo(ctx context.Context, in *types.QueryRecognizedEventInfoRequest, opts ...grpc.CallOption) (*types.QueryRecognizedEventInfoResponse, error)
RecognizedEventInfo provides a mock function with given fields: ctx, in, opts
func (*BridgeQueryClient) SafetyParams ¶
func (_m *BridgeQueryClient) SafetyParams(ctx context.Context, in *types.QuerySafetyParamsRequest, opts ...grpc.CallOption) (*types.QuerySafetyParamsResponse, error)
SafetyParams provides a mock function with given fields: ctx, in, opts
type BridgeServiceClient ¶
BridgeServiceClient is an autogenerated mock type for the BridgeServiceClient type
func NewBridgeServiceClient ¶
func NewBridgeServiceClient(t mockConstructorTestingTNewBridgeServiceClient) *BridgeServiceClient
NewBridgeServiceClient creates a new instance of BridgeServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BridgeServiceClient) AddBridgeEvents ¶
func (_m *BridgeServiceClient) AddBridgeEvents(ctx context.Context, in *api.AddBridgeEventsRequest, opts ...grpc.CallOption) (*api.AddBridgeEventsResponse, error)
AddBridgeEvents provides a mock function with given fields: ctx, in, opts
type CacheMultiStore ¶ added in v0.3.0
CacheMultiStore is an autogenerated mock type for the CacheMultiStore type
func NewCacheMultiStore ¶ added in v0.3.0
func NewCacheMultiStore(t mockConstructorTestingTNewCacheMultiStore) *CacheMultiStore
NewCacheMultiStore creates a new instance of CacheMultiStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CacheMultiStore) CacheMultiStore ¶ added in v0.3.0
func (_m *CacheMultiStore) CacheMultiStore() types.CacheMultiStore
CacheMultiStore provides a mock function with given fields:
func (*CacheMultiStore) CacheMultiStoreWithVersion ¶ added in v0.3.0
func (_m *CacheMultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
CacheMultiStoreWithVersion provides a mock function with given fields: version
func (*CacheMultiStore) CacheWrap ¶ added in v0.3.0
func (_m *CacheMultiStore) CacheWrap() types.CacheWrap
CacheWrap provides a mock function with given fields:
func (*CacheMultiStore) CacheWrapWithTrace ¶ added in v0.3.0
func (_m *CacheMultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
CacheWrapWithTrace provides a mock function with given fields: w, tc
func (*CacheMultiStore) GetKVStore ¶ added in v0.3.0
func (_m *CacheMultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
GetKVStore provides a mock function with given fields: _a0
func (*CacheMultiStore) GetStore ¶ added in v0.3.0
func (_m *CacheMultiStore) GetStore(_a0 types.StoreKey) types.Store
GetStore provides a mock function with given fields: _a0
func (*CacheMultiStore) GetStoreType ¶ added in v0.3.0
func (_m *CacheMultiStore) GetStoreType() types.StoreType
GetStoreType provides a mock function with given fields:
func (*CacheMultiStore) LatestVersion ¶ added in v0.3.0
func (_m *CacheMultiStore) LatestVersion() int64
LatestVersion provides a mock function with given fields:
func (*CacheMultiStore) SetTracer ¶ added in v0.3.0
func (_m *CacheMultiStore) SetTracer(w io.Writer) types.MultiStore
SetTracer provides a mock function with given fields: w
func (*CacheMultiStore) SetTracingContext ¶ added in v0.3.0
func (_m *CacheMultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
SetTracingContext provides a mock function with given fields: _a0
func (*CacheMultiStore) TracingEnabled ¶ added in v0.3.0
func (_m *CacheMultiStore) TracingEnabled() bool
TracingEnabled provides a mock function with given fields:
func (*CacheMultiStore) Write ¶ added in v0.3.0
func (_m *CacheMultiStore) Write()
Write provides a mock function with given fields:
type ClobKeeper ¶
ClobKeeper is an autogenerated mock type for the ClobKeeper type
func NewClobKeeper ¶
func NewClobKeeper(t mockConstructorTestingTNewClobKeeper) *ClobKeeper
NewClobKeeper creates a new instance of ClobKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ClobKeeper) AddOrderToOrderbookCollatCheck ¶
func (_m *ClobKeeper) AddOrderToOrderbookCollatCheck(ctx types.Context, clobPairId clobtypes.ClobPairId, subaccountOpenOrders map[subaccountstypes.SubaccountId][]clobtypes.PendingOpenOrder) (bool, map[subaccountstypes.SubaccountId]subaccountstypes.UpdateResult)
AddOrderToOrderbookCollatCheck provides a mock function with given fields: ctx, clobPairId, subaccountOpenOrders
func (*ClobKeeper) CancelShortTermOrder ¶
func (_m *ClobKeeper) CancelShortTermOrder(ctx types.Context, msg *clobtypes.MsgCancelOrder) error
CancelShortTermOrder provides a mock function with given fields: ctx, msg
func (*ClobKeeper) CancelStatefulOrder ¶
func (_m *ClobKeeper) CancelStatefulOrder(ctx types.Context, msg *clobtypes.MsgCancelOrder) error
CancelStatefulOrder provides a mock function with given fields: ctx, msg
func (*ClobKeeper) ConvertFillablePriceToSubticks ¶
func (_m *ClobKeeper) ConvertFillablePriceToSubticks(ctx types.Context, fillablePrice *big.Rat, isLiquidatingLong bool, clobPair clobtypes.ClobPair) clobtypes.Subticks
ConvertFillablePriceToSubticks provides a mock function with given fields: ctx, fillablePrice, isLiquidatingLong, clobPair
func (*ClobKeeper) CreatePerpetualClobPair ¶
func (_m *ClobKeeper) CreatePerpetualClobPair(ctx types.Context, clobPairId uint32, perpetualId uint32, stepSizeInBaseQuantums subaccountstypes.BaseQuantums, quantumConversionExponent int32, subticksPerTick uint32, status clobtypes.ClobPair_Status) (clobtypes.ClobPair, error)
CreatePerpetualClobPair provides a mock function with given fields: ctx, clobPairId, perpetualId, stepSizeInBaseQuantums, quantumConversionExponent, subticksPerTick, status
func (*ClobKeeper) DeleteLongTermOrderPlacement ¶
func (_m *ClobKeeper) DeleteLongTermOrderPlacement(ctx types.Context, orderId clobtypes.OrderId)
DeleteLongTermOrderPlacement provides a mock function with given fields: ctx, orderId
func (*ClobKeeper) GetAllClobPairs ¶
func (_m *ClobKeeper) GetAllClobPairs(ctx types.Context) []clobtypes.ClobPair
GetAllClobPairs provides a mock function with given fields: ctx
func (*ClobKeeper) GetBankruptcyPriceInQuoteQuantums ¶
func (_m *ClobKeeper) GetBankruptcyPriceInQuoteQuantums(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32, deltaQuantums *big.Int) (*big.Int, error)
GetBankruptcyPriceInQuoteQuantums provides a mock function with given fields: ctx, subaccountId, perpetualId, deltaQuantums
func (*ClobKeeper) GetClobPair ¶
func (_m *ClobKeeper) GetClobPair(ctx types.Context, id clobtypes.ClobPairId) (clobtypes.ClobPair, bool)
GetClobPair provides a mock function with given fields: ctx, id
func (*ClobKeeper) GetFillablePrice ¶
func (_m *ClobKeeper) GetFillablePrice(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32, deltaQuantums *big.Int) (*big.Rat, error)
GetFillablePrice provides a mock function with given fields: ctx, subaccountId, perpetualId, deltaQuantums
func (*ClobKeeper) GetIndexerEventManager ¶
func (_m *ClobKeeper) GetIndexerEventManager() indexer_manager.IndexerEventManager
GetIndexerEventManager provides a mock function with given fields:
func (*ClobKeeper) GetInsuranceFundBalance ¶
func (_m *ClobKeeper) GetInsuranceFundBalance(ctx types.Context) *big.Int
GetInsuranceFundBalance provides a mock function with given fields: ctx
func (*ClobKeeper) GetLiquidationInsuranceFundDelta ¶
func (_m *ClobKeeper) GetLiquidationInsuranceFundDelta(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32, isBuy bool, fillAmount uint64, subticks clobtypes.Subticks) (*big.Int, error)
GetLiquidationInsuranceFundDelta provides a mock function with given fields: ctx, subaccountId, perpetualId, isBuy, fillAmount, subticks
func (*ClobKeeper) GetLiquidationsConfig ¶
func (_m *ClobKeeper) GetLiquidationsConfig(ctx types.Context) clobtypes.LiquidationsConfig
GetLiquidationsConfig provides a mock function with given fields: ctx
func (*ClobKeeper) GetLongTermOrderPlacement ¶
func (_m *ClobKeeper) GetLongTermOrderPlacement(ctx types.Context, orderId clobtypes.OrderId) (clobtypes.LongTermOrderPlacement, bool)
GetLongTermOrderPlacement provides a mock function with given fields: ctx, orderId
func (*ClobKeeper) GetMaxAndMinPositionNotionalLiquidatable ¶
func (_m *ClobKeeper) GetMaxAndMinPositionNotionalLiquidatable(ctx types.Context, positionToLiquidate *subaccountstypes.PerpetualPosition) (*big.Int, *big.Int, error)
GetMaxAndMinPositionNotionalLiquidatable provides a mock function with given fields: ctx, positionToLiquidate
func (*ClobKeeper) GetPerpetualPositionToLiquidate ¶
func (_m *ClobKeeper) GetPerpetualPositionToLiquidate(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (uint32, *big.Int, error)
GetPerpetualPositionToLiquidate provides a mock function with given fields: ctx, subaccountId
func (*ClobKeeper) GetProcessProposerMatchesEvents ¶
func (_m *ClobKeeper) GetProcessProposerMatchesEvents(ctx types.Context) clobtypes.ProcessProposerMatchesEvents
GetProcessProposerMatchesEvents provides a mock function with given fields: ctx
func (*ClobKeeper) GetStatePosition ¶
func (_m *ClobKeeper) GetStatePosition(ctx types.Context, subaccountId subaccountstypes.SubaccountId, clobPairId clobtypes.ClobPairId) *big.Int
GetStatePosition provides a mock function with given fields: ctx, subaccountId, clobPairId
func (*ClobKeeper) GetStatefulOrdersTimeSlice ¶
func (_m *ClobKeeper) GetStatefulOrdersTimeSlice(ctx types.Context, goodTilBlockTime time.Time) []clobtypes.OrderId
GetStatefulOrdersTimeSlice provides a mock function with given fields: ctx, goodTilBlockTime
func (*ClobKeeper) GetSubaccountLiquidationInfo ¶
func (_m *ClobKeeper) GetSubaccountLiquidationInfo(ctx types.Context, subaccountId subaccountstypes.SubaccountId) clobtypes.SubaccountLiquidationInfo
GetSubaccountLiquidationInfo provides a mock function with given fields: ctx, subaccountId
func (*ClobKeeper) GetSubaccountMaxInsuranceLost ¶
func (_m *ClobKeeper) GetSubaccountMaxInsuranceLost(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32) (*big.Int, error)
GetSubaccountMaxInsuranceLost provides a mock function with given fields: ctx, subaccountId, perpetualId
func (*ClobKeeper) GetSubaccountMaxNotionalLiquidatable ¶
func (_m *ClobKeeper) GetSubaccountMaxNotionalLiquidatable(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32) (*big.Int, error)
GetSubaccountMaxNotionalLiquidatable provides a mock function with given fields: ctx, subaccountId, perpetualId
func (*ClobKeeper) HasAuthority ¶
func (_m *ClobKeeper) HasAuthority(authority string) bool
HasAuthority provides a mock function with given fields: authority
func (*ClobKeeper) InitializeBlockRateLimit ¶
func (_m *ClobKeeper) InitializeBlockRateLimit(ctx types.Context, config clobtypes.BlockRateLimitConfiguration) error
InitializeBlockRateLimit provides a mock function with given fields: ctx, config
func (*ClobKeeper) InitializeEquityTierLimit ¶
func (_m *ClobKeeper) InitializeEquityTierLimit(ctx types.Context, config clobtypes.EquityTierLimitConfiguration) error
InitializeEquityTierLimit provides a mock function with given fields: ctx, config
func (*ClobKeeper) IsLiquidatable ¶
func (_m *ClobKeeper) IsLiquidatable(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (bool, error)
IsLiquidatable provides a mock function with given fields: ctx, subaccountId
func (*ClobKeeper) Logger ¶
func (_m *ClobKeeper) Logger(ctx types.Context) log.Logger
Logger provides a mock function with given fields: ctx
func (*ClobKeeper) MaybeDeleverageSubaccount ¶ added in v0.3.0
func (_m *ClobKeeper) MaybeDeleverageSubaccount(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32, deltaQuantums *big.Int) (*big.Int, error)
MaybeDeleverageSubaccount provides a mock function with given fields: ctx, subaccountId, perpetualId, deltaQuantums
func (*ClobKeeper) MaybeGetLiquidationOrder ¶
func (_m *ClobKeeper) MaybeGetLiquidationOrder(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (*clobtypes.LiquidationOrder, error)
MaybeGetLiquidationOrder provides a mock function with given fields: ctx, subaccountId
func (*ClobKeeper) MustAddOrderToStatefulOrdersTimeSlice ¶
func (_m *ClobKeeper) MustAddOrderToStatefulOrdersTimeSlice(ctx types.Context, goodTilBlockTime time.Time, orderId clobtypes.OrderId)
MustAddOrderToStatefulOrdersTimeSlice provides a mock function with given fields: ctx, goodTilBlockTime, orderId
func (*ClobKeeper) MustRemoveStatefulOrder ¶
func (_m *ClobKeeper) MustRemoveStatefulOrder(ctx types.Context, orderId clobtypes.OrderId)
MustRemoveStatefulOrder provides a mock function with given fields: ctx, orderId
func (*ClobKeeper) MustSetProcessProposerMatchesEvents ¶
func (_m *ClobKeeper) MustSetProcessProposerMatchesEvents(ctx types.Context, processProposerMatchesEvents clobtypes.ProcessProposerMatchesEvents)
MustSetProcessProposerMatchesEvents provides a mock function with given fields: ctx, processProposerMatchesEvents
func (*ClobKeeper) MustUpdateSubaccountPerpetualLiquidated ¶
func (_m *ClobKeeper) MustUpdateSubaccountPerpetualLiquidated(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32)
MustUpdateSubaccountPerpetualLiquidated provides a mock function with given fields: ctx, subaccountId, perpetualId
func (*ClobKeeper) PerformOrderCancellationStatefulValidation ¶
func (_m *ClobKeeper) PerformOrderCancellationStatefulValidation(ctx types.Context, msgCancelOrder *clobtypes.MsgCancelOrder, blockHeight uint32) error
PerformOrderCancellationStatefulValidation provides a mock function with given fields: ctx, msgCancelOrder, blockHeight
func (*ClobKeeper) PerformStatefulOrderValidation ¶
func (_m *ClobKeeper) PerformStatefulOrderValidation(ctx types.Context, order *clobtypes.Order, blockHeight uint32, isPreexistingStatefulOrder bool) error
PerformStatefulOrderValidation provides a mock function with given fields: ctx, order, blockHeight, isPreexistingStatefulOrder
func (*ClobKeeper) PlacePerpetualLiquidation ¶
func (_m *ClobKeeper) PlacePerpetualLiquidation(ctx types.Context, liquidationOrder clobtypes.LiquidationOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, error)
PlacePerpetualLiquidation provides a mock function with given fields: ctx, liquidationOrder
func (*ClobKeeper) PlaceShortTermOrder ¶
func (_m *ClobKeeper) PlaceShortTermOrder(ctx types.Context, msg *clobtypes.MsgPlaceOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, error)
PlaceShortTermOrder provides a mock function with given fields: ctx, msg
func (*ClobKeeper) PlaceStatefulOrder ¶
func (_m *ClobKeeper) PlaceStatefulOrder(ctx types.Context, msg *clobtypes.MsgPlaceOrder) error
PlaceStatefulOrder provides a mock function with given fields: ctx, msg
func (*ClobKeeper) ProcessProposerOperations ¶
func (_m *ClobKeeper) ProcessProposerOperations(ctx types.Context, operations []clobtypes.OperationRaw) error
ProcessProposerOperations provides a mock function with given fields: ctx, operations
func (*ClobKeeper) ProcessSingleMatch ¶
func (_m *ClobKeeper) ProcessSingleMatch(ctx types.Context, matchWithOrders *clobtypes.MatchWithOrders) (bool, subaccountstypes.UpdateResult, subaccountstypes.UpdateResult, *clobtypes.OffchainUpdates, error)
ProcessSingleMatch provides a mock function with given fields: ctx, matchWithOrders
func (*ClobKeeper) PruneStateFillAmountsForShortTermOrders ¶
func (_m *ClobKeeper) PruneStateFillAmountsForShortTermOrders(ctx types.Context)
PruneStateFillAmountsForShortTermOrders provides a mock function with given fields: ctx
func (*ClobKeeper) RateLimitCancelOrder ¶
func (_m *ClobKeeper) RateLimitCancelOrder(ctx types.Context, order *clobtypes.MsgCancelOrder) error
RateLimitCancelOrder provides a mock function with given fields: ctx, order
func (*ClobKeeper) RateLimitPlaceOrder ¶
func (_m *ClobKeeper) RateLimitPlaceOrder(ctx types.Context, order *clobtypes.MsgPlaceOrder) error
RateLimitPlaceOrder provides a mock function with given fields: ctx, order
func (*ClobKeeper) RemoveClobPair ¶
func (_m *ClobKeeper) RemoveClobPair(ctx types.Context, id clobtypes.ClobPairId)
RemoveClobPair provides a mock function with given fields: ctx, id
func (*ClobKeeper) RemoveExpiredStatefulOrdersTimeSlices ¶
func (_m *ClobKeeper) RemoveExpiredStatefulOrdersTimeSlices(ctx types.Context, blockTime time.Time) []clobtypes.OrderId
RemoveExpiredStatefulOrdersTimeSlices provides a mock function with given fields: ctx, blockTime
func (*ClobKeeper) RemoveOrderFillAmount ¶
func (_m *ClobKeeper) RemoveOrderFillAmount(ctx types.Context, orderId clobtypes.OrderId)
RemoveOrderFillAmount provides a mock function with given fields: ctx, orderId
func (*ClobKeeper) SetLongTermOrderPlacement ¶
func (_m *ClobKeeper) SetLongTermOrderPlacement(ctx types.Context, order clobtypes.Order, blockHeight uint32)
SetLongTermOrderPlacement provides a mock function with given fields: ctx, order, blockHeight
func (*ClobKeeper) UpdateClobPair ¶
UpdateClobPair provides a mock function with given fields: ctx, clobPair
func (*ClobKeeper) UpdateLiquidationsConfig ¶
func (_m *ClobKeeper) UpdateLiquidationsConfig(ctx types.Context, config clobtypes.LiquidationsConfig) error
UpdateLiquidationsConfig provides a mock function with given fields: ctx, config
func (*ClobKeeper) UpdateSubaccountLiquidationInfo ¶
func (_m *ClobKeeper) UpdateSubaccountLiquidationInfo(ctx types.Context, subaccountId subaccountstypes.SubaccountId, notionalLiquidatedQuoteQuantums *big.Int, insuranceFundDeltaQuoteQuantums *big.Int)
UpdateSubaccountLiquidationInfo provides a mock function with given fields: ctx, subaccountId, notionalLiquidatedQuoteQuantums, insuranceFundDeltaQuoteQuantums
type Configurator ¶
Configurator is an autogenerated mock type for the Configurator type
func NewConfigurator ¶
func NewConfigurator(t mockConstructorTestingTNewConfigurator) *Configurator
NewConfigurator creates a new instance of Configurator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Configurator) MsgServer ¶
func (_m *Configurator) MsgServer() grpc.Server
MsgServer provides a mock function with given fields:
func (*Configurator) QueryServer ¶
func (_m *Configurator) QueryServer() grpc.Server
QueryServer provides a mock function with given fields:
func (*Configurator) RegisterMigration ¶
func (_m *Configurator) RegisterMigration(moduleName string, fromVersion uint64, handler module.MigrationHandler) error
RegisterMigration provides a mock function with given fields: moduleName, fromVersion, handler
type DelayMsgKeeper ¶
DelayMsgKeeper is an autogenerated mock type for the DelayMsgKeeper type
func NewDelayMsgKeeper ¶
func NewDelayMsgKeeper(t mockConstructorTestingTNewDelayMsgKeeper) *DelayMsgKeeper
NewDelayMsgKeeper creates a new instance of DelayMsgKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DelayMsgKeeper) DelayMessageByBlocks ¶
func (_m *DelayMsgKeeper) DelayMessageByBlocks(ctx types.Context, msg types.Msg, blockDelay uint32) (uint32, error)
DelayMessageByBlocks provides a mock function with given fields: ctx, msg, blockDelay
func (*DelayMsgKeeper) DeleteMessage ¶
func (_m *DelayMsgKeeper) DeleteMessage(ctx types.Context, id uint32) error
DeleteMessage provides a mock function with given fields: ctx, id
func (*DelayMsgKeeper) GetAllDelayedMessages ¶
func (_m *DelayMsgKeeper) GetAllDelayedMessages(ctx types.Context) []*delaymsgtypes.DelayedMessage
GetAllDelayedMessages provides a mock function with given fields: ctx
func (*DelayMsgKeeper) GetBlockMessageIds ¶
func (_m *DelayMsgKeeper) GetBlockMessageIds(ctx types.Context, blockHeight int64) (delaymsgtypes.BlockMessageIds, bool)
GetBlockMessageIds provides a mock function with given fields: ctx, blockHeight
func (*DelayMsgKeeper) GetMessage ¶
func (_m *DelayMsgKeeper) GetMessage(ctx types.Context, id uint32) (delaymsgtypes.DelayedMessage, bool)
GetMessage provides a mock function with given fields: ctx, id
func (*DelayMsgKeeper) HasAuthority ¶
func (_m *DelayMsgKeeper) HasAuthority(authority string) bool
HasAuthority provides a mock function with given fields: authority
func (*DelayMsgKeeper) Logger ¶
func (_m *DelayMsgKeeper) Logger(ctx types.Context) log.Logger
Logger provides a mock function with given fields: ctx
func (*DelayMsgKeeper) Router ¶
func (_m *DelayMsgKeeper) Router() lib.MsgRouter
Router provides a mock function with given fields:
func (*DelayMsgKeeper) SetDelayedMessage ¶
func (_m *DelayMsgKeeper) SetDelayedMessage(ctx types.Context, msg *delaymsgtypes.DelayedMessage) error
SetDelayedMessage provides a mock function with given fields: ctx, msg
func (*DelayMsgKeeper) SetNumMessages ¶
func (_m *DelayMsgKeeper) SetNumMessages(ctx types.Context, numMessages uint32)
SetNumMessages provides a mock function with given fields: ctx, numMessages
type EthClient ¶
EthClient is an autogenerated mock type for the EthClient type
func NewEthClient ¶
func NewEthClient(t mockConstructorTestingTNewEthClient) *EthClient
NewEthClient creates a new instance of EthClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*EthClient) FilterLogs ¶
func (_m *EthClient) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]coretypes.Log, error)
FilterLogs provides a mock function with given fields: ctx, q
type ExchangeConfigUpdater ¶
ExchangeConfigUpdater is an autogenerated mock type for the ExchangeConfigUpdater type
func NewExchangeConfigUpdater ¶
func NewExchangeConfigUpdater(t mockConstructorTestingTNewExchangeConfigUpdater) *ExchangeConfigUpdater
NewExchangeConfigUpdater creates a new instance of ExchangeConfigUpdater. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExchangeConfigUpdater) GetExchangeId ¶
func (_m *ExchangeConfigUpdater) GetExchangeId() string
GetExchangeId provides a mock function with given fields:
func (*ExchangeConfigUpdater) UpdateMutableExchangeConfig ¶
func (_m *ExchangeConfigUpdater) UpdateMutableExchangeConfig(newExchangeConfig *types.MutableExchangeMarketConfig, newMarketConfigs []*types.MutableMarketConfig) error
UpdateMutableExchangeConfig provides a mock function with given fields: newExchangeConfig, newMarketConfigs
type ExchangeQueryHandler ¶
ExchangeQueryHandler is an autogenerated mock type for the ExchangeQueryHandler type
func NewExchangeQueryHandler ¶
func NewExchangeQueryHandler(t mockConstructorTestingTNewExchangeQueryHandler) *ExchangeQueryHandler
NewExchangeQueryHandler creates a new instance of ExchangeQueryHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ExchangeQueryHandler) Now ¶
func (_m *ExchangeQueryHandler) Now() time.Time
Now provides a mock function with given fields:
func (*ExchangeQueryHandler) Query ¶
func (_m *ExchangeQueryHandler) Query(ctx context.Context, exchangeQueryDetails *types.ExchangeQueryDetails, exchangeConfig *types.MutableExchangeMarketConfig, marketIds []uint32, requestHandler lib.RequestHandler, marketPriceExponent map[uint32]int32) ([]*types.MarketPriceTimestamp, map[uint32]error, error)
Query provides a mock function with given fields: ctx, exchangeQueryDetails, exchangeConfig, marketIds, requestHandler, marketPriceExponent
type FileHandler ¶
FileHandler is an autogenerated mock type for the FileHandler type
func NewFileHandler ¶
func NewFileHandler(t mockConstructorTestingTNewFileHandler) *FileHandler
NewFileHandler creates a new instance of FileHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*FileHandler) RemoveAll ¶
func (_m *FileHandler) RemoveAll(path string) error
RemoveAll provides a mock function with given fields: path
type GrpcClient ¶
GrpcClient is an autogenerated mock type for the GrpcClient type
func NewGrpcClient ¶
func NewGrpcClient(t mockConstructorTestingTNewGrpcClient) *GrpcClient
NewGrpcClient creates a new instance of GrpcClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*GrpcClient) CloseConnection ¶
func (_m *GrpcClient) CloseConnection(grpcConn *grpc.ClientConn) error
CloseConnection provides a mock function with given fields: grpcConn
func (*GrpcClient) NewGrpcConnection ¶
func (_m *GrpcClient) NewGrpcConnection(ctx context.Context, socketAddress string) (*grpc.ClientConn, error)
NewGrpcConnection provides a mock function with given fields: ctx, socketAddress
func (*GrpcClient) NewTcpConnection ¶
func (_m *GrpcClient) NewTcpConnection(ctx context.Context, endpoint string) (*grpc.ClientConn, error)
NewTcpConnection provides a mock function with given fields: ctx, endpoint
type GrpcServer ¶
GrpcServer is an autogenerated mock type for the GrpcServer type
func NewGrpcServer ¶
func NewGrpcServer(t mockConstructorTestingTNewGrpcServer) *GrpcServer
NewGrpcServer creates a new instance of GrpcServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*GrpcServer) RegisterService ¶
func (_m *GrpcServer) RegisterService(sd *grpc.ServiceDesc, ss interface{})
RegisterService provides a mock function with given fields: sd, ss
func (*GrpcServer) Serve ¶
func (_m *GrpcServer) Serve(lis net.Listener) error
Serve provides a mock function with given fields: lis
func (*GrpcServer) Stop ¶
func (_m *GrpcServer) Stop()
Stop provides a mock function with given fields:
type IndexerEventManager ¶
IndexerEventManager is an autogenerated mock type for the IndexerEventManager type
func NewIndexerEventManager ¶
func NewIndexerEventManager(t mockConstructorTestingTNewIndexerEventManager) *IndexerEventManager
NewIndexerEventManager creates a new instance of IndexerEventManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IndexerEventManager) AddBlockEvent ¶
func (_m *IndexerEventManager) AddBlockEvent(ctx types.Context, subType string, data string, blockEvent indexer_manager.IndexerTendermintEvent_BlockEvent, version uint32)
AddBlockEvent provides a mock function with given fields: ctx, subType, data, blockEvent, version
func (*IndexerEventManager) AddTxnEvent ¶
func (_m *IndexerEventManager) AddTxnEvent(ctx types.Context, subType string, data string, version uint32)
AddTxnEvent provides a mock function with given fields: ctx, subType, data, version
func (*IndexerEventManager) ClearEvents ¶
func (_m *IndexerEventManager) ClearEvents(ctx types.Context)
ClearEvents provides a mock function with given fields: ctx
func (*IndexerEventManager) Enabled ¶
func (_m *IndexerEventManager) Enabled() bool
Enabled provides a mock function with given fields:
func (*IndexerEventManager) ProduceBlock ¶
func (_m *IndexerEventManager) ProduceBlock(ctx types.Context) *indexer_manager.IndexerTendermintBlock
ProduceBlock provides a mock function with given fields: ctx
func (*IndexerEventManager) SendOffchainData ¶
func (_m *IndexerEventManager) SendOffchainData(message msgsender.Message)
SendOffchainData provides a mock function with given fields: message
func (*IndexerEventManager) SendOnchainData ¶
func (_m *IndexerEventManager) SendOnchainData(block *indexer_manager.IndexerTendermintBlock)
SendOnchainData provides a mock function with given fields: block
type IndexerMessageSender ¶
IndexerMessageSender is an autogenerated mock type for the IndexerMessageSender type
func NewIndexerMessageSender ¶
func NewIndexerMessageSender(t mockConstructorTestingTNewIndexerMessageSender) *IndexerMessageSender
NewIndexerMessageSender creates a new instance of IndexerMessageSender. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IndexerMessageSender) Close ¶
func (_m *IndexerMessageSender) Close() error
Close provides a mock function with given fields:
func (*IndexerMessageSender) Enabled ¶
func (_m *IndexerMessageSender) Enabled() bool
Enabled provides a mock function with given fields:
func (*IndexerMessageSender) SendOffchainData ¶
func (_m *IndexerMessageSender) SendOffchainData(message msgsender.Message)
SendOffchainData provides a mock function with given fields: message
func (*IndexerMessageSender) SendOnchainData ¶
func (_m *IndexerMessageSender) SendOnchainData(message msgsender.Message)
SendOnchainData provides a mock function with given fields: message
type InterfaceRegistry ¶
InterfaceRegistry is an autogenerated mock type for the InterfaceRegistry type
func NewInterfaceRegistry ¶
func NewInterfaceRegistry(t mockConstructorTestingTNewInterfaceRegistry) *InterfaceRegistry
NewInterfaceRegistry creates a new instance of InterfaceRegistry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*InterfaceRegistry) EnsureRegistered ¶
func (_m *InterfaceRegistry) EnsureRegistered(iface interface{}) error
EnsureRegistered provides a mock function with given fields: iface
func (*InterfaceRegistry) ListAllInterfaces ¶
func (_m *InterfaceRegistry) ListAllInterfaces() []string
ListAllInterfaces provides a mock function with given fields:
func (*InterfaceRegistry) ListImplementations ¶
func (_m *InterfaceRegistry) ListImplementations(ifaceTypeURL string) []string
ListImplementations provides a mock function with given fields: ifaceTypeURL
func (*InterfaceRegistry) RegisterImplementations ¶
func (_m *InterfaceRegistry) RegisterImplementations(iface interface{}, impls ...proto.Message)
RegisterImplementations provides a mock function with given fields: iface, impls
func (*InterfaceRegistry) RegisterInterface ¶
func (_m *InterfaceRegistry) RegisterInterface(protoName string, iface interface{}, impls ...proto.Message)
RegisterInterface provides a mock function with given fields: protoName, iface, impls
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶
func NewLogger(t mockConstructorTestingTNewLogger) *Logger
NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Marshaler ¶
Marshaler is an autogenerated mock type for the Marshaler type
func NewMarshaler ¶
func NewMarshaler(t mockConstructorTestingTNewMarshaler) *Marshaler
NewMarshaler creates a new instance of Marshaler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type MemClob ¶
MemClob is an autogenerated mock type for the MemClob type
func NewMemClob ¶
func NewMemClob(t mockConstructorTestingTNewMemClob) *MemClob
NewMemClob creates a new instance of MemClob. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MemClob) CancelOrder ¶
func (_m *MemClob) CancelOrder(ctx types.Context, msgCancelOrder *clobtypes.MsgCancelOrder) (*clobtypes.OffchainUpdates, error)
CancelOrder provides a mock function with given fields: ctx, msgCancelOrder
func (*MemClob) CountSubaccountOrders ¶
func (_m *MemClob) CountSubaccountOrders(ctx types.Context, subaccountId subaccountstypes.SubaccountId, filter func(clobtypes.OrderId) bool) uint32
CountSubaccountOrders provides a mock function with given fields: ctx, subaccountId, filter
func (*MemClob) CreateOrderbook ¶
CreateOrderbook provides a mock function with given fields: ctx, clobPair
func (*MemClob) DeleverageSubaccount ¶ added in v0.3.0
func (_m *MemClob) DeleverageSubaccount(ctx types.Context, subaccountId subaccountstypes.SubaccountId, perpetualId uint32, deltaQuantums *big.Int) (*big.Int, error)
DeleverageSubaccount provides a mock function with given fields: ctx, subaccountId, perpetualId, deltaQuantums
func (*MemClob) GetCancelOrder ¶
GetCancelOrder provides a mock function with given fields: ctx, orderId
func (*MemClob) GetMidPrice ¶
func (_m *MemClob) GetMidPrice(ctx types.Context, clobPairId clobtypes.ClobPairId) (clobtypes.Subticks, bool)
GetMidPrice provides a mock function with given fields: ctx, clobPairId
func (*MemClob) GetOperationsRaw ¶
func (_m *MemClob) GetOperationsRaw(ctx types.Context) []clobtypes.OperationRaw
GetOperationsRaw provides a mock function with given fields: ctx
func (*MemClob) GetOperationsToReplay ¶
func (_m *MemClob) GetOperationsToReplay(ctx types.Context) ([]clobtypes.InternalOperation, map[clobtypes.OrderHash][]byte)
GetOperationsToReplay provides a mock function with given fields: ctx
func (*MemClob) GetOrderFilledAmount ¶
func (_m *MemClob) GetOrderFilledAmount(ctx types.Context, orderId clobtypes.OrderId) subaccountstypes.BaseQuantums
GetOrderFilledAmount provides a mock function with given fields: ctx, orderId
func (*MemClob) GetOrderRemainingAmount ¶ added in v0.3.0
func (_m *MemClob) GetOrderRemainingAmount(ctx types.Context, order clobtypes.Order) (subaccountstypes.BaseQuantums, bool)
GetOrderRemainingAmount provides a mock function with given fields: ctx, order
func (*MemClob) GetPricePremium ¶
func (_m *MemClob) GetPricePremium(ctx types.Context, clobPair clobtypes.ClobPair, params perpetualstypes.GetPricePremiumParams) (int32, error)
GetPricePremium provides a mock function with given fields: ctx, clobPair, params
func (*MemClob) GetSubaccountOrders ¶
func (_m *MemClob) GetSubaccountOrders(ctx types.Context, clobPairId clobtypes.ClobPairId, subaccountId subaccountstypes.SubaccountId, side clobtypes.Order_Side) ([]clobtypes.Order, error)
GetSubaccountOrders provides a mock function with given fields: ctx, clobPairId, subaccountId, side
func (*MemClob) PlaceOrder ¶
func (_m *MemClob) PlaceOrder(ctx types.Context, order clobtypes.Order) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, *clobtypes.OffchainUpdates, error)
PlaceOrder provides a mock function with given fields: ctx, order
func (*MemClob) PlacePerpetualLiquidation ¶
func (_m *MemClob) PlacePerpetualLiquidation(ctx types.Context, liquidationOrder clobtypes.LiquidationOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, *clobtypes.OffchainUpdates, error)
PlacePerpetualLiquidation provides a mock function with given fields: ctx, liquidationOrder
func (*MemClob) PurgeInvalidMemclobState ¶
func (_m *MemClob) PurgeInvalidMemclobState(ctx types.Context, fullyFilledOrderIds []clobtypes.OrderId, expiredStatefulOrderIds []clobtypes.OrderId, canceledStatefulOrderIds []clobtypes.OrderId, removedStatefulOrderIds []clobtypes.OrderId, existingOffchainUpdates *clobtypes.OffchainUpdates) *clobtypes.OffchainUpdates
PurgeInvalidMemclobState provides a mock function with given fields: ctx, fullyFilledOrderIds, expiredStatefulOrderIds, canceledStatefulOrderIds, removedStatefulOrderIds, existingOffchainUpdates
func (*MemClob) RemoveAndClearOperationsQueue ¶
func (_m *MemClob) RemoveAndClearOperationsQueue(ctx types.Context, localValidatorOperationsQueue []clobtypes.InternalOperation)
RemoveAndClearOperationsQueue provides a mock function with given fields: ctx, localValidatorOperationsQueue
func (*MemClob) RemoveOrderIfFilled ¶
RemoveOrderIfFilled provides a mock function with given fields: ctx, orderId
func (*MemClob) ReplayOperations ¶
func (_m *MemClob) ReplayOperations(ctx types.Context, localOperations []clobtypes.InternalOperation, shortTermOrderTxBytes map[clobtypes.OrderHash][]byte, existingOffchainUpdates *clobtypes.OffchainUpdates) *clobtypes.OffchainUpdates
ReplayOperations provides a mock function with given fields: ctx, localOperations, shortTermOrderTxBytes, existingOffchainUpdates
func (*MemClob) SetClobKeeper ¶
func (_m *MemClob) SetClobKeeper(keeper clobtypes.MemClobKeeper)
SetClobKeeper provides a mock function with given fields: keeper
func (*MemClob) SetMemclobGauges ¶
SetMemclobGauges provides a mock function with given fields: ctx
type MemClobKeeper ¶
MemClobKeeper is an autogenerated mock type for the MemClobKeeper type
func NewMemClobKeeper ¶
func NewMemClobKeeper(t mockConstructorTestingTNewMemClobKeeper) *MemClobKeeper
NewMemClobKeeper creates a new instance of MemClobKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MemClobKeeper) AddOrderToOrderbookCollatCheck ¶
func (_m *MemClobKeeper) AddOrderToOrderbookCollatCheck(ctx types.Context, clobPairId clobtypes.ClobPairId, subaccountOpenOrders map[subaccountstypes.SubaccountId][]clobtypes.PendingOpenOrder) (bool, map[subaccountstypes.SubaccountId]subaccountstypes.UpdateResult)
AddOrderToOrderbookCollatCheck provides a mock function with given fields: ctx, clobPairId, subaccountOpenOrders
func (*MemClobKeeper) CanDeleverageSubaccount ¶
func (_m *MemClobKeeper) CanDeleverageSubaccount(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (bool, error)
CanDeleverageSubaccount provides a mock function with given fields: ctx, subaccountId
func (*MemClobKeeper) CancelShortTermOrder ¶
func (_m *MemClobKeeper) CancelShortTermOrder(ctx types.Context, msgCancelOrder *clobtypes.MsgCancelOrder) error
CancelShortTermOrder provides a mock function with given fields: ctx, msgCancelOrder
func (*MemClobKeeper) GetIndexerEventManager ¶
func (_m *MemClobKeeper) GetIndexerEventManager() indexer_manager.IndexerEventManager
GetIndexerEventManager provides a mock function with given fields:
func (*MemClobKeeper) GetLongTermOrderPlacement ¶
func (_m *MemClobKeeper) GetLongTermOrderPlacement(ctx types.Context, orderId clobtypes.OrderId) (clobtypes.LongTermOrderPlacement, bool)
GetLongTermOrderPlacement provides a mock function with given fields: ctx, orderId
func (*MemClobKeeper) GetOrderFillAmount ¶
func (_m *MemClobKeeper) GetOrderFillAmount(ctx types.Context, orderId clobtypes.OrderId) (bool, subaccountstypes.BaseQuantums, uint32)
GetOrderFillAmount provides a mock function with given fields: ctx, orderId
func (*MemClobKeeper) GetStatePosition ¶
func (_m *MemClobKeeper) GetStatePosition(ctx types.Context, subaccountId subaccountstypes.SubaccountId, clobPairId clobtypes.ClobPairId) *big.Int
GetStatePosition provides a mock function with given fields: ctx, subaccountId, clobPairId
func (*MemClobKeeper) IsLiquidatable ¶
func (_m *MemClobKeeper) IsLiquidatable(ctx types.Context, subaccountId subaccountstypes.SubaccountId) (bool, error)
IsLiquidatable provides a mock function with given fields: ctx, subaccountId
func (*MemClobKeeper) Logger ¶
func (_m *MemClobKeeper) Logger(ctx types.Context) log.Logger
Logger provides a mock function with given fields: ctx
func (*MemClobKeeper) MustAddOrderToStatefulOrdersTimeSlice ¶
func (_m *MemClobKeeper) MustAddOrderToStatefulOrdersTimeSlice(ctx types.Context, goodTilBlockTime time.Time, orderId clobtypes.OrderId)
MustAddOrderToStatefulOrdersTimeSlice provides a mock function with given fields: ctx, goodTilBlockTime, orderId
func (*MemClobKeeper) OffsetSubaccountPerpetualPosition ¶
func (_m *MemClobKeeper) OffsetSubaccountPerpetualPosition(ctx types.Context, liquidatedSubaccountId subaccountstypes.SubaccountId, perpetualId uint32, deltaQuantumsTotal *big.Int) ([]clobtypes.MatchPerpetualDeleveraging_Fill, *big.Int)
OffsetSubaccountPerpetualPosition provides a mock function with given fields: ctx, liquidatedSubaccountId, perpetualId, deltaQuantumsTotal
func (*MemClobKeeper) ProcessSingleMatch ¶
func (_m *MemClobKeeper) ProcessSingleMatch(ctx types.Context, matchWithOrders *clobtypes.MatchWithOrders) (bool, subaccountstypes.UpdateResult, subaccountstypes.UpdateResult, *clobtypes.OffchainUpdates, error)
ProcessSingleMatch provides a mock function with given fields: ctx, matchWithOrders
func (*MemClobKeeper) ReplayPlaceOrder ¶
func (_m *MemClobKeeper) ReplayPlaceOrder(ctx types.Context, msg *clobtypes.MsgPlaceOrder) (subaccountstypes.BaseQuantums, clobtypes.OrderStatus, *clobtypes.OffchainUpdates, error)
ReplayPlaceOrder provides a mock function with given fields: ctx, msg
func (*MemClobKeeper) SetLongTermOrderPlacement ¶
func (_m *MemClobKeeper) SetLongTermOrderPlacement(ctx types.Context, order clobtypes.Order, blockHeight uint32)
SetLongTermOrderPlacement provides a mock function with given fields: ctx, order, blockHeight
func (*MemClobKeeper) ValidateSubaccountEquityTierLimitForNewOrder ¶
func (_m *MemClobKeeper) ValidateSubaccountEquityTierLimitForNewOrder(ctx types.Context, order clobtypes.Order) error
ValidateSubaccountEquityTierLimitForNewOrder provides a mock function with given fields: ctx, order
type MsgRouter ¶
MsgRouter is an autogenerated mock type for the MsgRouter type
func NewMsgRouter ¶
func NewMsgRouter(t mockConstructorTestingTNewMsgRouter) *MsgRouter
NewMsgRouter creates a new instance of MsgRouter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type MultiStore ¶ added in v0.3.0
MultiStore is an autogenerated mock type for the MultiStore type
func NewMultiStore ¶ added in v0.3.0
func NewMultiStore(t mockConstructorTestingTNewMultiStore) *MultiStore
NewMultiStore creates a new instance of MultiStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MultiStore) CacheMultiStore ¶ added in v0.3.0
func (_m *MultiStore) CacheMultiStore() types.CacheMultiStore
CacheMultiStore provides a mock function with given fields:
func (*MultiStore) CacheMultiStoreWithVersion ¶ added in v0.3.0
func (_m *MultiStore) CacheMultiStoreWithVersion(version int64) (types.CacheMultiStore, error)
CacheMultiStoreWithVersion provides a mock function with given fields: version
func (*MultiStore) CacheWrap ¶ added in v0.3.0
func (_m *MultiStore) CacheWrap() types.CacheWrap
CacheWrap provides a mock function with given fields:
func (*MultiStore) CacheWrapWithTrace ¶ added in v0.3.0
func (_m *MultiStore) CacheWrapWithTrace(w io.Writer, tc types.TraceContext) types.CacheWrap
CacheWrapWithTrace provides a mock function with given fields: w, tc
func (*MultiStore) GetKVStore ¶ added in v0.3.0
func (_m *MultiStore) GetKVStore(_a0 types.StoreKey) types.KVStore
GetKVStore provides a mock function with given fields: _a0
func (*MultiStore) GetStore ¶ added in v0.3.0
func (_m *MultiStore) GetStore(_a0 types.StoreKey) types.Store
GetStore provides a mock function with given fields: _a0
func (*MultiStore) GetStoreType ¶ added in v0.3.0
func (_m *MultiStore) GetStoreType() types.StoreType
GetStoreType provides a mock function with given fields:
func (*MultiStore) LatestVersion ¶ added in v0.3.0
func (_m *MultiStore) LatestVersion() int64
LatestVersion provides a mock function with given fields:
func (*MultiStore) SetTracer ¶ added in v0.3.0
func (_m *MultiStore) SetTracer(w io.Writer) types.MultiStore
SetTracer provides a mock function with given fields: w
func (*MultiStore) SetTracingContext ¶ added in v0.3.0
func (_m *MultiStore) SetTracingContext(_a0 types.TraceContext) types.MultiStore
SetTracingContext provides a mock function with given fields: _a0
func (*MultiStore) TracingEnabled ¶ added in v0.3.0
func (_m *MultiStore) TracingEnabled() bool
TracingEnabled provides a mock function with given fields:
type PerpetualsClobKeeper ¶
PerpetualsClobKeeper is an autogenerated mock type for the PerpetualsClobKeeper type
func NewPerpetualsClobKeeper ¶
func NewPerpetualsClobKeeper(t mockConstructorTestingTNewPerpetualsClobKeeper) *PerpetualsClobKeeper
NewPerpetualsClobKeeper creates a new instance of PerpetualsClobKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PerpetualsClobKeeper) GetPricePremiumForPerpetual ¶
func (_m *PerpetualsClobKeeper) GetPricePremiumForPerpetual(ctx types.Context, perpetualId uint32, params perpetualstypes.GetPricePremiumParams) (int32, error)
GetPricePremiumForPerpetual provides a mock function with given fields: ctx, perpetualId, params
func (*PerpetualsClobKeeper) IsPerpetualClobPairActive ¶
func (_m *PerpetualsClobKeeper) IsPerpetualClobPairActive(ctx types.Context, perpetualId uint32) (bool, error)
IsPerpetualClobPairActive provides a mock function with given fields: ctx, perpetualId
type PerpetualsKeeper ¶
PerpetualsKeeper is an autogenerated mock type for the PerpetualsKeeper type
func NewPerpetualsKeeper ¶
func NewPerpetualsKeeper(t mockConstructorTestingTNewPerpetualsKeeper) *PerpetualsKeeper
NewPerpetualsKeeper creates a new instance of PerpetualsKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PerpetualsKeeper) AddPremiumVotes ¶
func (_m *PerpetualsKeeper) AddPremiumVotes(ctx types.Context, votes []perpetualstypes.FundingPremium) error
AddPremiumVotes provides a mock function with given fields: ctx, votes
func (*PerpetualsKeeper) CreatePerpetual ¶ added in v0.3.0
func (_m *PerpetualsKeeper) CreatePerpetual(ctx types.Context, id uint32, ticker string, marketId uint32, atomicResolution int32, defaultFundingPpm int32, liquidityTier uint32) (perpetualstypes.Perpetual, error)
CreatePerpetual provides a mock function with given fields: ctx, id, ticker, marketId, atomicResolution, defaultFundingPpm, liquidityTier
func (*PerpetualsKeeper) GetAddPremiumVotes ¶
func (_m *PerpetualsKeeper) GetAddPremiumVotes(ctx types.Context) *perpetualstypes.MsgAddPremiumVotes
GetAddPremiumVotes provides a mock function with given fields: ctx
func (*PerpetualsKeeper) GetMarginRequirements ¶
func (_m *PerpetualsKeeper) GetMarginRequirements(ctx types.Context, id uint32, bigQuantums *big.Int) (*big.Int, *big.Int, error)
GetMarginRequirements provides a mock function with given fields: ctx, id, bigQuantums
func (*PerpetualsKeeper) GetNetCollateral ¶
func (_m *PerpetualsKeeper) GetNetCollateral(ctx types.Context, id uint32, bigQuantums *big.Int) (*big.Int, error)
GetNetCollateral provides a mock function with given fields: ctx, id, bigQuantums
func (*PerpetualsKeeper) GetNetNotional ¶
func (_m *PerpetualsKeeper) GetNetNotional(ctx types.Context, id uint32, bigQuantums *big.Int) (*big.Int, error)
GetNetNotional provides a mock function with given fields: ctx, id, bigQuantums
func (*PerpetualsKeeper) GetNotionalInBaseQuantums ¶
func (_m *PerpetualsKeeper) GetNotionalInBaseQuantums(ctx types.Context, id uint32, bigQuoteQuantums *big.Int) (*big.Int, error)
GetNotionalInBaseQuantums provides a mock function with given fields: ctx, id, bigQuoteQuantums
func (*PerpetualsKeeper) HasAuthority ¶ added in v0.3.0
func (_m *PerpetualsKeeper) HasAuthority(authority string) bool
HasAuthority provides a mock function with given fields: authority
func (*PerpetualsKeeper) MaybeProcessNewFundingSampleEpoch ¶
func (_m *PerpetualsKeeper) MaybeProcessNewFundingSampleEpoch(ctx types.Context)
MaybeProcessNewFundingSampleEpoch provides a mock function with given fields: ctx
func (*PerpetualsKeeper) MaybeProcessNewFundingTickEpoch ¶
func (_m *PerpetualsKeeper) MaybeProcessNewFundingTickEpoch(ctx types.Context)
MaybeProcessNewFundingTickEpoch provides a mock function with given fields: ctx
func (*PerpetualsKeeper) ModifyPerpetual ¶ added in v0.3.0
func (_m *PerpetualsKeeper) ModifyPerpetual(ctx types.Context, id uint32, ticker string, marketId uint32, defaultFundingPpm int32, liquidityTier uint32) (perpetualstypes.Perpetual, error)
ModifyPerpetual provides a mock function with given fields: ctx, id, ticker, marketId, defaultFundingPpm, liquidityTier
func (*PerpetualsKeeper) PerformStatefulPremiumVotesValidation ¶
func (_m *PerpetualsKeeper) PerformStatefulPremiumVotesValidation(ctx types.Context, msg *perpetualstypes.MsgAddPremiumVotes) error
PerformStatefulPremiumVotesValidation provides a mock function with given fields: ctx, msg
func (*PerpetualsKeeper) SetLiquidityTier ¶ added in v0.3.0
func (_m *PerpetualsKeeper) SetLiquidityTier(ctx types.Context, id uint32, name string, initialMarginPpm uint32, maintenanceFractionPpm uint32, basePositionNotional uint64, impactNotional uint64) (perpetualstypes.LiquidityTier, error)
SetLiquidityTier provides a mock function with given fields: ctx, id, name, initialMarginPpm, maintenanceFractionPpm, basePositionNotional, impactNotional
func (*PerpetualsKeeper) SetParams ¶ added in v0.3.0
func (_m *PerpetualsKeeper) SetParams(ctx types.Context, params perpetualstypes.Params) error
SetParams provides a mock function with given fields: ctx, params
type PrepareBridgeKeeper ¶
PrepareBridgeKeeper is an autogenerated mock type for the PrepareBridgeKeeper type
func NewPrepareBridgeKeeper ¶
func NewPrepareBridgeKeeper(t mockConstructorTestingTNewPrepareBridgeKeeper) *PrepareBridgeKeeper
NewPrepareBridgeKeeper creates a new instance of PrepareBridgeKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PrepareBridgeKeeper) GetAcknowledgeBridges ¶
func (_m *PrepareBridgeKeeper) GetAcknowledgeBridges(ctx types.Context, blockTimestamp time.Time) *bridgetypes.MsgAcknowledgeBridges
GetAcknowledgeBridges provides a mock function with given fields: ctx, blockTimestamp
type PrepareClobKeeper ¶
PrepareClobKeeper is an autogenerated mock type for the PrepareClobKeeper type
func NewPrepareClobKeeper ¶
func NewPrepareClobKeeper(t mockConstructorTestingTNewPrepareClobKeeper) *PrepareClobKeeper
NewPrepareClobKeeper creates a new instance of PrepareClobKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PrepareClobKeeper) GetOperations ¶
func (_m *PrepareClobKeeper) GetOperations(ctx types.Context) *clobtypes.MsgProposedOperations
GetOperations provides a mock function with given fields: ctx
type PreparePerpetualsKeeper ¶
PreparePerpetualsKeeper is an autogenerated mock type for the PreparePerpetualsKeeper type
func NewPreparePerpetualsKeeper ¶
func NewPreparePerpetualsKeeper(t mockConstructorTestingTNewPreparePerpetualsKeeper) *PreparePerpetualsKeeper
NewPreparePerpetualsKeeper creates a new instance of PreparePerpetualsKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PreparePerpetualsKeeper) GetAddPremiumVotes ¶
func (_m *PreparePerpetualsKeeper) GetAddPremiumVotes(ctx types.Context) *perpetualstypes.MsgAddPremiumVotes
GetAddPremiumVotes provides a mock function with given fields: ctx
type PreparePricesKeeper ¶
PreparePricesKeeper is an autogenerated mock type for the PreparePricesKeeper type
func NewPreparePricesKeeper ¶
func NewPreparePricesKeeper(t mockConstructorTestingTNewPreparePricesKeeper) *PreparePricesKeeper
NewPreparePricesKeeper creates a new instance of PreparePricesKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PreparePricesKeeper) GetValidMarketPriceUpdates ¶
func (_m *PreparePricesKeeper) GetValidMarketPriceUpdates(ctx types.Context) *pricestypes.MsgUpdateMarketPrices
GetValidMarketPriceUpdates provides a mock function with given fields: ctx
type PricefeedMutableMarketConfigs ¶
PricefeedMutableMarketConfigs is an autogenerated mock type for the PricefeedMutableMarketConfigs type
func NewPricefeedMutableMarketConfigs ¶
func NewPricefeedMutableMarketConfigs(t mockConstructorTestingTNewPricefeedMutableMarketConfigs) *PricefeedMutableMarketConfigs
NewPricefeedMutableMarketConfigs creates a new instance of PricefeedMutableMarketConfigs. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PricefeedMutableMarketConfigs) AddPriceEncoder ¶
func (_m *PricefeedMutableMarketConfigs) AddPriceEncoder(updater types.ExchangeConfigUpdater)
AddPriceEncoder provides a mock function with given fields: updater
func (*PricefeedMutableMarketConfigs) AddPriceFetcher ¶
func (_m *PricefeedMutableMarketConfigs) AddPriceFetcher(updater types.ExchangeConfigUpdater)
AddPriceFetcher provides a mock function with given fields: updater
func (*PricefeedMutableMarketConfigs) GetExchangeMarketConfigCopy ¶
func (_m *PricefeedMutableMarketConfigs) GetExchangeMarketConfigCopy(id string) (*types.MutableExchangeMarketConfig, error)
GetExchangeMarketConfigCopy provides a mock function with given fields: id
func (*PricefeedMutableMarketConfigs) GetMarketConfigCopies ¶
func (_m *PricefeedMutableMarketConfigs) GetMarketConfigCopies(markets []uint32) ([]*types.MutableMarketConfig, error)
GetMarketConfigCopies provides a mock function with given fields: markets
func (*PricefeedMutableMarketConfigs) UpdateMarkets ¶
func (_m *PricefeedMutableMarketConfigs) UpdateMarkets(marketParams []pricestypes.MarketParam) error
UpdateMarkets provides a mock function with given fields: marketParams
type PricesKeeper ¶
PricesKeeper is an autogenerated mock type for the PricesKeeper type
func NewPricesKeeper ¶
func NewPricesKeeper(t mockConstructorTestingTNewPricesKeeper) *PricesKeeper
NewPricesKeeper creates a new instance of PricesKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PricesKeeper) CreateMarket ¶
func (_m *PricesKeeper) CreateMarket(ctx types.Context, param pricestypes.MarketParam, price pricestypes.MarketPrice) (pricestypes.MarketParam, error)
CreateMarket provides a mock function with given fields: ctx, param, price
func (*PricesKeeper) GetAllMarketParamPrices ¶
func (_m *PricesKeeper) GetAllMarketParamPrices(ctx types.Context) ([]pricestypes.MarketParamPrice, error)
GetAllMarketParamPrices provides a mock function with given fields: ctx
func (*PricesKeeper) GetAllMarketParams ¶
func (_m *PricesKeeper) GetAllMarketParams(ctx types.Context) []pricestypes.MarketParam
GetAllMarketParams provides a mock function with given fields: ctx
func (*PricesKeeper) GetAllMarketPrices ¶
func (_m *PricesKeeper) GetAllMarketPrices(ctx types.Context) []pricestypes.MarketPrice
GetAllMarketPrices provides a mock function with given fields: ctx
func (*PricesKeeper) GetMarketIdToValidIndexPrice ¶ added in v0.3.0
func (_m *PricesKeeper) GetMarketIdToValidIndexPrice(ctx types.Context) map[uint32]pricestypes.MarketPrice
GetMarketIdToValidIndexPrice provides a mock function with given fields: ctx
func (*PricesKeeper) GetMarketParam ¶
func (_m *PricesKeeper) GetMarketParam(ctx types.Context, id uint32) (pricestypes.MarketParam, bool)
GetMarketParam provides a mock function with given fields: ctx, id
func (*PricesKeeper) GetMarketPrice ¶
func (_m *PricesKeeper) GetMarketPrice(ctx types.Context, id uint32) (pricestypes.MarketPrice, error)
GetMarketPrice provides a mock function with given fields: ctx, id
func (*PricesKeeper) HasAuthority ¶ added in v0.3.0
func (_m *PricesKeeper) HasAuthority(authority string) bool
HasAuthority provides a mock function with given fields: authority
func (*PricesKeeper) Logger ¶
func (_m *PricesKeeper) Logger(ctx types.Context) log.Logger
Logger provides a mock function with given fields: ctx
func (*PricesKeeper) ModifyMarketParam ¶
func (_m *PricesKeeper) ModifyMarketParam(ctx types.Context, param pricestypes.MarketParam) (pricestypes.MarketParam, error)
ModifyMarketParam provides a mock function with given fields: ctx, param
func (*PricesKeeper) PerformStatefulPriceUpdateValidation ¶
func (_m *PricesKeeper) PerformStatefulPriceUpdateValidation(ctx types.Context, marketPriceUpdates *pricestypes.MsgUpdateMarketPrices, performNonDeterministicValidation bool) error
PerformStatefulPriceUpdateValidation provides a mock function with given fields: ctx, marketPriceUpdates, performNonDeterministicValidation
func (*PricesKeeper) UpdateMarketPrices ¶
func (_m *PricesKeeper) UpdateMarketPrices(ctx types.Context, updates []*pricestypes.MsgUpdateMarketPrices_MarketPrice) error
UpdateMarketPrices provides a mock function with given fields: ctx, updates
func (*PricesKeeper) UpdateSmoothedPrices ¶
func (_m *PricesKeeper) UpdateSmoothedPrices(ctx types.Context) error
UpdateSmoothedPrices provides a mock function with given fields: ctx
type ProcessBridgeKeeper ¶
ProcessBridgeKeeper is an autogenerated mock type for the ProcessBridgeKeeper type
func NewProcessBridgeKeeper ¶
func NewProcessBridgeKeeper(t mockConstructorTestingTNewProcessBridgeKeeper) *ProcessBridgeKeeper
NewProcessBridgeKeeper creates a new instance of ProcessBridgeKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProcessBridgeKeeper) GetAcknowledgedEventInfo ¶
func (_m *ProcessBridgeKeeper) GetAcknowledgedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
GetAcknowledgedEventInfo provides a mock function with given fields: ctx
func (*ProcessBridgeKeeper) GetBridgeEventFromServer ¶
func (_m *ProcessBridgeKeeper) GetBridgeEventFromServer(ctx types.Context, id uint32) (bridgetypes.BridgeEvent, bool)
GetBridgeEventFromServer provides a mock function with given fields: ctx, id
func (*ProcessBridgeKeeper) GetRecognizedEventInfo ¶
func (_m *ProcessBridgeKeeper) GetRecognizedEventInfo(ctx types.Context) bridgetypes.BridgeEventInfo
GetRecognizedEventInfo provides a mock function with given fields: ctx
type ProcessClobKeeper ¶
ProcessClobKeeper is an autogenerated mock type for the ProcessClobKeeper type
func NewProcessClobKeeper ¶
func NewProcessClobKeeper(t mockConstructorTestingTNewProcessClobKeeper) *ProcessClobKeeper
NewProcessClobKeeper creates a new instance of ProcessClobKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProcessClobKeeper) RecordMevMetrics ¶
func (_m *ProcessClobKeeper) RecordMevMetrics(ctx types.Context, stakingKeeper process.ProcessStakingKeeper, perpetualKeeper process.ProcessPerpetualKeeper, msgProposedOperations *clobtypes.MsgProposedOperations)
RecordMevMetrics provides a mock function with given fields: ctx, stakingKeeper, perpetualKeeper, msgProposedOperations
func (*ProcessClobKeeper) RecordMevMetricsIsEnabled ¶
func (_m *ProcessClobKeeper) RecordMevMetricsIsEnabled() bool
RecordMevMetricsIsEnabled provides a mock function with given fields:
type ProcessPerpetualKeeper ¶
ProcessPerpetualKeeper is an autogenerated mock type for the ProcessPerpetualKeeper type
func NewProcessPerpetualKeeper ¶
func NewProcessPerpetualKeeper(t mockConstructorTestingTNewProcessPerpetualKeeper) *ProcessPerpetualKeeper
NewProcessPerpetualKeeper creates a new instance of ProcessPerpetualKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProcessPerpetualKeeper) GetPerpetual ¶
func (_m *ProcessPerpetualKeeper) GetPerpetual(ctx types.Context, id uint32) (perpetualstypes.Perpetual, error)
GetPerpetual provides a mock function with given fields: ctx, id
func (*ProcessPerpetualKeeper) GetSettlementPpm ¶ added in v0.3.0
func (_m *ProcessPerpetualKeeper) GetSettlementPpm(ctx types.Context, perpetualId uint32, quantums *big.Int, index *big.Int) (*big.Int, *big.Int, error)
GetSettlementPpm provides a mock function with given fields: ctx, perpetualId, quantums, index
func (*ProcessPerpetualKeeper) MaybeProcessNewFundingTickEpoch ¶
func (_m *ProcessPerpetualKeeper) MaybeProcessNewFundingTickEpoch(ctx types.Context)
MaybeProcessNewFundingTickEpoch provides a mock function with given fields: ctx
type ProcessStakingKeeper ¶
ProcessStakingKeeper is an autogenerated mock type for the ProcessStakingKeeper type
func NewProcessStakingKeeper ¶
func NewProcessStakingKeeper(t mockConstructorTestingTNewProcessStakingKeeper) *ProcessStakingKeeper
NewProcessStakingKeeper creates a new instance of ProcessStakingKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProcessStakingKeeper) GetValidatorByConsAddr ¶
func (_m *ProcessStakingKeeper) GetValidatorByConsAddr(ctx types.Context, consAddr types.ConsAddress) (stakingtypes.Validator, bool)
GetValidatorByConsAddr provides a mock function with given fields: ctx, consAddr
type QueryClient ¶
QueryClient is an autogenerated mock type for the QueryClient type
func NewQueryClient ¶
func NewQueryClient(t mockConstructorTestingTNewQueryClient) *QueryClient
NewQueryClient creates a new instance of QueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*QueryClient) AddBridgeEvents ¶
func (_m *QueryClient) AddBridgeEvents(ctx context.Context, in *api.AddBridgeEventsRequest, opts ...grpc.CallOption) (*api.AddBridgeEventsResponse, error)
AddBridgeEvents provides a mock function with given fields: ctx, in, opts
func (*QueryClient) AllMarketParams ¶
func (_m *QueryClient) AllMarketParams(ctx context.Context, in *types.QueryAllMarketParamsRequest, opts ...grpc.CallOption) (*types.QueryAllMarketParamsResponse, error)
AllMarketParams provides a mock function with given fields: ctx, in, opts
func (*QueryClient) AllMarketPrices ¶
func (_m *QueryClient) AllMarketPrices(ctx context.Context, in *types.QueryAllMarketPricesRequest, opts ...grpc.CallOption) (*types.QueryAllMarketPricesResponse, error)
AllMarketPrices provides a mock function with given fields: ctx, in, opts
func (*QueryClient) AreSubaccountsLiquidatable ¶
func (_m *QueryClient) AreSubaccountsLiquidatable(ctx context.Context, in *clobtypes.AreSubaccountsLiquidatableRequest, opts ...grpc.CallOption) (*clobtypes.AreSubaccountsLiquidatableResponse, error)
AreSubaccountsLiquidatable provides a mock function with given fields: ctx, in, opts
func (*QueryClient) ClobPair ¶
func (_m *QueryClient) ClobPair(ctx context.Context, in *clobtypes.QueryGetClobPairRequest, opts ...grpc.CallOption) (*clobtypes.QueryClobPairResponse, error)
ClobPair provides a mock function with given fields: ctx, in, opts
func (*QueryClient) ClobPairAll ¶
func (_m *QueryClient) ClobPairAll(ctx context.Context, in *clobtypes.QueryAllClobPairRequest, opts ...grpc.CallOption) (*clobtypes.QueryClobPairAllResponse, error)
ClobPairAll provides a mock function with given fields: ctx, in, opts
func (*QueryClient) EquityTierLimitConfiguration ¶
func (_m *QueryClient) EquityTierLimitConfiguration(ctx context.Context, in *clobtypes.QueryEquityTierLimitConfigurationRequest, opts ...grpc.CallOption) (*clobtypes.QueryEquityTierLimitConfigurationResponse, error)
EquityTierLimitConfiguration provides a mock function with given fields: ctx, in, opts
func (*QueryClient) LiquidateSubaccounts ¶
func (_m *QueryClient) LiquidateSubaccounts(ctx context.Context, in *liquidationapi.LiquidateSubaccountsRequest, opts ...grpc.CallOption) (*liquidationapi.LiquidateSubaccountsResponse, error)
LiquidateSubaccounts provides a mock function with given fields: ctx, in, opts
func (*QueryClient) MarketParam ¶
func (_m *QueryClient) MarketParam(ctx context.Context, in *types.QueryMarketParamRequest, opts ...grpc.CallOption) (*types.QueryMarketParamResponse, error)
MarketParam provides a mock function with given fields: ctx, in, opts
func (*QueryClient) MarketPrice ¶
func (_m *QueryClient) MarketPrice(ctx context.Context, in *types.QueryMarketPriceRequest, opts ...grpc.CallOption) (*types.QueryMarketPriceResponse, error)
MarketPrice provides a mock function with given fields: ctx, in, opts
func (*QueryClient) MevNodeToNodeCalculation ¶
func (_m *QueryClient) MevNodeToNodeCalculation(ctx context.Context, in *clobtypes.MevNodeToNodeCalculationRequest, opts ...grpc.CallOption) (*clobtypes.MevNodeToNodeCalculationResponse, error)
MevNodeToNodeCalculation provides a mock function with given fields: ctx, in, opts
func (*QueryClient) Subaccount ¶
func (_m *QueryClient) Subaccount(ctx context.Context, in *subaccountstypes.QueryGetSubaccountRequest, opts ...grpc.CallOption) (*subaccountstypes.QuerySubaccountResponse, error)
Subaccount provides a mock function with given fields: ctx, in, opts
func (*QueryClient) SubaccountAll ¶
func (_m *QueryClient) SubaccountAll(ctx context.Context, in *subaccountstypes.QueryAllSubaccountRequest, opts ...grpc.CallOption) (*subaccountstypes.QuerySubaccountAllResponse, error)
SubaccountAll provides a mock function with given fields: ctx, in, opts
func (*QueryClient) UpdateMarketPrices ¶
func (_m *QueryClient) UpdateMarketPrices(ctx context.Context, in *pricefeedapi.UpdateMarketPricesRequest, opts ...grpc.CallOption) (*pricefeedapi.UpdateMarketPricesResponse, error)
UpdateMarketPrices provides a mock function with given fields: ctx, in, opts
type QueryServer ¶
QueryServer is an autogenerated mock type for the QueryServer type
func NewQueryServer ¶
func NewQueryServer(t mockConstructorTestingTNewQueryServer) *QueryServer
NewQueryServer creates a new instance of QueryServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*QueryServer) AllMarketParams ¶
func (_m *QueryServer) AllMarketParams(_a0 context.Context, _a1 *types.QueryAllMarketParamsRequest) (*types.QueryAllMarketParamsResponse, error)
AllMarketParams provides a mock function with given fields: _a0, _a1
func (*QueryServer) AllMarketPrices ¶
func (_m *QueryServer) AllMarketPrices(_a0 context.Context, _a1 *types.QueryAllMarketPricesRequest) (*types.QueryAllMarketPricesResponse, error)
AllMarketPrices provides a mock function with given fields: _a0, _a1
func (*QueryServer) MarketParam ¶
func (_m *QueryServer) MarketParam(_a0 context.Context, _a1 *types.QueryMarketParamRequest) (*types.QueryMarketParamResponse, error)
MarketParam provides a mock function with given fields: _a0, _a1
func (*QueryServer) MarketPrice ¶
func (_m *QueryServer) MarketPrice(_a0 context.Context, _a1 *types.QueryMarketPriceRequest) (*types.QueryMarketPriceResponse, error)
MarketPrice provides a mock function with given fields: _a0, _a1
type RequestHandler ¶
RequestHandler is an autogenerated mock type for the RequestHandler type
func NewRequestHandler ¶
func NewRequestHandler(t mockConstructorTestingTNewRequestHandler) *RequestHandler
NewRequestHandler creates a new instance of RequestHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type SendingKeeper ¶
SendingKeeper is an autogenerated mock type for the SendingKeeper type
func NewSendingKeeper ¶
func NewSendingKeeper(t mockConstructorTestingTNewSendingKeeper) *SendingKeeper
NewSendingKeeper creates a new instance of SendingKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SendingKeeper) HasAuthority ¶ added in v0.3.0
func (_m *SendingKeeper) HasAuthority(authority string) bool
HasAuthority provides a mock function with given fields: authority
func (*SendingKeeper) ProcessDepositToSubaccount ¶
func (_m *SendingKeeper) ProcessDepositToSubaccount(ctx cosmos_sdktypes.Context, msgDepositToSubaccount *types.MsgDepositToSubaccount) error
ProcessDepositToSubaccount provides a mock function with given fields: ctx, msgDepositToSubaccount
func (*SendingKeeper) ProcessTransfer ¶
func (_m *SendingKeeper) ProcessTransfer(ctx cosmos_sdktypes.Context, transfer *types.Transfer) error
ProcessTransfer provides a mock function with given fields: ctx, transfer
func (*SendingKeeper) ProcessWithdrawFromSubaccount ¶
func (_m *SendingKeeper) ProcessWithdrawFromSubaccount(ctx cosmos_sdktypes.Context, msgWithdrawFromSubaccount *types.MsgWithdrawFromSubaccount) error
ProcessWithdrawFromSubaccount provides a mock function with given fields: ctx, msgWithdrawFromSubaccount
func (*SendingKeeper) SendFromModuleToAccount ¶ added in v0.3.0
func (_m *SendingKeeper) SendFromModuleToAccount(ctx cosmos_sdktypes.Context, msg *types.MsgSendFromModuleToAccount) error
SendFromModuleToAccount provides a mock function with given fields: ctx, msg
type Server ¶
Server is an autogenerated mock type for the Server type
func NewServer ¶
func NewServer(t mockConstructorTestingTNewServer) *Server
NewServer creates a new instance of Server. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Server) RegisterService ¶
func (_m *Server) RegisterService(sd *grpc.ServiceDesc, ss interface{})
RegisterService provides a mock function with given fields: sd, ss
type SubaccountsKeeper ¶
SubaccountsKeeper is an autogenerated mock type for the SubaccountsKeeper type
func NewSubaccountsKeeper ¶
func NewSubaccountsKeeper(t mockConstructorTestingTNewSubaccountsKeeper) *SubaccountsKeeper
NewSubaccountsKeeper creates a new instance of SubaccountsKeeper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SubaccountsKeeper) CanUpdateSubaccounts ¶
func (_m *SubaccountsKeeper) CanUpdateSubaccounts(ctx types.Context, updates []subaccountstypes.Update) (bool, []subaccountstypes.UpdateResult, error)
CanUpdateSubaccounts provides a mock function with given fields: ctx, updates
func (*SubaccountsKeeper) DepositFundsFromAccountToSubaccount ¶
func (_m *SubaccountsKeeper) DepositFundsFromAccountToSubaccount(ctx types.Context, fromAccount types.AccAddress, toSubaccountId subaccountstypes.SubaccountId, assetId uint32, amount *big.Int) error
DepositFundsFromAccountToSubaccount provides a mock function with given fields: ctx, fromAccount, toSubaccountId, assetId, amount
func (*SubaccountsKeeper) GetAllSubaccount ¶
func (_m *SubaccountsKeeper) GetAllSubaccount(ctx types.Context) []subaccountstypes.Subaccount
GetAllSubaccount provides a mock function with given fields: ctx
func (*SubaccountsKeeper) GetNetCollateralAndMarginRequirements ¶
func (_m *SubaccountsKeeper) GetNetCollateralAndMarginRequirements(ctx types.Context, update subaccountstypes.Update) (*big.Int, *big.Int, *big.Int, error)
GetNetCollateralAndMarginRequirements provides a mock function with given fields: ctx, update
func (*SubaccountsKeeper) GetRandomSubaccount ¶
func (_m *SubaccountsKeeper) GetRandomSubaccount(ctx types.Context, _a1 *rand.Rand) (subaccountstypes.Subaccount, error)
GetRandomSubaccount provides a mock function with given fields: ctx, _a1
func (*SubaccountsKeeper) GetSubaccount ¶
func (_m *SubaccountsKeeper) GetSubaccount(ctx types.Context, id subaccountstypes.SubaccountId) subaccountstypes.Subaccount
GetSubaccount provides a mock function with given fields: ctx, id
func (*SubaccountsKeeper) SetSubaccount ¶
func (_m *SubaccountsKeeper) SetSubaccount(ctx types.Context, subaccount subaccountstypes.Subaccount)
SetSubaccount provides a mock function with given fields: ctx, subaccount
func (*SubaccountsKeeper) UpdateSubaccounts ¶
func (_m *SubaccountsKeeper) UpdateSubaccounts(ctx types.Context, updates []subaccountstypes.Update) (bool, []subaccountstypes.UpdateResult, error)
UpdateSubaccounts provides a mock function with given fields: ctx, updates
func (*SubaccountsKeeper) WithdrawFundsFromSubaccountToAccount ¶
func (_m *SubaccountsKeeper) WithdrawFundsFromSubaccountToAccount(ctx types.Context, fromSubaccountId subaccountstypes.SubaccountId, toAccount types.AccAddress, assetId uint32, amount *big.Int) error
WithdrawFundsFromSubaccountToAccount provides a mock function with given fields: ctx, fromSubaccountId, toAccount, assetId, amount
type TimeProvider ¶
TimeProvider is an autogenerated mock type for the TimeProvider type
func NewTimeProvider ¶
func NewTimeProvider(t mockConstructorTestingTNewTimeProvider) *TimeProvider
NewTimeProvider creates a new instance of TimeProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TimeProvider) Now ¶
func (_m *TimeProvider) Now() time.Time
Now provides a mock function with given fields:
type TxBuilder ¶
TxBuilder is an autogenerated mock type for the TxBuilder type
func NewTxBuilder ¶
func NewTxBuilder(t mockConstructorTestingTNewTxBuilder) *TxBuilder
NewTxBuilder creates a new instance of TxBuilder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TxBuilder) AddAuxSignerData ¶
func (_m *TxBuilder) AddAuxSignerData(_a0 tx.AuxSignerData) error
AddAuxSignerData provides a mock function with given fields: _a0
func (*TxBuilder) SetFeeAmount ¶
SetFeeAmount provides a mock function with given fields: amount
func (*TxBuilder) SetFeeGranter ¶
func (_m *TxBuilder) SetFeeGranter(feeGranter types.AccAddress)
SetFeeGranter provides a mock function with given fields: feeGranter
func (*TxBuilder) SetFeePayer ¶
func (_m *TxBuilder) SetFeePayer(feePayer types.AccAddress)
SetFeePayer provides a mock function with given fields: feePayer
func (*TxBuilder) SetGasLimit ¶
SetGasLimit provides a mock function with given fields: limit
func (*TxBuilder) SetSignatures ¶
func (_m *TxBuilder) SetSignatures(signatures ...txsigning.SignatureV2) error
SetSignatures provides a mock function with given fields: signatures
func (*TxBuilder) SetTimeoutHeight ¶
SetTimeoutHeight provides a mock function with given fields: height
type TxConfig ¶
TxConfig is an autogenerated mock type for the TxConfig type
func NewTxConfig ¶
func NewTxConfig(t mockConstructorTestingTNewTxConfig) *TxConfig
NewTxConfig creates a new instance of TxConfig. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*TxConfig) MarshalSignatureJSON ¶
func (_m *TxConfig) MarshalSignatureJSON(_a0 []signing.SignatureV2) ([]byte, error)
MarshalSignatureJSON provides a mock function with given fields: _a0
func (*TxConfig) NewTxBuilder ¶
NewTxBuilder provides a mock function with given fields:
func (*TxConfig) SignModeHandler ¶
func (_m *TxConfig) SignModeHandler() authsigning.SignModeHandler
SignModeHandler provides a mock function with given fields:
func (*TxConfig) TxJSONDecoder ¶
TxJSONDecoder provides a mock function with given fields:
func (*TxConfig) TxJSONEncoder ¶
TxJSONEncoder provides a mock function with given fields:
func (*TxConfig) UnmarshalSignatureJSON ¶
func (_m *TxConfig) UnmarshalSignatureJSON(_a0 []byte) ([]signing.SignatureV2, error)
UnmarshalSignatureJSON provides a mock function with given fields: _a0
Source Files ¶
- AnteDecorator.go
- AppOptions.go
- BankKeeper.go
- BridgeKeeper.go
- BridgeQueryClient.go
- BridgeServiceClient.go
- CacheMultiStore.go
- ClobKeeper.go
- Configurator.go
- DelayMsgKeeper.go
- EthClient.go
- ExchangeConfigUpdater.go
- ExchangeQueryHandler.go
- FileHandler.go
- GrpcClient.go
- GrpcServer.go
- IndexerEventManager.go
- IndexerMessageSender.go
- InterfaceRegistry.go
- Logger.go
- Marshaler.go
- MemClob.go
- MemClobKeeper.go
- MsgRouter.go
- MultiStore.go
- PerpetualsClobKeeper.go
- PerpetualsKeeper.go
- PrepareBridgeKeeper.go
- PrepareClobKeeper.go
- PreparePerpetualsKeeper.go
- PreparePricesKeeper.go
- PriceFeedMutableMarketConfigs.go
- PricesKeeper.go
- ProcessBridgeKeeper.go
- ProcessClobKeeper.go
- ProcessPerpetualKeeper.go
- ProcessStakingKeeper.go
- QueryClient.go
- QueryServer.go
- RequestHandler.go
- SendingKeeper.go
- Server.go
- SubaccountsKeeper.go
- TimeProvider.go
- TxBuilder.go
- TxConfig.go