Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/HermitMatrixNetwork/HermitMatrixNetwork/x/compute/internal/types ALIASGEN: github.com/HermitMatrixNetwork/HermitMatrixNetwork/x/compute/internal/keeper
Index ¶
- Constants
- Variables
- func NewHandler(k Keeper) sdk.Handler
- type AppModule
- func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
- func (AppModule) ConsensusVersion() uint64
- func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage
- func (AppModule) GenerateGenesisState(simState *module.SimulationState)
- func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) LegacyQuerierHandler(amino *codec.LegacyAmino) sdk.Querier
- func (AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent
- func (AppModule) QuerierRoute() string
- func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange
- func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
- func (am AppModule) RegisterServices(configurator module.Configurator)
- func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
- func (am AppModule) Route() sdk.Route
- func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation
- type AppModuleBasic
- func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
- func (AppModuleBasic) GetQueryCmd() *cobra.Command
- func (AppModuleBasic) GetTxCmd() *cobra.Command
- func (AppModuleBasic) Name() string
- func (b AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, serveMux *runtime.ServeMux)
- func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func (b AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
- func (AppModuleBasic) RegisterRESTRoutes(ctx client.Context, rtr *mux.Router)
- func (AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, config client.TxEncodingConfig, ...) error
- type BankEncoder
- type Code
- type CodeInfo
- type CodeInfoResponse
- type Contract
- type ContractInfo
- type ContractInfoWithAddress
- type CreatedAt
- type CustomEncoder
- type CustomQuerier
- type GenesisState
- type GovEncoder
- type Keeper
- type MessageEncoders
- type MessageHandler
- type Model
- type MsgExecuteContract
- type MsgInstantiateContract
- type MsgStoreCode
- type QueryHandler
- type QueryPlugins
- type StakingEncoder
- type WasmConfig
- type WasmEncoder
Constants ¶
const ( ModuleName = types.ModuleName StoreKey = types.StoreKey TStoreKey = types.TStoreKey QuerierRoute = types.QuerierRoute RouterKey = types.RouterKey MaxWasmSize = types.MaxWasmSize MaxLabelSize = types.MaxLabelSize BuildTagRegexp = types.BuildTagRegexp MaxBuildTagSize = types.MaxBuildTagSize CustomEventType = types.CustomEventType AttributeKeyContractAddr = types.AttributeKeyContractAddr GasMultiplier = types.GasMultiplier MaxGas = types.MaxGas QueryListContractByCode = keeper.QueryListContractByCode QueryGetContract = keeper.QueryGetContract QueryGetContractState = keeper.QueryGetContractState QueryGetCode = keeper.QueryGetCode QueryListCode = keeper.QueryListCode QueryContractKey = keeper.QueryContractKey QueryContractAddress = keeper.QueryContractAddress QueryMethodContractStateSmart = keeper.QueryMethodContractStateSmart DefaultConfigTemplate = types.DefaultConfigTemplate )
Variables ¶
var ( // functions aliases // ConvertToProposals = types.ConvertToProposals // DefaultParams = types.DefaultParams RegisterCodec = types.RegisterLegacyAminoCodec RegisterInterfaces = types.RegisterInterfaces ValidateGenesis = types.ValidateGenesis GetCodeKey = types.GetCodeKey GetContractAddressKey = types.GetContractAddressKey GetContractStorePrefixKey = types.GetContractStorePrefixKey NewCodeInfo = types.NewCodeInfo NewAbsoluteTxPosition = types.NewAbsoluteTxPosition NewContractInfo = types.NewContractInfo NewEnv = types.NewEnv NewWasmCoins = types.NewWasmCoins ParseEvents = types.ParseEvents DefaultWasmConfig = types.DefaultWasmConfig IsEncryptedError = types.IsEncryptedErrorCode ErrContainsQueryError = types.ErrContainsQueryError GetConfig = types.GetConfig InitGenesis = keeper.InitGenesis ExportGenesis = keeper.ExportGenesis NewMessageHandler = keeper.NewMessageHandler DefaultEncoders = keeper.DefaultEncoders EncodeBankMsg = keeper.EncodeBankMsg NoCustomMsg = keeper.NoCustomMsg EncodeStakingMsg = keeper.EncodeStakingMsg EncodeWasmMsg = keeper.EncodeWasmMsg NewKeeper = keeper.NewKeeper NewQuerier = keeper.NewQuerier NewLegacyQuerier = keeper.NewLegacyQuerier DefaultQueryPlugins = keeper.DefaultQueryPlugins BankQuerier = keeper.BankQuerier NoCustomQuerier = keeper.NoCustomQuerier StakingQuerier = keeper.StakingQuerier WasmQuerier = keeper.WasmQuerier MakeTestCodec = keeper.MakeTestCodec CreateTestInput = keeper.CreateTestInput CreateFakeFundedAccount = keeper.CreateFakeFundedAccount TestHandler = keeper.TestHandler PrepareInitSignedTx = keeper.PrepareInitSignedTx PrepareExecSignedTx = keeper.PrepareExecSignedTx NewWasmSnapshotter = keeper.NewWasmSnapshotter // variable aliases ModuleCdc = types.ModuleCdc DefaultCodespace = types.DefaultCodespace ErrCreateFailed = types.ErrCreateFailed ErrAccountExists = types.ErrAccountExists ErrInstantiateFailed = types.ErrInstantiateFailed ErrExecuteFailed = types.ErrExecuteFailed ErrGasLimit = types.ErrGasLimit ErrInvalidGenesis = types.ErrInvalidGenesis ErrNotFound = types.ErrNotFound ErrQueryFailed = types.ErrQueryFailed ErrInvalidMsg = types.ErrInvalidMsg KeyLastCodeID = types.KeyLastCodeID KeyLastInstanceID = types.KeyLastInstanceID CodeKeyPrefix = types.CodeKeyPrefix ContractKeyPrefix = types.ContractKeyPrefix ContractStorePrefix = types.ContractStorePrefix )
Functions ¶
func NewHandler ¶
NewHandler returns a handler for "bank" type messages.
Types ¶
type AppModule ¶
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
AppModule implements an application module for the compute module.
func NewAppModule ¶
NewAppModule creates a new AppModule object
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
BeginBlock returns the begin blocker for the compute module.
func (AppModule) ConsensusVersion ¶
ConsensusVersion implements AppModule/ConsensusVersion.
func (AppModule) EndBlock ¶
func (AppModule) EndBlock(_ sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
EndBlock returns the end blocker for the compute module. It returns no validator updates.
func (AppModule) ExportGenesis ¶
ExportGenesis returns the exported genesis state as raw bytes for the compute module.
func (AppModule) GenerateGenesisState ¶
func (AppModule) GenerateGenesisState(simState *module.SimulationState)
GenerateGenesisState creates a randomized GenState of the bank module.
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONCodec, data json.RawMessage) []abci.ValidatorUpdate
InitGenesis performs genesis initialization for the compute module. It returns no validator updates.
func (AppModule) LegacyQuerierHandler ¶
func (am AppModule) LegacyQuerierHandler(amino *codec.LegacyAmino) sdk.Querier
func (AppModule) ProposalContents ¶
func (AppModule) ProposalContents(simState module.SimulationState) []simtypes.WeightedProposalContent
ProposalContents doesn't return any content functions for governance proposals.
func (AppModule) QuerierRoute ¶
QuerierRoute returns the compute module's querier route name.
func (AppModule) RandomizedParams ¶
func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange
RandomizedParams creates randomized bank param changes for the simulator.
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)
RegisterInvariants registers the compute module invariants.
func (AppModule) RegisterServices ¶
func (am AppModule) RegisterServices(configurator module.Configurator)
func (AppModule) RegisterStoreDecoder ¶
func (am AppModule) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)
RegisterStoreDecoder registers a decoder for supply module's types
func (AppModule) WeightedOperations ¶
func (am AppModule) WeightedOperations(simState module.SimulationState) []simtypes.WeightedOperation
WeightedOperations returns the all the gov module operations with their respective weights.
type AppModuleBasic ¶
type AppModuleBasic struct{}
AppModuleBasic defines the basic application module used by the compute module.
func (AppModuleBasic) DefaultGenesis ¶
func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage
DefaultGenesis returns default genesis state as raw bytes for the compute module.
func (AppModuleBasic) GetQueryCmd ¶
func (AppModuleBasic) GetQueryCmd() *cobra.Command
GetQueryCmd returns no root query command for the compute module.
func (AppModuleBasic) GetTxCmd ¶
func (AppModuleBasic) GetTxCmd() *cobra.Command
GetTxCmd returns the root tx command for the compute module.
func (AppModuleBasic) Name ¶
func (AppModuleBasic) Name() string
Name returns the compute module's name.
func (AppModuleBasic) RegisterGRPCGatewayRoutes ¶
func (b AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, serveMux *runtime.ServeMux)
func (AppModuleBasic) RegisterInterfaces ¶
func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)
RegisterInterfaceTypes implements InterfaceModule
func (AppModuleBasic) RegisterLegacyAminoCodec ¶
func (b AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)
func (AppModuleBasic) RegisterRESTRoutes ¶
func (AppModuleBasic) RegisterRESTRoutes(ctx client.Context, rtr *mux.Router)
RegisterRESTRoutes registers the REST routes for the compute module.
func (AppModuleBasic) ValidateGenesis ¶
func (AppModuleBasic) ValidateGenesis(marshaler codec.JSONCodec, config client.TxEncodingConfig, message json.RawMessage) error
ValidateGenesis performs genesis state validation for the compute module.
type BankEncoder ¶
type BankEncoder = keeper.BankEncoder
type CodeInfoResponse ¶
type CodeInfoResponse = types.CodeInfoResponse
type ContractInfo ¶
type ContractInfo = types.ContractInfo
type ContractInfoWithAddress ¶
type ContractInfoWithAddress = types.ContractInfoWithAddress
type CreatedAt ¶
type CreatedAt = types.AbsoluteTxPosition
type CustomEncoder ¶
type CustomEncoder = keeper.CustomEncoder
type CustomQuerier ¶
type CustomQuerier = keeper.CustomQuerier
type GovEncoder ¶
type GovEncoder = keeper.GovEncoder
type MessageEncoders ¶
type MessageEncoders = keeper.MessageEncoders
type MessageHandler ¶
type MessageHandler = keeper.MessageHandler
type MsgExecuteContract ¶
type MsgExecuteContract = types.MsgExecuteContract
type MsgInstantiateContract ¶
type MsgInstantiateContract = types.MsgInstantiateContract
type MsgStoreCode ¶
type MsgStoreCode = types.MsgStoreCode
type QueryHandler ¶
type QueryHandler = keeper.QueryHandler
type QueryPlugins ¶
type QueryPlugins = keeper.QueryPlugins
type StakingEncoder ¶
type StakingEncoder = keeper.StakingEncoder
type WasmConfig ¶
type WasmConfig = types.WasmConfig
type WasmEncoder ¶
type WasmEncoder = keeper.WasmEncoder