Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

New answers tagged

0 votes
Accepted

ERC721 NFT is empty in Avalanche Fuji Testnet

You need to append the _baseURI with /: https://bafybeibodhnumbvvzjtplwzxomddz53jmgejb4eezv7ii6kw5py6c2rnya.ipfs.dweb.link/ Because the tokenId is getting appended to the _baseURI in order to form ...
SYED ASAD KAZMI's user avatar
0 votes

Slither Tool Error On Contract That Inherit From Openzeppeling

Slither utilizes crytic-compile to compile your contracts. When you provide the contract path, crytic-compile attempts compilation using your installed solc version. However, if solc fails to resolve ...
Steiner254's user avatar
0 votes
Accepted

Ownable: Inheritance vs. Modifier for Gas Efficiency

In terms of gas efficiency, using the onlyOwner modifier is generally more efficient than inheriting the entire Ownable library, because modifiers add minimal overhead compared to library inheritance, ...
SYED ASAD KAZMI's user avatar
0 votes

Getting 'too many arguments' error when calling a contract function through a forwarder contract using Openzeppelin's defender in Ethereum

You're passing too many arguments to your smart contract function through the Defender relayer. The error indicates the function expects only one argument. Solutions: Check Contract: Verify the add ...
Awais Ahmad's user avatar
1 vote
Accepted

how to verify minting was successful before proceeding in solidity OZ?

_exists function doesn't exist anymore, it has been removed lately by OZ, the alternative to that would be: require(_ownerOf(tokenId) != address(0), "Minting failed"); You have defined the ...
Zartaj Afser's user avatar
  • 4,096

Top 50 recent answers are included