mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
13 KiB
Plaintext
1 line
13 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/classCallCheck","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"yg7e6laZwmpbIvId5jovq9ugXp8=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/createClass","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"Z6pzkVZ2fvxBLkFTgVVOy4UDj30=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/callSuper","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"378KbBHdmndC3iMXZ2Ix8oB3LeE=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/superPropGet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"b4Lel0pEiTM8mvZZX/d05uR+OmU=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/inherits","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"y0uNg4LxF1CLscQChxzgo5dfjvA=","exportNames":["*"],"imports":1}},{"name":"@polkadot/types-codec","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":22,"index":142},"end":{"line":4,"column":54,"index":174}}],"key":"fW1yxuTjZe66ggmM4ihNuGjKSV0=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":15,"index":191},"end":{"line":5,"column":40,"index":216}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util-crypto","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":22,"index":240},"end":{"line":6,"column":54,"index":272}}],"key":"ZJJnwX+B+oj5JQmnkWFMF+4Lj2M=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _classCallCheck = require(_dependencyMap[0], \"@babel/runtime/helpers/classCallCheck\").default;\n var _createClass = require(_dependencyMap[1], \"@babel/runtime/helpers/createClass\").default;\n var _callSuper = require(_dependencyMap[2], \"@babel/runtime/helpers/callSuper\").default;\n var _superPropGet = require(_dependencyMap[3], \"@babel/runtime/helpers/superPropGet\").default;\n var _inherits = require(_dependencyMap[4], \"@babel/runtime/helpers/inherits\").default;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.GenericEthereumAccountId = void 0;\n var types_codec_1 = require(_dependencyMap[5], \"@polkadot/types-codec\");\n var util_1 = require(_dependencyMap[6], \"@polkadot/util\");\n var util_crypto_1 = require(_dependencyMap[7], \"@polkadot/util-crypto\");\n /** @internal */\n function decodeAccountId(value) {\n if ((0, util_1.isU8a)(value) || Array.isArray(value)) {\n return (0, util_1.u8aToU8a)(value);\n } else if ((0, util_1.isHex)(value) || (0, util_crypto_1.isEthereumAddress)(value.toString())) {\n return (0, util_1.hexToU8a)(value.toString());\n } else if ((0, util_1.isString)(value)) {\n return (0, util_1.u8aToU8a)(value);\n }\n return value;\n }\n /**\n * @name GenericEthereumAccountId\n * @description\n * A wrapper around an Ethereum-compatible AccountId. Since we are dealing with\n * underlying addresses (20 bytes in length), we extend from U8aFixed which is\n * just a Uint8Array wrapper with a fixed length.\n */\n var GenericEthereumAccountId = /*#__PURE__*/function (_types_codec_1$U8aFix) {\n function GenericEthereumAccountId(registry) {\n var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Uint8Array();\n _classCallCheck(this, GenericEthereumAccountId);\n return _callSuper(this, GenericEthereumAccountId, [registry, decodeAccountId(value), 160]);\n }\n /**\n * @description Compares the value of the input to see if there is a match\n */\n _inherits(GenericEthereumAccountId, _types_codec_1$U8aFix);\n return _createClass(GenericEthereumAccountId, [{\n key: \"eq\",\n value: function eq(other) {\n return !!other && _superPropGet(GenericEthereumAccountId, \"eq\", this, 3)([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 }, {\n key: \"toHuman\",\n value: function toHuman() {\n return this.toJSON();\n }\n /**\n * @description Converts the Object to JSON, typically used for RPC transfers\n */\n }, {\n key: \"toJSON\",\n value: function toJSON() {\n return this.toString();\n }\n /**\n * @description Converts the value in a best-fit primitive form\n */\n }, {\n key: \"toPrimitive\",\n value: function toPrimitive() {\n return this.toJSON();\n }\n /**\n * @description Returns the string representation of the value\n */\n }, {\n key: \"toString\",\n value: function toString() {\n return (0, util_crypto_1.ethereumEncode)(this);\n }\n /**\n * @description Returns the base runtime type name for this instance\n */\n }, {\n key: \"toRawType\",\n value: function toRawType() {\n return 'AccountId';\n }\n }]);\n }(types_codec_1.U8aFixed);\n exports.GenericEthereumAccountId = GenericEthereumAccountId;\n});","lineCount":92,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13],[4,6,1,13,"_classCallCheck"],[4,21,1,13],[4,24,1,13,"require"],[4,31,1,13],[4,32,1,13,"_dependencyMap"],[4,46,1,13],[4,92,1,13,"default"],[4,99,1,13],[5,2,1,13],[5,6,1,13,"_createClass"],[5,18,1,13],[5,21,1,13,"require"],[5,28,1,13],[5,29,1,13,"_dependencyMap"],[5,43,1,13],[5,86,1,13,"default"],[5,93,1,13],[6,2,1,13],[6,6,1,13,"_callSuper"],[6,16,1,13],[6,19,1,13,"require"],[6,26,1,13],[6,27,1,13,"_dependencyMap"],[6,41,1,13],[6,82,1,13,"default"],[6,89,1,13],[7,2,1,13],[7,6,1,13,"_superPropGet"],[7,19,1,13],[7,22,1,13,"require"],[7,29,1,13],[7,30,1,13,"_dependencyMap"],[7,44,1,13],[7,88,1,13,"default"],[7,95,1,13],[8,2,1,13],[8,6,1,13,"_inherits"],[8,15,1,13],[8,18,1,13,"require"],[8,25,1,13],[8,26,1,13,"_dependencyMap"],[8,40,1,13],[8,80,1,13,"default"],[8,87,1,13],[9,2,2,0,"Object"],[9,8,2,6],[9,9,2,7,"defineProperty"],[9,23,2,21],[9,24,2,22,"exports"],[9,31,2,29],[9,33,2,31],[9,45,2,43],[9,47,2,45],[10,4,2,47,"value"],[10,9,2,52],[10,11,2,54],[11,2,2,59],[11,3,2,60],[11,4,2,61],[12,2,3,0,"exports"],[12,9,3,7],[12,10,3,8,"GenericEthereumAccountId"],[12,34,3,32],[12,37,3,35],[12,42,3,40],[12,43,3,41],[13,2,4,0],[13,6,4,6,"types_codec_1"],[13,19,4,19],[13,22,4,22,"require"],[13,29,4,29],[13,30,4,29,"_dependencyMap"],[13,44,4,29],[13,72,4,53],[13,73,4,54],[14,2,5,0],[14,6,5,6,"util_1"],[14,12,5,12],[14,15,5,15,"require"],[14,22,5,22],[14,23,5,22,"_dependencyMap"],[14,37,5,22],[14,58,5,39],[14,59,5,40],[15,2,6,0],[15,6,6,6,"util_crypto_1"],[15,19,6,19],[15,22,6,22,"require"],[15,29,6,29],[15,30,6,29,"_dependencyMap"],[15,44,6,29],[15,72,6,53],[15,73,6,54],[16,2,7,0],[17,2,8,0],[17,11,8,9,"decodeAccountId"],[17,26,8,24,"decodeAccountId"],[17,27,8,25,"value"],[17,32,8,30],[17,34,8,32],[18,4,9,4],[18,8,9,8],[18,9,9,9],[18,10,9,10],[18,12,9,12,"util_1"],[18,18,9,18],[18,19,9,19,"isU8a"],[18,24,9,24],[18,26,9,26,"value"],[18,31,9,31],[18,32,9,32],[18,36,9,36,"Array"],[18,41,9,41],[18,42,9,42,"isArray"],[18,49,9,49],[18,50,9,50,"value"],[18,55,9,55],[18,56,9,56],[18,58,9,58],[19,6,10,8],[19,13,10,15],[19,14,10,16],[19,15,10,17],[19,17,10,19,"util_1"],[19,23,10,25],[19,24,10,26,"u8aToU8a"],[19,32,10,34],[19,34,10,36,"value"],[19,39,10,41],[19,40,10,42],[20,4,11,4],[20,5,11,5],[20,11,12,9],[20,15,12,13],[20,16,12,14],[20,17,12,15],[20,19,12,17,"util_1"],[20,25,12,23],[20,26,12,24,"isHex"],[20,31,12,29],[20,33,12,31,"value"],[20,38,12,36],[20,39,12,37],[20,43,12,41],[20,44,12,42],[20,45,12,43],[20,47,12,45,"util_crypto_1"],[20,60,12,58],[20,61,12,59,"isEthereumAddress"],[20,78,12,76],[20,80,12,78,"value"],[20,85,12,83],[20,86,12,84,"toString"],[20,94,12,92],[20,95,12,93],[20,96,12,94],[20,97,12,95],[20,99,12,97],[21,6,13,8],[21,13,13,15],[21,14,13,16],[21,15,13,17],[21,17,13,19,"util_1"],[21,23,13,25],[21,24,13,26,"hexToU8a"],[21,32,13,34],[21,34,13,36,"value"],[21,39,13,41],[21,40,13,42,"toString"],[21,48,13,50],[21,49,13,51],[21,50,13,52],[21,51,13,53],[22,4,14,4],[22,5,14,5],[22,11,15,9],[22,15,15,13],[22,16,15,14],[22,17,15,15],[22,19,15,17,"util_1"],[22,25,15,23],[22,26,15,24,"isString"],[22,34,15,32],[22,36,15,34,"value"],[22,41,15,39],[22,42,15,40],[22,44,15,42],[23,6,16,8],[23,13,16,15],[23,14,16,16],[23,15,16,17],[23,17,16,19,"util_1"],[23,23,16,25],[23,24,16,26,"u8aToU8a"],[23,32,16,34],[23,34,16,36,"value"],[23,39,16,41],[23,40,16,42],[24,4,17,4],[25,4,18,4],[25,11,18,11,"value"],[25,16,18,16],[26,2,19,0],[27,2,20,0],[28,0,21,0],[29,0,22,0],[30,0,23,0],[31,0,24,0],[32,0,25,0],[33,0,26,0],[34,2,20,0],[34,6,27,6,"GenericEthereumAccountId"],[34,30,27,30],[34,56,27,30,"_types_codec_1$U8aFix"],[34,77,27,30],[35,4,28,4],[35,13,28,4,"GenericEthereumAccountId"],[35,38,28,16,"registry"],[35,46,28,24],[35,48,28,52],[36,6,28,52],[36,10,28,26,"value"],[36,15,28,31],[36,18,28,31,"arguments"],[36,27,28,31],[36,28,28,31,"length"],[36,34,28,31],[36,42,28,31,"arguments"],[36,51,28,31],[36,59,28,31,"undefined"],[36,68,28,31],[36,71,28,31,"arguments"],[36,80,28,31],[36,86,28,34],[36,90,28,38,"Uint8Array"],[36,100,28,48],[36,101,28,49],[36,102,28,50],[37,6,28,50,"_classCallCheck"],[37,21,28,50],[37,28,28,50,"GenericEthereumAccountId"],[37,52,28,50],[38,6,28,50],[38,13,28,50,"_callSuper"],[38,23,28,50],[38,30,28,50,"GenericEthereumAccountId"],[38,54,28,50],[38,57,29,14,"registry"],[38,65,29,22],[38,67,29,24,"decodeAccountId"],[38,82,29,39],[38,83,29,40,"value"],[38,88,29,45],[38,89,29,46],[38,91,29,48],[38,94,29,51],[39,4,30,4],[40,4,31,4],[41,0,32,0],[42,0,33,0],[43,4,31,4,"_inherits"],[43,13,31,4],[43,14,31,4,"GenericEthereumAccountId"],[43,38,31,4],[43,40,31,4,"_types_codec_1$U8aFix"],[43,61,31,4],[44,4,31,4],[44,11,31,4,"_createClass"],[44,23,31,4],[44,24,31,4,"GenericEthereumAccountId"],[44,48,31,4],[45,6,31,4,"key"],[45,9,31,4],[46,6,31,4,"value"],[46,11,31,4],[46,13,34,4],[46,22,34,4,"eq"],[46,24,34,6,"eq"],[46,25,34,7,"other"],[46,30,34,12],[46,32,34,14],[47,8,35,8],[47,15,35,15],[47,16,35,16],[47,17,35,17,"other"],[47,22,35,22],[47,26,35,22,"_superPropGet"],[47,39,35,22],[47,40,35,22,"GenericEthereumAccountId"],[47,64,35,22],[47,82,35,35,"decodeAccountId"],[47,97,35,50],[47,98,35,51,"other"],[47,103,35,56],[47,104,35,57],[47,106,35,58],[48,6,36,4],[49,6,37,4],[50,0,38,0],[51,0,39,0],[52,4,37,4],[53,6,37,4,"key"],[53,9,37,4],[54,6,37,4,"value"],[54,11,37,4],[54,13,40,4],[54,22,40,4,"toHuman"],[54,29,40,11,"toHuman"],[54,30,40,11],[54,32,40,14],[55,8,41,8],[55,15,41,15],[55,19,41,19],[55,20,41,20,"toJSON"],[55,26,41,26],[55,27,41,27],[55,28,41,28],[56,6,42,4],[57,6,43,4],[58,0,44,0],[59,0,45,0],[60,4,43,4],[61,6,43,4,"key"],[61,9,43,4],[62,6,43,4,"value"],[62,11,43,4],[62,13,46,4],[62,22,46,4,"toJSON"],[62,28,46,10,"toJSON"],[62,29,46,10],[62,31,46,13],[63,8,47,8],[63,15,47,15],[63,19,47,19],[63,20,47,20,"toString"],[63,28,47,28],[63,29,47,29],[63,30,47,30],[64,6,48,4],[65,6,49,4],[66,0,50,0],[67,0,51,0],[68,4,49,4],[69,6,49,4,"key"],[69,9,49,4],[70,6,49,4,"value"],[70,11,49,4],[70,13,52,4],[70,22,52,4,"toPrimitive"],[70,33,52,15,"toPrimitive"],[70,34,52,15],[70,36,52,18],[71,8,53,8],[71,15,53,15],[71,19,53,19],[71,20,53,20,"toJSON"],[71,26,53,26],[71,27,53,27],[71,28,53,28],[72,6,54,4],[73,6,55,4],[74,0,56,0],[75,0,57,0],[76,4,55,4],[77,6,55,4,"key"],[77,9,55,4],[78,6,55,4,"value"],[78,11,55,4],[78,13,58,4],[78,22,58,4,"toString"],[78,30,58,12,"toString"],[78,31,58,12],[78,33,58,15],[79,8,59,8],[79,15,59,15],[79,16,59,16],[79,17,59,17],[79,19,59,19,"util_crypto_1"],[79,32,59,32],[79,33,59,33,"ethereumEncode"],[79,47,59,47],[79,49,59,49],[79,53,59,53],[79,54,59,54],[80,6,60,4],[81,6,61,4],[82,0,62,0],[83,0,63,0],[84,4,61,4],[85,6,61,4,"key"],[85,9,61,4],[86,6,61,4,"value"],[86,11,61,4],[86,13,64,4],[86,22,64,4,"toRawType"],[86,31,64,13,"toRawType"],[86,32,64,13],[86,34,64,16],[87,8,65,8],[87,15,65,15],[87,26,65,26],[88,6,66,4],[89,4,66,5],[90,2,66,5],[90,4,27,39,"types_codec_1"],[90,17,27,52],[90,18,27,53,"U8aFixed"],[90,26,27,61],[91,2,68,0,"exports"],[91,9,68,7],[91,10,68,8,"GenericEthereumAccountId"],[91,34,68,32],[91,37,68,35,"GenericEthereumAccountId"],[91,61,68,59],[92,0,68,60],[92,3]],"functionMap":{"names":["<global>","decodeAccountId","GenericEthereumAccountId","GenericEthereumAccountId#constructor","GenericEthereumAccountId#eq","GenericEthereumAccountId#toHuman","GenericEthereumAccountId#toJSON","GenericEthereumAccountId#toPrimitive","GenericEthereumAccountId#toString","GenericEthereumAccountId#toRawType"],"mappings":"AAA;ACO;CDW;AEQ;ICC;KDE;IEI;KFE;IGI;KHE;III;KJE;IKI;KLE;IMI;KNE;IOI;KPE;CFC"},"hasCjsExports":true},"type":"js/module"}]} |