Summary
This proposal grants the ADMIRALS_QUARTERS_ROLE to newly deployed AdmiralsQuarters contracts across all active chains in the Lazy Summer Protocol ecosystem and revokes the role from previous contracts.
Motivation
The AdmiralsQuarters contract requires the ADMIRALS_QUARTERS_ROLE in the ProtocolAccessManager to operate properly. This role is necessary for the contract to unstake and withdraw assets from fleets on behalf of users.
Newly deployed AdmiralsQuarters contracts:
- base: 0x6A6295C8047Abf5aE8f8224a168F661e4F3Ac838
- arbitrum: 0x8cF2D41dd29aDE7E4f7555887E06A5dbE1f988EF
- mainnet: 0x4758276018B944DFe320E98Da5C3f4c03c3a6BDB
Previous AdmiralsQuarters contracts to revoke role from:
- base: 0x275CA55c32258CE10870CA4e44c071aa14A2C836
- arbitrum: 0x275CA55c32258CE10870CA4e44c071aa14A2C836
- mainnet: 0x275CA55c32258CE10870CA4e44c071aa14A2C836
Specifications
Actions
- On base:
- Grant ADMIRALS_QUARTERS_ROLE to AdmiralsQuarters at 0x6A6295C8047Abf5aE8f8224a168F661e4F3Ac838
- Revoke ADMIRALS_QUARTERS_ROLE from previous AdmiralsQuarters at 0x275CA55c32258CE10870CA4e44c071aa14A2C836
- Send cross-chain proposal to arbitrum to:
- Grant ADMIRALS_QUARTERS_ROLE to AdmiralsQuarters at 0x8cF2D41dd29aDE7E4f7555887E06A5dbE1f988EF
- Revoke ADMIRALS_QUARTERS_ROLE from previous AdmiralsQuarters at 0x275CA55c32258CE10870CA4e44c071aa14A2C836
- Send cross-chain proposal to mainnet to:
- Grant ADMIRALS_QUARTERS_ROLE to AdmiralsQuarters at 0x4758276018B944DFe320E98Da5C3f4c03c3a6BDB
- Revoke ADMIRALS_QUARTERS_ROLE from previous AdmiralsQuarters at 0x275CA55c32258CE10870CA4e44c071aa14A2C836
Technical Details
The ADMIRALS_QUARTERS_ROLE is defined in the ProtocolAccessManager contract and is specifically designed for the AdmiralsQuarters contract. This role enables the contract to perform unstaking and withdrawal operations from fleets on behalf of users.
When a user interacts with the AdmiralsQuarters interface to withdraw assets from fleets, the contract uses this role to execute the necessary transactions, ensuring a streamlined user experience while maintaining proper access controls.