extensions

package
v4.0.0-...-16d622b Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckMetadataHash

type CheckMetadataHash struct {
	Hash types.Option[types.H256]
}

func (CheckMetadataHash) Encode

func (c CheckMetadataHash) Encode(encoder *scale.Encoder) error

type CheckMetadataMode

type CheckMetadataMode byte
var (
	CheckMetadataModeDisabled CheckMetadataMode
	CheckMetadataModeEnabled  CheckMetadataMode = 1
)

func (CheckMetadataMode) Encode

func (m CheckMetadataMode) Encode(encoder scale.Encoder) error

type SignedExtensionName

type SignedExtensionName string

SignedExtensionName is the type for the signed extension name present in the metadata.

const (
	CheckNonZeroSenderSignedExtension          SignedExtensionName = "CheckNonZeroSender"
	CheckMortalitySignedExtension              SignedExtensionName = "CheckMortality"
	CheckEraSignedExtension                    SignedExtensionName = "CheckEra"
	CheckNonceSignedExtension                  SignedExtensionName = "CheckNonce"
	ChargeTransactionPaymentSignedExtension    SignedExtensionName = "ChargeTransactionPayment"
	ChargeAssetTxPaymentSignedExtension        SignedExtensionName = "ChargeAssetTxPayment"
	CheckMetadataHashSignedExtension           SignedExtensionName = "CheckMetadataHash"
	CheckSpecVersionSignedExtension            SignedExtensionName = "CheckSpecVersion"
	CheckTxVersionSignedExtension              SignedExtensionName = "CheckTxVersion"
	CheckGenesisSignedExtension                SignedExtensionName = "CheckGenesis"
	CheckWeightSignedExtension                 SignedExtensionName = "CheckWeight"
	PreBalanceTransferExtensionSignedExtension SignedExtensionName = "PreBalanceTransferExtension"
	StorageWeightReclaimSignedExtension        SignedExtensionName = "StorageWeightReclaim"
	PrevalidateAttestsSignedExtension          SignedExtensionName = "PrevalidateAttests"
	CheckNetworkMembershipSignedExtension      SignedExtensionName = "CheckNetworkMembership"
)

Jump to

Keyboard shortcuts

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