New answers tagged openzeppelin-contracts
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 explain.my gool is to convert that amount to EUR but ...
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 ...
3
votes
Accepted
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'...
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", "...
-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 "@...
Top 50 recent answers are included
Related Tags
openzeppelin-contracts × 304solidity × 163
openzeppelin × 121
erc-20 × 51
erc-721 × 48
contract-development × 26
remix × 23
truffle × 20
nft × 19
tokens × 18
hardhat × 17
proxy-contracts × 16
contract-upgrading × 15
crowdsale × 11
go-ethereum × 10
web3js × 9
blockchain × 9
ico × 9
solidity-0.8.x × 8
upgrading × 8
contract-design × 7
ethers.js × 7
erc-1155 × 7
contract-deployment × 6
brownie × 6