Documentation ¶
Index ¶
- type AccountIdLookup
- type ApiModule
- type AuraModule
- func (m *AuraModule) CheckInherent(call types.Call, data types.InherentData) error
- func (m *AuraModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
- func (m *AuraModule) FindAuthor(digests sc.Sequence[primitives.DigestPreRuntime]) (sc.Option[sc.U32], error)
- func (m *AuraModule) Functions() map[sc.U8]primitives.Call
- func (m *AuraModule) GetIndex() sc.U8
- func (m *AuraModule) InherentIdentifier() [8]byte
- func (m *AuraModule) IsInherent(call types.Call) bool
- func (m *AuraModule) KeyType() primitives.PublicKeyType
- func (m *AuraModule) KeyTypeId() [4]byte
- func (m *AuraModule) Metadata() primitives.MetadataModule
- func (m *AuraModule) OffchainWorker(n sc.U64)
- func (m *AuraModule) OnFinalize(n sc.U64) error
- func (m *AuraModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (m *AuraModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (m *AuraModule) OnRuntimeUpgrade() primitives.Weight
- func (m *AuraModule) OnTimestampSet(now sc.U64) error
- func (m *AuraModule) PreDispatch(call primitives.Call) (sc.Empty, error)
- func (m *AuraModule) SlotDuration() sc.U64
- func (m *AuraModule) StorageAuthorities() (sc.Sequence[primitives.Sr25519PublicKey], error)
- func (m *AuraModule) StorageAuthoritiesBytes() (sc.Option[sc.Sequence[sc.U8]], error)
- func (m *AuraModule) StorageCurrentSlot() (sc.U64, error)
- func (m *AuraModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
- type AuthorshipEventHandler
- type BabeModule
- func (m *BabeModule) CheckInherent(call primitives.Call, data primitives.InherentData) error
- func (m *BabeModule) CreateInherent(inherent primitives.InherentData) (sc.Option[primitives.Call], error)
- func (m *BabeModule) CurrentEpoch() (babetypes.Epoch, error)
- func (m *BabeModule) CurrentEpochStart() (babetypes.Slot, error)
- func (m *BabeModule) DecodeKey(buffer *bytes.Buffer) (primitives.Sr25519PublicKey, error)
- func (m *BabeModule) EnactEpochChange(authorities sc.Sequence[primitives.Authority], ...) error
- func (m *BabeModule) EpochConfig() babetypes.EpochConfiguration
- func (m *BabeModule) EpochDuration() sc.U64
- func (m *BabeModule) EpochStartSlot(epochIndex sc.U64, genesisSlot babetypes.Slot, epochDuration sc.U64) (babetypes.Slot, error)
- func (m *BabeModule) FindAuthor(digests sc.Sequence[primitives.DigestPreRuntime]) (sc.Option[sc.U32], error)
- func (m *BabeModule) Functions() map[sc.U8]primitives.Call
- func (m *BabeModule) GetIndex() sc.U8
- func (m *BabeModule) InherentIdentifier() [8]byte
- func (m *BabeModule) IsInherent(call primitives.Call) bool
- func (m *BabeModule) KeyType() primitives.PublicKeyType
- func (m *BabeModule) KeyTypeId() [4]byte
- func (m *BabeModule) Metadata() primitives.MetadataModule
- func (m *BabeModule) NextEpoch() (babetypes.Epoch, error)
- func (m *BabeModule) OffchainWorker(n sc.U64)
- func (m *BabeModule) OnBeforeSessionEnding()
- func (m *BabeModule) OnDisabled(validatorIndex sc.U32)
- func (m *BabeModule) OnFinalize(n sc.U64) error
- func (m *BabeModule) OnGenesisSession(validators sc.Sequence[primitives.Validator]) error
- func (m *BabeModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (m *BabeModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (m *BabeModule) OnNewSession(changed bool, validators sc.Sequence[primitives.Validator], ...) error
- func (m *BabeModule) OnRuntimeUpgrade() primitives.Weight
- func (m *BabeModule) OnTimestampSet(now sc.U64) error
- func (m *BabeModule) PreDispatch(call primitives.Call) (sc.Empty, error)
- func (m *BabeModule) ShouldEpochChange(now sc.U64) bool
- func (m *BabeModule) SlotDuration() sc.U64
- func (m *BabeModule) StorageAuthorities() (sc.Sequence[primitives.Authority], error)
- func (m *BabeModule) StorageAuthoritiesBytes() (sc.Option[sc.Sequence[sc.U8]], error)
- func (m *BabeModule) StorageCurrentSlot() (sc.U64, error)
- func (m *BabeModule) StorageEpochConfig() (babetypes.EpochConfiguration, error)
- func (m *BabeModule) StorageEpochConfigSet(value babetypes.EpochConfiguration)
- func (m *BabeModule) StorageRandomness() (babetypes.Randomness, error)
- func (m *BabeModule) StorageSegmentIndexSet(sc.U32)
- func (m *BabeModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
- type Block
- type BlockExecutor
- type Call
- func (m *Call) Args() sc.VaryingData
- func (m *Call) BaseWeight() types.Weight
- func (m *Call) Bytes() []byte
- func (m *Call) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
- func (m *Call) DecodeArgs(buffer *bytes.Buffer) (types.Call, error)
- func (m *Call) Dispatch(origin types.RuntimeOrigin, a sc.VaryingData) (types.PostDispatchInfo, error)
- func (m *Call) Docs() string
- func (m *Call) Encode(buffer *bytes.Buffer) error
- func (m *Call) FunctionIndex() sc.U8
- func (m *Call) ModuleIndex() sc.U8
- func (m *Call) PaysFee(baseWeight types.Weight) types.Pays
- func (m *Call) WeighData(baseWeight types.Weight) types.Weight
- type CallSudo
- type CheckedExtrinsic
- func (c *CheckedExtrinsic) Apply(validator primitives.UnsignedValidator, info *primitives.DispatchInfo, ...) (primitives.PostDispatchInfo, error)
- func (c *CheckedExtrinsic) Function() primitives.Call
- func (c *CheckedExtrinsic) Validate(validator primitives.UnsignedValidator, source primitives.TransactionSource, ...) (primitives.ValidTransaction, error)
- type ConsumedWeight
- type CurrencyAdapter
- type DefaultOnRuntimeUpgrade
- type DefaultOnSetCode
- type EpochChangeTrigger
- type EquivocationReportSystem
- type EventDepositor
- type Executive
- func (m *Executive) ApplyExtrinsic(uxt types.UncheckedExtrinsic) error
- func (m *Executive) ExecuteBlock(block types.Block) error
- func (m *Executive) FinalizeBlock() (primitives.Header, error)
- func (m *Executive) InitializeBlock(header primitives.Header) error
- func (m *Executive) OffchainWorker(header primitives.Header) error
- func (m *Executive) ValidateTransaction(source primitives.TransactionSource, uxt types.UncheckedExtrinsic, ...) (primitives.ValidTransaction, error)
- type FindAccountFromAuthorIndex
- type GrandpaModule
- func (m *GrandpaModule) Authorities() (sc.Sequence[primitives.Authority], error)
- func (m *GrandpaModule) CheckInherent(call types.Call, data types.InherentData) error
- func (m *GrandpaModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
- func (m *GrandpaModule) Functions() map[sc.U8]primitives.Call
- func (m *GrandpaModule) GetIndex() sc.U8
- func (m *GrandpaModule) HistoricalKeyOwnershipProof(authorityId primitives.AccountId) sc.Option[grandpatypes.OpaqueKeyOwnershipProof]
- func (m *GrandpaModule) InherentIdentifier() [8]byte
- func (m *GrandpaModule) IsInherent(call types.Call) bool
- func (m *GrandpaModule) KeyType() primitives.PublicKeyType
- func (m *GrandpaModule) KeyTypeId() [4]byte
- func (m *GrandpaModule) Metadata() primitives.MetadataModule
- func (m *GrandpaModule) OffchainWorker(n sc.U64)
- func (m *GrandpaModule) OnFinalize(n sc.U64) error
- func (m *GrandpaModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (m *GrandpaModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (m *GrandpaModule) OnRuntimeUpgrade() primitives.Weight
- func (m *GrandpaModule) PreDispatch(call primitives.Call) (sc.Empty, error)
- func (m *GrandpaModule) StorageSetId() (sc.U64, error)
- func (m *GrandpaModule) StorageSetIdSessionGet(key sc.U64) (sc.U32, error)
- func (m *GrandpaModule) SubmitUnsignedEquivocationReport(equivocationProof grandpatypes.EquivocationProof, ...) error
- func (m *GrandpaModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
- type HostEnvironment
- type IoCrypto
- func (m *IoCrypto) EcdsaGenerate(keyTypeId []byte, seed []byte) []byte
- func (m *IoCrypto) EcdsaRecoverCompressed(signature []byte, msg []byte) []byte
- func (m *IoCrypto) Ed25519Generate(keyTypeId []byte, seed []byte) []byte
- func (m *IoCrypto) Ed25519Verify(signature []byte, message []byte, pubKey []byte) bool
- func (m *IoCrypto) Sr25519Generate(keyTypeId []byte, seed []byte) []byte
- func (m *IoCrypto) Sr25519Verify(signature []byte, message []byte, pubKey []byte) bool
- type IoHashing
- type IoMisc
- type IoStorage
- func (m *IoStorage) Append(key []byte, value []byte)
- func (m *IoStorage) Clear(key []byte)
- func (m *IoStorage) ClearPrefix(key []byte, limit []byte)
- func (m *IoStorage) Exists(key []byte) bool
- func (m *IoStorage) Get(key []byte) (sc.Option[sc.Sequence[sc.U8]], error)
- func (m *IoStorage) NextKey(key []byte) (sc.Option[sc.Sequence[sc.U8]], error)
- func (m *IoStorage) Read(key []byte, valueOut []byte, offset int32) (sc.Option[sc.U32], error)
- func (m *IoStorage) Root(version int32) []byte
- func (m *IoStorage) Set(key []byte, value []byte)
- type IoTransactionBroker
- type IoTransactional
- type IoTrie
- type KeyOwnerProofSystem
- type LogDepositor
- type MemoryTranslator
- type Module
- func (m *Module) BuildConfig(config []byte) error
- func (m *Module) CheckInherent(call types.Call, data types.InherentData) error
- func (m *Module) CreateDefaultConfig() ([]byte, error)
- func (m *Module) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
- func (m *Module) Functions() map[sc.U8]types.Call
- func (m *Module) GetIndex() sc.U8
- func (m *Module) InherentIdentifier() [8]byte
- func (m *Module) IsInherent(call types.Call) bool
- func (m *Module) Metadata() types.MetadataModule
- func (m *Module) OffchainWorker(n sc.U64)
- func (m *Module) OnFinalize(n sc.U64) error
- func (m *Module) OnIdle(n sc.U64, remainingWeight types.Weight) types.Weight
- func (m *Module) OnInitialize(n sc.U64) (types.Weight, error)
- func (m *Module) OnRuntimeUpgrade() types.Weight
- func (m *Module) PreDispatch(call types.Call) (sc.Empty, error)
- func (m *Module) ValidateUnsigned(txSource types.TransactionSource, call types.Call) (types.ValidTransaction, error)
- type OnChargeTransaction
- type OnTimestampSet
- type OneSessionHandler
- func (m *OneSessionHandler) DecodeKey(buffer *bytes.Buffer) (primitives.Sr25519PublicKey, error)
- func (m *OneSessionHandler) KeyType() primitives.PublicKeyType
- func (m *OneSessionHandler) KeyTypeId() [4]byte
- func (m *OneSessionHandler) OnBeforeSessionEnding()
- func (m *OneSessionHandler) OnDisabled(validatorIndex sc.U32)
- func (m *OneSessionHandler) OnGenesisSession(validators sc.Sequence[primitives.Validator]) error
- func (m *OneSessionHandler) OnNewSession(changed bool, validators sc.Sequence[primitives.Validator], ...) error
- type ParachainSystemModule
- func (m *ParachainSystemModule) CheckInherent(call primitives.Call, inherent primitives.InherentData) error
- func (m *ParachainSystemModule) CollectCollationInfo(header primitives.Header) (parachain.CollationInfo, error)
- func (m *ParachainSystemModule) CreateInherent(inherent primitives.InherentData) (sc.Option[primitives.Call], error)
- func (m *ParachainSystemModule) Functions() map[sc.U8]primitives.Call
- func (m *ParachainSystemModule) GetIndex() sc.U8
- func (m *ParachainSystemModule) InherentIdentifier() [8]byte
- func (m *ParachainSystemModule) IsInherent(call primitives.Call) bool
- func (m *ParachainSystemModule) Metadata() primitives.MetadataModule
- func (m *ParachainSystemModule) OffchainWorker(n sc.U64)
- func (m *ParachainSystemModule) OnFinalize(n sc.U64) error
- func (m *ParachainSystemModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (m *ParachainSystemModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (m *ParachainSystemModule) OnRuntimeUpgrade() primitives.Weight
- func (m *ParachainSystemModule) PreDispatch(call primitives.Call) (sc.Empty, error)
- func (m *ParachainSystemModule) ScheduleCodeUpgrade(code sc.Sequence[sc.U8]) error
- func (m *ParachainSystemModule) StorageNewValidationCodeBytes() (sc.Option[sc.Sequence[sc.U8]], error)
- func (m *ParachainSystemModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
- type RawStorageValue
- type RelayChainStateProof
- func (m *RelayChainStateProof) ReadAbridgedHostConfiguration() (parachain.AbridgedHostConfiguration, error)
- func (m *RelayChainStateProof) ReadIncludedParaHeadHash() sc.Option[sc.FixedSequence[sc.U8]]
- func (m *RelayChainStateProof) ReadMessagingStateSnapshot(ahc parachain.AbridgedHostConfiguration) (parachain.MessagingStateSnapshot, error)
- func (m *RelayChainStateProof) ReadRestrictionSignal() (sc.Option[sc.U8], error)
- func (m *RelayChainStateProof) ReadSlot() (sc.U64, error)
- func (m *RelayChainStateProof) ReadUpgradeGoAheadSignal() (sc.Option[sc.U8], error)
- type RuntimeDecoder
- func (m *RuntimeDecoder) DecodeBlock(buffer *bytes.Buffer) (types.Block, error)
- func (m *RuntimeDecoder) DecodeCall(buffer *bytes.Buffer) (primitives.Call, error)
- func (m *RuntimeDecoder) DecodeParachainBlockData(blockData sc.Sequence[sc.U8]) (parachain.BlockData, error)
- func (m *RuntimeDecoder) DecodeUncheckedExtrinsic(buffer *bytes.Buffer) (types.UncheckedExtrinsic, error)
- type RuntimeExtrinsic
- func (re *RuntimeExtrinsic) CheckInherents(data primitives.InherentData, block primitives.Block) (primitives.CheckInherentsResult, error)
- func (re *RuntimeExtrinsic) CreateInherents(inherentData primitives.InherentData) ([]byte, error)
- func (re *RuntimeExtrinsic) EnsureInherentsAreFirst(block types.Block) int
- func (re *RuntimeExtrinsic) Metadata() (sc.Sequence[primitives.MetadataModuleV14], primitives.MetadataExtrinsicV14)
- func (re *RuntimeExtrinsic) MetadataLatest() (sc.Sequence[primitives.MetadataModuleV15], primitives.MetadataExtrinsicV15, ...)
- func (re *RuntimeExtrinsic) Module(index sc.U8) (module primitives.Module, isFound bool)
- func (re *RuntimeExtrinsic) OffchainWorker(n sc.U64)
- func (re *RuntimeExtrinsic) OnFinalize(n sc.U64) error
- func (re *RuntimeExtrinsic) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (re *RuntimeExtrinsic) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (re *RuntimeExtrinsic) OnRuntimeUpgrade() primitives.Weight
- type SessionModule
- func (m *SessionModule) AppendHandlers(module sessiontypes.OneSessionHandler)
- func (m *SessionModule) CheckInherent(call types.Call, data types.InherentData) error
- func (m *SessionModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
- func (m *SessionModule) CurrentIndex() (sc.U32, error)
- func (m *SessionModule) DecodeKeys(buffer *bytes.Buffer) (sc.FixedSequence[primitives.Sr25519PublicKey], error)
- func (m *SessionModule) Functions() map[sc.U8]types.Call
- func (m *SessionModule) GetIndex() sc.U8
- func (m *SessionModule) InherentIdentifier() [8]byte
- func (m *SessionModule) IsDisabled(index sc.U32) (bool, error)
- func (m *SessionModule) IsInherent(call types.Call) bool
- func (m *SessionModule) Metadata() types.MetadataModule
- func (m *SessionModule) OffchainWorker(n sc.U64)
- func (m *SessionModule) OnFinalize(n sc.U64) error
- func (m *SessionModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (m *SessionModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (m *SessionModule) OnRuntimeUpgrade() primitives.Weight
- func (m *SessionModule) PreDispatch(call types.Call) (sc.Empty, error)
- func (m *SessionModule) ValidateUnsigned(txSource types.TransactionSource, call types.Call) (types.ValidTransaction, error)
- func (m *SessionModule) Validators() (sc.Sequence[primitives.AccountId], error)
- type ShouldEndSession
- type SignedExtra
- func (m *SignedExtra) AdditionalSigned() (types.AdditionalSigned, error)
- func (m *SignedExtra) Bytes() []byte
- func (m *SignedExtra) Decode(buffer *bytes.Buffer)
- func (m *SignedExtra) DeepCopy() types.SignedExtra
- func (m *SignedExtra) Encode(buffer *bytes.Buffer) error
- func (m *SignedExtra) Metadata() sc.Sequence[types.MetadataSignedExtension]
- func (m *SignedExtra) PostDispatch(pre sc.Option[sc.Sequence[types.Pre]], info *types.DispatchInfo, ...) error
- func (m *SignedExtra) PreDispatch(who types.AccountId, call types.Call, info *types.DispatchInfo, ...) (sc.Sequence[types.Pre], error)
- func (m *SignedExtra) PreDispatchUnsigned(call types.Call, info *types.DispatchInfo, length sc.Compact) error
- func (m *SignedExtra) Validate(who types.AccountId, call types.Call, info *types.DispatchInfo, ...) (types.ValidTransaction, error)
- func (m *SignedExtra) ValidateUnsigned(call types.Call, info *types.DispatchInfo, length sc.Compact) (types.ValidTransaction, error)
- type SignedPayload
- type StaleNotifier
- type StorageMap
- func (m *StorageMap[K, V]) Append(k K, v V)
- func (m *StorageMap[K, V]) Clear(limit sc.U32)
- func (m *StorageMap[K, V]) Exists(k K) bool
- func (m *StorageMap[K, V]) Get(k K) (V, error)
- func (m *StorageMap[K, V]) Mutate(k K, f func(value *V) (sc.Encodable, error)) (sc.Encodable, error)
- func (m *StorageMap[K, V]) Put(k K, value V)
- func (m *StorageMap[K, V]) Remove(k K)
- func (m *StorageMap[K, V]) TakeBytes(k K) ([]byte, error)
- func (m *StorageMap[K, V]) TryMutateExists(k K, f func(option *sc.Option[V]) (sc.Encodable, error)) (sc.Encodable, error)
- type StorageValue
- func (m *StorageValue[T]) Append(value T)
- func (m *StorageValue[T]) AppendItem(value sc.Encodable)
- func (m *StorageValue[T]) Clear()
- func (m *StorageValue[T]) DecodeLen() (sc.Option[sc.U64], error)
- func (m *StorageValue[T]) Exists() bool
- func (m *StorageValue[T]) Get() (T, error)
- func (m *StorageValue[T]) GetBytes() (sc.Option[sc.Sequence[sc.U8]], error)
- func (m *StorageValue[T]) Mutate(f func(*T) (T, error)) (T, error)
- func (m *StorageValue[T]) Put(value T)
- func (m *StorageValue[T]) Take() (T, error)
- func (m *StorageValue[T]) TakeBytes() ([]byte, error)
- type StoredMap
- func (m *StoredMap) CanDecProviders(who types.AccountId) (bool, error)
- func (m *StoredMap) DecConsumers(who types.AccountId) error
- func (m *StoredMap) DecProviders(who types.AccountId) (types.DecRefStatus, error)
- func (m *StoredMap) DepositEvent(event types.Event)
- func (m *StoredMap) Get(key types.AccountId) (types.AccountInfo, error)
- func (m *StoredMap) IncConsumers(who types.AccountId) error
- func (m *StoredMap) IncConsumersWithoutLimit(who types.AccountId) error
- func (m *StoredMap) IncProviders(who types.AccountId) (types.IncRefStatus, error)
- func (m *StoredMap) Insert(who types.AccountId, data types.AccountData) (sc.Encodable, error)
- func (m *StoredMap) Put(key types.AccountId, accInfo types.AccountInfo)
- func (m *StoredMap) TryMutateExists(who types.AccountId, f func(who *types.AccountData) (sc.Encodable, error)) (sc.Encodable, error)
- type SystemModule
- func (m *SystemModule) AccountTryMutateExists(who primitives.AccountId, ...) (sc.Encodable, error)
- func (m *SystemModule) BlockHashCount() types.BlockHashCount
- func (m *SystemModule) BlockLength() types.BlockLength
- func (m *SystemModule) BlockWeights() types.BlockWeights
- func (m *SystemModule) CanDecProviders(who primitives.AccountId) (bool, error)
- func (m *SystemModule) CanIncConsumer(who primitives.AccountId) (bool, error)
- func (m *SystemModule) CanSetCode(codeBlob sc.Sequence[sc.U8]) error
- func (m *SystemModule) CheckInherent(call primitives.Call, data primitives.InherentData) error
- func (m *SystemModule) CreateInherent(inherent primitives.InherentData) (sc.Option[primitives.Call], error)
- func (m *SystemModule) DbWeight() types.RuntimeDbWeight
- func (m *SystemModule) DecConsumers(who primitives.AccountId) error
- func (m *SystemModule) DecProviders(who primitives.AccountId) (primitives.DecRefStatus, error)
- func (m *SystemModule) DepositEvent(event primitives.Event)
- func (m *SystemModule) DepositLog(item primitives.DigestItem)
- func (m *SystemModule) DoApplyAuthorizeUpgrade(code sc.Sequence[sc.U8]) (primitives.PostDispatchInfo, error)
- func (m *SystemModule) DoAuthorizeUpgrade(codeHash primitives.H256, checkVersion sc.Bool)
- func (m *SystemModule) Finalize() (primitives.Header, error)
- func (m *SystemModule) Functions() map[sc.U8]primitives.Call
- func (m *SystemModule) Get(key primitives.AccountId) (primitives.AccountInfo, error)
- func (m *SystemModule) GetIndex() sc.U8
- func (m *SystemModule) IncConsumers(who primitives.AccountId) error
- func (m *SystemModule) IncConsumersWithoutLimit(who primitives.AccountId) error
- func (m *SystemModule) IncProviders(who primitives.AccountId) (primitives.IncRefStatus, error)
- func (m *SystemModule) InherentIdentifier() [8]byte
- func (m *SystemModule) Initialize(blockNumber sc.U64, parentHash primitives.Blake2bHash, ...)
- func (m *SystemModule) Insert(who primitives.AccountId, data primitives.AccountData) (sc.Encodable, error)
- func (m *SystemModule) IsInherent(call primitives.Call) bool
- func (m *SystemModule) Metadata() primitives.MetadataModule
- func (m *SystemModule) Mutate(who primitives.AccountId, ...) (sc.Encodable, error)
- func (m *SystemModule) NoteAppliedExtrinsic(postInfo primitives.PostDispatchInfo, postDispatchErr error, ...) error
- func (m *SystemModule) NoteExtrinsic(encodedExt []byte) error
- func (m *SystemModule) NoteFinishedExtrinsics() error
- func (m *SystemModule) NoteFinishedInitialize()
- func (m *SystemModule) OffchainWorker(n sc.U64)
- func (m *SystemModule) OnFinalize(n sc.U64) error
- func (m *SystemModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
- func (m *SystemModule) OnInitialize(n sc.U64) (primitives.Weight, error)
- func (m *SystemModule) OnRuntimeUpgrade() primitives.Weight
- func (m *SystemModule) PreDispatch(call primitives.Call) (sc.Empty, error)
- func (m *SystemModule) RegisterExtraWeightUnchecked(weight primitives.Weight, class primitives.DispatchClass) error
- func (m *SystemModule) ResetEvents()
- func (m *SystemModule) RuntimeUpgrade() bool
- func (m *SystemModule) StorageAccount(key types.AccountId) (types.AccountInfo, error)
- func (m *SystemModule) StorageAccountSet(key types.AccountId, value types.AccountInfo)
- func (m *SystemModule) StorageAllExtrinsicsLen() (sc.U32, error)
- func (m *SystemModule) StorageAllExtrinsicsLenSet(value sc.U32)
- func (m *SystemModule) StorageBlockHash(key sc.U64) (types.Blake2bHash, error)
- func (m *SystemModule) StorageBlockHashExists(key sc.U64) bool
- func (m *SystemModule) StorageBlockHashSet(key sc.U64, value types.Blake2bHash)
- func (m *SystemModule) StorageBlockNumber() (sc.U64, error)
- func (m *SystemModule) StorageBlockNumberSet(blockNumber sc.U64)
- func (m *SystemModule) StorageBlockWeight() (primitives.ConsumedWeight, error)
- func (m *SystemModule) StorageBlockWeightSet(weight primitives.ConsumedWeight)
- func (m *SystemModule) StorageCodeSet(codeBlob sc.Sequence[sc.U8])
- func (m *SystemModule) StorageDigest() (types.Digest, error)
- func (m *SystemModule) StorageLastRuntimeUpgrade() (types.LastRuntimeUpgradeInfo, error)
- func (m *SystemModule) StorageLastRuntimeUpgradeSet(lrui types.LastRuntimeUpgradeInfo)
- func (m *SystemModule) StorageParentHash() (types.Blake2bHash, error)
- func (m *SystemModule) TryMutateExists(who primitives.AccountId, ...) (sc.Encodable, error)
- func (m *SystemModule) UpdateCodeInStorage(code sc.Sequence[sc.U8])
- func (m *SystemModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
- func (m *SystemModule) Version() types.RuntimeVersion
- type TransactionPaymentModule
- func (m *TransactionPaymentModule) CheckInherent(call types.Call, data types.InherentData) error
- func (m *TransactionPaymentModule) ComputeActualFee(len sc.U32, info types.DispatchInfo, postInfo types.PostDispatchInfo, ...) (types.Balance, error)
- func (m *TransactionPaymentModule) ComputeFee(len sc.U32, info types.DispatchInfo, tip types.Balance) (types.Balance, error)
- func (m *TransactionPaymentModule) ComputeFeeDetails(len sc.U32, info types.DispatchInfo, tip types.Balance) (tx_types.FeeDetails, error)
- func (m *TransactionPaymentModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
- func (m *TransactionPaymentModule) Functions() map[sc.U8]types.Call
- func (m *TransactionPaymentModule) GetIndex() sc.U8
- func (m *TransactionPaymentModule) InherentIdentifier() [8]byte
- func (m *TransactionPaymentModule) IsInherent(call types.Call) bool
- func (m *TransactionPaymentModule) Metadata() types.MetadataModule
- func (m *TransactionPaymentModule) OffchainWorker(n sc.U64)
- func (m *TransactionPaymentModule) OnFinalize(n sc.U64) error
- func (m *TransactionPaymentModule) OnIdle(n sc.U64, remainingWeight types.Weight) types.Weight
- func (m *TransactionPaymentModule) OnInitialize(n sc.U64) (types.Weight, error)
- func (m *TransactionPaymentModule) OnRuntimeUpgrade() types.Weight
- func (m *TransactionPaymentModule) OperationalFeeMultiplier() sc.U8
- func (m *TransactionPaymentModule) PreDispatch(call types.Call) (sc.Empty, error)
- func (m *TransactionPaymentModule) ValidateUnsigned(source types.TransactionSource, call types.Call) (types.ValidTransaction, error)
- type UncheckedExtrinsic
- func (uxt *UncheckedExtrinsic) Bytes() []byte
- func (uxt *UncheckedExtrinsic) Check() (primitives.CheckedExtrinsic, error)
- func (uxt *UncheckedExtrinsic) Encode(buffer *bytes.Buffer) error
- func (uxt *UncheckedExtrinsic) Extra() primitives.SignedExtra
- func (uxt *UncheckedExtrinsic) Function() primitives.Call
- func (uxt *UncheckedExtrinsic) IsSigned() bool
- func (uxt *UncheckedExtrinsic) Signature() sc.Option[primitives.ExtrinsicSignature]
- type UnsignedValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountIdLookup ¶
func (*AccountIdLookup) Lookup ¶
func (l *AccountIdLookup) Lookup(a types.MultiAddress) (types.Address32, error)
type AuraModule ¶
func (*AuraModule) CheckInherent ¶
func (m *AuraModule) CheckInherent(call types.Call, data types.InherentData) error
func (*AuraModule) CreateInherent ¶
func (m *AuraModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
func (*AuraModule) FindAuthor ¶
func (m *AuraModule) FindAuthor(digests sc.Sequence[primitives.DigestPreRuntime]) (sc.Option[sc.U32], error)
func (*AuraModule) Functions ¶
func (m *AuraModule) Functions() map[sc.U8]primitives.Call
func (*AuraModule) GetIndex ¶
func (m *AuraModule) GetIndex() sc.U8
func (*AuraModule) InherentIdentifier ¶
func (m *AuraModule) InherentIdentifier() [8]byte
func (*AuraModule) IsInherent ¶
func (m *AuraModule) IsInherent(call types.Call) bool
func (*AuraModule) KeyType ¶
func (m *AuraModule) KeyType() primitives.PublicKeyType
func (*AuraModule) KeyTypeId ¶
func (m *AuraModule) KeyTypeId() [4]byte
func (*AuraModule) Metadata ¶
func (m *AuraModule) Metadata() primitives.MetadataModule
func (*AuraModule) OffchainWorker ¶
func (m *AuraModule) OffchainWorker(n sc.U64)
func (*AuraModule) OnFinalize ¶
func (m *AuraModule) OnFinalize(n sc.U64) error
func (*AuraModule) OnIdle ¶
func (m *AuraModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*AuraModule) OnInitialize ¶
func (m *AuraModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*AuraModule) OnRuntimeUpgrade ¶
func (m *AuraModule) OnRuntimeUpgrade() primitives.Weight
func (*AuraModule) OnTimestampSet ¶
func (m *AuraModule) OnTimestampSet(now sc.U64) error
func (*AuraModule) PreDispatch ¶
func (m *AuraModule) PreDispatch(call primitives.Call) (sc.Empty, error)
func (*AuraModule) SlotDuration ¶
func (m *AuraModule) SlotDuration() sc.U64
func (*AuraModule) StorageAuthorities ¶
func (m *AuraModule) StorageAuthorities() (sc.Sequence[primitives.Sr25519PublicKey], error)
func (*AuraModule) StorageAuthoritiesBytes ¶
func (*AuraModule) StorageCurrentSlot ¶
func (m *AuraModule) StorageCurrentSlot() (sc.U64, error)
func (*AuraModule) ValidateUnsigned ¶
func (m *AuraModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
type AuthorshipEventHandler ¶
func (*AuthorshipEventHandler) NoteAuthor ¶
func (a *AuthorshipEventHandler) NoteAuthor(author primitives.AccountId)
type BabeModule ¶
func (*BabeModule) CheckInherent ¶
func (m *BabeModule) CheckInherent(call primitives.Call, data primitives.InherentData) error
func (*BabeModule) CreateInherent ¶
func (m *BabeModule) CreateInherent(inherent primitives.InherentData) (sc.Option[primitives.Call], error)
func (*BabeModule) CurrentEpoch ¶
func (m *BabeModule) CurrentEpoch() (babetypes.Epoch, error)
func (*BabeModule) CurrentEpochStart ¶
func (m *BabeModule) CurrentEpochStart() (babetypes.Slot, error)
func (*BabeModule) DecodeKey ¶
func (m *BabeModule) DecodeKey(buffer *bytes.Buffer) (primitives.Sr25519PublicKey, error)
func (*BabeModule) EnactEpochChange ¶
func (m *BabeModule) EnactEpochChange(authorities sc.Sequence[primitives.Authority], nextAuthorities sc.Sequence[primitives.Authority], sessionIndex sc.Option[sc.U32]) error
func (*BabeModule) EpochConfig ¶
func (m *BabeModule) EpochConfig() babetypes.EpochConfiguration
func (*BabeModule) EpochDuration ¶
func (m *BabeModule) EpochDuration() sc.U64
func (*BabeModule) EpochStartSlot ¶
func (*BabeModule) FindAuthor ¶
func (m *BabeModule) FindAuthor(digests sc.Sequence[primitives.DigestPreRuntime]) (sc.Option[sc.U32], error)
func (*BabeModule) Functions ¶
func (m *BabeModule) Functions() map[sc.U8]primitives.Call
func (*BabeModule) GetIndex ¶
func (m *BabeModule) GetIndex() sc.U8
func (*BabeModule) InherentIdentifier ¶
func (m *BabeModule) InherentIdentifier() [8]byte
func (*BabeModule) IsInherent ¶
func (m *BabeModule) IsInherent(call primitives.Call) bool
func (*BabeModule) KeyType ¶
func (m *BabeModule) KeyType() primitives.PublicKeyType
func (*BabeModule) KeyTypeId ¶
func (m *BabeModule) KeyTypeId() [4]byte
func (*BabeModule) Metadata ¶
func (m *BabeModule) Metadata() primitives.MetadataModule
func (*BabeModule) OffchainWorker ¶
func (m *BabeModule) OffchainWorker(n sc.U64)
func (*BabeModule) OnBeforeSessionEnding ¶
func (m *BabeModule) OnBeforeSessionEnding()
func (*BabeModule) OnDisabled ¶
func (m *BabeModule) OnDisabled(validatorIndex sc.U32)
func (*BabeModule) OnFinalize ¶
func (m *BabeModule) OnFinalize(n sc.U64) error
func (*BabeModule) OnGenesisSession ¶
func (m *BabeModule) OnGenesisSession(validators sc.Sequence[primitives.Validator]) error
func (*BabeModule) OnIdle ¶
func (m *BabeModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*BabeModule) OnInitialize ¶
func (m *BabeModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*BabeModule) OnNewSession ¶
func (m *BabeModule) OnNewSession(changed bool, validators sc.Sequence[primitives.Validator], queuedValidators sc.Sequence[primitives.Validator]) error
func (*BabeModule) OnRuntimeUpgrade ¶
func (m *BabeModule) OnRuntimeUpgrade() primitives.Weight
func (*BabeModule) OnTimestampSet ¶
func (m *BabeModule) OnTimestampSet(now sc.U64) error
func (*BabeModule) PreDispatch ¶
func (m *BabeModule) PreDispatch(call primitives.Call) (sc.Empty, error)
func (*BabeModule) ShouldEpochChange ¶
func (m *BabeModule) ShouldEpochChange(now sc.U64) bool
func (*BabeModule) SlotDuration ¶
func (m *BabeModule) SlotDuration() sc.U64
func (*BabeModule) StorageAuthorities ¶
func (m *BabeModule) StorageAuthorities() (sc.Sequence[primitives.Authority], error)
func (*BabeModule) StorageAuthoritiesBytes ¶
func (*BabeModule) StorageCurrentSlot ¶
func (m *BabeModule) StorageCurrentSlot() (sc.U64, error)
func (*BabeModule) StorageEpochConfig ¶
func (m *BabeModule) StorageEpochConfig() (babetypes.EpochConfiguration, error)
func (*BabeModule) StorageEpochConfigSet ¶
func (m *BabeModule) StorageEpochConfigSet(value babetypes.EpochConfiguration)
func (*BabeModule) StorageRandomness ¶
func (m *BabeModule) StorageRandomness() (babetypes.Randomness, error)
func (*BabeModule) StorageSegmentIndexSet ¶
func (m *BabeModule) StorageSegmentIndexSet(sc.U32)
func (*BabeModule) ValidateUnsigned ¶
func (m *BabeModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
type Block ¶
func (*Block) Extrinsics ¶
func (m *Block) Extrinsics() sc.Sequence[types.UncheckedExtrinsic]
type BlockExecutor ¶
func (*BlockExecutor) ExecuteBlock ¶
func (m *BlockExecutor) ExecuteBlock(block types.Block) error
type Call ¶
func (*Call) Args ¶
func (m *Call) Args() sc.VaryingData
func (*Call) BaseWeight ¶
func (*Call) ClassifyDispatch ¶
func (m *Call) ClassifyDispatch(baseWeight types.Weight) types.DispatchClass
func (*Call) Dispatch ¶
func (m *Call) Dispatch(origin types.RuntimeOrigin, a sc.VaryingData) (types.PostDispatchInfo, error)
func (*Call) FunctionIndex ¶
func (*Call) ModuleIndex ¶
type CheckedExtrinsic ¶
func (*CheckedExtrinsic) Apply ¶
func (c *CheckedExtrinsic) Apply(validator primitives.UnsignedValidator, info *primitives.DispatchInfo, length sc.Compact) (primitives.PostDispatchInfo, error)
func (*CheckedExtrinsic) Function ¶
func (c *CheckedExtrinsic) Function() primitives.Call
func (*CheckedExtrinsic) Validate ¶
func (c *CheckedExtrinsic) Validate(validator primitives.UnsignedValidator, source primitives.TransactionSource, info *primitives.DispatchInfo, length sc.Compact) (primitives.ValidTransaction, error)
type ConsumedWeight ¶
func (*ConsumedWeight) Total ¶
func (cw *ConsumedWeight) Total() types.Weight
type CurrencyAdapter ¶
func (*CurrencyAdapter) DepositIntoExisting ¶
type DefaultOnRuntimeUpgrade ¶
func (*DefaultOnRuntimeUpgrade) OnRuntimeUpgrade ¶
func (doru *DefaultOnRuntimeUpgrade) OnRuntimeUpgrade() types.Weight
type DefaultOnSetCode ¶
type EpochChangeTrigger ¶
func (*EpochChangeTrigger) Trigger ¶
func (t *EpochChangeTrigger) Trigger(now sc.U64)
type EquivocationReportSystem ¶
func (*EquivocationReportSystem) ProcessEvidence ¶
func (m *EquivocationReportSystem) ProcessEvidence(reporter sc.Option[primitives.AccountId], equivocationProof grandpatypes.EquivocationProof, keyOwnerProof grandpatypes.KeyOwnerProof) error
func (*EquivocationReportSystem) PublishEvidence ¶
func (m *EquivocationReportSystem) PublishEvidence(equivocationProof grandpatypes.EquivocationProof, keyOwnerProof grandpatypes.KeyOwnerProof) error
type EventDepositor ¶
func (*EventDepositor) DepositEvent ¶
func (m *EventDepositor) DepositEvent(event types.Event)
type Executive ¶
func (*Executive) ApplyExtrinsic ¶
func (m *Executive) ApplyExtrinsic(uxt types.UncheckedExtrinsic) error
func (*Executive) FinalizeBlock ¶
func (m *Executive) FinalizeBlock() (primitives.Header, error)
func (*Executive) InitializeBlock ¶
func (m *Executive) InitializeBlock(header primitives.Header) error
func (*Executive) OffchainWorker ¶
func (m *Executive) OffchainWorker(header primitives.Header) error
func (*Executive) ValidateTransaction ¶
func (m *Executive) ValidateTransaction(source primitives.TransactionSource, uxt types.UncheckedExtrinsic, blockHash primitives.Blake2bHash) (primitives.ValidTransaction, error)
type FindAccountFromAuthorIndex ¶
func (*FindAccountFromAuthorIndex) FindAuthor ¶
func (m *FindAccountFromAuthorIndex) FindAuthor(digests sc.Sequence[primitives.DigestPreRuntime]) (sc.Option[primitives.AccountId], error)
type GrandpaModule ¶
func (*GrandpaModule) Authorities ¶
func (m *GrandpaModule) Authorities() (sc.Sequence[primitives.Authority], error)
func (*GrandpaModule) CheckInherent ¶
func (m *GrandpaModule) CheckInherent(call types.Call, data types.InherentData) error
func (*GrandpaModule) CreateInherent ¶
func (m *GrandpaModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
func (*GrandpaModule) Functions ¶
func (m *GrandpaModule) Functions() map[sc.U8]primitives.Call
func (*GrandpaModule) GetIndex ¶
func (m *GrandpaModule) GetIndex() sc.U8
func (*GrandpaModule) HistoricalKeyOwnershipProof ¶
func (m *GrandpaModule) HistoricalKeyOwnershipProof(authorityId primitives.AccountId) sc.Option[grandpatypes.OpaqueKeyOwnershipProof]
func (*GrandpaModule) InherentIdentifier ¶
func (m *GrandpaModule) InherentIdentifier() [8]byte
func (*GrandpaModule) IsInherent ¶
func (m *GrandpaModule) IsInherent(call types.Call) bool
func (*GrandpaModule) KeyType ¶
func (m *GrandpaModule) KeyType() primitives.PublicKeyType
func (*GrandpaModule) KeyTypeId ¶
func (m *GrandpaModule) KeyTypeId() [4]byte
func (*GrandpaModule) Metadata ¶
func (m *GrandpaModule) Metadata() primitives.MetadataModule
func (*GrandpaModule) OffchainWorker ¶
func (m *GrandpaModule) OffchainWorker(n sc.U64)
func (*GrandpaModule) OnFinalize ¶
func (m *GrandpaModule) OnFinalize(n sc.U64) error
func (*GrandpaModule) OnIdle ¶
func (m *GrandpaModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*GrandpaModule) OnInitialize ¶
func (m *GrandpaModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*GrandpaModule) OnRuntimeUpgrade ¶
func (m *GrandpaModule) OnRuntimeUpgrade() primitives.Weight
func (*GrandpaModule) PreDispatch ¶
func (m *GrandpaModule) PreDispatch(call primitives.Call) (sc.Empty, error)
func (*GrandpaModule) StorageSetId ¶
func (m *GrandpaModule) StorageSetId() (sc.U64, error)
func (*GrandpaModule) StorageSetIdSessionGet ¶
func (*GrandpaModule) SubmitUnsignedEquivocationReport ¶
func (m *GrandpaModule) SubmitUnsignedEquivocationReport(equivocationProof grandpatypes.EquivocationProof, keyOwnerProof grandpatypes.KeyOwnerProof) error
func (*GrandpaModule) ValidateUnsigned ¶
func (m *GrandpaModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
type HostEnvironment ¶
type HostEnvironment struct { mock.Mock IoStorage IoTransactionBroker }
func (*HostEnvironment) SetTrieState ¶
func (m *HostEnvironment) SetTrieState(state *storage.TrieState)
type IoCrypto ¶
func (*IoCrypto) EcdsaGenerate ¶
func (*IoCrypto) EcdsaRecoverCompressed ¶
func (*IoCrypto) Ed25519Generate ¶
func (*IoCrypto) Ed25519Verify ¶
func (*IoCrypto) Sr25519Generate ¶
type IoMisc ¶
func (*IoMisc) RuntimeVersion ¶
type IoStorage ¶
func (*IoStorage) ClearPrefix ¶
type IoTransactionBroker ¶
func (*IoTransactionBroker) Commit ¶
func (m *IoTransactionBroker) Commit()
func (*IoTransactionBroker) Rollback ¶
func (m *IoTransactionBroker) Rollback()
func (*IoTransactionBroker) Start ¶
func (m *IoTransactionBroker) Start()
type IoTransactional ¶
func (*IoTransactional[T]) WithStorageLayer ¶
func (m *IoTransactional[T]) WithStorageLayer(fn func() (T, error)) (T, error)
type KeyOwnerProofSystem ¶
func (*KeyOwnerProofSystem) Prove ¶
func (k *KeyOwnerProofSystem) Prove(key [4]byte, authorityId primitives.AccountId) sc.Option[session.MembershipProof]
type LogDepositor ¶
func (*LogDepositor) DepositLog ¶
func (m *LogDepositor) DepositLog(item types.DigestItem)
type MemoryTranslator ¶
func (*MemoryTranslator) BytesToOffsetAndSize ¶
func (m *MemoryTranslator) BytesToOffsetAndSize(data []byte) int64
func (*MemoryTranslator) GetWasmMemorySlice ¶
func (m *MemoryTranslator) GetWasmMemorySlice(offset int32, size int32) []byte
func (*MemoryTranslator) Int64ToOffsetAndSize ¶
func (m *MemoryTranslator) Int64ToOffsetAndSize(offsetAndSize int64) (offset int32, size int32)
func (*MemoryTranslator) Offset32 ¶
func (m *MemoryTranslator) Offset32(data []byte) int32
type Module ¶
func (*Module) BuildConfig ¶
func (*Module) CheckInherent ¶
func (*Module) CreateDefaultConfig ¶
func (*Module) CreateInherent ¶
func (*Module) InherentIdentifier ¶
func (*Module) Metadata ¶
func (m *Module) Metadata() types.MetadataModule
func (*Module) OffchainWorker ¶
func (*Module) OnRuntimeUpgrade ¶
func (*Module) ValidateUnsigned ¶
func (m *Module) ValidateUnsigned(txSource types.TransactionSource, call types.Call) (types.ValidTransaction, error)
type OnChargeTransaction ¶
func (*OnChargeTransaction) CorrectAndDepositFee ¶
func (*OnChargeTransaction) WithdrawFee ¶
func (ct *OnChargeTransaction) WithdrawFee(who primitives.AccountId, call primitives.Call, info *types.DispatchInfo, fee types.Balance, tip types.Balance) ( sc.Option[types.Balance], error)
type OnTimestampSet ¶
func (*OnTimestampSet) OnTimestampSet ¶
func (m *OnTimestampSet) OnTimestampSet(n sc.U64) error
type OneSessionHandler ¶
func (*OneSessionHandler) DecodeKey ¶
func (m *OneSessionHandler) DecodeKey(buffer *bytes.Buffer) (primitives.Sr25519PublicKey, error)
func (*OneSessionHandler) KeyType ¶
func (m *OneSessionHandler) KeyType() primitives.PublicKeyType
func (*OneSessionHandler) KeyTypeId ¶
func (m *OneSessionHandler) KeyTypeId() [4]byte
func (*OneSessionHandler) OnBeforeSessionEnding ¶
func (m *OneSessionHandler) OnBeforeSessionEnding()
func (*OneSessionHandler) OnDisabled ¶
func (m *OneSessionHandler) OnDisabled(validatorIndex sc.U32)
func (*OneSessionHandler) OnGenesisSession ¶
func (m *OneSessionHandler) OnGenesisSession(validators sc.Sequence[primitives.Validator]) error
func (*OneSessionHandler) OnNewSession ¶
func (m *OneSessionHandler) OnNewSession(changed bool, validators sc.Sequence[primitives.Validator], queuedValidators sc.Sequence[primitives.Validator]) error
type ParachainSystemModule ¶
func (*ParachainSystemModule) CheckInherent ¶
func (m *ParachainSystemModule) CheckInherent(call primitives.Call, inherent primitives.InherentData) error
func (*ParachainSystemModule) CollectCollationInfo ¶
func (m *ParachainSystemModule) CollectCollationInfo(header primitives.Header) (parachain.CollationInfo, error)
func (*ParachainSystemModule) CreateInherent ¶
func (m *ParachainSystemModule) CreateInherent(inherent primitives.InherentData) (sc.Option[primitives.Call], error)
func (*ParachainSystemModule) Functions ¶
func (m *ParachainSystemModule) Functions() map[sc.U8]primitives.Call
func (*ParachainSystemModule) GetIndex ¶
func (m *ParachainSystemModule) GetIndex() sc.U8
func (*ParachainSystemModule) InherentIdentifier ¶
func (m *ParachainSystemModule) InherentIdentifier() [8]byte
func (*ParachainSystemModule) IsInherent ¶
func (m *ParachainSystemModule) IsInherent(call primitives.Call) bool
func (*ParachainSystemModule) Metadata ¶
func (m *ParachainSystemModule) Metadata() primitives.MetadataModule
func (*ParachainSystemModule) OffchainWorker ¶
func (m *ParachainSystemModule) OffchainWorker(n sc.U64)
func (*ParachainSystemModule) OnFinalize ¶
func (m *ParachainSystemModule) OnFinalize(n sc.U64) error
func (*ParachainSystemModule) OnIdle ¶
func (m *ParachainSystemModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*ParachainSystemModule) OnInitialize ¶
func (m *ParachainSystemModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*ParachainSystemModule) OnRuntimeUpgrade ¶
func (m *ParachainSystemModule) OnRuntimeUpgrade() primitives.Weight
func (*ParachainSystemModule) PreDispatch ¶
func (m *ParachainSystemModule) PreDispatch(call primitives.Call) (sc.Empty, error)
func (*ParachainSystemModule) ScheduleCodeUpgrade ¶
ScheduleCodeUpgrade contains logic for parachain upgrade functionality.
func (*ParachainSystemModule) StorageNewValidationCodeBytes ¶
func (*ParachainSystemModule) ValidateUnsigned ¶
func (m *ParachainSystemModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
type RawStorageValue ¶
func (*RawStorageValue) Clear ¶
func (m *RawStorageValue) Clear()
func (*RawStorageValue) ClearPrefix ¶
func (m *RawStorageValue) ClearPrefix(limit sc.U32)
type RelayChainStateProof ¶
func (*RelayChainStateProof) ReadAbridgedHostConfiguration ¶
func (m *RelayChainStateProof) ReadAbridgedHostConfiguration() (parachain.AbridgedHostConfiguration, error)
func (*RelayChainStateProof) ReadIncludedParaHeadHash ¶
func (m *RelayChainStateProof) ReadIncludedParaHeadHash() sc.Option[sc.FixedSequence[sc.U8]]
func (*RelayChainStateProof) ReadMessagingStateSnapshot ¶
func (m *RelayChainStateProof) ReadMessagingStateSnapshot(ahc parachain.AbridgedHostConfiguration) (parachain.MessagingStateSnapshot, error)
func (*RelayChainStateProof) ReadRestrictionSignal ¶
func (*RelayChainStateProof) ReadUpgradeGoAheadSignal ¶
type RuntimeDecoder ¶
func (*RuntimeDecoder) DecodeBlock ¶
func (*RuntimeDecoder) DecodeCall ¶
func (m *RuntimeDecoder) DecodeCall(buffer *bytes.Buffer) (primitives.Call, error)
func (*RuntimeDecoder) DecodeParachainBlockData ¶
func (*RuntimeDecoder) DecodeUncheckedExtrinsic ¶
func (m *RuntimeDecoder) DecodeUncheckedExtrinsic(buffer *bytes.Buffer) (types.UncheckedExtrinsic, error)
type RuntimeExtrinsic ¶
func (*RuntimeExtrinsic) CheckInherents ¶
func (re *RuntimeExtrinsic) CheckInherents(data primitives.InherentData, block primitives.Block) (primitives.CheckInherentsResult, error)
func (*RuntimeExtrinsic) CreateInherents ¶
func (re *RuntimeExtrinsic) CreateInherents(inherentData primitives.InherentData) ([]byte, error)
func (*RuntimeExtrinsic) EnsureInherentsAreFirst ¶
func (re *RuntimeExtrinsic) EnsureInherentsAreFirst(block types.Block) int
func (*RuntimeExtrinsic) Metadata ¶
func (re *RuntimeExtrinsic) Metadata() (sc.Sequence[primitives.MetadataModuleV14], primitives.MetadataExtrinsicV14)
func (*RuntimeExtrinsic) MetadataLatest ¶
func (re *RuntimeExtrinsic) MetadataLatest() (sc.Sequence[primitives.MetadataModuleV15], primitives.MetadataExtrinsicV15, primitives.OuterEnums, primitives.CustomMetadata)
func (*RuntimeExtrinsic) Module ¶
func (re *RuntimeExtrinsic) Module(index sc.U8) (module primitives.Module, isFound bool)
func (*RuntimeExtrinsic) OffchainWorker ¶
func (re *RuntimeExtrinsic) OffchainWorker(n sc.U64)
func (*RuntimeExtrinsic) OnFinalize ¶
func (re *RuntimeExtrinsic) OnFinalize(n sc.U64) error
func (*RuntimeExtrinsic) OnIdle ¶
func (re *RuntimeExtrinsic) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*RuntimeExtrinsic) OnInitialize ¶
func (re *RuntimeExtrinsic) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*RuntimeExtrinsic) OnRuntimeUpgrade ¶
func (re *RuntimeExtrinsic) OnRuntimeUpgrade() primitives.Weight
type SessionModule ¶
func (*SessionModule) AppendHandlers ¶
func (m *SessionModule) AppendHandlers(module sessiontypes.OneSessionHandler)
func (*SessionModule) CheckInherent ¶
func (m *SessionModule) CheckInherent(call types.Call, data types.InherentData) error
func (*SessionModule) CreateInherent ¶
func (m *SessionModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
func (*SessionModule) CurrentIndex ¶
func (m *SessionModule) CurrentIndex() (sc.U32, error)
func (*SessionModule) DecodeKeys ¶
func (m *SessionModule) DecodeKeys(buffer *bytes.Buffer) (sc.FixedSequence[primitives.Sr25519PublicKey], error)
func (*SessionModule) GetIndex ¶
func (m *SessionModule) GetIndex() sc.U8
func (*SessionModule) InherentIdentifier ¶
func (m *SessionModule) InherentIdentifier() [8]byte
func (*SessionModule) IsDisabled ¶
func (m *SessionModule) IsDisabled(index sc.U32) (bool, error)
func (*SessionModule) IsInherent ¶
func (m *SessionModule) IsInherent(call types.Call) bool
func (*SessionModule) Metadata ¶
func (m *SessionModule) Metadata() types.MetadataModule
func (*SessionModule) OffchainWorker ¶
func (m *SessionModule) OffchainWorker(n sc.U64)
func (*SessionModule) OnFinalize ¶
func (m *SessionModule) OnFinalize(n sc.U64) error
func (*SessionModule) OnIdle ¶
func (m *SessionModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*SessionModule) OnInitialize ¶
func (m *SessionModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*SessionModule) OnRuntimeUpgrade ¶
func (m *SessionModule) OnRuntimeUpgrade() primitives.Weight
func (*SessionModule) PreDispatch ¶
func (*SessionModule) ValidateUnsigned ¶
func (m *SessionModule) ValidateUnsigned(txSource types.TransactionSource, call types.Call) (types.ValidTransaction, error)
func (*SessionModule) Validators ¶
func (m *SessionModule) Validators() (sc.Sequence[primitives.AccountId], error)
type ShouldEndSession ¶
func (*ShouldEndSession) ShouldEndSession ¶
func (m *ShouldEndSession) ShouldEndSession(blockNumber sc.U64) bool
type SignedExtra ¶
func (*SignedExtra) AdditionalSigned ¶
func (m *SignedExtra) AdditionalSigned() (types.AdditionalSigned, error)
func (*SignedExtra) Bytes ¶
func (m *SignedExtra) Bytes() []byte
func (*SignedExtra) Decode ¶
func (m *SignedExtra) Decode(buffer *bytes.Buffer)
func (*SignedExtra) DeepCopy ¶
func (m *SignedExtra) DeepCopy() types.SignedExtra
func (*SignedExtra) Metadata ¶
func (m *SignedExtra) Metadata() sc.Sequence[types.MetadataSignedExtension]
func (*SignedExtra) PostDispatch ¶
func (m *SignedExtra) PostDispatch(pre sc.Option[sc.Sequence[types.Pre]], info *types.DispatchInfo, postInfo *types.PostDispatchInfo, length sc.Compact, dispatchErr error) error
func (*SignedExtra) PreDispatch ¶
func (*SignedExtra) PreDispatchUnsigned ¶
func (m *SignedExtra) PreDispatchUnsigned(call types.Call, info *types.DispatchInfo, length sc.Compact) error
func (*SignedExtra) Validate ¶
func (m *SignedExtra) Validate(who types.AccountId, call types.Call, info *types.DispatchInfo, length sc.Compact) (types.ValidTransaction, error)
func (*SignedExtra) ValidateUnsigned ¶
func (m *SignedExtra) ValidateUnsigned(call types.Call, info *types.DispatchInfo, length sc.Compact) (types.ValidTransaction, error)
type SignedPayload ¶
func (*SignedPayload) AdditionalSigned ¶
func (sp *SignedPayload) AdditionalSigned() primitives.AdditionalSigned
func (*SignedPayload) Bytes ¶
func (sp *SignedPayload) Bytes() []byte
func (*SignedPayload) Call ¶
func (sp *SignedPayload) Call() primitives.Call
func (*SignedPayload) Extra ¶
func (sp *SignedPayload) Extra() primitives.SignedExtra
type StaleNotifier ¶
type StorageMap ¶
func (*StorageMap[K, V]) Append ¶
func (m *StorageMap[K, V]) Append(k K, v V)
func (*StorageMap[K, V]) Clear ¶
func (m *StorageMap[K, V]) Clear(limit sc.U32)
func (*StorageMap[K, V]) Exists ¶
func (m *StorageMap[K, V]) Exists(k K) bool
func (*StorageMap[K, V]) Get ¶
func (m *StorageMap[K, V]) Get(k K) (V, error)
func (*StorageMap[K, V]) Put ¶
func (m *StorageMap[K, V]) Put(k K, value V)
func (*StorageMap[K, V]) Remove ¶
func (m *StorageMap[K, V]) Remove(k K)
func (*StorageMap[K, V]) TakeBytes ¶
func (m *StorageMap[K, V]) TakeBytes(k K) ([]byte, error)
type StorageValue ¶
func (*StorageValue[T]) Append ¶
func (m *StorageValue[T]) Append(value T)
func (*StorageValue[T]) AppendItem ¶
func (m *StorageValue[T]) AppendItem(value sc.Encodable)
TODO: support appending values with type different from T
func (*StorageValue[T]) Clear ¶
func (m *StorageValue[T]) Clear()
func (*StorageValue[T]) Exists ¶
func (m *StorageValue[T]) Exists() bool
func (*StorageValue[T]) Get ¶
func (m *StorageValue[T]) Get() (T, error)
func (*StorageValue[T]) Mutate ¶
func (m *StorageValue[T]) Mutate(f func(*T) (T, error)) (T, error)
func (*StorageValue[T]) Put ¶
func (m *StorageValue[T]) Put(value T)
func (*StorageValue[T]) Take ¶
func (m *StorageValue[T]) Take() (T, error)
func (*StorageValue[T]) TakeBytes ¶
func (m *StorageValue[T]) TakeBytes() ([]byte, error)
type StoredMap ¶
func (*StoredMap) CanDecProviders ¶
func (*StoredMap) DecProviders ¶
func (*StoredMap) DepositEvent ¶
func (*StoredMap) IncConsumersWithoutLimit ¶
func (*StoredMap) IncProviders ¶
type SystemModule ¶
func (*SystemModule) AccountTryMutateExists ¶
func (m *SystemModule) AccountTryMutateExists(who primitives.AccountId, f func(who *primitives.AccountInfo) (sc.Encodable, error)) (sc.Encodable, error)
func (*SystemModule) BlockHashCount ¶
func (m *SystemModule) BlockHashCount() types.BlockHashCount
func (*SystemModule) BlockLength ¶
func (m *SystemModule) BlockLength() types.BlockLength
func (*SystemModule) BlockWeights ¶
func (m *SystemModule) BlockWeights() types.BlockWeights
func (*SystemModule) CanDecProviders ¶
func (m *SystemModule) CanDecProviders(who primitives.AccountId) (bool, error)
func (*SystemModule) CanIncConsumer ¶
func (m *SystemModule) CanIncConsumer(who primitives.AccountId) (bool, error)
func (*SystemModule) CanSetCode ¶
func (*SystemModule) CheckInherent ¶
func (m *SystemModule) CheckInherent(call primitives.Call, data primitives.InherentData) error
func (*SystemModule) CreateInherent ¶
func (m *SystemModule) CreateInherent(inherent primitives.InherentData) (sc.Option[primitives.Call], error)
func (*SystemModule) DbWeight ¶
func (m *SystemModule) DbWeight() types.RuntimeDbWeight
func (*SystemModule) DecConsumers ¶
func (m *SystemModule) DecConsumers(who primitives.AccountId) error
func (*SystemModule) DecProviders ¶
func (m *SystemModule) DecProviders(who primitives.AccountId) (primitives.DecRefStatus, error)
func (*SystemModule) DepositEvent ¶
func (m *SystemModule) DepositEvent(event primitives.Event)
func (*SystemModule) DepositLog ¶
func (m *SystemModule) DepositLog(item primitives.DigestItem)
func (*SystemModule) DoApplyAuthorizeUpgrade ¶
func (m *SystemModule) DoApplyAuthorizeUpgrade(code sc.Sequence[sc.U8]) (primitives.PostDispatchInfo, error)
func (*SystemModule) DoAuthorizeUpgrade ¶
func (m *SystemModule) DoAuthorizeUpgrade(codeHash primitives.H256, checkVersion sc.Bool)
func (*SystemModule) Finalize ¶
func (m *SystemModule) Finalize() (primitives.Header, error)
func (*SystemModule) Functions ¶
func (m *SystemModule) Functions() map[sc.U8]primitives.Call
func (*SystemModule) Get ¶
func (m *SystemModule) Get(key primitives.AccountId) (primitives.AccountInfo, error)
func (*SystemModule) GetIndex ¶
func (m *SystemModule) GetIndex() sc.U8
func (*SystemModule) IncConsumers ¶
func (m *SystemModule) IncConsumers(who primitives.AccountId) error
func (*SystemModule) IncConsumersWithoutLimit ¶
func (m *SystemModule) IncConsumersWithoutLimit(who primitives.AccountId) error
func (*SystemModule) IncProviders ¶
func (m *SystemModule) IncProviders(who primitives.AccountId) (primitives.IncRefStatus, error)
func (*SystemModule) InherentIdentifier ¶
func (m *SystemModule) InherentIdentifier() [8]byte
func (*SystemModule) Initialize ¶
func (m *SystemModule) Initialize(blockNumber sc.U64, parentHash primitives.Blake2bHash, digest primitives.Digest)
func (*SystemModule) Insert ¶
func (m *SystemModule) Insert(who primitives.AccountId, data primitives.AccountData) (sc.Encodable, error)
func (*SystemModule) IsInherent ¶
func (m *SystemModule) IsInherent(call primitives.Call) bool
func (*SystemModule) Metadata ¶
func (m *SystemModule) Metadata() primitives.MetadataModule
func (*SystemModule) Mutate ¶
func (m *SystemModule) Mutate(who primitives.AccountId, f func(who *primitives.AccountInfo) (sc.Encodable, error)) (sc.Encodable, error)
func (*SystemModule) NoteAppliedExtrinsic ¶
func (m *SystemModule) NoteAppliedExtrinsic(postInfo primitives.PostDispatchInfo, postDispatchErr error, info primitives.DispatchInfo) error
func (*SystemModule) NoteExtrinsic ¶
func (m *SystemModule) NoteExtrinsic(encodedExt []byte) error
func (*SystemModule) NoteFinishedExtrinsics ¶
func (m *SystemModule) NoteFinishedExtrinsics() error
func (*SystemModule) NoteFinishedInitialize ¶
func (m *SystemModule) NoteFinishedInitialize()
func (*SystemModule) OffchainWorker ¶
func (m *SystemModule) OffchainWorker(n sc.U64)
func (*SystemModule) OnFinalize ¶
func (m *SystemModule) OnFinalize(n sc.U64) error
func (*SystemModule) OnIdle ¶
func (m *SystemModule) OnIdle(n sc.U64, remainingWeight primitives.Weight) primitives.Weight
func (*SystemModule) OnInitialize ¶
func (m *SystemModule) OnInitialize(n sc.U64) (primitives.Weight, error)
func (*SystemModule) OnRuntimeUpgrade ¶
func (m *SystemModule) OnRuntimeUpgrade() primitives.Weight
func (*SystemModule) PreDispatch ¶
func (m *SystemModule) PreDispatch(call primitives.Call) (sc.Empty, error)
func (*SystemModule) RegisterExtraWeightUnchecked ¶
func (m *SystemModule) RegisterExtraWeightUnchecked(weight primitives.Weight, class primitives.DispatchClass) error
func (*SystemModule) ResetEvents ¶
func (m *SystemModule) ResetEvents()
func (*SystemModule) RuntimeUpgrade ¶
func (m *SystemModule) RuntimeUpgrade() bool
func (*SystemModule) StorageAccount ¶
func (m *SystemModule) StorageAccount(key types.AccountId) (types.AccountInfo, error)
func (*SystemModule) StorageAccountSet ¶
func (m *SystemModule) StorageAccountSet(key types.AccountId, value types.AccountInfo)
func (*SystemModule) StorageAllExtrinsicsLen ¶
func (m *SystemModule) StorageAllExtrinsicsLen() (sc.U32, error)
func (*SystemModule) StorageAllExtrinsicsLenSet ¶
func (m *SystemModule) StorageAllExtrinsicsLenSet(value sc.U32)
func (*SystemModule) StorageBlockHash ¶
func (m *SystemModule) StorageBlockHash(key sc.U64) (types.Blake2bHash, error)
func (*SystemModule) StorageBlockHashExists ¶
func (m *SystemModule) StorageBlockHashExists(key sc.U64) bool
func (*SystemModule) StorageBlockHashSet ¶
func (m *SystemModule) StorageBlockHashSet(key sc.U64, value types.Blake2bHash)
func (*SystemModule) StorageBlockNumber ¶
func (m *SystemModule) StorageBlockNumber() (sc.U64, error)
func (*SystemModule) StorageBlockNumberSet ¶
func (m *SystemModule) StorageBlockNumberSet(blockNumber sc.U64)
func (*SystemModule) StorageBlockWeight ¶
func (m *SystemModule) StorageBlockWeight() (primitives.ConsumedWeight, error)
func (*SystemModule) StorageBlockWeightSet ¶
func (m *SystemModule) StorageBlockWeightSet(weight primitives.ConsumedWeight)
func (*SystemModule) StorageCodeSet ¶
func (m *SystemModule) StorageCodeSet(codeBlob sc.Sequence[sc.U8])
func (*SystemModule) StorageDigest ¶
func (m *SystemModule) StorageDigest() (types.Digest, error)
func (*SystemModule) StorageLastRuntimeUpgrade ¶
func (m *SystemModule) StorageLastRuntimeUpgrade() (types.LastRuntimeUpgradeInfo, error)
func (*SystemModule) StorageLastRuntimeUpgradeSet ¶
func (m *SystemModule) StorageLastRuntimeUpgradeSet(lrui types.LastRuntimeUpgradeInfo)
func (*SystemModule) StorageParentHash ¶
func (m *SystemModule) StorageParentHash() (types.Blake2bHash, error)
func (*SystemModule) TryMutateExists ¶
func (m *SystemModule) TryMutateExists(who primitives.AccountId, f func(who *primitives.AccountData) (sc.Encodable, error)) (sc.Encodable, error)
func (*SystemModule) UpdateCodeInStorage ¶
func (m *SystemModule) UpdateCodeInStorage(code sc.Sequence[sc.U8])
func (*SystemModule) ValidateUnsigned ¶
func (m *SystemModule) ValidateUnsigned(txSource primitives.TransactionSource, call primitives.Call) (primitives.ValidTransaction, error)
func (*SystemModule) Version ¶
func (m *SystemModule) Version() types.RuntimeVersion
type TransactionPaymentModule ¶
func (*TransactionPaymentModule) CheckInherent ¶
func (m *TransactionPaymentModule) CheckInherent(call types.Call, data types.InherentData) error
func (*TransactionPaymentModule) ComputeActualFee ¶
func (m *TransactionPaymentModule) ComputeActualFee(len sc.U32, info types.DispatchInfo, postInfo types.PostDispatchInfo, tip types.Balance) (types.Balance, error)
func (*TransactionPaymentModule) ComputeFee ¶
func (m *TransactionPaymentModule) ComputeFee(len sc.U32, info types.DispatchInfo, tip types.Balance) (types.Balance, error)
func (*TransactionPaymentModule) ComputeFeeDetails ¶
func (m *TransactionPaymentModule) ComputeFeeDetails(len sc.U32, info types.DispatchInfo, tip types.Balance) (tx_types.FeeDetails, error)
func (*TransactionPaymentModule) CreateInherent ¶
func (m *TransactionPaymentModule) CreateInherent(inherent types.InherentData) (sc.Option[types.Call], error)
func (*TransactionPaymentModule) Functions ¶
func (m *TransactionPaymentModule) Functions() map[sc.U8]types.Call
func (*TransactionPaymentModule) GetIndex ¶
func (m *TransactionPaymentModule) GetIndex() sc.U8
func (*TransactionPaymentModule) InherentIdentifier ¶
func (m *TransactionPaymentModule) InherentIdentifier() [8]byte
func (*TransactionPaymentModule) IsInherent ¶
func (m *TransactionPaymentModule) IsInherent(call types.Call) bool
func (*TransactionPaymentModule) Metadata ¶
func (m *TransactionPaymentModule) Metadata() types.MetadataModule
func (*TransactionPaymentModule) OffchainWorker ¶
func (m *TransactionPaymentModule) OffchainWorker(n sc.U64)
func (*TransactionPaymentModule) OnFinalize ¶
func (m *TransactionPaymentModule) OnFinalize(n sc.U64) error
func (*TransactionPaymentModule) OnInitialize ¶
func (*TransactionPaymentModule) OnRuntimeUpgrade ¶
func (m *TransactionPaymentModule) OnRuntimeUpgrade() types.Weight
func (*TransactionPaymentModule) OperationalFeeMultiplier ¶
func (m *TransactionPaymentModule) OperationalFeeMultiplier() sc.U8
func (*TransactionPaymentModule) PreDispatch ¶
func (*TransactionPaymentModule) ValidateUnsigned ¶
func (m *TransactionPaymentModule) ValidateUnsigned(source types.TransactionSource, call types.Call) (types.ValidTransaction, error)
type UncheckedExtrinsic ¶
func (*UncheckedExtrinsic) Bytes ¶
func (uxt *UncheckedExtrinsic) Bytes() []byte
func (*UncheckedExtrinsic) Check ¶
func (uxt *UncheckedExtrinsic) Check() (primitives.CheckedExtrinsic, error)
func (*UncheckedExtrinsic) Encode ¶
func (uxt *UncheckedExtrinsic) Encode(buffer *bytes.Buffer) error
func (*UncheckedExtrinsic) Extra ¶
func (uxt *UncheckedExtrinsic) Extra() primitives.SignedExtra
func (*UncheckedExtrinsic) Function ¶
func (uxt *UncheckedExtrinsic) Function() primitives.Call
func (*UncheckedExtrinsic) IsSigned ¶
func (uxt *UncheckedExtrinsic) IsSigned() bool
func (*UncheckedExtrinsic) Signature ¶
func (uxt *UncheckedExtrinsic) Signature() sc.Option[primitives.ExtrinsicSignature]
type UnsignedValidator ¶
func (*UnsignedValidator) PreDispatch ¶
func (*UnsignedValidator) ValidateUnsigned ¶
func (m *UnsignedValidator) ValidateUnsigned(source types.TransactionSource, call types.Call) (types.ValidTransaction, error)
Source Files ¶
- account_id_lookup.go
- api_module.go
- aura.go
- authorship_event_handler.go
- babe.go
- block.go
- block_executor.go
- call.go
- call_sudo.go
- checked_extrinsic.go
- consumed_weight.go
- currency_adapter.go
- epoch_change_trigger.go
- equivocation_report_system.go
- event_depositor.go
- executive.go
- grandpa.go
- host_environment..go
- io_crypto.go
- io_hashing.go
- io_misc.go
- io_storage.go
- io_transaction_broker.go
- io_transactional.go
- io_trie.go
- key_ownership_proof.go
- log_depositor.go
- memory_utils.go
- module.go
- on_charge_transaction.go
- on_runtime_upgrade.go
- on_set_code.go
- on_timestamp_set.go
- one_session_handler.go
- parachain_system.go
- relay_chain_state_proof.go
- runtime_decoder.go
- runtime_extrinsic.go
- session.go
- should_end_session.go
- signed_extra.go
- signed_payload.go
- stale_notifier.go
- storage_map.go
- storage_raw_value.go
- storage_value.go
- stored_map.go
- system.go
- tx_payment_module.go
- unchecked_extrinsic.go
- unsigned_validator.go
Click to show internal directories.
Click to hide internal directories.