Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
0 answers
22 views

I am going to deploy a small Polygon contract basically it consist standard ERC20 methods. My contract is inherited from ERC20 which is imported like import "@openzeppelin/contracts/token/ERC20/...
Alex Smith's user avatar
0 votes
1 answer
71 views

I'm writing an ERC20-based contract in Solidity 0.8.21. When I call transferFrom, the transaction reverts even though the allowance and balance are sufficient. Here’s a simplified example: function ...
Fauzan Hidayatulloh's user avatar
0 votes
2 answers
685 views

Question Body: I'm developing an ERC721 contract using OpenZeppelin libraries, and I'm encountering an error when calling _exists() in my Solidity contract. The error message is: DeclarationError: ...
Chris's user avatar
  • 1
0 votes
0 answers
74 views

I tried to deploy the smart contract code in Remix Ethereum IDE but I am stuck with some errors. I tried to update the version of Solidity and do I added construct function in the contract. Although ...
Assassin Dev's user avatar
0 votes
1 answer
72 views

I am getting below error while running the smart contract: DeclarationError: Undeclared identifier. --> @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol:35:9: | 35 | ...
Anurag singh's user avatar
0 votes
1 answer
223 views

The bellow shows sample code for the Smart Contract Code SPDX-License-Identifier: MIT pragma solidity >=0.8.9; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol&...
Kasun Abaywardana's user avatar
0 votes
1 answer
295 views

I'm encountering a compilation error in my Solidity code related to the UserOperation type. I'm using the BaseAccount contract from the account-abstraction library and trying to implement the ...
Paschal's user avatar
  • 153
1 vote
0 answers
31 views

I'm currently working on developing a smart contract that allows users to approve a certain amount of ERC20 tokens, and the contract owner can fetch these approved tokens from each user individually. ...
godisgay's user avatar
0 votes
1 answer
481 views

Hi. I am new to blockchain development. I am currently using Solidity + Truffle + Ganache on VS Code. I am also using the Openzeppelin Library. So I created this very simple contract that basically is ...
Minmin's user avatar
  • 1
1 vote
1 answer
561 views

Error was shown while downloading the package, I tried updating all the packages using npm update to their latest verions. It didn't helped. I also tried force installation that also didn't work. Do ...
Shubhankar Banerjee's user avatar
1 vote
0 answers
61 views

I have a ERC20 token deployed using the ERC196 Proxy using open-zeppelin contracts (Initializable, UUPSUpgradeable, OwnableUpgradeable, etc). The problem is, the last implementation upgrade occurred ...
John L. 's user avatar
0 votes
1 answer
840 views

I am trying to override _update method from ERC1155 openzeppelin standard in my contract to write som additional logic but compiler somehow complains about "Function has override specified but ...
LubWn's user avatar
  • 160
-1 votes
2 answers
108 views

We've decided to use the UUPS proxy module offered by OpenZeppelin for our contracts to enable future updates. However, our contract implementation requires users to deposit crypto for some ...
Joshua Blew's user avatar
0 votes
0 answers
42 views

I wrote a simple contract using OpenZeppelin for ownership but I got the error message when trying to compile that ownable.sol won't compile because of the "expected pragma, import directive or ...
midas's user avatar
  • 1
0 votes
0 answers
97 views

I'm currently working on a Solidity smart contract that makes use of the ERC721Enumerable extension from OpenZeppelin. However, when I attempt to compile using Truffle, I encounter a ParserError. Here'...
Stef20's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
16