A cli tool for making bytecode legible.
Input:
cargo run -- -f 0x04e45aaf000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000015b543e986b8c34074dfc9901136d9355a537e7e0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000361a80f0ea87745b0ae7d6e8d9061097b9f91780000000000000000000000000000000000000000000000000058d15e176280000000000000000000000000000000000000000000000003ee800fd41b7a5c50e570000000000000000000000000000000000000000000000000000000000000000
Output:
0: 0x04e45aa // <-- Fxn selector
1: 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 // <-- Param 1
2: 00000000000000000000000015b543e986b8c34074dfc9901136d9355a537e7e // ...
3: 0000000000000000000000000000000000000000000000000000000000002710
4: 000000000000000000000000361a80f0ea87745b0ae7d6e8d9061097b9f91780
5: 000000000000000000000000000000000000000000000000058d15e176280000
6: 000000000000000000000000000000000000000000003ee800fd41b7a5c50e57
7: 0000000000000000000000000000000000000000000000000000000000000000
Input:
cargo run -- 0x0000000000000000000000000000000000006b8752fa62a5cd7a392de74939ec0000000000000000000000000000000000000000000000000000000000031eb4000000000000000000000000000000000000000000000000000000000000003100000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000005a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
Output:
0: 0000000000000000000000000000000000006b8752fa62a5cd7a392de74939ec
1: 0000000000000000000000000000000000000000000000000000000000031eb4
2: 0000000000000000000000000000000000000000000000000000000000000031
3: 00000000000000000000000000000000000000000000000000000000000005a0
4: 00000000000000000000000000000000000000000000000000000000000005a0
5: 0000000000000000000000000000000000000000000000000000000000000000
6: 0000000000000000000000000000000000000000000000000000000000000001