You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use the ERC4907AUpgradeable contract with the ERC721A contract and I'm getting a
TypeError: Overriding function is missing "override" specifier.
--> erc721a-upgradeable/contracts/extensions/ERC4907AUpgradeable.sol:61:5:
|
61 | function userOf(uint256 tokenId) public view virtual returns (address) {
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Overridden function is here:
--> erc721a-upgradeable/contracts/extensions/IERC4907AUpgradeable.sol:42:5:
|
42 | function userOf(uint256 tokenId) external view returns (address);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Overriding function is missing "override" specifier.
--> erc721a-upgradeable/contracts/extensions/ERC4907AUpgradeable.sol:79:5:
|
79 | function userExpires(uint256 tokenId) public view virtual returns (uint256) {
| ^ (Relevant source part starts here and spans across multiple lines).
Note: Overridden function is here:
--> erc721a-upgradeable/contracts/extensions/IERC4907AUpgradeable.sol:47:5:
|
47 | function userExpires(uint256 tokenId) external view returns (uint256);
Also, likely unrelated, but I'm required to override the supportsInterface function, but am getting a
TypeError: Invalid contract specified in override list: "IERC721AUpgradeable".
--> contracts/myContract.sol:72:9:
|
72 | override(
| ^ (Relevant source part starts here and spans across multiple lines).
Note: This contract:
--> erc721a-upgradeable/contracts/IERC721AUpgradeable.sol:10:1:
|
10 | interface IERC721AUpgradeable {
| ^ (Relevant source part starts here and spans across multiple lines).
On pragma solidity ^0.8.4;
Here's my inheritance list:
contract CurdRouletteTableNft is
ERC721AUpgradeable,
Initializable,
AccessControlUpgradeable,
ERC721ABurnableUpgradeable,
ERC721AQueryableUpgradeable,
ERC4907AUpgradeable,
UUPSUpgradeable
Happy to make necessary change and post a PR for review
The text was updated successfully, but these errors were encountered:
Trying to use the
ERC4907AUpgradeable
contract with theERC721A
contract and I'm getting aAlso, likely unrelated, but I'm required to
override
thesupportsInterface
function, but am getting aOn
pragma solidity ^0.8.4;
Here's my inheritance list:
Happy to make necessary change and post a PR for review
The text was updated successfully, but these errors were encountered: