Examining smart contract parameters, structure, and logic flow through Micro view (AD)
Make how-to guides like this one in a snap.
TD

TJ Dunham

Created Dec 12, 2022

Examining smart contract parameters, structure, and logic flow through Micro view (AD)

Users can examine smart contracts at a micro level through the activity diagram or Micro view. With this feature users can zoom in on each individual line within the code and how it inter-relates to the surrounding features.

This feature fundamentally reshapes how developers interact with code by going from line-by-line examination of a code base to instantly generated yes,no tree diagrams.

127
    a

Arc-reactor

6 Steps
1

Select the desired contract

Select the desired contract
2

Select the desired function

Select the desired function
3

Notice the function logic will populate in the bottom left in a simple tree

Function logic will populate in the bottom left in simple, "Yes, No" trees. This displays the flow of logic from one function to another and how it connects with the rest of the contracts.

Notice the function logic will populate in the bottom left in a simple tree
4

Select one of the logic bubbles

Select one of the logic bubbles
5

Notice the logic bubble data will populate along the right side

This feature helps users understand the flow of the source code and the individual parameters attributable to each piece of logic. Notice the Statement, Variables, type, memberName and more data below.

Notice the logic bubble data will populate along the right side
6

Select the drop-down menu to view indexed variables

Sometimes drop-down menus will appear next to individual logic bubbles. These menus help the user understand the variables used in the code and why.

Select the drop-down menu to view indexed variables
Well done!
Create how-to guides like this in a snap. Get Tango now.