Skip to content

Commit 20a89c4

Browse files
authored
Merge pull request #5208 from pycub/patch-1
Fix some grammatical mistakes
2 parents 07d4459 + 6edb314 commit 20a89c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/content/tutorial/writing-and-compiling-contracts.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# 4. Writing and compiling smart contracts
22

3-
We're going to create a simple smart contract that implements a token that can be transferred. Token contracts are most frequently used to exchange or store value. We won't go in depth into the Solidity code of the contract on this tutorial, but there's some logic we implemented that you should know:
3+
We're going to create a simple smart contract that implements a token that can be transferred. Token contracts are most frequently used to exchange or store value. We won't go in depth into the Solidity code of the contract in this tutorial, but there's some logic we implemented that you should know:
44

55
- There is a fixed total supply of tokens that can't be changed.
66
- The entire supply is assigned to the address that deploys the contract.
77
- Anyone can receive tokens.
88
- Anyone with at least one token can transfer tokens.
9-
- The token is non-divisible. You can transfer 1, 2, 3 or 37 tokens but not 2.5.
9+
- The token is non-divisible. You can transfer 1, 2, 3, or 37 tokens but not 2.5.
1010

1111
:::tip
1212

@@ -71,7 +71,7 @@ contract Token {
7171
*/
7272
function transfer(address to, uint256 amount) external {
7373
// Check if the transaction sender has enough tokens.
74-
// If `require`'s first argument evaluates to `false` then the
74+
// If `require`'s first argument evaluates to `false`, the
7575
// transaction will revert.
7676
require(balances[msg.sender] >= amount, "Not enough tokens");
7777

0 commit comments

Comments
 (0)