Skip to main content
12 events
when toggle format what by license comment
Mar 19, 2019 at 7:37 vote accept Aleksandr
S Mar 18, 2019 at 20:54 history suggested Mikhail Vladimirov CC BY-SA 4.0
Typo fixed
Mar 18, 2019 at 18:42 review Suggested edits
S Mar 18, 2019 at 20:54
Mar 18, 2019 at 18:39 answer added Mikhail Vladimirov timeline score: 1
Mar 18, 2019 at 17:10 answer added Matt Swezey timeline score: 2
Mar 18, 2019 at 6:47 comment added Aleksandr @RobHitchens the end goal is to create an erc20 token, deploy it (this is important remark) and then create other contracts with own logic but that will use this erc20 token that has been already deployed. So when I'm deploying it, I don't know yet the number of secondary contracts, its' names and I don't have its' source codes yet. Hope I explained more clearly :)
Mar 18, 2019 at 6:42 comment added Aleksandr @MSwezey how to implement contract(secondary) inside another contract(primary) before deploying I've already known. But you have to know the name of secondary contract so you have to create (I mean wrire the source code) of secondary contract. The question is about situation when you don't have the source code of secondary contract yet but you need to deploy the primary one.
Mar 16, 2019 at 17:34 comment added Rob Hitchens The answer is almost certainly yes but I hesitate to scribble out a solution without understanding the question. Can you explain the end goal? Are you trying to create contracts with two participants? Are the contracts always the same, or different? What is the rationale for many small contracts? It sort of resembles a proxy pattern for upgradeable contracts. It sort of resembles an escrow arrangement. Maybe something else.
Mar 15, 2019 at 19:51 comment added Matt Swezey sounds like you are asking about abstract and interface smart contracts? That would allow you to implement a contract inside another, without deploying it first. Then deploying said contract later followed by linking it up via its address.
Mar 15, 2019 at 16:25 review Close votes
Mar 19, 2019 at 23:00
Mar 15, 2019 at 8:43 history edited Aleksandr CC BY-SA 4.0
added 22 characters in body
Mar 15, 2019 at 8:36 history asked Aleksandr CC BY-SA 4.0