Allows projects to migrate their controller & terminal to 3.1 version
The project owner needs to give the migration permission to this contract for carrying out the migrations for both controller & terminal.
The current funding cycle needs to be a reconfigured one before migration, so metadata flags allowControllerMigration, allowTerminalMigration & global.allowSetTerminals need to be set true.
directory instance which keeps a track of which controller is linked to which project.
IJBDirectory public immutable directory;
The NFT granting ownership to a Juicebox project
IJBProjects public immutable projects;
|A contract storing directories of terminals and controllers for each project.
Allows project owners to migrate the controller & terminal linked to their project to the latest version
|The project id whose controller & terminal are to be migrated
|Controller 3.1 address to migrate to.
|Terminal 3.1 address to migrate to.
|Old terminal address to migrate from.