juice-interface icon indicating copy to clipboard operation
juice-interface copied to clipboard

[Parent] V1/V2 migration flow

Open aeolianeth opened this issue 3 years ago • 0 comments

Support v1 token mgiration for V2 projects.

  • [x] https://github.com/jbx-protocol/juice-interface/issues/1333
  • [x] https://github.com/jbx-protocol/juice-interface/issues/1335
  • [ ] https://github.com/jbx-protocol/juice-interface/issues/1334

https://discord.com/channels/775859454780244028/978435567090012190

specs: https://discord.com/channels/775859454780244028/786985806396784690/985768132872380446


Two txs:

  1. add the terminal to the project in the JBDirectory.

https://info.juicebox.money/api/contracts/jbdirectory/write/setterminalsof

  1. initialize by sending the v1 projectId to associate with the v2 project.

https://github.com/jbx-protocol/v1-v2-migration-terminal/blob/5193f4dec08d46fe122b5c805dcb9e71abbabb35/contracts/JBV1V2MigrationTerminal.sol#L147

aeolianeth avatar May 24 '22 00:05 aeolianeth