Author: filipv
Date: 2023-04-15
Thesis
Migrate all of the JuiceboxDAO multisig's v1 JBX to v3 JBX.
Why
To consolidate the DAO's JBX for simpler operations.
Specification
- Call v1
OperatorStore.setOperator(...)with an_operatorofJBV3Token, a_domainof1, and a_permissionIndexesof[12](Transfer). - Call v2
JBOperatorStore.setOperatorwith anoperatorofJBV3Token, adomainof1, and apermissionIndexesof12(Transfer). - Call
Tickets.approve(...)on v1 JBX with aspenderofJBV3Tokenand the maximum amount (the maximumUINT256,2**256 - 1). - Call
JBV3Token.migrate().
Rationale
- Allows the
JBV3Tokencontract to migrate the DAO's v1 JBX. - Allows the
JBV3Tokencontract to migrate the DAO's v2 JBX. - Allows the
JBV3Tokencontract to migrate the DAO's v1TicketsERC-20 JBX. - Migrates the tokens approved in steps 1-3.
Risks
Although the v3 migration contracts were tested and audited, there are always risks of bugs and vulnerabilities when interacting with smart contracts.
Timeline
To be executed within 90 days of this proposal's Snapshot ratification.