@polkadot/types
Version:
Implementation of the Parity codec
40 lines (39 loc) • 1.17 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.v15 = void 0;
exports.v15 = {
// new/adjusted in v15
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: 'ExtrinsicMetadataV14',
type: 'SiLookupTypeId',
apis: 'Vec<RuntimeApiMetadataV15>'
}
};