UNPKG

@polkadot/types

Version:
62 lines (61 loc) 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.v15 = void 0; exports.v15 = { // new/adjusted in v15 CustomMetadata15: { map: 'BTreeMap<Text, CustomValueMetadata15>' }, CustomValueMetadata15: { type: 'SiLookupTypeId', value: 'Bytes' }, ExtrinsicMetadataV15: { version: 'u8', addressType: 'SiLookupTypeId', callType: 'SiLookupTypeId', signatureType: 'SiLookupTypeId', extraType: 'SiLookupTypeId', signedExtensions: 'Vec<SignedExtensionMetadataV14>' }, OuterEnums15: { callType: 'SiLookupTypeId', eventType: 'SiLookupTypeId', errorType: 'SiLookupTypeId' }, PalletMetadataV15: { name: 'Text', storage: 'Option<PalletStorageMetadataV14>', calls: 'Option<PalletCallMetadataV14>', events: 'Option<PalletEventMetadataV14>', constants: 'Vec<PalletConstantMetadataV14>', errors: 'Option<PalletErrorMetadataV14>', index: 'u8', docs: 'Vec<Text>' }, RuntimeApiMetadataV15: { name: 'Text', methods: 'Vec<RuntimeApiMethodMetadataV15>', docs: 'Vec<Text>' }, RuntimeApiMethodMetadataV15: { name: 'Text', inputs: 'Vec<RuntimeApiMethodParamMetadataV15>', output: 'SiLookupTypeId', docs: 'Vec<Text>' }, RuntimeApiMethodParamMetadataV15: { name: 'Text', type: 'SiLookupTypeId' }, // actual v15 definition MetadataV15: { lookup: 'PortableRegistry', pallets: 'Vec<PalletMetadataV15>', extrinsic: 'ExtrinsicMetadataV15', type: 'SiLookupTypeId', apis: 'Vec<RuntimeApiMetadataV15>', outerEnums: 'OuterEnums15', custom: 'CustomMetadata15' } };