Skip to content

Latest commit

 

History

History
112 lines (105 loc) · 22.4 KB

ZK_SYNC-V3.md

File metadata and controls

112 lines (105 loc) · 22.4 KB

ZK_SYNC

V3

Contracts upgradeability

contract upgradeable by
PoolAddressesProvider not upgradeable
Pool Governance
PoolConfigurator Governance
AaveOracle not upgradeable
Collector Governance
RewardsController Governance
WrappedTokenGatewayV3 not upgradeable
EmissionManager not upgradeable
PoolAddressesProviderRegistry not upgradeable
ProxyAdmin not upgradeable
ACLManager not upgradeable
Manual AGRS not upgradeable
Aave a/v/s tokens Governance
GranularGuardian not upgradeable
PayloadsController Governance
Executor_lvl1 not upgradeable
ZkSync native adapter not upgradeable
CrossChainController Governance

Actions type

type can be executed by
updateReserveBorrowSettings Governance
configureProtocolFees Governance
updateReserveCaps Governance,Multi-sig
updateReserveSettings Governance
configureCollateral Governance
upgradeAaveTokens (a/v/s) Governance
upgradeAaveOracles Governance
reserveUpgradeability Governance
pausePool Governance,Multi-sig
pauseAndFreezeReserve Governance,Multi-sig
reserveListing Governance
adminsConfiguration Governance
protocolUpgradeablity Governance
adiConfigurations Governance
retryAndInvalidateMessages Multi-sig,Governance
updateRiskParameters Multi-sig

Contracts

contract proxyAdmin modifier permission owner functions
PoolAddressesProvider - onlyOwner Executor_lvl1 setMarketId, setAddress, setAddressAsProxy, setPoolImpl, setPoolConfiguratorImpl, setPriceOracle, setACLManager, setACLAdmin, setPriceOracleSentinel, setPoolDataProvider
Pool PoolAddressesProvider onlyPoolConfigurator PoolConfigurator initReserve, dropReserve, setReserveInterestRateStrategyAddress, setConfiguration, updateBridgeProtocolFee, updateFlashloanPremiums, configureEModeCategory, resetIsolationModeTotalDebt
Pool PoolAddressesProvider onlyPoolAdmin Executor_lvl1 rescueTokens
Pool PoolAddressesProvider onlyBridge mintUnbacked, backUnbacked
PoolConfigurator PoolAddressesProvider onlyPoolAdmin Executor_lvl1 dropReserve, dropReserve, updateAToken, updateStableDebtToken, updateVariableDebtToken, setReserveActive, updateBridgeProtocolFee, updateFlashloanPremiumTotal, updateFlashloanPremiumToProtocol
PoolConfigurator PoolAddressesProvider onlyAssetListingOrPoolAdmins Executor_lvl1 initReserves
PoolConfigurator PoolAddressesProvider onlyRiskOrPoolAdmins Executor_lvl1, Manual AGRS setReserveBorrowing, setReserveBorrowing, configureReserveAsCollateral, setReserveStableRateBorrowing, setBorrowableInIsolation, setReserveFactor, setDebtCeiling, setSiloedBorrowing, setBorrowCap, setSupplyCap, setLiquidationProtocolFee, setEModeCategory, setAssetEModeCategory, setUnbackedMintCap, setReserveInterestRateStrategyAddress, setReserveFlashLoaning
PoolConfigurator PoolAddressesProvider onlyRiskOrPoolOrEmergencyAdmins Executor_lvl1, Manual AGRS, Aave Guardian ZkSync setReserveFreeze
PoolConfigurator PoolAddressesProvider onlyEmergencyOrPoolAdmin Executor_lvl1, Aave Guardian ZkSync setPoolPause, setReservePause
AaveOracle - onlyAssetListingOrPoolAdmins Executor_lvl1 setAssetSources, setFallbackOracle
Collector ProxyAdmin onlyFundsAdmin Executor_lvl1 approve, transfer, setFundsAdmin, createStream
Collector ProxyAdmin onlyAdminOrRecipient ProxyAdmin, Executor_lvl1 withdrawFromStream, cancelStream
RewardsController PoolAddressesProvider onlyEmissionManager EmissionManager configureAssets, setTransferStrategy, setRewardOracle, setClaimer
WrappedTokenGatewayV3 - onlyOwner Executor_lvl1 emergencyTokenTransfer, emergencyEtherTransfer
EmissionManager - onlyOwner Executor_lvl1 setClaimer, setEmissionAdmin, setRewardsController
PoolAddressesProviderRegistry - onlyOwner Executor_lvl1 registerAddressesProvider, unregisterAddressesProvider
ProxyAdmin - onlyOwner Executor_lvl1 changeProxyAdmin, upgrade, upgradeAndCall
ACLManager - onlyRole Executor_lvl1 setRoleAdmin
Manual AGRS - onlyOwner Executor_lvl1 setRiskConfig, setAddressRestricted
Manual AGRS - onlyRiskCouncil 0x5BF14aeaFe54A9dE94D0C4CeA73A9B4C46F94F2D (Safe) updateCaps, updateRates, updateCollateralSide, updateLstPriceCaps, updateStablePriceCaps

