New answers tagged proxy-contracts
1
vote
How to Implement a Proxy Contract to Fix an Existing Investment Smart Contract with Active Investments on BSC?
Im afraid that if your contract was not originally deployed using a proxy pattern, then it is not possible to make that kind of upgrade now.
Proxy patterns separate storage from logic. Hence your ...
0
votes
Can we override the private variable in base contract?
You can use Openzeppelin's upgradeable set of contracts for this.
https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
The trick here is, each upgradeable contract that you inherit dont ...
0
votes
Can we override the private variable in base contract?
I think you should be able to use https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/master/contracts/token/ERC20/ERC20Upgradeable.sol together with the minimal proxy
Top 50 recent answers are included
Related Tags
proxy-contracts × 187solidity × 81
openzeppelin × 33
delegatecall × 24
upgrading × 23
contract-upgrading × 17
openzeppelin-contracts × 15
contract-development × 14
web3js × 10
ethers.js × 9
hardhat × 9
clone × 9
contract-design × 8
etherscan × 8
remix × 7
factory × 7
hardhat-deploy × 7
truffle × 6
constructor × 6
gnosis-safe × 6
tokens × 5
contract-deployment × 5
security × 5
web3.py × 5
storage × 5