Skip to content

Commit ce47a2d

Browse files
committed
Fix markdown errors
1 parent cde9763 commit ce47a2d

File tree

3 files changed

+3
-4
lines changed
  • public/content/translations/zh/developers/tutorials

3 files changed

+3
-4
lines changed

public/content/translations/zh/developers/tutorials/erc20-with-safety-rails/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ OpenZeppelin 提供两种机制来实现管理访问:
141141

142142
冻结和解冻合约需要几处更改:
143143

144-
- [](https://www.tutorialspoint.com/solidity/solidity_mappings.htm)从地址到[布尔值](https://en.wikipedia.org/wiki/Boolean_data_type)的映射来追踪哪些地址被冻结。 所有值的初始值都是 0,对于布尔值来说,它被解释为“false”。 这正是我们想要的,因为默认情况下帐户不会被冻结。
144+
- 从地址到[布尔值](https://en.wikipedia.org/wiki/Boolean_data_type)[映射](https://www.tutorialspoint.com/solidity/solidity_mappings.htm)来追踪哪些地址被冻结。 所有值的初始值都是 0,对于布尔值来说,它被解释为“false”。 这正是我们想要的,因为默认情况下帐户不会被冻结。
145145

146146
```solidity
147147
mapping(address => bool) public frozenAccounts;

public/content/translations/zh/developers/tutorials/how-to-implement-an-erc721-market/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ mapping(uint256 => Trade) public trades;
6969

7070
对于物品,我们只是要求它们实现[ERC-721](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/IERC721.sol?ref=hackernoon.com)的接口。这实际上只是一种在区块链中表示现实世界物品的方式,
7171

72-
尽管它最适合数字资产。 我们将在构造函数中定制化我们自己的ERC721合约,这意味着我们分类信息板中的任何资产都需要事先被代币化。</p>
72+
尽管它最适合数字资产。 我们将在构造函数中定制化我们自己的ERC721合约,这意味着我们分类信息板中的任何资产都需要事先被代币化
7373

7474
对于付款,我们将做类似的事情。 大多数区块链项目定义了自己的[ERC-20](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol?ref=hackernoon.com)加密货币。 其他一些人更喜欢使用像DAI这样的主流技术。 在这个分类信息板的应用中,你只需要在构造函数里决定你构建的货币是什么。 很容易。
7575

public/content/translations/zh/developers/tutorials/testing-erc-20-tokens-with-waffle/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ tags:
1010
- "erc-20"
1111
skill: intermediate
1212
lang: zh
13-
sidebar: true
1413
published: 2020-10-16
1514
---
1615

@@ -1136,4 +1135,4 @@ it("Send transaction changes sender and receiver balances", async () => {
11361135

11371136
**你可以在[这里](https://github.com/VladStarostenko/tutorial-for-ethereum-org-website)找到本教程的代码。**
11381137

1139-
**更多关于 `Waffle` 的文档可在</a>这里获取 。</strong></p>
1138+
**更多关于 `Waffle` 的文档可在这里获取 。

0 commit comments

Comments
 (0)