Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kilnfi/pgeth-monitoring
https://github.com/kilnfi/pgeth-monitoring
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kilnfi/pgeth-monitoring
- Owner: kilnfi
- Created: 2023-05-04T13:50:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-21T09:37:40.000Z (about 1 year ago)
- Last Synced: 2024-06-21T19:54:33.463Z (7 months ago)
- Language: Go
- Size: 73.2 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pgeth-monitoring plugin
Runs custom tracers while simulating all transactions, encode and feed everything to redis with topics making things easy to subscribe.
```
/head/tx/0xb0ba6c81c185bf7652f9339fdd86f35e47aea38a1215aa107f97d26ca5806c62/0x68c4D9E03D7D902053C428Ca2D74b612Db7F583A/0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9/C@0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9_20a325d0[S@0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D_6352211e,C@0x4d224452801ACEd8B2F0aebE155379bb5D594381_a9059cbb]
```The topics follow the following format
```
/CHANNEL/tx/TX_HASH/FROM/TO/CALL_TRACES
```Where the example above call traces can be interpreted as:
```
C@0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9_20a325d0[S@0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D_6352211e,C@0x4d224452801ACEd8B2F0aebE155379bb5D594381_a9059cbb]C@0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9_20a325d0[
S@0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D_6352211e,
C@0x4d224452801ACEd8B2F0aebE155379bb5D594381_a9059cbb
]
```- Initial call (`C`) made to `0x5954aB967Bc958940b7EB73ee84797Dc8a2AFbb9` on function selector `20a325d0`
- Static call (`S`) made to `0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D` on function selector `6352211e`
- Call (`C`) made to `0x4d224452801ACEd8B2F0aebE155379bb5D594381` on function selector `a9059cbb`The different call modes are
- `C`, a regular `call`
- `S`, a `staticcall`
- `D`, a `delegatecall`The message payload will provide complete execution details with inputs, outputs, context and code address for every step