mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 11:11:01 +00:00
1 line
4.0 KiB
Plaintext
1 line
4.0 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":47,"index":47}}],"key":"4J9mGJyxcRzjwnWeFPHBw1ClKiw=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"GenericBlock\", {\n enumerable: true,\n get: function () {\n return GenericBlock;\n }\n });\n var _polkadotTypesCodec = require(_dependencyMap[0], \"@polkadot/types-codec\");\n /**\n * @name GenericBlock\n * @description\n * A block encoded with header and extrinsics\n */\n class GenericBlock extends _polkadotTypesCodec.Struct {\n constructor(registry, value) {\n super(registry, {\n header: 'Header',\n // eslint-disable-next-line sort-keys\n extrinsics: 'Vec<Extrinsic>'\n }, value);\n }\n /**\n * @description Encodes a content [[Hash]] for the block\n */\n get contentHash() {\n return this.registry.hash(this.toU8a());\n }\n /**\n * @description The [[Extrinsic]] contained in the block\n */\n get extrinsics() {\n return this.getT('extrinsics');\n }\n /**\n * @description Block/header [[Hash]]\n */\n get hash() {\n return this.header.hash;\n }\n /**\n * @description The [[Header]] of the block\n */\n get header() {\n return this.getT('header');\n }\n }\n});","lineCount":52,"map":[[7,2,7,0,"Object"],[7,8,7,0],[7,9,7,0,"defineProperty"],[7,23,7,0],[7,24,7,0,"exports"],[7,31,7,0],[8,4,7,0,"enumerable"],[8,14,7,0],[9,4,7,0,"get"],[9,7,7,0],[9,18,7,0,"get"],[9,19,7,0],[10,6,7,0],[10,13,7,0,"GenericBlock"],[10,25,7,0],[11,4,7,0],[12,2,7,0],[13,2,1,0],[13,6,1,0,"_polkadotTypesCodec"],[13,25,1,0],[13,28,1,0,"require"],[13,35,1,0],[13,36,1,0,"_dependencyMap"],[13,50,1,0],[14,2,2,0],[15,0,3,0],[16,0,4,0],[17,0,5,0],[18,0,6,0],[19,2,7,7],[19,8,7,13,"GenericBlock"],[19,20,7,25],[19,29,7,34,"Struct"],[19,48,7,40],[19,49,7,40,"Struct"],[19,55,7,40],[19,56,7,41],[20,4,8,4,"constructor"],[20,15,8,15,"constructor"],[20,16,8,16,"registry"],[20,24,8,24],[20,26,8,26,"value"],[20,31,8,31],[20,33,8,33],[21,6,9,8],[21,11,9,13],[21,12,9,14,"registry"],[21,20,9,22],[21,22,9,24],[22,8,10,12,"header"],[22,14,10,18],[22,16,10,20],[22,24,10,28],[23,8,11,12],[24,8,12,12,"extrinsics"],[24,18,12,22],[24,20,12,24],[25,6,13,8],[25,7,13,9],[25,9,13,11,"value"],[25,14,13,16],[25,15,13,17],[26,4,14,4],[27,4,15,4],[28,0,16,0],[29,0,17,0],[30,4,18,4],[30,8,18,8,"contentHash"],[30,19,18,19,"contentHash"],[30,20,18,19],[30,22,18,22],[31,6,19,8],[31,13,19,15],[31,17,19,19],[31,18,19,20,"registry"],[31,26,19,28],[31,27,19,29,"hash"],[31,31,19,33],[31,32,19,34],[31,36,19,38],[31,37,19,39,"toU8a"],[31,42,19,44],[31,43,19,45],[31,44,19,46],[31,45,19,47],[32,4,20,4],[33,4,21,4],[34,0,22,0],[35,0,23,0],[36,4,24,4],[36,8,24,8,"extrinsics"],[36,18,24,18,"extrinsics"],[36,19,24,18],[36,21,24,21],[37,6,25,8],[37,13,25,15],[37,17,25,19],[37,18,25,20,"getT"],[37,22,25,24],[37,23,25,25],[37,35,25,37],[37,36,25,38],[38,4,26,4],[39,4,27,4],[40,0,28,0],[41,0,29,0],[42,4,30,4],[42,8,30,8,"hash"],[42,12,30,12,"hash"],[42,13,30,12],[42,15,30,15],[43,6,31,8],[43,13,31,15],[43,17,31,19],[43,18,31,20,"header"],[43,24,31,26],[43,25,31,27,"hash"],[43,29,31,31],[44,4,32,4],[45,4,33,4],[46,0,34,0],[47,0,35,0],[48,4,36,4],[48,8,36,8,"header"],[48,14,36,14,"header"],[48,15,36,14],[48,17,36,17],[49,6,37,8],[49,13,37,15],[49,17,37,19],[49,18,37,20,"getT"],[49,22,37,24],[49,23,37,25],[49,31,37,33],[49,32,37,34],[50,4,38,4],[51,2,39,0],[52,0,39,1],[52,3]],"functionMap":{"names":["<global>","GenericBlock","GenericBlock#constructor","GenericBlock#get__contentHash","GenericBlock#get__extrinsics","GenericBlock#get__hash","GenericBlock#get__header"],"mappings":"AAA;OCM;ICC;KDM;IEI;KFE;IGI;KHE;III;KJE;IKI;KLE;CDC"},"hasCjsExports":false},"type":"js/module"}]} |