New answers tagged

0 votes

Call smart contract function from another smart contract

I received that amount from an unknown source. what also troubles me is that my wallet displaces a much larger amount than i received which i cant gool is to convert that amount to EUR but ...
niko's user avatar
  • 1
0 votes

Use cases of UUPS proxies over Transparent?

Pros and Cons of both solutions UUPS deployment is cheaper. Upgradeability mechanism logic (code) is written in the implementation/logic contract, so less code on the Proxy side. Valuable when ...
Rosen Santev's user avatar
3 votes

OZ transparent upgradeable proxy admin reverts when trying upgrade an implementation

OpenZeppelin v5 TransparentUpgradeableProxy creates(deploys) its own ProxyAdmin contract. Now, in the proxy constructor you should provide not the ProxyAdmin contract address, but let's say the Admin'...
tenbits's user avatar
  • 1,979
0 votes

Problem with "Openzeppelin ERC20Votes delegate function"

The contract won't increase the checkpoint if you have 0 tokens. You can test it by minting some tokens to the deployer in the constructor: constructor() ERC20("GovernanceToken", "...
0xSanson's user avatar
  • 2,764
-1 votes

Problem with using OpenZeppeling contracts with Hard Hat - not found: File import callback not supported

There is a little bit difference between importing the code in solidity and hardhat code Solidity code import "@openzeppelin/contracts/ownership/Ownable.sol"; hardhat code import "@...
Rohit Goyal's user avatar

Top 50 recent answers are included