How to return contract that is created by new operator in factory contract? #1180
Unanswered
JimAtActiv
asked this question in
Q&A
Replies: 1 comment
-
Hello Jim.
digital_asset = factory.createDigitalAssetNFT(0, account.address, tokenURI, {"from": account})
print(digital_asset.address) does this returns the correct address on which the contract is created?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello-
I am attempting to create a factory contract that creates and returns new contract using the solidity 'new' operator. However, when I execute the method, I getting back a transactionReceipt and not the created contract. See the code segment from the factory below:
I am calling this method from my python script below, note the comments in the python script.:
Any help would be GREATLY appreciated!
Jim
Beta Was this translation helpful? Give feedback.
All reactions