New answers tagged

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 ...
IpastorSan's user avatar
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 ...
IpastorSan's user avatar
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
Vas Treck's user avatar
  • 361

Top 50 recent answers are included