Crate pallet_octopus_appchain[][src]

Re-exports

pub use $crate::traits::GetPalletVersion as _;

Modules

crypto

Based on the above KeyTypeId we need to generate a pallet-specific crypto type wrappers. We can use from supported crypto kinds (sr25519, ed25519 and ecdsa) and augment the types with this pallet-specific identifier.

Structs

GenesisConfig

Genesis config for the module, allow to build genesis storage.

Module

A public part of the pallet.

Validator

Validator of appchain.

ValidatorSet

The validator set of appchain.

ValidatorSetPayload

Payload used by this crate to hold validator set data required to submit a transaction.

Enums

Call

Dispatchable calls.

Error

Error for the octopus appchain module.

MotherchainType

Motherchain type, currently only NEAR is supported.

RawEvent

Events for this module.

Constants

KEY_TYPE

Defines application identifier for crypto keys of this module.

Traits

Config

This pallet’s configuration trait

Type Definitions

ChainId

Index of an appchain on the motherchain.

Event

RawEvent specialized for the configuration Config

SessionIndex