Skip to content

Commit f01b4d3

Browse files
authored
Merge pull request #9920 from SebastianSupreme/patch-1
Change Ethereum to ether in tutorial
2 parents 39e9416 + 6a3dda7 commit f01b4d3

File tree

1 file changed

+2
-2
lines changed
  • src/content/developers/tutorials/transfers-and-approval-of-erc-20-tokens-from-a-solidity-smart-contract

1 file changed

+2
-2
lines changed

src/content/developers/tutorials/transfers-and-approval-of-erc-20-tokens-from-a-solidity-smart-contract/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ address: "0x19dE91Af973F404EDF5B4c093983a7c6E3EC8ccE"
1313

1414
In the previous tutorial we studied [the anatomy of an ERC-20 token in Solidity](/developers/tutorials/understand-the-erc-20-token-smart-contract/) on the Ethereum blockchain. In this article we’ll see how we can use a smart contract to interact with a token using the Solidity language.
1515

16-
For this smart contract, we’ll create a really dummy decentralized exchange where a user can trade Ethereum for our newly deployed [ERC-20 token](/developers/docs/standards/tokens/erc-20/).
16+
For this smart contract, we’ll create a really dummy decentralized exchange where a user can trade ether for our newly deployed [ERC-20 token](/developers/docs/standards/tokens/erc-20/).
1717

1818
For this tutorial we’ll use the code we wrote in the previous tutorial as a base. Our DEX will instantiate an instance of the contract in its constructor and perform the operations of:
1919

@@ -192,7 +192,7 @@ function sell(uint256 amount) public {
192192
}
193193
```
194194

195-
If everything works you should see 2 events (a `Transfer` and `Sold`) in the transaction and your token balance and Ethereum balance updated.
195+
If everything works you should see 2 events (a `Transfer` and `Sold`) in the transaction and your token balance and ether balance updated.
196196

197197
![Two events in the transaction: Transfer and Sold](./transfer-and-sold-events.png)
198198

0 commit comments

Comments
 (0)