Skip to content

Showcase what happens to return values in contracts.

Notifications You must be signed in to change notification settings

b9lab/return-values

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Return Values

Showcases the following:

  • Calling contracts can use a return value.
  • From Javascript:
  • We get a return value only when calling the non-constant function with .call().
  • We get a transaction hash when simply calling the non-constant function.
  • If a non-constant function is called with .call() and returns a storage variable, it is the unmodified variable that is returned.

About

Showcase what happens to return values in contracts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published