extensions

package
v0.0.2-rc-2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckGenesis

func NewCheckGenesis(module system.Module) primitives.SignedExtension

func NewCheckMortality

func NewCheckMortality(systemModule system.Module) primitives.SignedExtension

func NewCheckNonZeroAddress

func NewCheckNonZeroAddress() primitives.SignedExtension

func NewCheckNonce

func NewCheckNonce(systemModule system.Module) primitives.SignedExtension

func NewCheckSpecVersion

func NewCheckSpecVersion(systemModule system.Module) primitives.SignedExtension

func NewCheckTxVersion

func NewCheckTxVersion(module system.Module) primitives.SignedExtension

func NewCheckWeight

func NewCheckWeight(systemModule system.Module) primitives.SignedExtension

Types

type CheckGenesis

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

func (CheckGenesis) AdditionalSigned

func (cg CheckGenesis) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckGenesis) Bytes

func (cg CheckGenesis) Bytes() []byte

func (CheckGenesis) Decode

func (cg CheckGenesis) Decode(*bytes.Buffer) error

func (CheckGenesis) DeepCopy

func (cg CheckGenesis) DeepCopy() primitives.SignedExtension

func (CheckGenesis) Encode

func (cg CheckGenesis) Encode(*bytes.Buffer) error

func (CheckGenesis) ModulePath

func (cg CheckGenesis) ModulePath() string

func (CheckGenesis) PostDispatch

func (cg CheckGenesis) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckGenesis) PreDispatch

func (cg CheckGenesis) PreDispatch(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.Pre, error)

func (CheckGenesis) PreDispatchUnsigned

func (cg CheckGenesis) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckGenesis) Validate

func (CheckGenesis) ValidateUnsigned

func (cg CheckGenesis) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)

type CheckMortality

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

func (CheckMortality) AdditionalSigned

func (cm CheckMortality) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckMortality) Bytes

func (cm CheckMortality) Bytes() []byte

func (*CheckMortality) Decode

func (cm *CheckMortality) Decode(buffer *bytes.Buffer) error

func (CheckMortality) DeepCopy

func (CheckMortality) Encode

func (cm CheckMortality) Encode(buffer *bytes.Buffer) error

func (CheckMortality) ModulePath

func (cm CheckMortality) ModulePath() string

func (CheckMortality) PostDispatch

func (cm CheckMortality) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckMortality) PreDispatch

func (cm CheckMortality) PreDispatch(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.Pre, error)

func (CheckMortality) PreDispatchUnsigned

func (cm CheckMortality) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckMortality) Validate

func (CheckMortality) ValidateUnsigned

func (cm CheckMortality) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)

type CheckNonZeroAddress

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

func (CheckNonZeroAddress) AdditionalSigned

func (c CheckNonZeroAddress) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckNonZeroAddress) Bytes

func (c CheckNonZeroAddress) Bytes() []byte

func (CheckNonZeroAddress) Decode

func (CheckNonZeroAddress) DeepCopy

func (CheckNonZeroAddress) Encode

func (CheckNonZeroAddress) ModulePath

func (c CheckNonZeroAddress) ModulePath() string

func (CheckNonZeroAddress) PostDispatch

func (c CheckNonZeroAddress) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckNonZeroAddress) PreDispatch

func (CheckNonZeroAddress) PreDispatchUnsigned

func (c CheckNonZeroAddress) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckNonZeroAddress) Validate

func (CheckNonZeroAddress) ValidateUnsigned

type CheckNonce

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

func (CheckNonce) AdditionalSigned

func (cn CheckNonce) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckNonce) Bytes

func (cn CheckNonce) Bytes() []byte

func (*CheckNonce) Decode

func (cn *CheckNonce) Decode(buffer *bytes.Buffer) error

func (CheckNonce) DeepCopy

func (cn CheckNonce) DeepCopy() primitives.SignedExtension

func (CheckNonce) Encode

func (cn CheckNonce) Encode(buffer *bytes.Buffer) error

func (CheckNonce) ModulePath

func (cn CheckNonce) ModulePath() string

func (CheckNonce) PostDispatch

func (cn CheckNonce) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckNonce) PreDispatch

func (cn CheckNonce) PreDispatch(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.Pre, error)

func (CheckNonce) PreDispatchUnsigned

func (cn CheckNonce) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckNonce) Validate

func (CheckNonce) ValidateUnsigned

func (cn CheckNonce) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)

type CheckSpecVersion

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

func (CheckSpecVersion) AdditionalSigned

func (csv CheckSpecVersion) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckSpecVersion) Bytes

func (csv CheckSpecVersion) Bytes() []byte

func (CheckSpecVersion) Decode

func (csv CheckSpecVersion) Decode(*bytes.Buffer) error

func (CheckSpecVersion) DeepCopy

func (CheckSpecVersion) Encode

func (csv CheckSpecVersion) Encode(*bytes.Buffer) error

func (CheckSpecVersion) ModulePath

func (csv CheckSpecVersion) ModulePath() string

func (CheckSpecVersion) PostDispatch

func (csv CheckSpecVersion) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckSpecVersion) PreDispatch

func (CheckSpecVersion) PreDispatchUnsigned

func (csv CheckSpecVersion) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckSpecVersion) Validate

func (CheckSpecVersion) ValidateUnsigned

func (csv CheckSpecVersion) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)

type CheckTxVersion

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

func (CheckTxVersion) AdditionalSigned

func (ctv CheckTxVersion) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckTxVersion) Bytes

func (ctv CheckTxVersion) Bytes() []byte

func (CheckTxVersion) Decode

func (ctv CheckTxVersion) Decode(*bytes.Buffer) error

func (CheckTxVersion) DeepCopy

func (ctv CheckTxVersion) DeepCopy() primitives.SignedExtension

func (CheckTxVersion) Encode

func (ctv CheckTxVersion) Encode(*bytes.Buffer) error

func (CheckTxVersion) ModulePath

func (ctv CheckTxVersion) ModulePath() string

func (CheckTxVersion) PostDispatch

func (ctv CheckTxVersion) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckTxVersion) PreDispatch

func (ctv CheckTxVersion) PreDispatch(who primitives.AccountId, call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.Pre, error)

func (CheckTxVersion) PreDispatchUnsigned

func (ctv CheckTxVersion) PreDispatchUnsigned(call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckTxVersion) Validate

func (CheckTxVersion) ValidateUnsigned

func (ctv CheckTxVersion) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)

type CheckWeight

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

func (CheckWeight) AdditionalSigned

func (cw CheckWeight) AdditionalSigned() (primitives.AdditionalSigned, error)

func (CheckWeight) Bytes

func (cw CheckWeight) Bytes() []byte

func (CheckWeight) Decode

func (cw CheckWeight) Decode(*bytes.Buffer) error

func (CheckWeight) DeepCopy

func (cw CheckWeight) DeepCopy() primitives.SignedExtension

func (CheckWeight) Encode

func (cw CheckWeight) Encode(*bytes.Buffer) error

func (CheckWeight) ModulePath

func (cw CheckWeight) ModulePath() string

func (CheckWeight) PostDispatch

func (cw CheckWeight) PostDispatch(_pre sc.Option[primitives.Pre], info *primitives.DispatchInfo, postInfo *primitives.PostDispatchInfo, _length sc.Compact, _dispatchErr error) error

func (CheckWeight) PreDispatch

func (cw CheckWeight) PreDispatch(_who primitives.AccountId, _call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.Pre, error)

func (CheckWeight) PreDispatchUnsigned

func (cw CheckWeight) PreDispatchUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) error

func (CheckWeight) Validate

func (CheckWeight) ValidateUnsigned

func (cw CheckWeight) ValidateUnsigned(_call primitives.Call, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)

Jump to

Keyboard shortcuts

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