Versions in this module Expand all Collapse all v0 v0.43.1 Aug 24, 2021 Changes in this version + type MockAccount struct + func NewMockAccount(ctrl *gomock.Controller) *MockAccount + func (m *MockAccount) EXPECT() *MockAccountMockRecorder + func (m *MockAccount) GetAccountNumber() uint64 + func (m *MockAccount) GetAddress() types0.AccAddress + func (m *MockAccount) GetPubKey() types.PubKey + func (m *MockAccount) GetSequence() uint64 + type MockAccountMockRecorder struct + func (mr *MockAccountMockRecorder) GetAccountNumber() *gomock.Call + func (mr *MockAccountMockRecorder) GetAddress() *gomock.Call + func (mr *MockAccountMockRecorder) GetPubKey() *gomock.Call + func (mr *MockAccountMockRecorder) GetSequence() *gomock.Call + type MockAccountRetriever struct + func NewMockAccountRetriever(ctrl *gomock.Controller) *MockAccountRetriever + func (m *MockAccountRetriever) EXPECT() *MockAccountRetrieverMockRecorder + func (m *MockAccountRetriever) EnsureExists(clientCtx client.Context, addr types0.AccAddress) error + func (m *MockAccountRetriever) GetAccount(clientCtx client.Context, addr types0.AccAddress) (client.Account, error) + func (m *MockAccountRetriever) GetAccountNumberSequence(clientCtx client.Context, addr types0.AccAddress) (uint64, uint64, error) + func (m *MockAccountRetriever) GetAccountWithHeight(clientCtx client.Context, addr types0.AccAddress) (client.Account, int64, error) + type MockAccountRetrieverMockRecorder struct + func (mr *MockAccountRetrieverMockRecorder) EnsureExists(clientCtx, addr interface{}) *gomock.Call + func (mr *MockAccountRetrieverMockRecorder) GetAccount(clientCtx, addr interface{}) *gomock.Call + func (mr *MockAccountRetrieverMockRecorder) GetAccountNumberSequence(clientCtx, addr interface{}) *gomock.Call + func (mr *MockAccountRetrieverMockRecorder) GetAccountWithHeight(clientCtx, addr interface{}) *gomock.Call + type MockAnteDecorator struct + func NewMockAnteDecorator(ctrl *gomock.Controller) *MockAnteDecorator + func (m *MockAnteDecorator) AnteHandle(ctx types.Context, tx types.Tx, simulate bool, next types.AnteHandler) (types.Context, error) + func (m *MockAnteDecorator) EXPECT() *MockAnteDecoratorMockRecorder + type MockAnteDecoratorMockRecorder struct + func (mr *MockAnteDecoratorMockRecorder) AnteHandle(ctx, tx, simulate, next interface{}) *gomock.Call + type MockAppModule struct + func NewMockAppModule(ctrl *gomock.Controller) *MockAppModule + func (m *MockAppModule) BeginBlock(arg0 types0.Context, arg1 types1.RequestBeginBlock) + func (m *MockAppModule) ConsensusVersion() uint64 + func (m *MockAppModule) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage + func (m *MockAppModule) EXPECT() *MockAppModuleMockRecorder + func (m *MockAppModule) EndBlock(arg0 types0.Context, arg1 types1.RequestEndBlock) []types1.ValidatorUpdate + func (m *MockAppModule) ExportGenesis(arg0 types0.Context, arg1 codec.JSONCodec) json.RawMessage + func (m *MockAppModule) GetQueryCmd() *cobra.Command + func (m *MockAppModule) GetTxCmd() *cobra.Command + func (m *MockAppModule) InitGenesis(arg0 types0.Context, arg1 codec.JSONCodec, arg2 json.RawMessage) []types1.ValidatorUpdate + func (m *MockAppModule) LegacyQuerierHandler(arg0 *codec.LegacyAmino) types0.Querier + func (m *MockAppModule) Name() string + func (m *MockAppModule) QuerierRoute() string + func (m *MockAppModule) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux) + func (m *MockAppModule) RegisterInterfaces(arg0 types.InterfaceRegistry) + func (m *MockAppModule) RegisterInvariants(arg0 types0.InvariantRegistry) + func (m *MockAppModule) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino) + func (m *MockAppModule) RegisterRESTRoutes(arg0 client.Context, arg1 *mux.Router) + func (m *MockAppModule) RegisterServices(arg0 module.Configurator) + func (m *MockAppModule) Route() types0.Route + func (m *MockAppModule) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error + type MockAppModuleBasic struct + func NewMockAppModuleBasic(ctrl *gomock.Controller) *MockAppModuleBasic + func (m *MockAppModuleBasic) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage + func (m *MockAppModuleBasic) EXPECT() *MockAppModuleBasicMockRecorder + func (m *MockAppModuleBasic) GetQueryCmd() *cobra.Command + func (m *MockAppModuleBasic) GetTxCmd() *cobra.Command + func (m *MockAppModuleBasic) Name() string + func (m *MockAppModuleBasic) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux) + func (m *MockAppModuleBasic) RegisterInterfaces(arg0 types.InterfaceRegistry) + func (m *MockAppModuleBasic) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino) + func (m *MockAppModuleBasic) RegisterRESTRoutes(arg0 client.Context, arg1 *mux.Router) + func (m *MockAppModuleBasic) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error + type MockAppModuleBasicMockRecorder struct + func (mr *MockAppModuleBasicMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) GetQueryCmd() *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) GetTxCmd() *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) Name() *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) RegisterRESTRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleBasicMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call + type MockAppModuleGenesis struct + func NewMockAppModuleGenesis(ctrl *gomock.Controller) *MockAppModuleGenesis + func (m *MockAppModuleGenesis) DefaultGenesis(arg0 codec.JSONCodec) json.RawMessage + func (m *MockAppModuleGenesis) EXPECT() *MockAppModuleGenesisMockRecorder + func (m *MockAppModuleGenesis) ExportGenesis(arg0 types0.Context, arg1 codec.JSONCodec) json.RawMessage + func (m *MockAppModuleGenesis) GetQueryCmd() *cobra.Command + func (m *MockAppModuleGenesis) GetTxCmd() *cobra.Command + func (m *MockAppModuleGenesis) InitGenesis(arg0 types0.Context, arg1 codec.JSONCodec, arg2 json.RawMessage) []types1.ValidatorUpdate + func (m *MockAppModuleGenesis) Name() string + func (m *MockAppModuleGenesis) RegisterGRPCGatewayRoutes(arg0 client.Context, arg1 *runtime.ServeMux) + func (m *MockAppModuleGenesis) RegisterInterfaces(arg0 types.InterfaceRegistry) + func (m *MockAppModuleGenesis) RegisterLegacyAminoCodec(arg0 *codec.LegacyAmino) + func (m *MockAppModuleGenesis) RegisterRESTRoutes(arg0 client.Context, arg1 *mux.Router) + func (m *MockAppModuleGenesis) ValidateGenesis(arg0 codec.JSONCodec, arg1 client.TxEncodingConfig, arg2 json.RawMessage) error + type MockAppModuleGenesisMockRecorder struct + func (mr *MockAppModuleGenesisMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) GetQueryCmd() *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) GetTxCmd() *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) Name() *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) RegisterRESTRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleGenesisMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call + type MockAppModuleMockRecorder struct + func (mr *MockAppModuleMockRecorder) BeginBlock(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) ConsensusVersion() *gomock.Call + func (mr *MockAppModuleMockRecorder) DefaultGenesis(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) EndBlock(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) ExportGenesis(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) GetQueryCmd() *gomock.Call + func (mr *MockAppModuleMockRecorder) GetTxCmd() *gomock.Call + func (mr *MockAppModuleMockRecorder) InitGenesis(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) LegacyQuerierHandler(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) Name() *gomock.Call + func (mr *MockAppModuleMockRecorder) QuerierRoute() *gomock.Call + func (mr *MockAppModuleMockRecorder) RegisterGRPCGatewayRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) RegisterInterfaces(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) RegisterInvariants(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) RegisterLegacyAminoCodec(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) RegisterRESTRoutes(arg0, arg1 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) RegisterServices(arg0 interface{}) *gomock.Call + func (mr *MockAppModuleMockRecorder) Route() *gomock.Call + func (mr *MockAppModuleMockRecorder) ValidateGenesis(arg0, arg1, arg2 interface{}) *gomock.Call + type MockDB struct + func NewMockDB(ctrl *gomock.Controller) *MockDB + func (m *MockDB) Close() error + func (m *MockDB) Delete(arg0 []byte) error + func (m *MockDB) DeleteSync(arg0 []byte) error + func (m *MockDB) EXPECT() *MockDBMockRecorder + func (m *MockDB) Get(arg0 []byte) ([]byte, error) + func (m *MockDB) Has(arg0 []byte) (bool, error) + func (m *MockDB) Iterator(arg0, arg1 []byte) (db.Iterator, error) + func (m *MockDB) NewBatch() db.Batch + func (m *MockDB) Print() error + func (m *MockDB) ReverseIterator(arg0, arg1 []byte) (db.Iterator, error) + func (m *MockDB) Set(arg0, arg1 []byte) error + func (m *MockDB) SetSync(arg0, arg1 []byte) error + func (m *MockDB) Stats() map[string]string + type MockDBMockRecorder struct + func (mr *MockDBMockRecorder) Close() *gomock.Call + func (mr *MockDBMockRecorder) Delete(arg0 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) DeleteSync(arg0 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Get(arg0 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Has(arg0 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Iterator(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) NewBatch() *gomock.Call + func (mr *MockDBMockRecorder) Print() *gomock.Call + func (mr *MockDBMockRecorder) ReverseIterator(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) SetSync(arg0, arg1 interface{}) *gomock.Call + func (mr *MockDBMockRecorder) Stats() *gomock.Call + type MockInvariantRegistry struct + func NewMockInvariantRegistry(ctrl *gomock.Controller) *MockInvariantRegistry + func (m *MockInvariantRegistry) EXPECT() *MockInvariantRegistryMockRecorder + func (m *MockInvariantRegistry) RegisterRoute(moduleName, route string, invar types.Invariant) + type MockInvariantRegistryMockRecorder struct + func (mr *MockInvariantRegistryMockRecorder) RegisterRoute(moduleName, route, invar interface{}) *gomock.Call + type MockLogger struct + func NewMockLogger(ctrl *gomock.Controller) *MockLogger + func (m *MockLogger) Debug(arg0 string, arg1 ...interface{}) + func (m *MockLogger) EXPECT() *MockLoggerMockRecorder + func (m *MockLogger) Error(arg0 string, arg1 ...interface{}) + func (m *MockLogger) Info(arg0 string, arg1 ...interface{}) + func (m *MockLogger) With(arg0 ...interface{}) log.Logger + type MockLoggerMockRecorder struct + func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockLoggerMockRecorder) Error(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call + func (mr *MockLoggerMockRecorder) With(arg0 ...interface{}) *gomock.Call + type MockQueryRouter struct + func NewMockQueryRouter(ctrl *gomock.Controller) *MockQueryRouter + func (m *MockQueryRouter) AddRoute(r string, h types.Querier) types.QueryRouter + func (m *MockQueryRouter) EXPECT() *MockQueryRouterMockRecorder + func (m *MockQueryRouter) Route(path string) types.Querier + type MockQueryRouterMockRecorder struct + func (mr *MockQueryRouterMockRecorder) AddRoute(r, h interface{}) *gomock.Call + func (mr *MockQueryRouterMockRecorder) Route(path interface{}) *gomock.Call + type MockRouter struct + func NewMockRouter(ctrl *gomock.Controller) *MockRouter + func (m *MockRouter) AddRoute(r types.Route) types.Router + func (m *MockRouter) EXPECT() *MockRouterMockRecorder + func (m *MockRouter) Route(ctx types.Context, path string) types.Handler + type MockRouterMockRecorder struct + func (mr *MockRouterMockRecorder) AddRoute(r interface{}) *gomock.Call + func (mr *MockRouterMockRecorder) Route(ctx, path interface{}) *gomock.Call + type MockServer struct + func NewMockServer(ctrl *gomock.Controller) *MockServer + func (m *MockServer) EXPECT() *MockServerMockRecorder + func (m *MockServer) RegisterService(arg0 *grpc.ServiceDesc, arg1 interface{}) + type MockServerMockRecorder struct + func (mr *MockServerMockRecorder) RegisterService(arg0, arg1 interface{}) *gomock.Call