Skip to content

ElahiAli/Simple_Counter_solidity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

in this code we have tree func to build this app:

  1. get ---> to get current count

    • everyone see this func and can call it and have view of it
  2. increase ---> to increment current count by _elevator argument --->

    • everyone can see this function and just can call it
  3. decrease---> to decrement current count by reducer argument

    • everyone can see this function and just can call it

if our current count is 0 we can decrease it because the result will be negative

About

in this code, we can increase or decrease number that starts from zero.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Solidity 100.0%