SubDAOManager
ISubDAOManager
, LazyInitCapableElement
lazyInitCapableElement
contracts, and thus each has a host parameter.The Organization to which the subDAOManager is linked, by interacting with the subDAO Manager itself, can link and un-link subDAOs according to the Root governance logic.SubDAOEntry
struct, composed of the following parameters:key
-> this is a fixed, immutable and user-defined key (which is in bytes32 format) that serves as a reference for the subDAO in the subDAO Manager.location
-> this is the smart contract address of the subDAO; a subDAO must be a smart contract, not just a simple wallet address, and so the location
must be a contract address.address
newHost
-> this parameter is used only when replacing a subDAO. It represents the new host
address of the replaced subDAO.subDAOEntry
struct is provided by the ISubDAOsManager
interface contract.The subDAO Manager allows a Root Layer to:SubDAOEntry[]
subDaos
-> you can link multiple subDAOs passing multiple subDAOEntry structs.