Governance V3 Contracts

contract proxyAdmin modifier permission owner functions
GranularGuardian - onlyRetryGuardian BGD retryEnvelope, retryTransaction
GranularGuardian - onlyEmergencyGuardian Aave Governance Guardian ZkSync solveEmergency
GranularGuardian - onlyDefaultAdmin Executor_lvl1 updateGuardian
PayloadsController ProxyAdmin onlyOwner Executor_lvl1 updateExecutors
PayloadsController ProxyAdmin onlyGuardian Aave Governance Guardian ZkSync cancelPayload
PayloadsController ProxyAdmin onlyOwnerOrGuardian Aave Governance Guardian ZkSync, Executor_lvl1 updateGuardian
PayloadsController ProxyAdmin onlyRescueGuardian Executor_lvl1 emergencyTokenTransfer, emergencyEtherTransfer
Executor_lvl1 - onlyOwner PayloadsController executeTransaction
ZkSync native adapter - trustedRemote CrossChainController(Eth) receiveMessage
CrossChainController ProxyAdmin onlyOwner Executor_lvl1 approveSenders, removeSenders, enableBridgeAdapters, disableBridgeAdapters, updateMessagesValidityTimestamp, allowReceiverBridgeAdapters, disallowReceiverBridgeAdapters
CrossChainController ProxyAdmin onlyOwnerOrGuardian GranularGuardian, Executor_lvl1 retryEnvelope, retryTransaction, updateGuardian
CrossChainController ProxyAdmin onlyRescueGuardian Executor_lvl1 emergencyTokenTransfer, emergencyEtherTransfer
CrossChainController ProxyAdmin onlyApprovedSenders forwardMessage
CrossChainController ProxyAdmin onlyApprovedBridges ZkSync native adapter receiveCrossChainMessage

Guardians

Guardian Threshold Address Owners
Aave Guardian ZkSync 5/9 0xba845c27903F7dDB5c676e5b74728C871057E000 0x5d49dBcdd300aECc2C311cFB56593E71c445d60d, 0xbA037E4746ff58c55dc8F27a328C428F258DDACb, 0x818C277dBE886b934e60aa047250A73529E26A99, 0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9, 0xb647055A9915bF9c8021a684E175A353525b9890, 0x57ab7ee15cE5ECacB1aB84EE42D5A9d0d8112922, 0xC5bE5c0134857B4b96F45AA6f6B77DB96Ac1487e, 0xd4af2E86a27F8F77B0556E081F97B215C9cA8f2E, 0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02
0x5BF14aeaFe54A9dE94D0C4CeA73A9B4C46F94F2D (Safe) 2/2 0x5BF14aeaFe54A9dE94D0C4CeA73A9B4C46F94F2D 0xc2cf0387f2a83A7F5C6675F4CDe7F367ea1B989a, 0x5d49dBcdd300aECc2C311cFB56593E71c445d60d
BGD 2/3 0x2451337aD5fE8b563bEB3b9c4A2B8789294879Ec 0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02, 0x5811d9FF80ff4B73A8F9bA42A6082FaB82E89Ea7, 0x0650302887619fa7727D8BD480Cda11A638B219B
Aave Governance Guardian ZkSync 5/9 0x4257bf0746D783f0D962913d7d8AFA408B62547E 0x1e3804357eD445251FfECbb6e40107bf03888885, 0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9, 0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29, 0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7, 0xDA5Ae43e179987a66B9831F92223567e1F38BE7D, 0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396, 0x936CD9654271083cCF93A975919Da0aB3Bc99EF3, 0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9, 0x4C30E33758216aD0d676419c21CB8D014C68099f

Admins

Role Contract
DEFAULT_ADMIN Executor_lvl1
POOL_ADMIN Executor_lvl1
EMERGENCY_ADMIN Aave Guardian ZkSync
ASSET_LISTING_ADMIN
BRIDGE
FLASH_BORROWER
RISK_ADMIN Manual AGRS

Granular Guardian Admins

Role Contract
DEFAULT_ADMIN Executor_lvl1
SOLVE_EMERGENCY_ROLE Aave Governance Guardian ZkSync
RETRY_ROLE BGD