{"_id":"@acuarica/evm","_rev":"10-afaf7213b9bd8ea45738a865e4cd308e","name":"@acuarica/evm","dist-tags":{"latest":"0.0.11"},"versions":{"0.0.1":{"name":"@acuarica/evm","version":"0.0.1","description":"An ethereum virtual machine (EVM) bytecode decompiler","main":"lib/EVM.node.js","module":"lib/EVM.js","types":"types/src/index.d.ts","repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@swc/core":"^1.3.39","@types/chai":"^4.3.3","@types/mocha":"^9.1.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@types/yargs":"^17.0.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","chai":"^4.3.6","chalk":"4.1.0","eslint":"^8.36.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.0","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","ts-loader":"^9.3.1","ts-node":"^10.9.1","typescript":"^4.9.5","webpack":"^5.74.0","webpack-cli":"^4.10.0","webpack-merge":"^5.8.0","yargs":"^17.5.1"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"mocha","test:check":"mocha --config .mocharc.check.js","test:smoke":"mocha --config .mocharc.smoke.js","coverage":"nyc mocha","bundle":"webpack --mode production","hash":"ts-node scripts/hash.ts","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs"},"gitHead":"ef870ec38b9a43f861338e6d2373cd2720bb5d02","_id":"@acuarica/evm@0.0.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-OlKQk3/5FinnSKpvf6GHv8mTA1mrmngqKmyiNNBZH8CbGvF96Yg9qtsbFrNdUkiTwgwkVTYglEhupAwwhR6rJQ==","shasum":"20f42a2aa53eb32de62f84088c06aacc5ddfed88","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.1.tgz","fileCount":23,"unpackedSize":460472,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3+YocxwwKDQHg4+PiM5/Z/IZRU6U64HnOjpskWv7zzwIgDmhTqizol37tThjiYjkBmeZcnfpPirim/YZf77iG8Ds="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkNobuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpopg//QLFSjs4xU7Rw3Vfqc+xq+ymoGjSuMPFyFuVPSqUXystdbfui\r\nPyBDklzxswPLme4lH/akTC9bLfeavnrKDZawJQ5GSyONkpk+QfIkiDXlwcrs\r\nrS1MwShyfJmeVihtGPICCeNXGlChG1+Vh69ZlyK5Am+CF3qXRZu4Hjz5zC33\r\n0aG8XtiVd+Yf+KNtDq1e3Yr/xZUtbyKlK2pdRUO/oxBkCnjcGMXZ4YagWYo4\r\nJqQh/M0bmB8NqiBQWgi4S0g7Yw8tz7fDHgw5PLUbjkFIp5jUdY7nBG1jdd7x\r\nE571VqonWaBOJjyndDaMIT4CafO5kIWxyDks+TV9dSMqZiJDaxWfDr7gW2VE\r\nj50Naa2JqIA5BJvO61Rh2DS+Gw/a4tiBbi9ml9Z/wj20WDcJob57xraeFKZ5\r\n6/IDyUt9EzL3FITqJNg6NRCMPji1a6CuBUhSzTjj7ISn87umXHHZ8eB0SZz7\r\nvmd07/mXlGhLyts1dP+FPAgFYQPgStS7aJhRlgKmi1XNTOjiqvnUZ2NU9Fj0\r\nFd7jvxYR2QP1UWd1uD7QvKNQQA6g8+UNTnd6jmk4+66mfKhOWfwewQkhgeZd\r\nHOEpFTlCHCBv+qcHD3tN7+fAFCy+MnQLqwJZBz1rxwLQlR5A/Ip/dtT9twTI\r\nsDf9voGRFuHSS23H1pibsNVGsFJItSWG0Cc=\r\n=2z7H\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.1_1681295086234_0.5360491964882155"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"@acuarica/evm","version":"0.0.3","description":"An ethereum virtual machine (EVM) bytecode decompiler","module":"lib/EVM.js","exports":{".":"./dist/src/index.js","./opcode":"./dist/src/opcode.js","./evm":"./dist/src/evm/index.js","./selector":"./dist/src/selector/index.js"},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@swc/core":"^1.3.39","@types/chai":"^4.3.3","@types/mocha":"^9.1.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@types/yargs":"^17.0.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","chai":"^4.3.6","chalk":"4.1.0","eslint":"^8.36.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.0","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","ts-node":"^10.9.1","typescript":"^4.9.5","webpack":"^5.74.0","webpack-cli":"^4.10.0","yargs":"^17.5.1"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"mocha","test:check":"mocha --config .mocharc.check.js","test:smoke":"mocha --config .mocharc.smoke.js","coverage":"nyc mocha","bundle":"webpack --mode production","makeSelectors":"ts-node scripts/makeSelectors.ts","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.3","dist":{"shasum":"3297b749fd63e0e51e1b73f3e5c21857e10f18fe","integrity":"sha512-LOhzu/zdxgUpFv9AH/1QbFai6q2UAKdr3sVpVu/2LDgVDZhz3uOftYWyvC2Ph73WS0uFDmZYBd4gRZo9Q6bhLw==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.3.tgz","fileCount":64,"unpackedSize":7580978,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3PAX15gb4NLr96ehw9e9TdsoFKV26ZMDIVTOvIHMo6AiEAy3JRieG6ifozZMyH5No5ZQ+isivb/oDF8Q/hbCHWHAo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPAm6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrbQRAAidQlJT1TOUKWXWg2n95iqGXZ68hGC/npd4IYmzTaKgKBWfBs\r\noWZGxE+m8PEjh0XxDVq2ggW0Y3SKkELzxy4F/cEnkJKtZxz/vxgSZ++z9D1K\r\nfdxlLmLoSeMvvW+XuUqX8GgRdfpCHzJpO1vxfivxgNLxgVB+lxvaJi14NpK2\r\ndzBWOAco9LENbz4PqkXI5HKVF6nU6153rH5dxtkSkxt0J4KoR6e5M64uSS2L\r\nTE5Z0Zfc1AC8E11v5v9g/ELRHVQylPXIfNJE7jgNxZqZLlrQ/MuddnA5ir4n\r\nTa0M2kgFIkdyYuJPaTTUODHmVeFIF+Wvwx5Q/XEfU3IM4zTAkEWi+7oN7Awc\r\nm+Y4oEweEhqoUJw3aShrVQOIZKmr4mIRkkrbkXsef2zH20s+rVj5FTqmLjrg\r\nDQHDil9+PybvT9f5FGvk1aNS6pdUEognJPhUrQDG6OTdylBcizHwZ1NSw4gp\r\nKwrOJ82mZxIT3+MyidGlRIFqLH3h+mFRfoTDRjrDBPAlS2PJysK88c+cOoAl\r\npFQtqZps2n/Jai5srH9E9HJF3SvjHsOiMWz3QVm72k7Kpn/ARFbm2CFm00LP\r\nEPcI+7Z4uBqtt67fLM/GtEAkzTmN0ArXxZ2UyMXyU2cQQh/tltIPHOkWdqOZ\r\nxgIdQQ5DOufhceb75W3bUDmCz/nppb18PvM=\r\n=EvRF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.3_1681656250048_0.7098735891082082"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.4":{"name":"@acuarica/evm","version":"0.0.4","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@swc/core":"^1.3.39","@types/chai":"^4.3.3","@types/mocha":"^9.1.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@types/yargs":"^17.0.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","chai":"^4.3.6","chalk":"4.1.0","eslint":"^8.36.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.0","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","ts-node":"^10.9.1","typescript":"^4.9.5","webpack":"^5.74.0","webpack-cli":"^4.10.0","yargs":"^17.5.1"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"mocha","test:check":"mocha --config .mocharc.check.js","test:smoke":"mocha --config .mocharc.smoke.js","coverage":"nyc mocha","bundle":"webpack --mode production","makeSelectors":"ts-node scripts/makeSelectors.ts","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.4","dist":{"shasum":"bfcd4ac0f560bf5eb56cea475e6493ac31482417","integrity":"sha512-AoDlkBF4rGBQK4xm/27oKTlvzOphJ5hCotLgzfX8pZ60QBMXB/qmE16ixcscvyBVXBXc8hDkSsAHnKH3FhyUaw==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.4.tgz","fileCount":64,"unpackedSize":7581288,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGNLNjG0htZftKApo+KPiIF0Pp/ky20tcccUyjGlWQIqAiEA5DWQ2cNoZms8Ru6Uzf0CO1Y8MZBG/x+L51kM6cX/UJY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPA3xACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrV7BAAha8QEFwdYbeOskW8Eh2b6evlK6m8q4y0eJSp9myaaWXGRCSn\r\nOO0/Mwrk4K+dWRGud0tyoROMOVLmGtUUslW49ZcMsHQ5y30WXQyNO7dWZcwo\r\n2I2JFucstsV7tStiojOWJC72sWBrgAuiGj3qMq7D7VS751uD2aYryrnAM8gM\r\n5m9vPlDdRUrMlpmbto8Ra4X/c0uHucCa2g5+qrchchB4HVqNk+MvZraCNLSg\r\nJ1gJ+69LCGj1J6uLlMlIXXivnagYrh+yZd9K4u6bNNvL1MI5AlJVF6CNW3yN\r\nqO6nihgCim7Ixtx0Vb7/kfpPriAKuHI/kaUMGjsUGpbGc99GAP2yQ40he5Ga\r\ndMJVkZHRyST2Uf+cKR9drFeIIgXOym9Bhbt8FMKnJTZmfm25oTRnQ4lfeOi+\r\ncb6bHh6968wQKpbwN8xmot/KZeLl7KY1rVmgWMaKMQHtw1mcdMAXZjLREs0E\r\nKOLWa27vCg1eaoec+RVKY0sPHlRN+7e9DW9X8X5eagpA5+69KuDN2BDP7pRV\r\nQmRt0MUzygwI0JDYrneIvv7/l0D7b7yGBFeho6v9XRpMbrd8ywvk3pxCND8t\r\naqBR6BFRcRwVQsfPyWjj4DlmL6v4Lw0PyBBQ4wMvkvnyI0Si/YfipOF6N63y\r\nHHvRqFBznlGNxToBglvJzbZztqYI+hGb/HM=\r\n=uR70\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.4_1681657328796_0.81364726998329"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.5":{"name":"@acuarica/evm","version":"0.0.5","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@swc/core":"^1.3.39","@types/chai":"^4.3.3","@types/mocha":"^9.1.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@types/yargs":"^17.0.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","chai":"^4.3.6","chalk":"4.1.0","eslint":"^8.36.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.0","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","ts-node":"^10.9.1","typescript":"^4.9.5","webpack":"^5.74.0","webpack-cli":"^4.10.0","yargs":"^17.5.1"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"mocha","test:check":"mocha --config .mocharc.check.js","test:smoke":"mocha --config .mocharc.smoke.js","coverage":"nyc mocha","bundle":"webpack --mode production","makeSelectors":"ts-node scripts/makeSelectors.ts","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.5","dist":{"shasum":"dad7ce7b0c0fa6c7640909e827e4b0c6dd2a5ef1","integrity":"sha512-g0vrYQn6SInh3XLj/ZwlbYN1TIItwDU1TP6YbxjGV8YJvLKPrXlLQNZOEKy8uL7AL+LDT2BjEBnAIa6cYMRWtA==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.5.tgz","fileCount":64,"unpackedSize":7581678,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrk5muEiTO9N2uCyoNRpwTa7TENjebo6BHvJal/Pb3wgIhALEDn1MDKcpbUu+SBteLJvHvPBwixtX1zz1g72QHioIa"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPCGfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpNQg//Z6lepobgf7UiH8g2ft1A1kpdZpGvJVeF14FgzyDn30O9yg9f\r\npTOH5gnr8tDEmDbjtgUBfc19/g7v2QgeYhyp+pbAU3w2SZIG4p4k6VJpl7Uw\r\n7x5RN5XyLjjrasmZBAyxzdCX+U/p8SXYGG06KYzx7VJBnyOI622wyayllhaF\r\nwCMa2DLCkpWOwA3zWwacT4QyX+HRMb14glpXcCEf++eIY/ZbShZFWlT43UM6\r\n33lx/Sg9dQzOy+B0akwsDsdQy6ufXp2gDgYJr2ZCr9Xw/q1UlxGSdycnncrK\r\n9jjzBqcQ+ukIVa54tnwzkL0KOHol6ER3+U9RSsqFa8ZmwyvDfHjJ7pDI9ikW\r\nRc0Gag6/+ceBB+Gg921QaTrvbkipfnDDVsYzXllQdfCMj16dSS1khnXTt6H4\r\nQ0fE+qxI3wMMCasav+TD1+mOFu92UTtEmMiKguolkbvdYvEx1oQU2cGkTpja\r\nCps0AjHtHwTlCxhtMgmGY+geHOb8m6funFHF8jyvTbSmkzJ04/Gdk7R000Kz\r\nbbF8lX1oecRps+1d1TVVS2AFYig1vuvIjb9EJ1/qf8LAu+/fmr3nIZxLCdDQ\r\nMQQ0iP3X97ASZ4G/RMq0W8DsQCQmLGzW1F4US6TuLzY0Ds6zFLdlsnFhX5+c\r\nnIOc6boUY7RqgUv27JYgX7IfmxCb2x8hVCE=\r\n=uNPj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.5_1681662366771_0.2724437025536359"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.6":{"name":"@acuarica/evm","version":"0.0.6","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@swc/core":"^1.3.39","@types/chai":"^4.3.3","@types/mocha":"^9.1.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@types/yargs":"^17.0.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","chai":"^4.3.6","chalk":"4.1.0","eslint":"^8.36.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.0","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","ts-node":"^10.9.1","typescript":"^4.9.5","webpack":"^5.74.0","webpack-cli":"^4.10.0","yargs":"^17.5.1"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"mocha","test:check":"mocha --config .mocharc.check.js","test:smoke":"mocha --config .mocharc.smoke.js","coverage":"nyc mocha","bundle":"webpack --mode production","makeSelectors":"ts-node scripts/makeSelectors.ts","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.6","dist":{"shasum":"4f34945c314ced6031ef9d01e739a36483252d41","integrity":"sha512-L6yY6qGz7P3lWY96agDMFt0rb8krQYI5b2NrKlUooW0YMSEpMdxWUkfg738Rw5rwzFXjFSl0LhaW4HpO48Z/Ow==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.6.tgz","fileCount":64,"unpackedSize":7581737,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuye7Ix2Le55dTYZ98s2MKGZ7cFyUk8WNZeSdlTu80EwIhAKNuCiVJ0pT01T1gH0lSvxWXSGIKDeNtareaRt2E44bT"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPC5gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVEA/8DE/Y7wT4sAjgoxksc5oovhr0oJ6xGQCQ/C19DhSAjU8H0WQI\r\ngWi+iNO8gp7NFfGJQVkTVgDe+deydvrK4kn0cjwXqWq8GXaFTeICy7wwt9GW\r\n98hadvGAEMah+cxQp0mvx6JiOlYaGZzmKtT7lR/J9F3+Y0MnF+f06ou+Xt9T\r\n8eA0+BFuIopmedL6ENzlYc5SuU5+43+GeKngzMm7Vj2hlap9tNgZhW/OdDHK\r\nqbXgZlwinCYYYb9GOQrStyGpwYhOuqBvuK6+jkJWjfXonrLuTB3fsjTep/Na\r\n0Rld6e2QR1Sa4W4wS8ARyIJW7UBruq3WIf/rjNXy7Bx0cA2bUBVk8V2tdVI0\r\nXCCLFe7QlbZZFJeH10pXDeKvyzC7/7dxpDVZ0P+x5QcrJUhTRPcil2A8mgjM\r\nCfXwJ8WAp6rfsZC6n5rFOPLN7j+6GwXhoEo7ghp0k3yOBDvDMTctuFgQejdR\r\nEJjq+GW/nvzL5NWY3Du52jw7IkLHNZiJKo0FwnufQcg4z6Mod4Y9k4HM4A5m\r\ntxnJybwFCe7pxM9wrxir2mTEsM/JiEBcr5d/9w6xNd24Qo8gFketD40jyqVq\r\nYWgRAfPRknukuOF7p8RGbQFlzs9YM7TdzCa0kl5U1Fjmw9hEIbZvWPO6CsMV\r\nVc0/gz0Eubyc1ozYCAZPMEX4Dl13NbWW9YA=\r\n=h/ax\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.6_1681665632349_0.34989797953879065"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.7":{"name":"@acuarica/evm","version":"0.0.7","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@swc/core":"^1.3.39","@types/chai":"^4.3.3","@types/mocha":"^9.1.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","chai":"^4.3.6","chalk":"4.1.0","eslint":"^8.36.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.0","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","ts-node":"^10.9.1","typescript":"^4.9.5","webpack":"^5.74.0","webpack-cli":"^4.10.0"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"mocha","test:check":"mocha --config .mocharc.check.js","test:smoke":"mocha --config .mocharc.smoke.js","coverage":"nyc mocha","bundle":"webpack --mode production","makeSelectors":"ts-node scripts/makeSelectors.ts","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.7","dist":{"shasum":"cddf0c8bf241c73e6ce05ab4181765093cec64b2","integrity":"sha512-mbbXQPiNqejc8uD3tTmH1LqCQJYoMcd5cyStre+rBM3GXgdFFlzn3d7gg/+Z6DCD60A6ysbdGDtpbqhwAW1Myw==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.7.tgz","fileCount":64,"unpackedSize":7581910,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmyHsOQU/rzYD1aiRTViL2cYneDTpVKOK714spI+qS7QIhAMbaTHWIFTGjUmmnb46PcIZwlNTwAAtErIPMzEj7PBpN"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPFsqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo23Q/5AMb211tGzfq62UUt9b8jWH37yVWi+zW+hrLRWhGZEO5gEb6Q\r\neTPnTHSG7a2XjzA205Uygi3DyNl4l1fWLHrVFPX/gVa1yfEzsFh+hvkcRdOW\r\nJRi9Z7eyLrtS9kmjH48sUpj5f3f0OZghFO9FZMRmEqIE+7E7oF8WFf2LHgUZ\r\nHwPXpCUZQ5TpqTXBCngxkEDI1Y9GuR0VhzX24MDrVWjM6kJTZ9hD9uLnO/ji\r\n4e/49Ra7KHzdynzKZME6obb0dDWNC1uHj2mhzGWyz0vW6Z/FE/UdKhh2OWJ7\r\nCto9TCNuTh9tEOrZqfC4sxDJmBS8/Qgl8gk39xYXGrq2fpz4sBxSc8rNLGpt\r\nYxlwHS0whTp6AE7JWiiHXiB3TTfvN9Y8liBl20jzNBkP0QEe2O1Gk8wAsSHe\r\nK2Tqy8HWxSM1kEVENw7VXIdmz0sB7iOHREDSrmUZlOUoDa8ACIVjquMs+4M0\r\nNjEo57T1hCWy5VuKBHErSRhcPTQ8wlEhSHjUNycOonwdxpCxBoIIK9VWmoR8\r\nC02iHTMnl4oM5A8Dl1VzJ2qG8rSh8sKGmO6/a29VrKAp5kp8j3PltflFNz4l\r\nWsNjiBvHsXikQXt8aKP4EZXv1HO4M9upwKM+jHMYEXznhLaTUoTaSh2yhqEi\r\nmpYq8AJSZH0lsctt1CRYdPYuLNda5z+KcI4=\r\n=tfNz\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.7_1681677098457_0.0846523428940571"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.8":{"name":"@acuarica/evm","version":"0.0.8","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@types/chai":"^4.3.3","@types/mocha":"^10.0.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","ansi-colors":"^4.1.1","chai":"^4.3.6","eslint":"^8.36.0","eslint-plugin-import":"^2.27.5","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.1","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","typedoc":"^0.24.6","typedoc-plugin-extras":"^2.3.3","typescript":"^5.0.4","webpack":"^5.74.0","webpack-cli":"^4.10.0"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"yarn compile && mocha 'dist/test/**/*.test.js'","test:check":"yarn compile && mocha 'dist/test/*.check.js'","test:smoke":"yarn compile && mocha 'dist/test/*.smoke.js'","coverage":"yarn compile && nyc mocha 'dist/test/**/*.{test,check}.js'","bundle":"webpack --mode production","make:selectors":"node selectors/make.mjs","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs","tsdoc":"typedoc --out docs/tsdoc src/index.ts src/opcode.ts src/evm/index.ts src/selector/index.ts","clean":"rm -r .artifacts/"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.8","dist":{"shasum":"2afcf4cb857950826cfeb9631d53923283200df0","integrity":"sha512-oX1br3fKZIZRrdVoY4JyjkilEjRxPu7+9RGT8WWTy5VZPJ2NXu0r2Ft7zW5KHVALdPzt4b7/csNPXs75I3Xwig==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.8.tgz","fileCount":64,"unpackedSize":7633223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZpsU++ASUHMmHQ9ErbpqMswlnlIZf2UM9PA0v1cU54AiEA/bVqmhCa8J4plL4kr7pqAG1orz1kVXsFl8toXfH3u/o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTZsdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoplg/+Ow+V8YhnR2xpydDMGwBFMMpomBbcQ2ARRdwLsRcewlzk9oX4\r\nvo8/NI0BcUbZad5u9MVkvU6icr+Ce4U1H+qwCTsZcfBsN18Fp6OR1mgwowLg\r\nrRGDKuQ7cOlJBXC4+SBCVdmvmSJZnXbNOeav5LiTLpQurEzAa1D0WnCZPs3i\r\nRpLwCsaXC9eyW7BvIx/GB4ZXmH8vd6kUPhHSXsEytlNCRxEQdKKDLxFxRInc\r\ni9sP/QAVp1sNEgwoe7BeyAHRgwgB6BrghbwtOTjIohZivsw9LASqjAN3oFsQ\r\nLT/swOaMOZ/iPiwztHv7R3fNebQUX0mYE6kCXKg9KSVEGqtrb5hZT8PhjpPp\r\nsQns+HRpL1pFqDGAfJMcDdcWD0pbuCeg6s3rXP7hjUc4be5+xp9/AOMwM87K\r\no/4RA/spiJn/MlNs564b+3wGPfhxafZzktRgA62Ey9cFcFymHThgxi/Q2ByK\r\nFtrTBslEmQ33wjZJlVIIjr+vHLNorzMbt/n306VRdf9C/98qn8RJf1pSfSAR\r\n0TvQKTI+K3KcmPGwgXMzaqURRSCvTz1mSflgp0nlfHr/uSrbW43cskNVRNaL\r\nnXHBx+n54MpTypdchGKI7QhP2HuImm757LM+SqzBCIvO81Yixu7p+0B4B7Lk\r\nEufD8xAHd5TPcE4Hw+qb8+iO2FTVGjT2w+Q=\r\n=4LQ+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.8_1682807580857_0.8463454474819867"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.9":{"name":"@acuarica/evm","version":"0.0.9","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["ethereum","evm","utils","decompiler","typescript","bytecode","solidity"],"devDependencies":{"@noble/hashes":"^1.3.0","@types/chai":"^4.3.3","@types/mocha":"^10.0.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","ansi-colors":"^4.1.1","chai":"^4.3.6","eslint":"^8.36.0","eslint-plugin-import":"^2.27.5","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.1","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","typedoc":"^0.24.6","typedoc-plugin-extras":"^2.3.3","typescript":"^5.0.4","webpack":"^5.74.0","webpack-cli":"^4.10.0"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"yarn compile && mocha 'dist/test/**/*.test.js'","test:check":"yarn compile && mocha 'dist/test/*.check.js'","test:smoke":"yarn compile && mocha 'dist/test/*.smoke.js'","coverage":"yarn compile && nyc mocha 'dist/test/**/*.{test,check}.js'","bundle":"webpack --mode production","make:selectors":"node selectors/make.mjs","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs","tsdoc":"typedoc --out docs/tsdoc src/index.ts src/opcode.ts src/evm/index.ts src/selector/index.ts","clean":"rm -r .artifacts/"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.9","dist":{"shasum":"83c56f2e35d43f4ce0e825263c838fd34f0b017e","integrity":"sha512-GV83Up/8NvEadnxinHhw0TVqEzfQ0gUWkxaieKmlT1V8R2Ih8CJRrjfC8Uonb2JMrvHPjQ8FfN/rUgSWfr1svw==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.9.tgz","fileCount":64,"unpackedSize":7633223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0W3YO0kHpYSwnWMdiI6SP2g8b+SMF87LdCweSsUbZVAiB7P4gotqbUEAZZamltihzqEIT1vm/bdSNC4Cm7SYzRMg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTZ7YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpbig//dmteK7orDZWsi7B+AoZDc2SMGPlFzHiG6vj/XNcNCKI+aZBh\r\necjU8R7OEmxHjyU6qfdrL1P0mAfvIaEkA8Ib4qAcb7nrvjm3kK44VNBOfo1h\r\n1entQjGYEk9TpWGupydDSA1f51GD3WZDgdjbfGAQGeCy4GRDcZOKCRbvegVy\r\np30ukGyR5IvRmy9AFyesb6sc720PvB/0ZNCaACrMfa6Kp3d/tMzyZoEX/7ha\r\n81r1WFe/B3ZsotLBYG3brMV6oldWGyA+lp2x3WKigBq7s4zKTFpxaRcC1lQq\r\nNtL5DJBPk45qbLlxGwjGyfcCUSqwgunM+jFnEFJkkxmdTz7bDZRLQgnOnDaC\r\nOwc+tDNWBYBuiAVXTDnM4rq4mThKLq0Q17iDVkBgNh/S4FZ02HvOpo90ZsZn\r\n3eIoeqHHqCg3x+IIAY1n4YY9FHZIJXOaA+9f8o7Y+je9BBOGFJvcEqLv7UVw\r\nRPR8wveLl0QR37+Lw5L0YxFczP/4P4WOevqHmJyMX0AjwtzNsohdzLMGz6UU\r\n4O5jY5NGSvpbMYug4cTppJK5LFhOtVMUZPgE8zyZkB1ZJsPcQ+v1zCF2IuRa\r\nNiCXTHfe3TF2qe/7JWLU0L7nDfh0Ein2IMBFGRudjwkVm8IQ7qk/s9ErbuKJ\r\nzmIF8dxrDzBS6SLW4qrzzykK3zaws4JuStk=\r\n=h9Cr\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.9_1682808536699_0.7161411263695256"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.10":{"name":"@acuarica/evm","version":"0.0.10","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"git+https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","bugs":{"url":"https://github.com/acuarica/evm/issues"},"homepage":"https://github.com/acuarica/evm#readme","keywords":["4byte","blockchain","bytecode","control-flow-graph","decoder","decompiler","disassembler","ethereum","evm","parser","signatures","solidity","typescript","utils","web3"],"devDependencies":{"@noble/hashes":"^1.3.0","@types/chai":"^4.3.3","@types/mocha":"^10.0.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","ansi-colors":"^4.1.1","chai":"^4.3.6","eslint":"^8.36.0","eslint-plugin-chai-expect":"^3.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-mocha":"^10.1.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.1","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","typedoc":"^0.24.6","typedoc-plugin-extras":"^2.3.3","typescript":"^5.0.4","webpack":"^5.74.0","webpack-cli":"^4.10.0"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"yarn compile && mocha 'dist/test/**/*.test.js'","test:check":"yarn compile && mocha 'dist/test/*.check.js'","test:smoke":"yarn compile && mocha 'dist/test/*.smoke.js'","coverage":"yarn compile && nyc mocha 'dist/test/**/*.{test,check}.js'","bundle":"webpack --mode production","make:selectors":"node selectors/make.mjs","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs","tsdoc":"typedoc --out docs/tsdoc src/index.ts src/opcode.ts src/evm/index.ts src/selector/index.ts","clean":"rm -r .artifacts/"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.10","dist":{"shasum":"fc9f3534ecbe9054d1cf80459cb4c21f3282a685","integrity":"sha512-I3tb+jt48fJfocCgQJaFLypFv4D/mEDMX1NNCd+0R/1pdAUnMoGao/4WUbUglGZwZj2EFPzBapY/24SYlDiHRA==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.10.tgz","fileCount":64,"unpackedSize":7637972,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcTdUwWV7/RzGJ5BhWhc8Ft52Phzb/JqGTr6N8Fn7a2AIhANzY7tibvTm+Rip/1VQNZNiMiB74wmW0yiXuQFM8Yefg"}]},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.10_1683314203555_0.17385483218942088"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.11":{"name":"@acuarica/evm","version":"0.0.11","description":"An ethereum virtual machine (EVM) bytecode decompiler","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"},"./opcode":{"types":"./dist/src/opcode.d.ts","default":"./dist/src/opcode.js"},"./evm":{"types":"./dist/src/evm/index.d.ts","default":"./dist/src/evm/index.js"},"./selector":{"types":"./dist/src/selector/index.d.ts","default":"./dist/src/selector/index.js"}},"repository":{"type":"git","url":"https://github.com/acuarica/evm.git"},"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"license":"MIT","keywords":["4byte","blockchain","bytecode","control-flow-graph","decoder","decompiler","disassembler","ethereum","evm","parser","signatures","solidity","typescript","utils","web3"],"devDependencies":{"@noble/hashes":"^1.3.0","@types/chai":"^4.3.3","@types/mocha":"^10.0.1","@types/node":"^18.7.2","@types/semver":"^7.3.12","@typescript-eslint/eslint-plugin":"^5.56.0","@typescript-eslint/parser":"^5.56.0","ansi-colors":"^4.1.1","chai":"^4.3.6","eslint":"^8.36.0","eslint-plugin-chai-expect":"^3.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-mocha":"^10.1.0","ethers":"^5.6.9","http-server":"^14.1.1","husky":"^8.0.1","mocha":"^10.0.1","nyc":"^15.1.0","prettier":"^2.8.4","pretty-quick":"^3.1.3","semver":"^7.3.7","solc-0.5.17":"npm:solc@0.5.17","solc-0.5.5":"npm:solc@0.5.5","solc-0.6.12":"npm:solc@0.6.12","solc-0.7.6":"npm:solc@0.7.6","solc-0.8.16":"npm:solc@0.8.16","typedoc":"^0.24.6","typedoc-plugin-extras":"^2.3.3","typescript":"^5.0.4","webpack":"^5.74.0","webpack-cli":"^4.10.0"},"scripts":{"prepare":"husky install","compile":"tsc","lint":"eslint .","test":"yarn compile && mocha 'dist/test/**/*.test.js'","test:check":"yarn compile && mocha 'dist/test/*.check.js'","test:smoke":"yarn compile && mocha 'dist/test/*.smoke.js'","coverage":"yarn compile && nyc mocha 'dist/test/**/*.{test,check}.js'","bundle":"webpack --mode production","make:selectors":"node selectors/make.mjs","prettier":"prettier --write .","prettier:staged":"pretty-quick --staged","docs":"http-server docs","tsdoc":"typedoc --out docs/tsdoc src/index.ts src/opcode.ts src/evm/index.ts src/selector/index.ts","clean":"rm -r .artifacts/"},"licenseText":"Copyright 2019 Luit Hollander\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"@acuarica/evm@0.0.11","dist":{"shasum":"11d48ddf57e5a9489056d25a9c25f18776a70d85","integrity":"sha512-BL2F7YoFYMvDhuT2KietpBpSxz9XCRBQeYX+K+7MZn/jhJy6X7pXbNg+Rx/C258DPZlpzCkJ2kPI+rvyuy2biw==","tarball":"https://registry.npmjs.org/@acuarica/evm/-/evm-0.0.11.tgz","fileCount":64,"unpackedSize":7637807,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIByKzce4k5zZi9HwAzo0gMKnzUmVq3VXl8rkV3j6bt6HAiBUjdybJSylxNq+GeQ7P0yFjk3gt30geGjpRRXxSOUE1w=="}]},"_npmUser":{"name":"acuarica","email":"luismastrangelo@gmail.com"},"directories":{},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/evm_0.0.11_1683328938225_0.6247811716209699"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-04-12T10:24:46.154Z","0.0.1":"2023-04-12T10:24:46.501Z","modified":"2024-01-07T20:42:26.456Z","0.0.3":"2023-04-16T14:44:10.455Z","0.0.4":"2023-04-16T15:02:09.024Z","0.0.5":"2023-04-16T16:26:07.126Z","0.0.6":"2023-04-16T17:20:32.597Z","0.0.7":"2023-04-16T20:31:38.686Z","0.0.8":"2023-04-29T22:33:01.192Z","0.0.9":"2023-04-29T22:48:56.950Z","0.0.10":"2023-05-05T19:16:43.812Z","0.0.11":"2023-05-05T23:22:18.494Z"},"maintainers":[{"name":"acuarica","email":"luismastrangelo@gmail.com"}],"description":"An ethereum virtual machine (EVM) bytecode decompiler","keywords":["4byte","blockchain","bytecode","control-flow-graph","decoder","decompiler","disassembler","ethereum","evm","parser","signatures","solidity","typescript","utils","web3"],"repository":{"type":"git","url":"https://github.com/acuarica/evm.git"},"contributors":[{"name":"Luit Hollander","email":"luit@hollander.email","url":"https://luit.me"}],"author":{"name":"Luis Mastrangelo","url":"https://acuarica.github.io"},"license":"MIT","readme":"<!-- markdownlint-disable no-inline-html -->\n\n# EVM Bytecode Decompiler\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/acuarica/evm/main.yaml?style=flat-square)](https://github.com/acuarica/evm/actions/workflows/main.yaml)\n![nycrc config on GitHub](https://img.shields.io/nycrc/acuarica/evm?style=flat-square)\n[![npm (scoped)](https://img.shields.io/npm/v/@acuarica/evm?style=flat-square)](https://www.npmjs.com/package/@acuarica/evm)\n![npm](https://img.shields.io/npm/dt/@acuarica/evm)\n[![GitHub](https://img.shields.io/github/license/acuarica/evm?style=flat-square)](https://github.com/acuarica/evm/blob/main/LICENSE)\n[![Demo](https://img.shields.io/badge/demo-acuarica.github.io%2Fevm-informational?style=flat-square)](https://acuarica.github.io/evm)\n\nA Symbolic [Ethereum Virtual Machine (EVM)](https://medium.com/mycrypto/the-ethereum-virtual-machine-how-does-it-work-9abac2b7c9e) interpreter and decompiler, along with several other utils for programmatically extracting information from bytecode.\n\n> Forked from [MrLuit/evm](https://github.com/MrLuit/evm). For more info, see [Detached Fork](#detached-fork).\n\n## Install\n\nInstall using your package manager or Browser's `script` tag\n\n<!-- tabs:start -->\n\n### **yarn**\n\n```sh\nyarn add @acuarica/evm\n```\n\n### **npm**\n\n```sh\nnpm install @acuarica/evm\n```\n\n### **Browser <span class=\"tab-badge\">WIP</span>**\n\n```javascript\n<script src=\"https://cdn.jsdelivr.net/gh/acuarica/evm@f88b20a/lib/EVM.js\"></script>\n```\n\n<!-- tabs:end -->\n\n## Features\n\n- **Convert bytecode to opcodes**\n- **Read information like events or functions from either bytecode or TX data**\n- **Extract the [IPFS](https://docs.soliditylang.org/en/latest/metadata.html) or [swarm hash](https://github.com/ethereum/wiki/wiki/Swarm-Hash) (when present) from bytecode**\n- **Check whether an opcode exists and is reachable within bytecode execution**\n- **Detect whether contracts are compliant to certain ERCs**\n\n## API &nbsp;&nbsp; [![TypeDoc](https://img.shields.io/badge/full%20reference-acuarica.github.io%2Fevm%2Ftsdoc-blueviolet?style=flat-square)](https://acuarica.github.io/evm/tsdoc)\n\n### Main Methods and Properties\n\n- [**`bytecode`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#bytecode) - Get raw bytecode (not really useful; same as input)\n- [**`metadata`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#metadata) - Get [IPFS](https://docs.ipfs.tech/concepts/content-addressing/#cid-versions) or [Swarm](https://github.com/ethereum/wiki/wiki/Swarm-Hash) hash (if present) for [contract metadata](https://docs.soliditylang.org/en/latest/metadata.html)\n- [**`evm.opcodes`**](https://acuarica.github.io/evm/tsdoc/classes/evm.EVM.html#opcodes) - Returns opcodes including pc and pushData (if included)\n- [**`evm.jumpdests`**](https://acuarica.github.io/evm/tsdoc/classes/evm.EVM.html#jumpdests) - Get map of program counters from JUMPDEST opcodes\n- [**`getFunctions()`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#getFunctions) - Parse functions from their signatures in bytecode\n- [**`getEvents()`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#decompile) - Parse events from their signatures in bytecode\n- [**`containsOpcode(opcode)`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#containsOpcode) - Check whether an opcode exists and is reachable within bytecode\n- [**`decompile()`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#decompile) - Decompile bytecode into readable [Solidity](https://soliditylang.org/)-like pseudocode\n- [**`isERC165()`**](https://acuarica.github.io/evm/tsdoc/classes/index.Contract.html#isERC165) - Detect whether contract is [ERC165](https://eips.ethereum.org/EIPS/eip-165)-compliant\n\n## Usage\n\n### Converting Bytecode to Opcodes\n\n<!-- tabs:start -->\n\n#### **Node.js**\n\n```javascript\nconst { EVM } = require('evm');\nconst Web3 = require('web3');\nconst web3 = new Web3(new Web3.providers.HttpProvider('https://api.mycryptoapi.com/eth'));\n\nweb3.eth.getCode('0x06012c8cf97BEaD5deAe237070F9587f8E7A266d').then(code => {\n  /* CryptoKitties contract */\n  const evm = new EVM(code);\n  console.log(evm.getOpcodes()); /* Get opcodes */\n});\n```\n\n#### **Browser**\n\n```javascript\nconst { EVM } = window.EVM_Utils;\nconst web3 = new Web3(window.web3.currentProvider);\nweb3.eth.getCode('0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', function (err, code) {\n  /* DAI contract */ if (err) throw err;\n  const evm = new EVM(code);\n  console.log(evm.getOpcodes()); /* Get opcodes */\n});\n```\n\n<!-- tabs:end -->\n\n### Decompiling a Contract\n\n<!-- tabs:start -->\n\n#### **Node.js**\n\n```javascript\nconst { EVM } = require('evm');\nconst Web3 = require('web3');\nconst web3 = new Web3(new Web3.providers.HttpProvider('https://api.mycryptoapi.com/eth'));\n\nweb3.eth.getCode('0x06012c8cf97BEaD5deAe237070F9587f8E7A266d').then(code => {\n  /* CryptoKitties contract */\n  const evm = new EVM(code);\n  console.log(evm.getFunctions()); /* Get functions */\n  console.log(evm.getEvents()); /* Get events */\n  console.log(evm.decompile()); /* Decompile bytecode */\n  console.log(\n    evm.containsOpcode('SELFDESTRUCT')\n  ); /* Check whether contract contains a SELFDESTRUCT */\n  console.log(evm.isERC165()); /* Detect whether contract is ERC165-compliant */\n});\n```\n\n#### **Browser**\n\n```javascript\nconst { EVM } = window.EVM;\nconst web3 = new Web3(window.web3.currentProvider);\nweb3.eth.getCode('0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', function (err, code) {\n  /* DAI contract */ if (err) throw err;\n  const evm = new EVM(code);\n  console.log(evm.getFunctions()); /* Get functions */\n  console.log(evm.getEvents()); /* Get events */\n  console.log(evm.decompile()); /* Decompile bytecode */\n  console.log(\n    evm.containsOpcode('SELFDESTRUCT')\n  ); /* Check whether contract contains a SELFDESTRUCT */\n  console.log(evm.isERC165()); /* Detect whether contract is ERC165-compliant */\n});\n```\n\n<!-- tabs:end -->\n\n### Extracting data from transaction **WIP**\n\n<!-- tabs:start -->\n\n#### **Node.js**\n\n```javascript\nconst { Transaction } = require('evm');\nconst Web3 = require('web3');\nconst web3 = new Web3(new Web3.providers.HttpProvider('https://api.mycryptoapi.com/eth'));\n\nweb3.eth\n  .getTransaction('0xd20a8d888a3f29471ea41ea77cc2d95ccd79ade1eaad059e83524e72b9adf962')\n  .then(transactionData => {\n    const transaction = new Transaction();\n    transaction.setInput(transactionData.input);\n    console.log(transaction.getFunction()); /* Get function */\n  });\n```\n\n#### **Browser**\n\n```javascript\nconst { Transaction } = window.EVM;\nconst web3 = new Web3(window.web3.currentProvider);\nweb3.eth.getTransaction(\n  '0xd20a8d888a3f29471ea41ea77cc2d95ccd79ade1eaad059e83524e72b9adf962',\n  function (err, transactionData) {\n    if (err) throw err;\n    const transaction = new Transaction();\n    transaction.setInput(transactionData.input);\n    console.log(transaction.getFunction()); /* Get function */\n  }\n);\n```\n\n<!-- tabs:end -->\n\n## Detached Fork\n\nThis GitHub repo was originally a fork of <https://github.com/MrLuit/evm>.\nIt served as a great starting point for this project.\nThe fact that it is lightweight and written in TypeScript,\nmake it ideal for embedding in other applications.\n\nHowever, as we started to support and decompile newer contracts, we realize it was quite outdated.\nBesides not being able to process newer smart contracts, for some, the bytecode analysis algorithm did not terminate.\nThat's the reason we forked that repo.\n\nWe did a major overhaul of the codebase, adding new features, refactoring the whole project and adding both testing and documentation.\nAs we added changes, we realized it did not make sense to keep it a forked repo.\nMoreover, when sending new PRs, the default `base` repo is the upstream repo, which is not what we want in our case.\nThis behavior is both error prone and annoying.\nThat's why, as of _Apr 17, 2023_, this project is no longer a fork of [MrLuit/evm](https://github.com/MrLuit/evm).\n","readmeFilename":"README.md"}