From 3527862e2ffa0818a01221d5444c5e0632b27ce3 Mon Sep 17 00:00:00 2001 From: nakimura Date: Sat, 7 Oct 2023 18:36:21 +0900 Subject: [PATCH] add init param for Ownable --- ...\203\237\343\203\263\343\203\210\346\251\237\350\203\275.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/docs/Polygon-Whitelist-NFT/ja/section-2/lesson-2_\343\203\237\343\203\263\343\203\210\346\251\237\350\203\275.md" "b/docs/Polygon-Whitelist-NFT/ja/section-2/lesson-2_\343\203\237\343\203\263\343\203\210\346\251\237\350\203\275.md" index 248a9d228..b41c4a0c6 100644 --- "a/docs/Polygon-Whitelist-NFT/ja/section-2/lesson-2_\343\203\237\343\203\263\343\203\210\346\251\237\350\203\275.md" +++ "b/docs/Polygon-Whitelist-NFT/ja/section-2/lesson-2_\343\203\237\343\203\263\343\203\210\346\251\237\350\203\275.md" @@ -103,7 +103,7 @@ contract Shield is ERC721Enumerable, Ownable { * Constructor for Shields takes in the baseURI to set _baseTokenURI for the collection. * It also initializes an instance of whitelist interface. */ - constructor (string memory baseURI, address whitelistContract) ERC721("ChainIDE Shields", "CS") { + constructor (string memory baseURI, address whitelistContract) ERC721("ChainIDE Shields", "CS") Ownable(msg.sender) { _baseTokenURI = baseURI; _whitelist = IWhitelist(whitelistContract); }