-How can I trust this code?
-Well, you can just read the contract, it's open source.
-But I'm not a coder!
This is a common dialog, and it's true. While it's easy to say that anyone could read any contract, most people will be just trusting that someone has read the code and understood it. One nice way that a client could help anyone audit the code would be if there was a tool to convert code into a flowchart, like this:
http://code2flow.comJust an idea..
Comments
Wrote this, using pydot, but it doesnt visualize it well. Key-value example Applied it to all the LLL examples. This way of creating a graph from the code destroys information about the order of arguments to a function, and it just messy.. So that one isnt particularly good. But the idea of these flow charts is, of course!
Main thing that is still a problem is that Dot seems to default to considering dots with the same name equal, even if you make a separate node in pydot. Edges seem to be styled to indicate they relate to the LLL without that actually being the case aswel. There are some other potential improvements.(readme)
You can use the above links or clone the repo to look at the pictures, put the subcurrency one below: