I'm trying to create a factory contract to create a kind of contract
In the newly instantiated contract, I use ownable and in the constructor, I pass in an address variable to be owner, which I pass down from the factory

Dec 9, 2022, 3:05 AM
Issue is, owner of the instantiated contract always defaults to the factory contract address instead of the parameter address I passed to the constructor
Any idea on how I can be helped pls
Dec 9, 2022, 3:06 AM
idk but ownable automatically makes the deployer the owner. can be related with that.
Dec 9, 2022, 3:22 AM

© 2024 Draquery.com All rights reserved.