Skip to content

Commit 84d35ea

Browse files
committed
feat: minor textual changes
1 parent c0c2ed5 commit 84d35ea

File tree

1 file changed

+4
-4
lines changed
  • src/pages/lessons/projects

1 file changed

+4
-4
lines changed

src/pages/lessons/projects/6.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ You can check the details in the full EIP-20 titled
134134
## Let's code, but first...
135135

136136
Before we start hacking away without any structure to follow, what is our actual
137-
project's structure, and what do we want to achieve? Since we are _BUIDLING_, I'd like to think of our project, or smart contract,
138-
the same way as we would _roughly_ build a house:
137+
project's structure, and what do we want to achieve? Since we are _BUIDLING_, I'd like to think of our project, or smart contract, roughly the same way as we would build a house:
139138

140139
* 1 - Foundations
141140
* 2 - Structure: Framing, Walls and Roof
@@ -196,7 +195,7 @@ If everything goes well, you will have four tools to run in the console:
196195
`forge`, `cast`, `anvil` & `chisel`. Basic overview of each tool:
197196

198197
- `forge` tests, builds and deploys your smart contracts
199-
- `cast` an make smart contract calls, send transactions, or retrieve any type
198+
- `cast` can make smart contract calls, send transactions, or retrieve any type
200199
of chain data
201200
- `anvil` is a local testnet node shipped with Foundry. You can use it for
202201
testing your contracts from frontends or for interacting over RPC
@@ -407,7 +406,7 @@ the house.
407406

408407
We can think of entering the house as `minting` new tokens or increasing the
409408
total supply, and leaving the house as `burning` tokens or decreasing the total
410-
supply. But this doors doesn't exist in our contract just yet.
409+
supply. But these doors don't exist in our contract just yet.
411410

412411
<Callout emoji='💡' size='md' variant='info'>
413412

@@ -513,6 +512,7 @@ Let's break down our changes in the code:
513512
- Inside our `constructor`:
514513
- Granted the `DEFAULT_ADMIN_ROLE` to contract deployer to be able to grant
515514
roles to others
515+
{/*is a part of Access control by default - i.e. it is inherited starting admim role for all roles */}
516516
- Granted the `MINTER_ROLE` to contract deployer to be able to mint tokens
517517
- Added the modifier `onlyRole(MINTER_ROLE)` to the `mint` function to restrict
518518
its access

0 commit comments

Comments
 (0)