escrow

package
v0.21.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// StoreKey represents storekey of deployment module
	StoreKey = types.StoreKey
	// ModuleName represents current module name
	ModuleName = types.ModuleName
)

Variables

This section is empty.

Functions

func DefaultGenesisState

func DefaultGenesisState() *types.GenesisState

DefaultGenesisState returns default genesis state as raw bytes for the provider module.

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState

ExportGenesis returns genesis state as raw bytes for the provider module

func InitGenesis

func InitGenesis(ctx sdk.Context, keeper keeper.Keeper, data *types.GenesisState) []abci.ValidatorUpdate

InitGenesis initiate genesis state and return updated validator details

func ValidateGenesis

func ValidateGenesis(data *types.GenesisState) error

ValidateGenesis does validation check of the Genesis and returns error incase of failure

Types

type AppModule

type AppModule struct {
	AppModuleBasic
	// contains filtered or unexported fields
}

AppModule implements an application module for the audit module.

func NewAppModule

func NewAppModule(cdc codec.Codec, k keeper.Keeper) AppModule

NewAppModule creates a new AppModule object

func (AppModule) BeginBlock

func (am AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)

BeginBlock performs no-op

func (AppModule) ConsensusVersion

func (am AppModule) ConsensusVersion() uint64

ConsensusVersion implements module.AppModule#ConsensusVersion

func (AppModule) EndBlock

EndBlock returns the end blocker for the audit module. It returns no auditor updates.

func (AppModule) ExportGenesis

func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.RawMessage

ExportGenesis returns the exported genesis state as raw bytes for the audit 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 audit module. It returns no validator updates.

func (AppModule) LegacyQuerierHandler

func (am AppModule) LegacyQuerierHandler(legacyQuerierCdc *codec.LegacyAmino) sdk.Querier

LegacyQuerierHandler returns the sdk.Querier for audit module

func (AppModule) Name

func (AppModule) Name() string

Name returns the provider module name

func (AppModule) QuerierRoute

func (am AppModule) QuerierRoute() string

QuerierRoute returns the audit module's querier route name.

func (AppModule) RegisterInvariants

func (am AppModule) RegisterInvariants(ir sdk.InvariantRegistry)

RegisterInvariants registers module invariants

func (AppModule) RegisterQueryService

func (am AppModule) RegisterQueryService(server grpc.Server)

RegisterQueryService registers a GRPC query service to respond to the module-specific GRPC queries.

func (AppModule) RegisterServices

func (am AppModule) RegisterServices(cfg module.Configurator)

RegisterServices registers the module's servicess

func (AppModule) Route

func (am AppModule) Route() sdk.Route

Route returns the message routing key for the audit module.

type AppModuleBasic

type AppModuleBasic struct {
	// contains filtered or unexported fields
}

AppModuleBasic defines the basic application module used by the provider module.

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage

DefaultGenesis returns default genesis state as raw bytes for the provider module.

func (AppModuleBasic) GetQueryClient

func (AppModuleBasic) GetQueryClient(clientCtx client.Context) types.QueryClient

GetQueryClient returns a new query client for this module

func (AppModuleBasic) GetQueryCmd

func (AppModuleBasic) GetQueryCmd() *cobra.Command

GetQueryCmd returns the root query command of this module

func (AppModuleBasic) GetTxCmd

func (AppModuleBasic) GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

Name returns provider module's name

func (AppModuleBasic) RegisterGRPCGatewayRoutes

func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)

RegisterGRPCGatewayRoutes registers the gRPC Gateway routes for the provider module.

func (AppModuleBasic) RegisterGRPCRoutes

func (AppModuleBasic) RegisterGRPCRoutes(clientCtx client.Context, mux *runtime.ServeMux)

RegisterGRPCRoutes registers the gRPC Gateway routes for the provider module.

func (AppModuleBasic) RegisterInterfaces

func (b AppModuleBasic) RegisterInterfaces(registry cdctypes.InterfaceRegistry)

RegisterInterfaces registers the module's interface types

func (AppModuleBasic) RegisterLegacyAminoCodec

func (AppModuleBasic) RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the provider module's types for the given codec.

func (AppModuleBasic) RegisterRESTRoutes

func (AppModuleBasic) RegisterRESTRoutes(clientCtx client.Context, rtr *mux.Router)

RegisterRESTRoutes registers rest routes for this module

func (AppModuleBasic) ValidateGenesis

ValidateGenesis validation check of the Genesis

type AppModuleSimulation

type AppModuleSimulation struct {
	// contains filtered or unexported fields
}

AppModuleSimulation implements an application simulation module for the audit module.

func NewAppModuleSimulation

func NewAppModuleSimulation(k keeper.Keeper) AppModuleSimulation

NewAppModuleSimulation creates a new AppModuleSimulation instance

func (AppModuleSimulation) GenerateGenesisState

func (AppModuleSimulation) GenerateGenesisState(simState *module.SimulationState)

AppModuleSimulation functions GenerateGenesisState creates a randomized GenState of the staking module.

func (AppModuleSimulation) ProposalContents

ProposalContents doesn't return any content functions for governance proposals.

func (AppModuleSimulation) RandomizedParams

func (AppModuleSimulation) RandomizedParams(r *rand.Rand) []sim.ParamChange

RandomizedParams creates randomized staking param changes for the simulator.

func (AppModuleSimulation) RegisterStoreDecoder

func (AppModuleSimulation) RegisterStoreDecoder(sdr sdk.StoreDecoderRegistry)

RegisterStoreDecoder registers a decoder for staking module's types

func (AppModuleSimulation) WeightedOperations

func (am AppModuleSimulation) WeightedOperations(simState module.SimulationState) []sim.WeightedOperation

WeightedOperations returns the all the staking module operations with their respective weights.

Directories

Path Synopsis
client
cli
legacy
types
v1beta1
Package v1beta1 is a reverse proxy.
Package v1beta1 is a reverse proxy.
v1beta2
Package v1beta2 is a reverse proxy.
Package v1beta2 is a reverse proxy.

Jump to

Keyboard shortcuts

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