You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/developers/tutorials/deploying-your-first-smart-contract/index.md
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -47,12 +47,12 @@ contract Counter {
47
47
48
48
If you’re used to programming you can easily guess what this program does. Here is an explainer line by line:
49
49
50
-
- Line 3: We define a contract with the name `Counter`.
51
-
- Line 6: Our contract stores one unsigned integer named `count` starting at 0.
52
-
- Line 9: The first function will modify the state of the contract and `increment()` our variable `count`.
53
-
- Line 14: The second function is just a getter to be able to read the value of the `count` variable outside of the smart contract. Note that, as we defined our `count` variable as public this is not necessary but is shown as an example.
50
+
- Line 4: We define a contract with the name `Counter`.
51
+
- Line 7: Our contract stores one unsigned integer named `count` starting at 0.
52
+
- Line 10: The first function will modify the state of the contract and `increment()` our variable `count`.
53
+
- Line 15: The second function is just a getter to be able to read the value of the `count` variable outside of the smart contract. Note that, as we defined our `count` variable as public this is not necessary but is shown as an example.
54
54
55
-
This is all for our first simple smart contract. As you may know, it looks like a class from OOP languages like Java or C++. It’s now time to play with our contract.
55
+
This is all for our first simple smart contract. As you may know, it looks like a class from OOP (Object-Oriented Programming) languages like Java or C++. It’s now time to play with our contract.
0 commit comments