Hi, I'm trying to understand your work....
I'm making a marketplace with auction, I already have it developed, but now I want to divide the project into smaller contracts because the compile is warning me of exceeding the size for mainnet.
I see that you have modularized your project. At first I thought to do it with inheritance, a main contract and two child contracts, marketplace and auction. I understood how to do it, but when it came to do the migrations, I couldn't find information on how to do it, so I couldn't test if the size warning was going away with this technique.
Now looking at your approach, where you make separate contracts and pass the address of the contract you need in the migration. Why did you use this approach instead of using the inheritance technique or for example using libraries?
And if you give me your opinion, how I could solve my problem.
Thanks
Regards
Hi, I'm trying to understand your work....
I'm making a marketplace with auction, I already have it developed, but now I want to divide the project into smaller contracts because the compile is warning me of exceeding the size for mainnet.
I see that you have modularized your project. At first I thought to do it with inheritance, a main contract and two child contracts, marketplace and auction. I understood how to do it, but when it came to do the migrations, I couldn't find information on how to do it, so I couldn't test if the size warning was going away with this technique.
Now looking at your approach, where you make separate contracts and pass the address of the contract you need in the migration. Why did you use this approach instead of using the inheritance technique or for example using libraries?
And if you give me your opinion, how I could solve my problem.
Thanks
Regards