mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
2.7 KiB
Plaintext
1 line
2.7 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"./isChecksum.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":40},"end":{"line":2,"column":53,"index":93}}],"key":"P2GAj/mOPu7754VePNCAlv0c4PU=","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 exports.isEthereumAddress = isEthereumAddress;\n var _polkadotUtil = require(_dependencyMap[0], \"@polkadot/util\");\n var _isChecksumJs = require(_dependencyMap[1], \"./isChecksum.js\");\n function isEthereumAddress(address) {\n if (!address || address.length !== 42 || !(0, _polkadotUtil.isHex)(address)) {\n return false;\n } else if (/^(0x)?[0-9a-f]{40}$/.test(address) || /^(0x)?[0-9A-F]{40}$/.test(address)) {\n return true;\n }\n return (0, _isChecksumJs.isEthereumChecksum)(address);\n }\n});","lineCount":18,"map":[[7,2,3,0,"exports"],[7,9,3,0],[7,10,3,0,"isEthereumAddress"],[7,27,3,0],[7,30,3,0,"isEthereumAddress"],[7,47,3,0],[8,2,1,0],[8,6,1,0,"_polkadotUtil"],[8,19,1,0],[8,22,1,0,"require"],[8,29,1,0],[8,30,1,0,"_dependencyMap"],[8,44,1,0],[9,2,2,0],[9,6,2,0,"_isChecksumJs"],[9,19,2,0],[9,22,2,0,"require"],[9,29,2,0],[9,30,2,0,"_dependencyMap"],[9,44,2,0],[10,2,3,7],[10,11,3,16,"isEthereumAddress"],[10,28,3,33,"isEthereumAddress"],[10,29,3,34,"address"],[10,36,3,41],[10,38,3,43],[11,4,4,4],[11,8,4,8],[11,9,4,9,"address"],[11,16,4,16],[11,20,4,20,"address"],[11,27,4,27],[11,28,4,28,"length"],[11,34,4,34],[11,39,4,39],[11,41,4,41],[11,45,4,45],[11,46,4,46],[11,50,4,46,"isHex"],[11,63,4,51],[11,64,4,51,"isHex"],[11,69,4,51],[11,71,4,52,"address"],[11,78,4,59],[11,79,4,60],[11,81,4,62],[12,6,5,8],[12,13,5,15],[12,18,5,20],[13,4,6,4],[13,5,6,5],[13,11,7,9],[13,15,7,13],[13,36,7,34],[13,37,7,35,"test"],[13,41,7,39],[13,42,7,40,"address"],[13,49,7,47],[13,50,7,48],[13,54,7,52],[13,75,7,73],[13,76,7,74,"test"],[13,80,7,78],[13,81,7,79,"address"],[13,88,7,86],[13,89,7,87],[13,91,7,89],[14,6,8,8],[14,13,8,15],[14,17,8,19],[15,4,9,4],[16,4,10,4],[16,11,10,11],[16,15,10,11,"isEthereumChecksum"],[16,28,10,29],[16,29,10,29,"isEthereumChecksum"],[16,47,10,29],[16,49,10,30,"address"],[16,56,10,37],[16,57,10,38],[17,2,11,0],[18,0,11,1],[18,3]],"functionMap":{"names":["<global>","isEthereumAddress"],"mappings":"AAA;OCE;CDQ"},"hasCjsExports":false},"type":"js/module"}]} |