I need your help about : UpgradeableProxy.constructor (address _logic, address admin_, bytes _data)

I do not know what address_logic and bytes_data are.
Could you show me what I have to write on them before I deploy my smart contract?
Thank you so much
logic

This is not a recommended way to deploy a proxy. We strongly recommend becoming familiar with either Hardhat or Truffle, and then using OpenZeppelin Upgrades plugin for either.

1 Like

A quick answer is _logic is the implementation contract address which you can get by deploying a separate logic contract for this proxy. bytes part is for initializing the logic contract.

1 Like

hi,
what I have to deploy first to get _logic and _bytes?
The Address is the library.
Proxy is abstract.
The remaining are contracts with _logic and _bytes which I have to write on them before deploying.
Thank you. And I'll try to use Plugins
Screen Shot 0033-08-05 at 09.45.45

Use the plugins and you won't need to be concerned with _logic and _data.

1 Like

hi, I've deployed the ERC1155 Token with openzeppelin upgrades. How can I deploy other tokens with my ERC1155 Token? I mean can I deploy more tokens like a decentralized exchange like Pancakeswap? Thank you.

Please see our ERC1155 guide:

1 Like

I've follow your construction , it done. Now I want to import some ERC20 Tokens into my ERC1155 Token. How can I do it? Thank you.

This question doesn't make a lot of sense. Please create a new post and include more detail.

1 Like