mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-29 22:21:05 +00:00
1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}}],"key":"4J9mGJyxcRzjwnWeFPHBw1ClKiw=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":50},"end":{"line":2,"column":76,"index":126}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util-crypto","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":127},"end":{"line":3,"column":69,"index":196}}],"key":"i6n5nZx9jV9OWiqinE0v9Jgj+DA=","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, \"GenericAccountId\", {\n enumerable: true,\n get: function () {\n return GenericAccountId;\n }\n });\n Object.defineProperty(exports, \"GenericAccountId33\", {\n enumerable: true,\n get: function () {\n return GenericAccountId33;\n }\n });\n var _polkadotTypesCodec = require(_dependencyMap[0], \"@polkadot/types-codec\");\n var _polkadotUtil = require(_dependencyMap[1], \"@polkadot/util\");\n var _polkadotUtilCrypto = require(_dependencyMap[2], \"@polkadot/util-crypto\");\n /** @internal */\n function decodeAccountId(value) {\n if ((0, _polkadotUtil.isU8a)(value) || Array.isArray(value)) {\n return (0, _polkadotUtil.u8aToU8a)(value);\n } else if (!value) {\n return new Uint8Array();\n } else if ((0, _polkadotUtil.isHex)(value)) {\n return (0, _polkadotUtil.hexToU8a)(value);\n } else if ((0, _polkadotUtil.isString)(value)) {\n return (0, _polkadotUtilCrypto.decodeAddress)(value.toString());\n }\n throw new Error(`Unknown type passed to AccountId constructor, found typeof ${typeof value}`);\n }\n class BaseAccountId extends _polkadotTypesCodec.U8aFixed {\n constructor(registry, allowedBits = 256 | 264, value) {\n const decoded = decodeAccountId(value);\n const decodedBits = decoded.length * 8;\n // Part of stream containing >= 32 bytes or a all empty (defaults)\n if (decodedBits < allowedBits && decoded.some(b => b)) {\n throw new Error(`Invalid AccountId provided, expected ${allowedBits >> 3} bytes, found ${decoded.length}`);\n }\n super(registry, decoded, allowedBits);\n }\n /**\n * @description Compares the value of the input to see if there is a match\n */\n eq(other) {\n return super.eq(decodeAccountId(other));\n }\n /**\n * @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information\n */\n toHuman() {\n return this.toJSON();\n }\n /**\n * @description Converts the Object to JSON, typically used for RPC transfers\n */\n toJSON() {\n return this.toString();\n }\n /**\n * @description Converts the value in a best-fit primitive form\n */\n toPrimitive() {\n return this.toJSON();\n }\n /**\n * @description Returns the string representation of the value\n */\n toString() {\n return (0, _polkadotUtilCrypto.encodeAddress)(this, this.registry.chainSS58);\n }\n /**\n * @description Returns the base runtime type name for this instance\n */\n toRawType() {\n return 'AccountId';\n }\n }\n /**\n * @name GenericAccountId\n * @description\n * A wrapper around an AccountId/PublicKey representation. Since we are dealing with\n * underlying PublicKeys (32 bytes in length), we extend from U8aFixed which is\n * just a Uint8Array wrapper with a fixed length.\n * If constructed with an empty value ([], \"\", undefined) it will result in\n * the zero account 0x000...000.\n */\n class GenericAccountId extends BaseAccountId {\n constructor(registry, value) {\n super(registry, 256, value);\n }\n }\n class GenericAccountId33 extends BaseAccountId {\n constructor(registry, value) {\n super(registry, 264, value);\n }\n }\n});","lineCount":101,"map":[[7,2,76,0,"Object"],[7,8,76,0],[7,9,76,0,"defineProperty"],[7,23,76,0],[7,24,76,0,"exports"],[7,31,76,0],[8,4,76,0,"enumerable"],[8,14,76,0],[9,4,76,0,"get"],[9,7,76,0],[9,18,76,0,"get"],[9,19,76,0],[10,6,76,0],[10,13,76,0,"GenericAccountId"],[10,29,76,0],[11,4,76,0],[12,2,76,0],[13,2,81,0,"Object"],[13,8,81,0],[13,9,81,0,"defineProperty"],[13,23,81,0],[13,24,81,0,"exports"],[13,31,81,0],[14,4,81,0,"enumerable"],[14,14,81,0],[15,4,81,0,"get"],[15,7,81,0],[15,18,81,0,"get"],[15,19,81,0],[16,6,81,0],[16,13,81,0,"GenericAccountId33"],[16,31,81,0],[17,4,81,0],[18,2,81,0],[19,2,1,0],[19,6,1,0,"_polkadotTypesCodec"],[19,25,1,0],[19,28,1,0,"require"],[19,35,1,0],[19,36,1,0,"_dependencyMap"],[19,50,1,0],[20,2,2,0],[20,6,2,0,"_polkadotUtil"],[20,19,2,0],[20,22,2,0,"require"],[20,29,2,0],[20,30,2,0,"_dependencyMap"],[20,44,2,0],[21,2,3,0],[21,6,3,0,"_polkadotUtilCrypto"],[21,25,3,0],[21,28,3,0,"require"],[21,35,3,0],[21,36,3,0,"_dependencyMap"],[21,50,3,0],[22,2,4,0],[23,2,5,0],[23,11,5,9,"decodeAccountId"],[23,26,5,24,"decodeAccountId"],[23,27,5,25,"value"],[23,32,5,30],[23,34,5,32],[24,4,6,4],[24,8,6,8],[24,12,6,8,"isU8a"],[24,25,6,13],[24,26,6,13,"isU8a"],[24,31,6,13],[24,33,6,14,"value"],[24,38,6,19],[24,39,6,20],[24,43,6,24,"Array"],[24,48,6,29],[24,49,6,30,"isArray"],[24,56,6,37],[24,57,6,38,"value"],[24,62,6,43],[24,63,6,44],[24,65,6,46],[25,6,7,8],[25,13,7,15],[25,17,7,15,"u8aToU8a"],[25,30,7,23],[25,31,7,23,"u8aToU8a"],[25,39,7,23],[25,41,7,24,"value"],[25,46,7,29],[25,47,7,30],[26,4,8,4],[26,5,8,5],[26,11,9,9],[26,15,9,13],[26,16,9,14,"value"],[26,21,9,19],[26,23,9,21],[27,6,10,8],[27,13,10,15],[27,17,10,19,"Uint8Array"],[27,27,10,29],[27,28,10,30],[27,29,10,31],[28,4,11,4],[28,5,11,5],[28,11,12,9],[28,15,12,13],[28,19,12,13,"isHex"],[28,32,12,18],[28,33,12,18,"isHex"],[28,38,12,18],[28,40,12,19,"value"],[28,45,12,24],[28,46,12,25],[28,48,12,27],[29,6,13,8],[29,13,13,15],[29,17,13,15,"hexToU8a"],[29,30,13,23],[29,31,13,23,"hexToU8a"],[29,39,13,23],[29,41,13,24,"value"],[29,46,13,29],[29,47,13,30],[30,4,14,4],[30,5,14,5],[30,11,15,9],[30,15,15,13],[30,19,15,13,"isString"],[30,32,15,21],[30,33,15,21,"isString"],[30,41,15,21],[30,43,15,22,"value"],[30,48,15,27],[30,49,15,28],[30,51,15,30],[31,6,16,8],[31,13,16,15],[31,17,16,15,"decodeAddress"],[31,36,16,28],[31,37,16,28,"decodeAddress"],[31,50,16,28],[31,52,16,29,"value"],[31,57,16,34],[31,58,16,35,"toString"],[31,66,16,43],[31,67,16,44],[31,68,16,45],[31,69,16,46],[32,4,17,4],[33,4,18,4],[33,10,18,10],[33,14,18,14,"Error"],[33,19,18,19],[33,20,18,20],[33,82,18,82],[33,89,18,89,"value"],[33,94,18,94],[33,96,18,96],[33,97,18,97],[34,2,19,0],[35,2,20,0],[35,8,20,6,"BaseAccountId"],[35,21,20,19],[35,30,20,28,"U8aFixed"],[35,49,20,36],[35,50,20,36,"U8aFixed"],[35,58,20,36],[35,59,20,37],[36,4,21,4,"constructor"],[36,15,21,15,"constructor"],[36,16,21,16,"registry"],[36,24,21,24],[36,26,21,26,"allowedBits"],[36,37,21,37],[36,40,21,40],[36,43,21,43],[36,46,21,46],[36,49,21,49],[36,51,21,51,"value"],[36,56,21,56],[36,58,21,58],[37,6,22,8],[37,12,22,14,"decoded"],[37,19,22,21],[37,22,22,24,"decodeAccountId"],[37,37,22,39],[37,38,22,40,"value"],[37,43,22,45],[37,44,22,46],[38,6,23,8],[38,12,23,14,"decodedBits"],[38,23,23,25],[38,26,23,28,"decoded"],[38,33,23,35],[38,34,23,36,"length"],[38,40,23,42],[38,43,23,45],[38,44,23,46],[39,6,24,8],[40,6,25,8],[40,10,25,12,"decodedBits"],[40,21,25,23],[40,24,25,26,"allowedBits"],[40,35,25,37],[40,39,25,41,"decoded"],[40,46,25,48],[40,47,25,49,"some"],[40,51,25,53],[40,52,25,55,"b"],[40,53,25,56],[40,57,25,61,"b"],[40,58,25,62],[40,59,25,63],[40,61,25,65],[41,8,26,12],[41,14,26,18],[41,18,26,22,"Error"],[41,23,26,27],[41,24,26,28],[41,64,26,68,"allowedBits"],[41,75,26,79],[41,79,26,83],[41,80,26,84],[41,97,26,101,"decoded"],[41,104,26,108],[41,105,26,109,"length"],[41,111,26,115],[41,113,26,117],[41,114,26,118],[42,6,27,8],[43,6,28,8],[43,11,28,13],[43,12,28,14,"registry"],[43,20,28,22],[43,22,28,24,"decoded"],[43,29,28,31],[43,31,28,33,"allowedBits"],[43,42,28,44],[43,43,28,45],[44,4,29,4],[45,4,30,4],[46,0,31,0],[47,0,32,0],[48,4,33,4,"eq"],[48,6,33,6,"eq"],[48,7,33,7,"other"],[48,12,33,12],[48,14,33,14],[49,6,34,8],[49,13,34,15],[49,18,34,20],[49,19,34,21,"eq"],[49,21,34,23],[49,22,34,24,"decodeAccountId"],[49,37,34,39],[49,38,34,40,"other"],[49,43,34,45],[49,44,34,46],[49,45,34,47],[50,4,35,4],[51,4,36,4],[52,0,37,0],[53,0,38,0],[54,4,39,4,"toHuman"],[54,11,39,11,"toHuman"],[54,12,39,11],[54,14,39,14],[55,6,40,8],[55,13,40,15],[55,17,40,19],[55,18,40,20,"toJSON"],[55,24,40,26],[55,25,40,27],[55,26,40,28],[56,4,41,4],[57,4,42,4],[58,0,43,0],[59,0,44,0],[60,4,45,4,"toJSON"],[60,10,45,10,"toJSON"],[60,11,45,10],[60,13,45,13],[61,6,46,8],[61,13,46,15],[61,17,46,19],[61,18,46,20,"toString"],[61,26,46,28],[61,27,46,29],[61,28,46,30],[62,4,47,4],[63,4,48,4],[64,0,49,0],[65,0,50,0],[66,4,51,4,"toPrimitive"],[66,15,51,15,"toPrimitive"],[66,16,51,15],[66,18,51,18],[67,6,52,8],[67,13,52,15],[67,17,52,19],[67,18,52,20,"toJSON"],[67,24,52,26],[67,25,52,27],[67,26,52,28],[68,4,53,4],[69,4,54,4],[70,0,55,0],[71,0,56,0],[72,4,57,4,"toString"],[72,12,57,12,"toString"],[72,13,57,12],[72,15,57,15],[73,6,58,8],[73,13,58,15],[73,17,58,15,"encodeAddress"],[73,36,58,28],[73,37,58,28,"encodeAddress"],[73,50,58,28],[73,52,58,29],[73,56,58,33],[73,58,58,35],[73,62,58,39],[73,63,58,40,"registry"],[73,71,58,48],[73,72,58,49,"chainSS58"],[73,81,58,58],[73,82,58,59],[74,4,59,4],[75,4,60,4],[76,0,61,0],[77,0,62,0],[78,4,63,4,"toRawType"],[78,13,63,13,"toRawType"],[78,14,63,13],[78,16,63,16],[79,6,64,8],[79,13,64,15],[79,24,64,26],[80,4,65,4],[81,2,66,0],[82,2,67,0],[83,0,68,0],[84,0,69,0],[85,0,70,0],[86,0,71,0],[87,0,72,0],[88,0,73,0],[89,0,74,0],[90,0,75,0],[91,2,76,7],[91,8,76,13,"GenericAccountId"],[91,24,76,29],[91,33,76,38,"BaseAccountId"],[91,46,76,51],[91,47,76,52],[92,4,77,4,"constructor"],[92,15,77,15,"constructor"],[92,16,77,16,"registry"],[92,24,77,24],[92,26,77,26,"value"],[92,31,77,31],[92,33,77,33],[93,6,78,8],[93,11,78,13],[93,12,78,14,"registry"],[93,20,78,22],[93,22,78,24],[93,25,78,27],[93,27,78,29,"value"],[93,32,78,34],[93,33,78,35],[94,4,79,4],[95,2,80,0],[96,2,81,7],[96,8,81,13,"GenericAccountId33"],[96,26,81,31],[96,35,81,40,"BaseAccountId"],[96,48,81,53],[96,49,81,54],[97,4,82,4,"constructor"],[97,15,82,15,"constructor"],[97,16,82,16,"registry"],[97,24,82,24],[97,26,82,26,"value"],[97,31,82,31],[97,33,82,33],[98,6,83,8],[98,11,83,13],[98,12,83,14,"registry"],[98,20,83,22],[98,22,83,24],[98,25,83,27],[98,27,83,29,"value"],[98,32,83,34],[98,33,83,35],[99,4,84,4],[100,2,85,0],[101,0,85,1],[101,3]],"functionMap":{"names":["<global>","decodeAccountId","BaseAccountId","BaseAccountId#constructor","decoded.some$argument_0","BaseAccountId#eq","BaseAccountId#toHuman","BaseAccountId#toJSON","BaseAccountId#toPrimitive","BaseAccountId#toString","BaseAccountId#toRawType","GenericAccountId","GenericAccountId#constructor","GenericAccountId33","GenericAccountId33#constructor"],"mappings":"AAA;ACI;CDc;AEC;ICC;sDCI,QD;KDI;IGI;KHE;III;KJE;IKI;KLE;IMI;KNE;IOI;KPE;IQI;KRE;CFC;OWU;ICC;KDE;CXC;OaC;ICC;KDE;CbC"},"hasCjsExports":false},"type":"js/module"}]} |