weweswap / contracts

smart contracts
MIT License
1 stars 4 forks source link

ADD: migrate function #11

Closed jpthor closed 3 months ago

jpthor commented 3 months ago

If we want to upgrade logic:

1) Deploy new LM Factory 2) Re-deploy all the new LM contracts 3) Users in each LM Contract migrate(newLM) this moves their position from old to new 4) the re-balance bot moves as well, eventually stops rebalancing old LM 5) Old LM deprecated