Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Display of the different types of Contract Events #276

Open
DOBEN opened this issue Oct 23, 2024 · 1 comment
Open

Better Display of the different types of Contract Events #276

DOBEN opened this issue Oct 23, 2024 · 1 comment
Labels
[Type] Change Request Some visible functionality should be change.

Comments

@DOBEN
Copy link
Member

DOBEN commented Oct 23, 2024

Task description

Block explorers often distinguish between top-level transactions and internal transactions.

Screenshot from 2024-10-23 14-51-11

CCDScan currently displays all contractTraceEvents and contractEvents in one table.

image (2)

A better/clearer separation would be beneficial. One option to apply the concept would be two tables:

top-level transactions = ContractTraceElement::Updated; and contract initialized transaction events
internal transactions = ContractTraceElement::Interrupted; ContractTraceElement::Transferred; ContractTraceElement::Resume; ContractTraceElement::Upgraded

@DOBEN DOBEN added the [Type] Task An additional feature or improvement. label Oct 23, 2024
@limemloh limemloh added [Type] Change Request Some visible functionality should be change. and removed [Type] Task An additional feature or improvement. labels Nov 1, 2024
@limemloh
Copy link
Contributor

limemloh commented Nov 1, 2024

Interaction with other smart contracts within a top level transaction will also result in ContractTraceElement::Updated and should maybe be considered an 'internal transaction' as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Change Request Some visible functionality should be change.
Projects
None yet
Development

No branches or pull requests

2 participants