Skip to content

Commit e2bf28f

Browse files
authored
Merge pull request #9102 from CamoCatX/patch-1
Added correct numbers and clarification
2 parents 06b9ed1 + e500ccc commit e2bf28f

File tree

1 file changed

+5
-5
lines changed
  • src/content/developers/tutorials/deploying-your-first-smart-contract

1 file changed

+5
-5
lines changed

src/content/developers/tutorials/deploying-your-first-smart-contract/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ contract Counter {
4747

4848
If you’re used to programming you can easily guess what this program does. Here is an explainer line by line:
4949

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.
5454

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.
5656

5757
## Deploying our contract {#deploying-our-contract}
5858

0 commit comments

Comments
 (0)