Just like other contracts
Hi, Thank you for your message. I got this error message when I tried to verify the implement contract —————————— Verifying TransparentUpgradeableProxy Verifying proxy implementation at 0x4aa591bd7fc14530b5167cd1fba1634540690f59 Invalid constructor arguments provided. Please verify that they are in ABI-encoded format Failed to verify 1 contract(s): TransparentUpgradeableProxy
Try passing constructor args explicitly
await deployer.deploy(TransparentUpgradeableProxy, tokenEth.address, proxyAdmin.address, [])
Oh this is not how to deploy proxy...
Truffle have an easy way to deploy proxies
Could you please the link so that I can easy deploy proxy?
https://docs.openzeppelin.com/upgrades-plugins/1.x/truffle-upgrades
Обсуждают сегодня