PolyTools Trade Cost · Source code
Source code of PolyTools Trade Cost
This is the complete code of the extension, file by file, exactly as it is inside the zip you download. Nothing is minified or hidden, so you or a developer you trust can read it before installing.
v0.1.1version
26files
3 609lines of code
0servers of ours
Check that your download matches
The SHA-256 checksum of the zip on this site is below. Run the command for your system on the file you downloaded: the two values must be identical.
65de7d0c2b9739fb5b569939a6847de7a7de62fb46d19a279d68db5eb450d700
- macOS and Linux, in Terminal:
shasum -a 256 polytools-trade-cost-0.1.1.zip- Windows, in Command Prompt:
certutil -hashfile polytools-trade-cost-0.1.1.zip SHA256
Where to look first
- manifest.json lists every permission and the only sites the extension can reach.
- src/lib/api.js sends the requests to the public Polymarket API.
- Search the code for fetch and WebSocket to see each network call. Every one of them goes to Polymarket.
All files
| File | Lines | Size | SHA-256 |
|---|---|---|---|
_locales/en/messages.json | 8 | 0.3 KB | 70200b7111de |
_locales/es/messages.json | 8 | 0.3 KB | b1f5685ed2b1 |
_locales/fr/messages.json | 8 | 0.3 KB | 93d7d9a4ef31 |
_locales/ru/messages.json | 8 | 0.4 KB | bc800c572a05 |
_locales/zh_CN/messages.json | 8 | 0.3 KB | b1f7bf458423 |
icons/icon128.png | 3.7 KB | f4260ad62f0c | |
icons/icon16.png | 0.5 KB | 1ab604e53a61 | |
icons/icon32.png | 1.0 KB | 9ba73eb2daef | |
icons/icon48.png | 1.4 KB | 4a72fd9f6b13 | |
manifest.json | 69 | 1.6 KB | ecb2eb3e4e01 |
src/background.js | 56 | 2.2 KB | 88aad779e082 |
src/content/content.js | 481 | 23.7 KB | 44cde0312cd4 |
src/content/live-book.js | 142 | 5.3 KB | 5ed9fa43605a |
src/content/page-bridge.js | 106 | 5.0 KB | 78535d4817e4 |
src/content/panel.js | 425 | 25.4 KB | 253c13b2db3e |
src/content/ticket-reader.js | 176 | 8.3 KB | 44bb0cb35cfe |
src/flavor.js | 12 | 0.6 KB | 1f493ced0b06 |
src/lib/api.js | 246 | 11.1 KB | bc0ea1d6e825 |
src/lib/calc.js | 344 | 16.6 KB | 64a946f3c586 |
src/lib/format.js | 97 | 4.0 KB | 8ee789785171 |
src/lib/i18n-locales.js | 530 | 35.0 KB | 4ffdbdc90629 |
src/lib/i18n.js | 381 | 26.7 KB | fc9361d9404f |
src/lib/journal-stats.js | 358 | 18.8 KB | b5d688fe9a4f |
src/popup/popup.css | 21 | 1.7 KB | 4977957346e6 |
src/popup/popup.html | 62 | 2.4 KB | dcfea435825b |
src/popup/popup.js | 63 | 2.5 KB | c41d8c834c14 |