Created
June 23, 2019 20:31
-
-
Save CJ42/1a6a54c73341eee74deed2efba3fa273 to your computer and use it in GitHub Desktop.
JSON Dev-Doc Napstec Solidity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"author" : "Jean Cavallera", | |
"details" : "All function calls are currently implemented without side effects", | |
"methods" : | |
{ | |
"calculateHypothenuse(uint256,uint256)" : | |
{ | |
"details" : "Not working as it returns integers and not float", | |
"params" : | |
{ | |
"_a" : "Side 1", | |
"_b" : "Side 2" | |
}, | |
"return" : "uint the hypothenuse length" | |
}, | |
"createTriangle(uint256,uint256)" : | |
{ | |
"author" : "Jean Cavallera", | |
"details" : "This function modifies the state of the variable `my_triangle` and use `calculateHypothenuse()` function", | |
"params" : | |
{ | |
"_a" : "Side 1", | |
"_b" : "Side 2" | |
}, | |
"return" : "string return to user a custom success message" | |
} | |
}, | |
"title" : "A Geometry triangle simulator" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment