Hoping someone can answer a couple questions regarding deploying multiple contracts with truffle. 1.)I can create one contract in the the deploy, something like 2_deploy_contracts.js and all the contracts i am deploying can be deployed using this one file or did i need multiple deploy files?
2.)Do i also need to deploy the interface contracts and other contracts I've Imported into my contracts, like openzeppelin contracts i am using? I am guessing any interfaces/imported contracts will automatically get deployed when i deploy my main contracts right? So i don't need to actually deploy them in the deploy file?
3.)Many of the contracts i have written have constructors, so in the 2_deploy_contracts.js file i need to include everything i am passing into the constructor for each of the contracts right?
Does anyone have an examples, a github link, or anything else that shows an example of a deploy file that is written to deploy multiple contracts with Truffle? I am particularly interested in seeing how this is written when you are deploying contracts that have constructors you need to pass variables to.