Ran into following bugs when I tried to compile the Carbon NFT Project:
Issue One:
TypeError: Member "_beforeTokenTransfer" not found or not visible after argument-dependent lookup in type(contract super CarbonProject).
--> CarbonProjectNFT.sol:63:9:
|
63 | super._beforeTokenTransfer(from, to, tokenId, batchSize);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Issue 2:
TypeError: Wrong argument count for function call: 0 arguments given but expected 1.
--> CarbonProjectNFT.sol:32:9:
|
32 | __Ownable_init();
| ^^^^^^^^^^^^^^^^
Issue Three:
TypeError: Function has override specified but does not override anything.
--> CarbonProjectNFT.sol:61:9:
|
61 | override
| ^^^^^^^^
Ran into following bugs when I tried to compile the Carbon NFT Project:
Issue One:
TypeError: Member "_beforeTokenTransfer" not found or not visible after argument-dependent lookup in type(contract super CarbonProject). --> CarbonProjectNFT.sol:63:9: | 63 | super._beforeTokenTransfer(from, to, tokenId, batchSize); | ^^^^^^^^^^^^^^^^^^^^^^^^^^
Issue 2: TypeError: Wrong argument count for function call: 0 arguments given but expected 1. --> CarbonProjectNFT.sol:32:9: | 32 | __Ownable_init(); | ^^^^^^^^^^^^^^^^
Issue Three: TypeError: Function has override specified but does not override anything. --> CarbonProjectNFT.sol:61:9: | 61 | override | ^^^^^^^^