parachain_info

package
v0.0.3-rc-1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenesisConfig

type GenesisConfig struct {
	ParachainId sc.U32
}

func (*GenesisConfig) UnmarshalJSON

func (gc *GenesisConfig) UnmarshalJSON(data []byte) error

type Module

type Module struct {
	primitives.DefaultInherentProvider
	hooks.DefaultDispatchModule
	// contains filtered or unexported fields
}

func New

func New(index sc.U8, storage io.Storage) Module

func (Module) BuildConfig

func (m Module) BuildConfig(config []byte) error

func (Module) CreateDefaultConfig

func (m Module) CreateDefaultConfig() ([]byte, error)

func (Module) Functions

func (m Module) Functions() map[sc.U8]primitives.Call

func (Module) GetIndex

func (m Module) GetIndex() sc.U8

func (Module) Metadata

func (m Module) Metadata() primitives.MetadataModule

func (Module) PreDispatch

func (m Module) PreDispatch(_ primitives.Call) (sc.Empty, error)

func (Module) StorageParaId

func (m Module) StorageParaId() (sc.U32, error)

Jump to

Keyboard shortcuts

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