Hi,
I’m new to Upgrades plugin.
I’ve successfully deployed a test ERC20 contract to testnet. I’m planning to deploy in production, but I have some questions.
Is there any large/popular token those are using upgrades plugin? I’m worry about security/stability.
Gas fee: any increase?
Etherscan source code submit: my deployed contract on testnet is automatically verified and I can’t re-submit the code. I don’t know can I re-submit on Etherscan mainnet?
Emmm, I think the stablecoin USDC, aToken of the AAVE, cToken of the Compound, they all use the proxy pattern. However, there are some differences between them.
Emmmm, I am not sure, but I think yes, cause you need to call an extra opcode delegatecall, what do you think of it? @abcoathup If I am wrong, please correct me.
I think you can connect to the devs of the Etherscan to confirm that, I never do it before.
You can add new feature by upgrading the contract, but do not change the order of the storage variables.
I feel not confident enough because this is the first contract I use this proxy thing. And looking back there was a ton of hack around me makes me afraid.
Is there any audit service that I could use or hire?
Your token looks fairly similar to the ERC20 preset. The main difference is that you have added a deny list. As an aside I would look to call it a deny list or a block list.
I would suggest appropriate testing, both unit tests of the implementation contract and higher level testing via the proxy. Especially your deny list, to ensure that the behavior is as intended e.g. preventing minting, transfers and pausing to/from an address on the deny list.
I also recommend looking at using a multi-sig to control upgrades, minting and the deny list. Ideally you would have multi-sigs for each purpose. (Resources: Multi-signature wallet resources)
I submitted an audit request but they replied in the email said fully booked, and told me to wait till the end of Q2.
Is there another service can I use? Including the service charges fee for audit.