WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 5d51483

Browse files
authored
Merge pull request #754 from 42techlabs/main
增加解释如何在 Remix 部署新生成 Pair合约的图片和拼写问题
2 parents 5d3cccf + 73b5881 commit 5d51483

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

24_Create/img/24-4.png

211 KB
Loading

24_Create/readme.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,16 @@ BSC链上的PEOPLE地址: 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
112112
1. 使用`WBNB``PEOPLE`的地址作为参数调用`createPair`,得到`Pair`合约地址:0xD3e2008b4Da2cD6DEAF73471590fF30C86778A48
113113

114114
![24-1](./img/24-1.png)
115-
2. 查看`Pair`合约变量
115+
116+
2. 将 Contract 改为 `Pair`,然后在 At Address 输入框输入 `Pair` 合约地址,创建一个前端接口用于调用已部署的合约。
117+
118+
![24-4](./img/24-4.png)
119+
120+
3. 查看`Pair`合约变量
116121

117122
![24-2](./img/24-2.png)
118-
3. Debug查看`create`操作码
123+
124+
4. Debug查看`create`操作码
119125

120126
![24-3](./img/24-3.png)
121127

Languages/en/35_DutchAuction_en/DutchAuction.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ contract DutchAuction is Ownable, ERC721 {
2020

2121
// Set auction start time: We declare the current block time as the start time in the constructor.
2222
// The project owner can also adjust the start time through the `setAuctionStartTime(uint32)` function.
23-
constructor() ERC721("WTF Dutch Auctoin", "WTF Dutch Auctoin") {
23+
constructor() Ownable(msg.sender) ERC721("WTF Dutch Auction", "WTF Dutch Auction") {
2424
auctionStartTime = block.timestamp;
2525
}
2626

0 commit comments

Comments
 (0)