mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
3.3 KiB
3.3 KiB
🛡️ Granting or Revoking Roles
This document outlines the procedure for assigning or removing specific roles on various components of the Linea ecosystem: LineaRollup, L2MessageService, and TokenBridge.
Note: These contracts are governed by the Security Council Charter.
🟧 Flow: Role Management
Actor: Safe Member
Actions:
- Adds a transaction via the Security Council
- Targets the appropriate Proxy
- Calls one of the following functions:
grantRolerevokeRole
Execution Path:
Safe Member
→ Security Council
→ targets Proxy
→ calls grantRole or revokeRole
→ signs and executes on-chain
Verification Requirements:
- ✅ Transaction hash, function selector, parameters, and simulation must be verified
🗂️ Function Signatures
| 4bytes | Signature |
|---|---|
0x2f2ff15d |
grantRole(bytes32,address) |
0xd547741f |
revokeRole(bytes32,address) |
🗂️ All Mainnet Contract Addresses
🔐 Security Council Addresses
| Network | Address |
|---|---|
| Ethereum | 0x892bb72De7f1b06B08a09140e7825d1827991DD3 |
| Linea | 0x051F1D88f0aF5673fB88BeC4378eD4BB29ea3319 |
📦 Proxy Addresses
| Contract | Address |
|---|---|
| LineaRollup | 0xd194Bd535d285f05D7B411E21A1460D11B0876F |
| L1 TokenBridge | 0x051F1D88f0aF5673fB88BeC4378eD4BB29ea3319 |
| L2MessageService | 0x508cA82Df566dCD1B0DE828967a0e96332cDc446 |
| L2 Token Bridge | 0x353012d04a9A6cF5C941bADC267f82004A8ceB9 |
🔑 Available Roles by Component
📘 LineaRollup Roles
DEFAULT_ADMIN_ROLEVERIFIER_SETTER_ROLEVERIFIER_UNSETTER_ROLERATE_LIMIT_SETTER_ROLEUSED_RATE_LIMIT_RESETTER_ROLEPAUSE_FINALIZATION_ROLEUNPAUSE_FINALIZATION_ROLEPAUSE_ALL_ROLEUNPAUSE_ALL_ROLEPAUSE_L1_L2_ROLEUNPAUSE_L1_L2_ROLEPAUSE_L2_L1_ROLEUNPAUSE_L2_L1_ROLEPAUSE_L2_BLOB_SUBMISSION_ROLEUNPAUSE_L2_BLOB_SUBMISSION_ROLEFORCED_TRANSACTION_SENDER_ROLE
📗 L2 Message Service Roles
DEFAULT_ADMIN_ROLERATE_LIMIT_SETTER_ROLEUSED_RATE_LIMIT_RESETTER_ROLEMINIMUM_FEE_SETTER_ROLEPAUSE_ALL_ROLEUNPAUSE_ALL_ROLEPAUSE_L1_L2_ROLEUNPAUSE_L1_L2_ROLEPAUSE_L2_L1_ROLEUNPAUSE_L2_L1_ROLE
📙 Token Bridge Roles
DEFAULT_ADMIN_ROLESET_RESERVED_TOKEN_ROLEREMOVE_RESERVED_TOKEN_ROLESET_CUSTOM_CONTRACT_ROLESET_MESSAGE_SERVICE_ROLESET_REMOTE_TOKENBRIDGE_ROLEPAUSE_INITIATE_TOKEN_BRIDGING_ROLEUNPAUSE_INITIATE_TOKEN_BRIDGING_ROLEPAUSE_COMPLETE_TOKEN_BRIDGING_ROLEUNPAUSE_COMPLETE_TOKEN_BRIDGING_ROLE
✅ Security Summary
- Role changes are on-chain and require multisig execution
- Clear access separation across all core modules
- Function selectors and role identifiers must be fully verified and simulated