Print name of invoked method in transacation #2

Closed
opened 2023-11-02 09:00:40 +00:00 by alexvanin · 4 comments
Owner

monza explore command provides blockchain explorer to see through blocks, transactions and notifications they produce. Most transactions call some smart-contract methods and sometimes it can produce notifications. It would be nice to see details about invoked methods in the UI. For example, in the image above, add some transaction details to notification pane even if it did not produce any notification (e.g. Conrtact: xxx; Method: "some-method")

image

To find method name and contract address, try to parse bytecode of the transaction. Bytecode can contain CALL opcode which calls a method in smart-contract.

`monza explore` command provides blockchain explorer to see through blocks, transactions and notifications they produce. Most transactions call some smart-contract methods and sometimes it can produce notifications. It would be nice to see details about invoked methods in the UI. For example, in the image above, add some transaction details to notification pane even if it did not produce any notification (e.g. `Conrtact: xxx; Method: "some-method"`) ![image](/attachments/261f0a83-9b27-441b-83d5-c0c51db78776) To find method name and contract address, try to parse bytecode of the transaction. Bytecode can contain [CALL](https://docs.neo.org/docs/en-us/reference/neo_vm.html) opcode which calls a method in smart-contract.
108 KiB
alexvanin added the
good first issue
label 2023-11-02 09:01:15 +00:00
alexvanin changed title from Print names of invoked method in transacation to Print name of invoked method in transacation 2023-11-02 09:16:21 +00:00
Owner
@AndrewDanilin
AndrewDanilin was assigned by alexvanin 2023-11-02 14:07:12 +00:00
Owner

CALL -> SYSCALL "System.Contract.Call"

`CALL` -> `SYSCALL "System.Contract.Call"`
Owner
For testing, might be useful: https://git.frostfs.info/TrueCloudLab/frostfs-dev-env https://git.frostfs.info/TrueCloudLab/frostfs-aio/
Author
Owner

Done in #3

Done in #3
Sign in to join this conversation.
No description provided.