FIP-82b: Configure roles so TribalCouncil can operate#678
FIP-82b: Configure roles so TribalCouncil can operate#678thomas-waite merged 59 commits intodevelopfrom
Conversation
0886ef4 to
0ca7810
Compare
ad54ad3 to
e12ac60
Compare
proposals/dao/fip_82b.ts
Outdated
| expect(await contracts.ethTokemakPCVDeposit.CONTRACT_ADMIN_ROLE()).to.be.equal(ethers.utils.id('PCV_ADMIN')); | ||
| expect(await contracts.uniswapPCVDeposit.CONTRACT_ADMIN_ROLE()).to.be.equal(ethers.utils.id('PCV_ADMIN')); | ||
|
|
||
| expect(await contracts.daiPSMFeiSkimmer.CONTRACT_ADMIN_ROLE()).to.be.equal(ethers.utils.id('PCV_ADMIN')); |
There was a problem hiding this comment.
Note, @Joeysantoro we're revisiting PCV_MINOR_PARAM_ROLE, possibly to more closely scope it's powers
e12ac60 to
2c0cc53
Compare
a9dead0 to
50cc766
Compare
Add PCV_SAFE_MOVER_ROLE
|
Made this jist clarifying the PR description accuracy https://gist.github.com/Joeysantoro/21d92cbea44bde4476814952424427fb/revisions |
|
Before we can submit I'd like to see these new role changes reflected in the governance and roles doc https://fei-protocol.github.io/docs/docs/protocol/Governance/detailedAccessControl#fuse_admin |
| values: '0', | ||
| method: 'createRole(bytes32,bytes32)', | ||
| arguments: [ | ||
| '0xf0b50f04623eeaacfa1f202e062a3001c925a35c6b75d6903e67b43f44bbf152', // PARAMETER_ADMIN |
There was a problem hiding this comment.
PARAMETER_ADMIN doesn't appear anywhere in the protocol or the permissions test, and I don't think we have plans to use it. I prefer removing it from TribeRoles and this script
There was a problem hiding this comment.
It's used in the NonCustodialPSM, but hasn't been created or granted out yet. We should leave as it's in an access modifier on NonCustodialPSM - have added to permissions.ts
There was a problem hiding this comment.
imo the roles should be consolidated/clarified. There is a PSM_ADMIN_ROLE and a MINOR_PARAMETER_ADMIN. At least one of those should replace this one or vice versa
There was a problem hiding this comment.
As discussed, leaving for now
…fei-protocol-core into feat-role-transfer
…rotocol/fei-protocol-core into feat-role-transfer" This reverts commit 30b5eb4, reversing changes made to 4c459ba.
…fei-protocol-core into feat-role-transfer
26780f1 to
ee41371
Compare
Updated PR description with this and made the two role changes in there |
Updated |
Summary
Configures roles and contract admins throughout the system so that the TribalCouncil can operate the protocol on an operational basis. Specifically:
ROLE_ADMIN.ROLE_ADMINis held by the TribalCouncil, which will allow it to grant and revoke all non-major rolesCONTRACT_ADMIN_ROLEChanged admin functionality
FuseGuardian
Prev: TRIBAL_CHIEF_ADMIN_ROLE
New admin role: FUSE_ADMIN
Granted new to:
optimisticTimelock,tribalChiefSyncV2, 'tribalCouncilTimelock`optimisticMinter
Prev: GOVERN_ROLE
New: FEI_MINT_ADMIN
Granted new to: 'feiDAOTimelock', 'tribalCouncilTimelock`
pcvEquityMinter
Prev: GOVERN_ROLE
New: FEI_MINT_ADMIN
Granted new to: 'feiDAOTimelock', 'tribalCouncilTimelock'
ethLidoPCVDeposit
Implementation on chain does not use a
CoreRefimplementation that has asetContractAdminRole()function. Removed.indexDelegator
Prev: METAGOVERNANCE_VOTE_ADMIN
New: METAGOVERNANCE_VOTE_ADMIN (no change)
Granted new to:
feiDAOTimelock', 'opsOptimisticTimelock', 'tribalCouncilTimelockethTokemakPCVDeposit
Unknown admin role: 0x6c9ecf07a5886fd74a8d32f4d3c317a7d5e5b5c7a073a3ab06c217e9ce5288e3
Prev: TOKEMAK_DEPOSIT_ADMIN_ROLE
New: TOKEMAK_DEPOSIT_ADMIN_ROLE (no change)
Granted to:
feiDAOTimelock,optimisticTimelock,tribalCouncilTimelockuniswapPCVDeposit
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelockdaiPSMFeiSkimmer
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelocklusdPSMFeiSkimmer
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelockethPSMFeiSkimmer
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelockaaveEthPCVDripController
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelockdaiPCVDripController
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelocklusdPCVDripController
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelockcompoundEthPCVDripController
Prev: GOVERN_ROLE
New: PCV_MINOR_PARAM_ROLE
Granted new to: 'feiDAOTimelock',
optimisticTimelock,tribalCouncilTimelock