hub

package module
v0.10.0 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: 117 Imported by: 0

README

Sentinel Hub

Codecov GoReportCard Licence LoC Tag

Installation

Requires Go 1.19+

Linux
mkdir -p ${GOPATH}/src/github.com/sentinel-official && \
cd ${GOPATH}/src/github.com/sentinel-official/ && \
git clone https://github.com/sentinel-official/hub.git && \
cd ${GOPATH}/src/github.com/sentinel-official/hub/ && \
make install

Note: To install a specific version or commit use git checkout command

For more documentation please visit docs

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetWasmEnabledProposals added in v0.10.0

func GetWasmEnabledProposals() []wasmtypes.ProposalType

func MakeEncodingConfig added in v0.6.0

func MakeEncodingConfig() hubparams.EncodingConfig

func NewAnteHandler added in v0.9.0

func NewAnteHandler(opts HandlerOptions) (sdk.AnteHandler, error)

Types

type App

type App struct {
	*baseapp.BaseApp
	// contains filtered or unexported fields
}

func NewApp

func NewApp(
	logger log.Logger,
	db tmdb.DB,
	tracer io.Writer,
	loadLatest bool,
	skipUpgradeHeights map[int64]bool,
	homePath string,
	invCheckPeriod uint,
	encodingConfig hubparams.EncodingConfig,
	enabledProposals []wasmtypes.ProposalType,
	appOpts servertypes.AppOptions,
	wasmOpts []wasmkeeper.Option,
	baseAppOpts ...func(*baseapp.BaseApp),
) *App

func (*App) AppCodec added in v0.6.0

func (app *App) AppCodec() codec.Codec

func (*App) BeginBlocker

func (app *App) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock

func (*App) EndBlocker

func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock

func (*App) ExportAppStateAndValidators

func (app *App) ExportAppStateAndValidators(
	forZeroHeight bool, jailAllowedAddrs []string,
) (servertypes.ExportedApp, error)

func (*App) GetSubspace added in v0.6.0

func (app *App) GetSubspace(moduleName string) paramstypes.Subspace

func (*App) InitChainer

func (app *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain

func (*App) InterfaceRegistry added in v0.6.0

func (app *App) InterfaceRegistry() codectypes.InterfaceRegistry

func (*App) LegacyAmino added in v0.6.0

func (app *App) LegacyAmino() *codec.LegacyAmino

func (*App) LoadHeight

func (app *App) LoadHeight(height int64) error

func (*App) ModuleAccountAddrs added in v0.4.0

func (app *App) ModuleAccountAddrs() map[string]bool

func (*App) ModuleAccountPermissions added in v0.10.0

func (app *App) ModuleAccountPermissions() map[string][]string

func (*App) Name added in v0.6.0

func (app *App) Name() string

func (*App) RegisterAPIRoutes added in v0.6.0

func (app *App) RegisterAPIRoutes(server *api.Server, _ serverconfig.APIConfig)

func (*App) RegisterTendermintService added in v0.6.0

func (app *App) RegisterTendermintService(ctx client.Context)

func (*App) RegisterTxService added in v0.6.0

func (app *App) RegisterTxService(ctx client.Context)

func (*App) SimulationManager added in v0.4.0

func (app *App) SimulationManager() *module.SimulationManager

type HandlerOptions added in v0.9.0

type HandlerOptions struct {
	authante.HandlerOptions
	IBCKeeper         *ibckeeper.Keeper
	TxCounterStoreKey sdk.StoreKey
	WasmConfig        wasmtypes.WasmConfig
}

Directories

Path Synopsis
cmd
x
deposit/types
Package types is a reverse proxy.
Package types is a reverse proxy.
node/types
Package types is a reverse proxy.
Package types is a reverse proxy.
plan/types
Package types is a reverse proxy.
Package types is a reverse proxy.
provider/types
Package types is a reverse proxy.
Package types is a reverse proxy.
session/types
Package types is a reverse proxy.
Package types is a reverse proxy.
subscription/types
Package types is a reverse proxy.
Package types is a reverse proxy.
swap/types
Package types is a reverse proxy.
Package types is a reverse proxy.
vpn

Jump to

Keyboard shortcuts

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