PalletCallMetadataV16 class

Metadata about callable functions in a pallet (V16)

V16 extends the base PalletCallMetadata by adding deprecation information for individual call variants. This allows runtime developers to mark specific extrinsic calls as deprecated while maintaining backward compatibility.

Reference: https://github.com/paritytech/frame-metadata/blob/main/frame-metadata/src/v16.rs#L253-L270

Inheritance

Constructors

PalletCallMetadataV16({required int type, required EnumDeprecationInfo deprecationInfo})
const

Properties

deprecationInfo EnumDeprecationInfo
Deprecation information for call variants
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
Type ID referencing the enum of all calls in this pallet
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

codec → const $PalletCallMetadataV16
Codec instance for PalletCallMetadataV16