diff --git a/README.md b/README.md index a5979ef5..8bff4865 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ These documents contain tables with the following information: | ARBITRUM_ONE | V3 | [Permissions](./out/ARBITRUM_ONE-V3.md#contracts) | |--------|--------|--------| | AVALANCHE | V3 | [Permissions](./out/AVALANCHE-V3.md#contracts) | |--------|--------|--------| | AVALANCHE | V2 | [Permissions](./out/AVALANCHE-V2.md#contracts) | |--------|--------|--------| +| LINEA | V3 | [Permissions](./out/LINEA-V3.md#contracts) | |--------|--------|--------| | SCROLL | V3 | [Permissions](./out/SCROLL-V3.md#contracts) | |--------|--------|--------| diff --git a/helpers/configs.ts b/helpers/configs.ts index 20a3f264..8e076501 100644 --- a/helpers/configs.ts +++ b/helpers/configs.ts @@ -47,6 +47,9 @@ import { GovernanceV3ZkSync, MiscZkSync, AaveV3ZkSync, + AaveV3Linea, + MiscLinea, + GovernanceV3Linea, } from '@bgd-labs/aave-address-book'; import { NetworkConfigs } from './types.js'; dotenv.config(); @@ -721,6 +724,38 @@ export const networkConfigs: NetworkConfigs = { }, }, }, + ['59144']: { + rpcUrl: process.env.RPC_LINEA, + explorer: 'https://lineascan.build/', + addressesNames: { + '0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9': + 'Aave Protocol Guardian Linea', + '0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea': 'BGD', + '0xEAF6183bAb3eFD3bF856Ac5C058431C8592394d6': 'Deployer', + '0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16': + 'Aave Granular Guardian Linea', + '0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E': + 'Aave Governance Guardian Linea', + }, + pools: { + [Pools.V3]: { + aclBlock: 12430800, + crossChainControllerBlock: 13185200, + granularGuardianBlock: 13223700, + crossChainPermissionsJson: './statics/functionsPermissionsGovV3.json', + permissionsJson: './statics/functionsPermissionsV3.0.1.json', + addressBook: { + ...AaveV3Linea, + ...MiscLinea, + COLLECTOR: '0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809', // TODO: REMOVE ONCE ADDED ON ADDRESS BOOK + }, + governanceAddressBook: GovernanceV3Linea, + addresses: { + '0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6': 'LineaAdapter', + }, + }, + }, + }, }; // ---------------------- DEPRECATED -------------------------------------- // [ChainId.fantom]: { diff --git a/out/LINEA-V3.md b/out/LINEA-V3.md new file mode 100644 index 00000000..bb4e61c2 --- /dev/null +++ b/out/LINEA-V3.md @@ -0,0 +1,107 @@ +# LINEA +## V3 +### Contracts upgradeability +| contract |upgradeable by | +|----------|----------| +| [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | not upgradeable | |--------|--------| +| [Pool](https://lineascan.build//address/0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac) | Governance | |--------|--------| +| [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | Governance | |--------|--------| +| [AaveOracle](https://lineascan.build//address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9) | not upgradeable | |--------|--------| +| [Collector](https://lineascan.build//address/0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809) | Governance | |--------|--------| +| [RewardsController](https://lineascan.build//address/0xc67bb8F2314fA0df50cBa314c6509A7bdAD500C0) | Governance | |--------|--------| +| [WrappedTokenGatewayV3](https://lineascan.build//address/0x4758213271BFdC72224A7a8742dC865fC97756e1) | not upgradeable | |--------|--------| +| [EmissionManager](https://lineascan.build//address/0x0165C65FB21bDC9Cdc09C627d62AB3a983337158) | not upgradeable | |--------|--------| +| [PoolAddressesProviderRegistry](https://lineascan.build//address/0x96dFCCB3F9ACDaF6c8f8a35E814023C3484d1eA2) | not upgradeable | |--------|--------| +| [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | not upgradeable | |--------|--------| +| [ACLManager](https://lineascan.build//address/0xbf32c7dFC72b730967072B112927ca0de205dbb5) | not upgradeable | |--------|--------| +| Aave a/v/s tokens | Governance | |--------|--------| +| [GranularGuardian](https://lineascan.build//address/0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16) | not upgradeable | |--------|--------| +| [PayloadsController](https://lineascan.build//address/0x3BcE23a1363728091bc57A58a226CF2940C2e074) | Governance | |--------|--------| +| [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | not upgradeable | |--------|--------| +| [Linea native adapter](https://lineascan.build//address/0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6) | not upgradeable | |--------|--------| +| [CrossChainController](https://lineascan.build//address/0x0D3f821e9741C8a8Bcac231162320251Db0cdf52) | Governance | |--------|--------| + +### Actions type +| type |can be executed by | +|----------|----------| +| updateReserveBorrowSettings | Governance | |--------|--------| +| configureProtocolFees | Governance | |--------|--------| +| updateReserveCaps | Governance | |--------|--------| +| 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 | |--------|--------| + +### Contracts +| contract |proxyAdmin |modifier |permission owner |functions | +|----------|----------|----------|----------|----------| +| [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | - | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | setMarketId, setAddress, setAddressAsProxy, setPoolImpl, setPoolConfiguratorImpl, setPriceOracle, setACLManager, setACLAdmin, setPriceOracleSentinel, setPoolDataProvider | |--------|--------|--------|--------|--------| +| [Pool](https://lineascan.build//address/0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyPoolConfigurator | [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | initReserve, dropReserve, setReserveInterestRateStrategyAddress, setConfiguration, updateBridgeProtocolFee, updateFlashloanPremiums, configureEModeCategory, resetIsolationModeTotalDebt | |--------|--------|--------|--------|--------| +| [Pool](https://lineascan.build//address/0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyPoolAdmin | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | rescueTokens | |--------|--------|--------|--------|--------| +| [Pool](https://lineascan.build//address/0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyBridge | | mintUnbacked, backUnbacked | |--------|--------|--------|--------|--------| +| [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyPoolAdmin | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | dropReserve, dropReserve, updateAToken, updateStableDebtToken, updateVariableDebtToken, setReserveActive, updateBridgeProtocolFee, updateFlashloanPremiumTotal, updateFlashloanPremiumToProtocol | |--------|--------|--------|--------|--------| +| [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyAssetListingOrPoolAdmins | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | initReserves | |--------|--------|--------|--------|--------| +| [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyRiskOrPoolAdmins | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | setReserveBorrowing, setReserveBorrowing, configureReserveAsCollateral, setReserveStableRateBorrowing, setBorrowableInIsolation, setReserveFactor, setDebtCeiling, setSiloedBorrowing, setBorrowCap, setSupplyCap, setLiquidationProtocolFee, setEModeCategory, setAssetEModeCategory, setUnbackedMintCap, setReserveInterestRateStrategyAddress, setReserveFlashLoaning | |--------|--------|--------|--------|--------| +| [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyRiskOrPoolOrEmergencyAdmins | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88), [Aave Protocol Guardian Linea](https://lineascan.build//address/0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9) | setReserveFreeze | |--------|--------|--------|--------|--------| +| [PoolConfigurator](https://lineascan.build//address/0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyEmergencyOrPoolAdmin | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88), [Aave Protocol Guardian Linea](https://lineascan.build//address/0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9) | setPoolPause, setReservePause | |--------|--------|--------|--------|--------| +| [AaveOracle](https://lineascan.build//address/0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9) | - | onlyAssetListingOrPoolAdmins | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | setAssetSources, setFallbackOracle | |--------|--------|--------|--------|--------| +| [Collector](https://lineascan.build//address/0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyFundsAdmin | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | approve, transfer, setFundsAdmin, createStream | |--------|--------|--------|--------|--------| +| [Collector](https://lineascan.build//address/0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyAdminOrRecipient | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A), [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | withdrawFromStream, cancelStream | |--------|--------|--------|--------|--------| +| [RewardsController](https://lineascan.build//address/0xc67bb8F2314fA0df50cBa314c6509A7bdAD500C0) | [PoolAddressesProvider](https://lineascan.build//address/0x89502c3731F69DDC95B65753708A07F8Cd0373F4) | onlyEmissionManager | [EmissionManager](https://lineascan.build//address/0x0165C65FB21bDC9Cdc09C627d62AB3a983337158) | configureAssets, setTransferStrategy, setRewardOracle, setClaimer | |--------|--------|--------|--------|--------| +| [WrappedTokenGatewayV3](https://lineascan.build//address/0x4758213271BFdC72224A7a8742dC865fC97756e1) | - | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | emergencyTokenTransfer, emergencyEtherTransfer | |--------|--------|--------|--------|--------| +| [EmissionManager](https://lineascan.build//address/0x0165C65FB21bDC9Cdc09C627d62AB3a983337158) | - | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | setClaimer, setEmissionAdmin, setRewardsController | |--------|--------|--------|--------|--------| +| [PoolAddressesProviderRegistry](https://lineascan.build//address/0x96dFCCB3F9ACDaF6c8f8a35E814023C3484d1eA2) | - | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | registerAddressesProvider, unregisterAddressesProvider | |--------|--------|--------|--------|--------| +| [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | - | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | changeProxyAdmin, upgrade, upgradeAndCall | |--------|--------|--------|--------|--------| +| [ACLManager](https://lineascan.build//address/0xbf32c7dFC72b730967072B112927ca0de205dbb5) | - | onlyRole | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | setRoleAdmin | |--------|--------|--------|--------|--------| + +### Governance V3 Contracts +| contract |proxyAdmin |modifier |permission owner |functions | +|----------|----------|----------|----------|----------| +| [GranularGuardian](https://lineascan.build//address/0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16) | - | onlyRetryGuardian | [BGD](https://lineascan.build//address/0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea) | retryEnvelope, retryTransaction | |--------|--------|--------|--------|--------| +| [GranularGuardian](https://lineascan.build//address/0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16) | - | onlyEmergencyGuardian | [Aave Governance Guardian Linea](https://lineascan.build//address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E) | solveEmergency | |--------|--------|--------|--------|--------| +| [GranularGuardian](https://lineascan.build//address/0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16) | - | onlyDefaultAdmin | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | updateGuardian | |--------|--------|--------|--------|--------| +| [PayloadsController](https://lineascan.build//address/0x3BcE23a1363728091bc57A58a226CF2940C2e074) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | updateExecutors | |--------|--------|--------|--------|--------| +| [PayloadsController](https://lineascan.build//address/0x3BcE23a1363728091bc57A58a226CF2940C2e074) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyGuardian | [Aave Governance Guardian Linea](https://lineascan.build//address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E) | cancelPayload | |--------|--------|--------|--------|--------| +| [PayloadsController](https://lineascan.build//address/0x3BcE23a1363728091bc57A58a226CF2940C2e074) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyOwnerOrGuardian | [Aave Governance Guardian Linea](https://lineascan.build//address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E), [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | updateGuardian | |--------|--------|--------|--------|--------| +| [PayloadsController](https://lineascan.build//address/0x3BcE23a1363728091bc57A58a226CF2940C2e074) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyRescueGuardian | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | emergencyTokenTransfer, emergencyEtherTransfer | |--------|--------|--------|--------|--------| +| [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | - | onlyOwner | [PayloadsController](https://lineascan.build//address/0x3BcE23a1363728091bc57A58a226CF2940C2e074) | executeTransaction | |--------|--------|--------|--------|--------| +| [Linea native adapter](https://lineascan.build//address/0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6) | - | trustedRemote | [CrossChainController(Eth)](https://lineascan.build//address/0xEd42a7D8559a463722Ca4beD50E0Cc05a386b0e1) | receiveMessage | |--------|--------|--------|--------|--------| +| [CrossChainController](https://lineascan.build//address/0x0D3f821e9741C8a8Bcac231162320251Db0cdf52) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyOwner | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | approveSenders, removeSenders, enableBridgeAdapters, disableBridgeAdapters, updateMessagesValidityTimestamp, allowReceiverBridgeAdapters, disallowReceiverBridgeAdapters | |--------|--------|--------|--------|--------| +| [CrossChainController](https://lineascan.build//address/0x0D3f821e9741C8a8Bcac231162320251Db0cdf52) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyOwnerOrGuardian | [Aave Granular Guardian Linea](https://lineascan.build//address/0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16), [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | retryEnvelope, retryTransaction, updateGuardian | |--------|--------|--------|--------|--------| +| [CrossChainController](https://lineascan.build//address/0x0D3f821e9741C8a8Bcac231162320251Db0cdf52) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyRescueGuardian | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | emergencyTokenTransfer, emergencyEtherTransfer | |--------|--------|--------|--------|--------| +| [CrossChainController](https://lineascan.build//address/0x0D3f821e9741C8a8Bcac231162320251Db0cdf52) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyApprovedSenders | | forwardMessage | |--------|--------|--------|--------|--------| +| [CrossChainController](https://lineascan.build//address/0x0D3f821e9741C8a8Bcac231162320251Db0cdf52) | [ProxyAdmin](https://lineascan.build//address/0x160E35e28fEE90F3656420584e0a990276219b5A) | onlyApprovedBridges | [Linea native adapter](https://lineascan.build//address/0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6) | receiveCrossChainMessage | |--------|--------|--------|--------|--------| + +### Guardians +| Guardian |Threshold |Address |Owners | +|----------|----------|----------|----------| +| [Aave Protocol Guardian Linea](https://lineascan.build//address/0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9) | 5/9 | 0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9 | [0x5d49dBcdd300aECc2C311cFB56593E71c445d60d](https://lineascan.build//address/0x5d49dBcdd300aECc2C311cFB56593E71c445d60d), [0xbA037E4746ff58c55dc8F27a328C428F258DDACb](https://lineascan.build//address/0xbA037E4746ff58c55dc8F27a328C428F258DDACb), [0x818C277dBE886b934e60aa047250A73529E26A99](https://lineascan.build//address/0x818C277dBE886b934e60aa047250A73529E26A99), [0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9](https://lineascan.build//address/0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9), [0xb647055A9915bF9c8021a684E175A353525b9890](https://lineascan.build//address/0xb647055A9915bF9c8021a684E175A353525b9890), [0x57ab7ee15cE5ECacB1aB84EE42D5A9d0d8112922](https://lineascan.build//address/0x57ab7ee15cE5ECacB1aB84EE42D5A9d0d8112922), [0xC5bE5c0134857B4b96F45AA6f6B77DB96Ac1487e](https://lineascan.build//address/0xC5bE5c0134857B4b96F45AA6f6B77DB96Ac1487e), [0xd4af2E86a27F8F77B0556E081F97B215C9cA8f2E](https://lineascan.build//address/0xd4af2E86a27F8F77B0556E081F97B215C9cA8f2E), [0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02](https://lineascan.build//address/0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02) | |--------|--------|--------|--------| +| [BGD](https://lineascan.build//address/0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea) | 2/3 | 0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea | [0x0650302887619fa7727D8BD480Cda11A638B219B](https://lineascan.build//address/0x0650302887619fa7727D8BD480Cda11A638B219B), [0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02](https://lineascan.build//address/0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02), [0x5811d9FF80ff4B73A8F9bA42A6082FaB82E89Ea7](https://lineascan.build//address/0x5811d9FF80ff4B73A8F9bA42A6082FaB82E89Ea7) | |--------|--------|--------|--------| +| [Aave Governance Guardian Linea](https://lineascan.build//address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E) | 5/9 | 0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E | [0xDA5Ae43e179987a66B9831F92223567e1F38BE7D](https://lineascan.build//address/0xDA5Ae43e179987a66B9831F92223567e1F38BE7D), [0x1e3804357eD445251FfECbb6e40107bf03888885](https://lineascan.build//address/0x1e3804357eD445251FfECbb6e40107bf03888885), [0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9](https://lineascan.build//address/0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9), [0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29](https://lineascan.build//address/0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29), [0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7](https://lineascan.build//address/0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7), [0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396](https://lineascan.build//address/0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396), [0x936CD9654271083cCF93A975919Da0aB3Bc99EF3](https://lineascan.build//address/0x936CD9654271083cCF93A975919Da0aB3Bc99EF3), [0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9](https://lineascan.build//address/0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9), [0x4C30E33758216aD0d676419c21CB8D014C68099f](https://lineascan.build//address/0x4C30E33758216aD0d676419c21CB8D014C68099f) | |--------|--------|--------|--------| + +### Admins +| Role |Contract | +|----------|----------| +| DEFAULT_ADMIN | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | |--------|--------| +| POOL_ADMIN | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | |--------|--------| +| EMERGENCY_ADMIN | [Aave Protocol Guardian Linea](https://lineascan.build//address/0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9) | |--------|--------| +| ASSET_LISTING_ADMIN | | |--------|--------| +| BRIDGE | | |--------|--------| +| FLASH_BORROWER | | |--------|--------| +| RISK_ADMIN | | |--------|--------| + +### Granular Guardian Admins +| Role |Contract | +|----------|----------| +| DEFAULT_ADMIN | [Executor_lvl1](https://lineascan.build//address/0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88) | |--------|--------| +| SOLVE_EMERGENCY_ROLE | [Aave Governance Guardian Linea](https://lineascan.build//address/0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E) | |--------|--------| +| RETRY_ROLE | [BGD](https://lineascan.build//address/0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea) | |--------|--------| + diff --git a/out/permissions/1-permissions.json b/out/permissions/1-permissions.json index 4c24ab95..be718a79 100644 --- a/out/permissions/1-permissions.json +++ b/out/permissions/1-permissions.json @@ -13,9 +13,7 @@ "signersThreshold": 0 } ], - "functions": [ - "configureAssets" - ] + "functions": ["configureAssets"] }, { "modifier": "onlySlashingAdmin", @@ -41,9 +39,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setCooldownSeconds" - ] + "functions": ["setCooldownSeconds"] }, { "modifier": "onlyClaimHelper", @@ -76,9 +72,7 @@ "signersThreshold": 0 } ], - "functions": [ - "configureAssets" - ] + "functions": ["configureAssets"] }, { "modifier": "onlySlashingAdmin", @@ -104,9 +98,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setCooldownSeconds" - ] + "functions": ["setCooldownSeconds"] }, { "modifier": "onlyClaimHelper", @@ -205,11 +197,7 @@ "signersThreshold": 0 } ], - "functions": [ - "approve", - "transfer", - "createStream" - ] + "functions": ["approve", "transfer", "createStream"] }, { "modifier": "onlyAdminOrRecipient", @@ -220,10 +208,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -282,10 +267,7 @@ "owners": [] } ], - "functions": [ - "mint", - "burn" - ] + "functions": ["mint", "burn"] }, { "modifier": "onlyFacilitatorManager", @@ -296,10 +278,7 @@ "signersThreshold": 0 } ], - "functions": [ - "addFacilitator", - "removeFacilitator" - ] + "functions": ["addFacilitator", "removeFacilitator"] }, { "modifier": "onlyBucketManager", @@ -315,9 +294,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setFacilitatorBucketCapacity" - ] + "functions": ["setFacilitatorBucketCapacity"] } ] }, @@ -327,9 +304,7 @@ { "modifier": "onlyRescuer", "addresses": [], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlySwapFreezer", @@ -345,17 +320,12 @@ "signersThreshold": 0 } ], - "functions": [ - "setSwapFreeze" - ] + "functions": ["setSwapFreeze"] }, { "modifier": "onlyLiquidator", "addresses": [], - "functions": [ - "seize", - "burnAfterSeize" - ] + "functions": ["seize", "burnAfterSeize"] }, { "modifier": "onlyConfigurator", @@ -385,9 +355,7 @@ { "modifier": "onlyRescuer", "addresses": [], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlySwapFreezer", @@ -403,17 +371,12 @@ "signersThreshold": 0 } ], - "functions": [ - "setSwapFreeze" - ] + "functions": ["setSwapFreeze"] }, { "modifier": "onlyLiquidator", "addresses": [], - "functions": [ - "seize", - "burnAfterSeize" - ] + "functions": ["seize", "burnAfterSeize"] }, { "modifier": "onlyConfigurator", @@ -449,10 +412,7 @@ "signersThreshold": 0 } ], - "functions": [ - "addGsm", - "removeGsm" - ] + "functions": ["addGsm", "removeGsm"] } ] }, @@ -468,9 +428,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setControlledFacilitator" - ] + "functions": ["setControlledFacilitator"] }, { "modifier": "onlyRiskCouncil", @@ -499,9 +457,7 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "FACILITATOR_MANAGER_ROLE": [ "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" ], @@ -515,9 +471,7 @@ "gsmRoles": { "GSM_USDC": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "CONFIGURATOR_ROLE": [ "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A", "0xD1E856a947CdF56b4f000ee29d34F5808E0A6848" @@ -534,9 +488,7 @@ }, "GSM_USDT": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "CONFIGURATOR_ROLE": [ "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A", "0xD1E856a947CdF56b4f000ee29d34F5808E0A6848" @@ -581,10 +533,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancel", - "__abdicate" - ] + "functions": ["cancel", "__abdicate"] }, { "modifier": "onlyOwner", @@ -615,10 +564,7 @@ "owners": [] } ], - "functions": [ - "setDelay", - "setPendingAdmin" - ] + "functions": ["setDelay", "setPendingAdmin"] }, { "modifier": "onlyPendingAdmin", @@ -629,9 +575,7 @@ "signersThreshold": 0 } ], - "functions": [ - "acceptAdmin" - ] + "functions": ["acceptAdmin"] }, { "modifier": "onlyAdmin", @@ -661,10 +605,7 @@ "owners": [] } ], - "functions": [ - "setDelay", - "setPendingAdmin" - ] + "functions": ["setDelay", "setPendingAdmin"] }, { "modifier": "onlyPendingAdmin", @@ -675,9 +616,7 @@ "signersThreshold": 0 } ], - "functions": [ - "acceptAdmin" - ] + "functions": ["acceptAdmin"] }, { "modifier": "onlyAdmin", @@ -764,17 +703,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -812,9 +746,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -908,9 +840,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -936,10 +866,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -955,10 +882,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateFee", - "updateGhoTreasury" - ] + "functions": ["updateFee", "updateGhoTreasury"] } ] }, @@ -974,10 +898,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1014,10 +935,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1056,10 +974,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1075,9 +990,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1093,9 +1006,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1150,11 +1061,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1170,11 +1077,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1190,9 +1093,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1211,9 +1112,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1239,9 +1138,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -1277,9 +1174,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -1290,10 +1185,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1309,10 +1201,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -1339,15 +1228,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "POOL_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "EMERGENCY_ADMIN": [ - "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "POOL_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "EMERGENCY_ADMIN": ["0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30"], "FLASH_BORROWER": [ "0xd9D8e68717Ce24CCbf162868aaad7E38d81b05d1", "0x72915D41982DfCAf30b871290618E59C45Edba7F", @@ -1377,15 +1260,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "SOLVE_EMERGENCY_ROLE": [ "0xCe52ab41C40575B072A18C9700091Ccbe4A06710" ], - "RETRY_ROLE": [ - "0xb812d0944f8F581DfAA3a93Dda0d22EcEf51A9CF" - ] + "RETRY_ROLE": ["0xb812d0944f8F581DfAA3a93Dda0d22EcEf51A9CF"] }, "latestBlockNumber": 21583244 }, @@ -1406,10 +1285,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -1430,9 +1306,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -1443,9 +1317,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1488,10 +1360,7 @@ "signersThreshold": 5 } ], - "functions": [ - "rescueVotingPortal", - "cancelProposal" - ] + "functions": ["rescueVotingPortal", "cancelProposal"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1517,9 +1386,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ], "proxyAdmin": "0x86c3ffee349a7cff7ca88c449717b1b133bfb517" @@ -1536,9 +1403,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1559,9 +1424,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1587,9 +1450,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -1600,10 +1461,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1620,9 +1478,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGasLimit" - ] + "functions": ["updateGasLimit"] } ] }, @@ -1695,9 +1551,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1713,9 +1567,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1731,9 +1583,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setEmergency" - ] + "functions": ["setEmergency"] } ] }, @@ -1754,9 +1604,7 @@ "chain": "43114" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1772,9 +1620,7 @@ "chain": "137" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1795,9 +1641,7 @@ "chain": "43114" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1818,9 +1662,7 @@ "chain": "43114" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1879,10 +1721,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", @@ -1908,9 +1747,7 @@ "owners": [] } ], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -1932,9 +1769,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2048,9 +1883,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] }, { "modifier": "onlyPoolOrEmergencyAdmin", @@ -2076,10 +1909,7 @@ "signersThreshold": 5 } ], - "functions": [ - "freezeReserve", - "unfreezeReserve" - ] + "functions": ["freezeReserve", "unfreezeReserve"] } ] }, @@ -2095,10 +1925,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -2114,9 +1941,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -2153,10 +1978,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2173,11 +1995,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -2193,10 +2011,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -2225,9 +2040,7 @@ "signersThreshold": 6 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -2243,9 +2056,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -2280,11 +2091,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setDistributionEnd", - "configureAssets", - "setClaimer" - ] + "functions": ["setDistributionEnd", "configureAssets", "setClaimer"] } ] } @@ -2395,9 +2202,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] } ] }, @@ -2413,10 +2218,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -2432,9 +2234,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -2471,10 +2271,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2491,11 +2288,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -2511,10 +2304,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -2636,15 +2426,11 @@ "addresses": [ { "address": "0x33B09130b035d6D7e57d76fEa0873d9545FA7557", - "owners": [ - "0x686a12A79008246F4dF2f1Ea30d136BD6DE748B4" - ], + "owners": ["0x686a12A79008246F4dF2f1Ea30d136BD6DE748B4"], "signersThreshold": 1 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] } ] }, @@ -2660,10 +2446,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -2679,9 +2462,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -2718,10 +2499,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2738,11 +2516,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -2758,24 +2532,18 @@ "signersThreshold": 0 } ], - "functions": [ - "queue" - ] + "functions": ["queue"] }, { "modifier": "onlyGuardian", "addresses": [ { "address": "0x33B09130b035d6D7e57d76fEa0873d9545FA7557", - "owners": [ - "0x686a12A79008246F4dF2f1Ea30d136BD6DE748B4" - ], + "owners": ["0x686a12A79008246F4dF2f1Ea30d136BD6DE748B4"], "signersThreshold": 1 } ], - "functions": [ - "cancel" - ] + "functions": ["cancel"] } ] }, @@ -2791,10 +2559,7 @@ "signersThreshold": 0 } ], - "functions": [ - "addPermissionAdmins", - "removePermissionAdmins" - ] + "functions": ["addPermissionAdmins", "removePermissionAdmins"] } ] } @@ -2866,17 +2631,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -2914,9 +2674,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -3000,9 +2758,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -3028,10 +2784,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -3047,10 +2800,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateFee", - "updateGhoTreasury" - ] + "functions": ["updateFee", "updateGhoTreasury"] } ] }, @@ -3066,10 +2816,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -3106,10 +2853,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -3148,10 +2892,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -3167,9 +2908,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -3185,9 +2924,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -3242,11 +2979,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -3262,11 +2995,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -3282,9 +3011,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -3303,9 +3030,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -3341,9 +3066,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -3354,10 +3077,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -3373,10 +3093,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -3403,15 +3120,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "POOL_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "EMERGENCY_ADMIN": [ - "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "POOL_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "EMERGENCY_ADMIN": ["0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], "FLASH_BORROWER": [ @@ -3494,17 +3205,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -3542,9 +3248,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -3618,9 +3322,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -3646,10 +3348,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -3665,10 +3364,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateFee", - "updateGhoTreasury" - ] + "functions": ["updateFee", "updateGhoTreasury"] } ] }, @@ -3684,10 +3380,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -3724,10 +3417,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -3766,10 +3456,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -3785,9 +3472,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -3803,9 +3488,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -3860,11 +3543,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -3880,11 +3559,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -3900,9 +3575,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -3921,9 +3594,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -3959,9 +3630,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -3972,10 +3641,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -3991,10 +3657,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -4021,15 +3684,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "POOL_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "EMERGENCY_ADMIN": [ - "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "POOL_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "EMERGENCY_ADMIN": ["0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], "FLASH_BORROWER": [ @@ -4110,17 +3767,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -4158,9 +3810,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -4230,10 +3880,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -4249,10 +3896,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateFee", - "updateGhoTreasury" - ] + "functions": ["updateFee", "updateGhoTreasury"] } ] }, @@ -4268,10 +3912,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -4308,10 +3949,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -4350,10 +3988,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -4369,9 +4004,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -4387,9 +4020,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -4444,11 +4075,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -4464,11 +4091,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -4484,9 +4107,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -4498,15 +4119,11 @@ "addresses": [ { "address": "0x47c71dFEB55Ebaa431Ae3fbF99Ea50e0D3d30fA8", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -4532,9 +4149,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -4570,9 +4185,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -4583,25 +4196,16 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] } }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "POOL_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], - "EMERGENCY_ADMIN": [ - "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "POOL_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], + "EMERGENCY_ADMIN": ["0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30"], "FLASH_BORROWER": [ "0xd9D8e68717Ce24CCbf162868aaad7E38d81b05d1", "0x72915D41982DfCAf30b871290618E59C45Edba7F", @@ -4629,15 +4233,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "SOLVE_EMERGENCY_ROLE": [ "0xCe52ab41C40575B072A18C9700091Ccbe4A06710" ], - "RETRY_ROLE": [ - "0xb812d0944f8F581DfAA3a93Dda0d22EcEf51A9CF" - ] + "RETRY_ROLE": ["0xb812d0944f8F581DfAA3a93Dda0d22EcEf51A9CF"] }, "latestBlockNumber": 20983900 }, @@ -4658,10 +4258,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -4682,9 +4279,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -4695,9 +4290,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -4740,10 +4333,7 @@ "signersThreshold": 5 } ], - "functions": [ - "rescueVotingPortal", - "cancelProposal" - ] + "functions": ["rescueVotingPortal", "cancelProposal"] }, { "modifier": "onlyOwnerOrGuardian", @@ -4769,9 +4359,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ], "proxyAdmin": "0x86c3ffee349a7cff7ca88c449717b1b133bfb517" @@ -4788,9 +4376,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -4811,9 +4397,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -4839,9 +4423,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -4852,10 +4434,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -4872,9 +4451,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGasLimit" - ] + "functions": ["updateGasLimit"] } ] }, @@ -4947,9 +4524,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -4965,9 +4540,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -4983,9 +4556,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setEmergency" - ] + "functions": ["setEmergency"] } ] }, @@ -5006,9 +4577,7 @@ "chain": "43114" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -5024,9 +4593,7 @@ "chain": "137" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -5047,9 +4614,7 @@ "chain": "43114" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -5070,9 +4635,7 @@ "chain": "43114" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -5131,10 +4694,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", @@ -5160,9 +4720,7 @@ "owners": [] } ], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -5184,9 +4742,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -5278,17 +4834,12 @@ "signersThreshold": 5 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -5356,9 +4907,7 @@ "signersThreshold": 5 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -5433,10 +4982,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -5467,10 +5013,7 @@ "signersThreshold": 5 } ], - "functions": [ - "updateFee", - "updateGhoTreasury" - ] + "functions": ["updateFee", "updateGhoTreasury"] } ] }, @@ -5501,10 +5044,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -5541,10 +5081,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -5583,10 +5120,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -5602,9 +5136,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -5620,9 +5152,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -5677,11 +5207,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -5697,11 +5223,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -5717,9 +5239,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -5731,15 +5251,11 @@ "addresses": [ { "address": "0x47c71dFEB55Ebaa431Ae3fbF99Ea50e0D3d30fA8", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -5775,9 +5291,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -5788,26 +5302,19 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] } }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "POOL_ADMIN": [ "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A", "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" ], - "EMERGENCY_ADMIN": [ - "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" - ], + "EMERGENCY_ADMIN": ["0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], "FLASH_BORROWER": [ @@ -5815,9 +5322,7 @@ "0x45c00508C14601fd1C1e296eB3C0e3eEEdCa45D0", "0xab515542d621574f9b5212d50593cD0C07e641bD" ], - "RISK_ADMIN": [ - "0x3843b29118fFC18d5d12EE079d0324E1bF115e69" - ] + "RISK_ADMIN": ["0x3843b29118fFC18d5d12EE079d0324E1bF115e69"] }, "latestBlockNumber": 20981603 }, @@ -5902,17 +5407,12 @@ "signersThreshold": 5 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -5980,9 +5480,7 @@ "signersThreshold": 5 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -6057,10 +5555,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -6091,10 +5586,7 @@ "signersThreshold": 5 } ], - "functions": [ - "updateFee", - "updateGhoTreasury" - ] + "functions": ["updateFee", "updateGhoTreasury"] } ] }, @@ -6125,10 +5617,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -6165,10 +5654,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -6207,10 +5693,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -6226,9 +5709,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -6244,9 +5725,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -6301,11 +5780,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -6321,11 +5796,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -6341,9 +5812,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -6355,15 +5824,11 @@ "addresses": [ { "address": "0x47c71dFEB55Ebaa431Ae3fbF99Ea50e0D3d30fA8", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -6399,9 +5864,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -6412,26 +5875,19 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] } }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A" - ], + "DEFAULT_ADMIN": ["0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A"], "POOL_ADMIN": [ "0x5300A1a15135EA4dc7aD5a167152C01EFc9b192A", "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" ], - "EMERGENCY_ADMIN": [ - "0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30" - ], + "EMERGENCY_ADMIN": ["0x2CFe3ec4d5a6811f4B8067F0DE7e47DfA938Aa30"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], "FLASH_BORROWER": [ @@ -6439,9 +5895,7 @@ "0x45c00508C14601fd1C1e296eB3C0e3eEEdCa45D0", "0xab515542d621574f9b5212d50593cD0C07e641bD" ], - "RISK_ADMIN": [ - "0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA" - ] + "RISK_ADMIN": ["0x1EBdbE77bbDDD284BdCE8D7981D7eD26D6af58cA"] }, "latestBlockNumber": 20981604 }, @@ -6450,4 +5904,4 @@ "ggRoles": {} } } -} \ No newline at end of file +} diff --git a/out/permissions/10-permissions.json b/out/permissions/10-permissions.json index 51a24064..17217318 100644 --- a/out/permissions/10-permissions.json +++ b/out/permissions/10-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -323,10 +305,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -342,9 +321,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -360,9 +337,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -417,11 +392,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -437,9 +408,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -458,9 +427,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -486,9 +453,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -524,10 +489,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -554,15 +516,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf" - ], - "POOL_ADMIN": [ - "0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf"], + "POOL_ADMIN": ["0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0x5E76E98E0963EcDC6A065d1435F84065b7523f39", @@ -598,15 +554,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf" - ], + "DEFAULT_ADMIN": ["0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x3A800fbDeAC82a4d9c68A9FA0a315e095129CDBF" - ] + "RETRY_ROLE": ["0x3A800fbDeAC82a4d9c68A9FA0a315e095129CDBF"] }, "latestBlockNumber": 130391271 }, @@ -627,10 +579,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -651,9 +600,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -664,9 +611,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -682,9 +627,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -705,9 +648,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -733,9 +674,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -746,10 +685,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -766,9 +702,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -784,9 +718,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -845,17 +777,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -865,9 +792,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -938,17 +863,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -986,9 +906,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1053,10 +971,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1072,10 +987,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1112,10 +1024,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1154,10 +1063,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1173,9 +1079,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1191,9 +1095,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1248,11 +1150,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1268,9 +1166,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1282,15 +1178,11 @@ "addresses": [ { "address": "0xCb86256A994f0c505c5e15c75BF85fdFEa0F2a56", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1316,9 +1208,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -1345,15 +1235,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf" - ], - "POOL_ADMIN": [ - "0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf"], + "POOL_ADMIN": ["0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0x5E76E98E0963EcDC6A065d1435F84065b7523f39", @@ -1374,15 +1258,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf" - ], + "DEFAULT_ADMIN": ["0x746c675dAB49Bcd5BB9Dc85161f2d7Eb435009bf"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x3A800fbDeAC82a4d9c68A9FA0a315e095129CDBF" - ] + "RETRY_ROLE": ["0x3A800fbDeAC82a4d9c68A9FA0a315e095129CDBF"] }, "latestBlockNumber": 126776311 }, @@ -1403,10 +1283,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -1427,9 +1304,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -1440,9 +1315,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1458,9 +1331,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1481,9 +1352,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1509,9 +1378,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -1522,10 +1389,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1542,9 +1406,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1560,9 +1422,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1621,17 +1481,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -1641,9 +1496,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1653,4 +1506,4 @@ "latestCCCBlockNumber": 126776311 } } -} \ No newline at end of file +} diff --git a/out/permissions/100-permissions.json b/out/permissions/100-permissions.json index f790da79..fa39949f 100644 --- a/out/permissions/100-permissions.json +++ b/out/permissions/100-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xe892e40c92c2e4d281be59b2e6300f271d824e75" @@ -323,10 +305,39 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] + } + ] + }, + "ParaSwapLiquiditySwapAdapter": { + "address": "0x63dfa7c09Dc2Ff4030d6B8Dc2ce6262BF898C8A4", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x1dF462e2712496373A347f8ad10802a5E95f053D", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": ["rescueTokens"] + } + ] + }, + "ParaSwapRepayAdapter": { + "address": "0x86b0521f92a554057e54B93098BA2A6Aaa2F4ACB", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x1dF462e2712496373A347f8ad10802a5E95f053D", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": ["rescueTokens"] } ] }, @@ -381,11 +392,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -401,9 +408,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -422,9 +427,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -450,9 +453,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -468,10 +469,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -498,20 +496,12 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x1dF462e2712496373A347f8ad10802a5E95f053D" - ], - "POOL_ADMIN": [ - "0x1dF462e2712496373A347f8ad10802a5E95f053D" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0x1dF462e2712496373A347f8ad10802a5E95f053D"], + "POOL_ADMIN": ["0x1dF462e2712496373A347f8ad10802a5E95f053D"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], - "FLASH_BORROWER": [ - "0xab515542d621574f9b5212d50593cD0C07e641bD" - ], + "FLASH_BORROWER": ["0xab515542d621574f9b5212d50593cD0C07e641bD"], "RISK_ADMIN": [ "0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5", "0x33AE1f41546a2e05368Bf789b3d868813c0Ae658", @@ -537,24 +527,17 @@ { "modifier": "onlyRetryGuardian", "addresses": [], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", "addresses": [], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", "addresses": [], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -570,9 +553,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -593,9 +574,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -621,9 +600,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -634,10 +611,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xe892e40c92c2e4d281be59b2e6300f271d824e75" @@ -654,9 +628,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -672,9 +644,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -690,9 +660,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -708,9 +676,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -769,17 +735,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -797,9 +758,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -814,9 +773,7 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0xe892e40c92c2e4d281be59b2e6300f271d824e75" @@ -887,17 +844,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -935,9 +887,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1002,10 +952,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1021,10 +968,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1061,10 +1005,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xe892e40c92c2e4d281be59b2e6300f271d824e75" @@ -1103,10 +1044,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1161,11 +1099,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1181,9 +1115,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1195,15 +1127,11 @@ "addresses": [ { "address": "0xF221B08dD10e0C68D74F035764931Baa3b030481", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1229,29 +1157,19 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] } }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x1dF462e2712496373A347f8ad10802a5E95f053D" - ], - "POOL_ADMIN": [ - "0x1dF462e2712496373A347f8ad10802a5E95f053D" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0x1dF462e2712496373A347f8ad10802a5E95f053D"], + "POOL_ADMIN": ["0x1dF462e2712496373A347f8ad10802a5E95f053D"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], - "FLASH_BORROWER": [ - "0xab515542d621574f9b5212d50593cD0C07e641bD" - ], + "FLASH_BORROWER": ["0xab515542d621574f9b5212d50593cD0C07e641bD"], "RISK_ADMIN": [ "0x3Ceaf9b6CAb92dFe6302D0CC3F1BA880C28d35e5", "0x33AE1f41546a2e05368Bf789b3d868813c0Ae658" @@ -1276,24 +1194,17 @@ { "modifier": "onlyRetryGuardian", "addresses": [], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", "addresses": [], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", "addresses": [], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1309,9 +1220,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1332,9 +1241,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1360,9 +1267,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -1373,10 +1278,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xe892e40c92c2e4d281be59b2e6300f271d824e75" @@ -1393,9 +1295,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1411,9 +1311,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1429,9 +1327,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1447,9 +1343,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1508,17 +1402,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -1536,9 +1425,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -1553,9 +1440,7 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0xe892e40c92c2e4d281be59b2e6300f271d824e75" @@ -1565,4 +1450,4 @@ "latestCCCBlockNumber": 36547402 } } -} \ No newline at end of file +} diff --git a/out/permissions/1088-permissions.json b/out/permissions/1088-permissions.json index 257bff2a..7a500cd5 100644 --- a/out/permissions/1088-permissions.json +++ b/out/permissions/1088-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0x1cabd986cbabdf12e00128dff03c80ee62c4fd97" @@ -362,11 +344,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -382,9 +360,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -403,9 +379,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -431,9 +405,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -449,10 +421,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -479,15 +448,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x6fD45D32375d5aDB8D76275A3932c740F03a8718" - ], - "POOL_ADMIN": [ - "0x6fD45D32375d5aDB8D76275A3932c740F03a8718" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x6fD45D32375d5aDB8D76275A3932c740F03a8718"], + "POOL_ADMIN": ["0x6fD45D32375d5aDB8D76275A3932c740F03a8718"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "RISK_ADMIN": [ "0x5f4d15d761528c57a5C30c43c1DAb26Fc5452731", "0x2C77153fF4a1e83A8d8D750735FB101ECB55949f", @@ -503,15 +466,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x6fD45D32375d5aDB8D76275A3932c740F03a8718" - ], + "DEFAULT_ADMIN": ["0x6fD45D32375d5aDB8D76275A3932c740F03a8718"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x9853589F951D724D9f7c6724E0fD63F9d888C429" - ] + "RETRY_ROLE": ["0x9853589F951D724D9f7c6724E0fD63F9d888C429"] }, "latestBlockNumber": 19416293 }, @@ -532,10 +491,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -556,9 +512,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -569,9 +523,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -587,9 +539,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -610,9 +560,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -638,9 +586,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -651,10 +597,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0x1cabd986cbabdf12e00128dff03c80ee62c4fd97" @@ -671,9 +614,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -689,9 +630,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -750,17 +689,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -770,9 +704,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0x1cabd986cbabdf12e00128dff03c80ee62c4fd97" @@ -782,4 +714,4 @@ "latestCCCBlockNumber": 19416293 } } -} \ No newline at end of file +} diff --git a/out/permissions/137-permissions.json b/out/permissions/137-permissions.json index a5562252..99c039e6 100644 --- a/out/permissions/137-permissions.json +++ b/out/permissions/137-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -323,10 +305,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -342,9 +321,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -360,9 +337,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -417,11 +392,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -437,9 +408,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -458,9 +427,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -486,9 +453,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -524,9 +489,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -537,10 +500,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -556,10 +516,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -586,15 +543,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0xDf7d0e6454DB638881302729F5ba99936EaAB233" - ], - "POOL_ADMIN": [ - "0xDf7d0e6454DB638881302729F5ba99936EaAB233" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0xDf7d0e6454DB638881302729F5ba99936EaAB233"], + "POOL_ADMIN": ["0xDf7d0e6454DB638881302729F5ba99936EaAB233"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f", @@ -617,15 +568,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0xDf7d0e6454DB638881302729F5ba99936EaAB233" - ], + "DEFAULT_ADMIN": ["0xDf7d0e6454DB638881302729F5ba99936EaAB233"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0xbCEB4f363f2666E2E8E430806F37e97C405c130b" - ] + "RETRY_ROLE": ["0xbCEB4f363f2666E2E8E430806F37e97C405c130b"] }, "latestBlockNumber": 66468968 }, @@ -646,10 +593,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -670,9 +614,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -683,9 +625,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -701,9 +641,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -724,9 +662,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -752,9 +688,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -765,10 +699,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -785,9 +716,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGasLimit" - ] + "functions": ["updateGasLimit"] } ] }, @@ -803,9 +732,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -821,9 +748,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -839,9 +764,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -857,9 +780,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -875,9 +796,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -936,10 +855,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", @@ -949,9 +865,7 @@ "owners": [] } ], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -973,9 +887,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -990,9 +902,7 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1100,9 +1010,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] }, { "modifier": "onlyPoolOrEmergencyAdmin", @@ -1128,9 +1036,7 @@ "signersThreshold": 5 } ], - "functions": [ - "unfreezeReserve" - ] + "functions": ["unfreezeReserve"] } ] }, @@ -1146,10 +1052,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1165,9 +1068,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -1204,10 +1105,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1224,11 +1122,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1244,10 +1138,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1263,9 +1154,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1281,9 +1170,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1401,17 +1288,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -1449,9 +1331,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1516,10 +1396,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1535,10 +1412,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1575,10 +1449,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1617,10 +1488,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1636,9 +1504,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1654,9 +1520,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1711,11 +1575,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1731,9 +1591,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1745,15 +1603,11 @@ "addresses": [ { "address": "0x2C40FB1ACe63084fc0bB95F83C31B5854C6C4cB5", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1779,9 +1633,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -1817,9 +1669,7 @@ "signersThreshold": 0 } ], - "functions": [ - "bridge" - ] + "functions": ["bridge"] }, { "modifier": "onlyRescueGuardian", @@ -1830,25 +1680,16 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] } }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0xDf7d0e6454DB638881302729F5ba99936EaAB233" - ], - "POOL_ADMIN": [ - "0xDf7d0e6454DB638881302729F5ba99936EaAB233" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0xDf7d0e6454DB638881302729F5ba99936EaAB233"], + "POOL_ADMIN": ["0xDf7d0e6454DB638881302729F5ba99936EaAB233"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0xc5de989E0D1BF605d19478Fdd32Aa827a10b464f", @@ -1866,15 +1707,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0xDf7d0e6454DB638881302729F5ba99936EaAB233" - ], + "DEFAULT_ADMIN": ["0xDf7d0e6454DB638881302729F5ba99936EaAB233"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0xbCEB4f363f2666E2E8E430806F37e97C405c130b" - ] + "RETRY_ROLE": ["0xbCEB4f363f2666E2E8E430806F37e97C405c130b"] }, "latestBlockNumber": 63141275 }, @@ -1895,10 +1732,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -1919,9 +1753,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -1932,9 +1764,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1950,9 +1780,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1973,9 +1801,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -2001,9 +1827,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -2014,10 +1838,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2034,9 +1855,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGasLimit" - ] + "functions": ["updateGasLimit"] } ] }, @@ -2052,9 +1871,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -2070,9 +1887,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2088,9 +1903,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2106,9 +1919,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2124,9 +1935,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2185,10 +1994,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", @@ -2198,9 +2004,7 @@ "owners": [] } ], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -2222,9 +2026,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -2239,17 +2041,13 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" } }, - "senders": [ - "0xc8a2ADC4261c6b669CdFf69E717E77C9cFeB420d" - ], + "senders": ["0xc8a2ADC4261c6b669CdFf69E717E77C9cFeB420d"], "latestCCCBlockNumber": 63141275 } }, @@ -2349,9 +2147,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] } ] }, @@ -2367,10 +2163,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -2386,9 +2179,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -2425,10 +2216,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2445,11 +2233,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -2465,10 +2249,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -2497,9 +2278,7 @@ "signersThreshold": 6 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -2515,9 +2294,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -2574,4 +2351,4 @@ "ggRoles": {} } } -} \ No newline at end of file +} diff --git a/out/permissions/324-permissions.json b/out/permissions/324-permissions.json index e394664b..2bc902f2 100644 --- a/out/permissions/324-permissions.json +++ b/out/permissions/324-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -174,9 +167,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -202,10 +193,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -221,10 +209,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -261,10 +246,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0x158d6c497317367cea3cbab0bd84e6de236f060d" @@ -303,10 +285,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -361,11 +340,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -381,9 +356,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -399,10 +372,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -429,21 +399,13 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020" - ], - "POOL_ADMIN": [ - "0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020" - ], - "EMERGENCY_ADMIN": [ - "0xba845c27903F7dDB5c676e5b74728C871057E000" - ], + "DEFAULT_ADMIN": ["0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020"], + "POOL_ADMIN": ["0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020"], + "EMERGENCY_ADMIN": ["0xba845c27903F7dDB5c676e5b74728C871057E000"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], "FLASH_BORROWER": [], - "RISK_ADMIN": [ - "0x05c77Cf62346329a157d7A6F874464D049CECb26" - ] + "RISK_ADMIN": ["0x05c77Cf62346329a157d7A6F874464D049CECb26"] }, "latestBlockNumber": 53228531 }, @@ -451,15 +413,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020" - ], + "DEFAULT_ADMIN": ["0x04cE39789e11a49595cD0ECEf6f4Bd54ABF4d020"], "SOLVE_EMERGENCY_ROLE": [ "0x4257bf0746D783f0D962913d7d8AFA408B62547E" ], - "RETRY_ROLE": [ - "0x2451337aD5fE8b563bEB3b9c4A2B8789294879Ec" - ] + "RETRY_ROLE": ["0x2451337aD5fE8b563bEB3b9c4A2B8789294879Ec"] }, "latestBlockNumber": 53228538 }, @@ -480,10 +438,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -504,9 +459,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -517,9 +470,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -535,9 +486,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -558,9 +507,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -586,9 +533,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -599,10 +544,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0x158d6c497317367cea3cbab0bd84e6de236f060d" @@ -619,9 +561,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -637,9 +577,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -694,17 +632,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -714,9 +647,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0x158d6c497317367cea3cbab0bd84e6de236f060d" @@ -726,4 +657,4 @@ "latestCCCBlockNumber": 53228538 } } -} \ No newline at end of file +} diff --git a/out/permissions/42161-permissions.json b/out/permissions/42161-permissions.json index 1b1727a9..a16830f2 100644 --- a/out/permissions/42161-permissions.json +++ b/out/permissions/42161-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -204,9 +197,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -232,10 +223,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -251,10 +239,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -291,10 +276,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -333,10 +315,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -352,9 +331,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -370,9 +347,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -432,11 +407,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -452,9 +423,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -473,9 +442,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -501,9 +468,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -519,10 +484,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -549,15 +511,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0xFF1137243698CaA18EE364Cc966CF0e02A4e6327" - ], - "POOL_ADMIN": [ - "0xFF1137243698CaA18EE364Cc966CF0e02A4e6327" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0xFF1137243698CaA18EE364Cc966CF0e02A4e6327"], + "POOL_ADMIN": ["0xFF1137243698CaA18EE364Cc966CF0e02A4e6327"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0xADf86b537eF08591c2777E144322E8b0Ca7E82a7", @@ -591,15 +547,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0xFF1137243698CaA18EE364Cc966CF0e02A4e6327" - ], + "DEFAULT_ADMIN": ["0xFF1137243698CaA18EE364Cc966CF0e02A4e6327"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0x1Fcd437D8a9a6ea68da858b78b6cf10E8E0bF959" - ] + "RETRY_ROLE": ["0x1Fcd437D8a9a6ea68da858b78b6cf10E8E0bF959"] }, "latestBlockNumber": 293438444 }, @@ -620,10 +572,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -644,9 +593,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -657,9 +604,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -675,9 +620,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -698,9 +641,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -726,9 +667,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -739,10 +678,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -759,9 +695,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -777,9 +711,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -838,17 +770,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -858,9 +785,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -931,17 +856,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -979,9 +899,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1046,10 +964,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1065,10 +980,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1105,10 +1017,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1147,10 +1056,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1166,9 +1072,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1184,9 +1088,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1246,11 +1148,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1266,9 +1164,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1280,15 +1176,11 @@ "addresses": [ { "address": "0x3Be327F22eB4BD8042e6944073b8826dCf357Aa2", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1314,24 +1206,16 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] } }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0xFF1137243698CaA18EE364Cc966CF0e02A4e6327" - ], - "POOL_ADMIN": [ - "0xFF1137243698CaA18EE364Cc966CF0e02A4e6327" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0xFF1137243698CaA18EE364Cc966CF0e02A4e6327"], + "POOL_ADMIN": ["0xFF1137243698CaA18EE364Cc966CF0e02A4e6327"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0xADf86b537eF08591c2777E144322E8b0Ca7E82a7", @@ -1351,15 +1235,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0xFF1137243698CaA18EE364Cc966CF0e02A4e6327" - ], + "DEFAULT_ADMIN": ["0xFF1137243698CaA18EE364Cc966CF0e02A4e6327"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0x1Fcd437D8a9a6ea68da858b78b6cf10E8E0bF959" - ] + "RETRY_ROLE": ["0x1Fcd437D8a9a6ea68da858b78b6cf10E8E0bF959"] }, "latestBlockNumber": 264687509 }, @@ -1380,10 +1260,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -1404,9 +1281,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -1417,9 +1292,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1435,9 +1308,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1458,9 +1329,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1486,9 +1355,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -1499,10 +1366,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1519,9 +1383,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1537,9 +1399,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1598,17 +1458,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -1618,9 +1473,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1630,4 +1483,4 @@ "latestCCCBlockNumber": 264687509 } } -} \ No newline at end of file +} diff --git a/out/permissions/43114-permissions.json b/out/permissions/43114-permissions.json index ab3b7c15..dd9630ea 100644 --- a/out/permissions/43114-permissions.json +++ b/out/permissions/43114-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -204,9 +197,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -232,10 +223,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -251,10 +239,7 @@ "signersThreshold": 0 } ], - "functions": [ - "enableAssets", - "disableAssets" - ] + "functions": ["enableAssets", "disableAssets"] } ] }, @@ -290,10 +275,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -330,10 +312,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -372,10 +351,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -391,9 +367,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -409,9 +383,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -466,11 +438,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -486,9 +454,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -507,9 +473,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -535,9 +499,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -573,10 +535,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -603,15 +562,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x3C06dce358add17aAf230f2234bCCC4afd50d090" - ], - "POOL_ADMIN": [ - "0x3C06dce358add17aAf230f2234bCCC4afd50d090" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x3C06dce358add17aAf230f2234bCCC4afd50d090"], + "POOL_ADMIN": ["0x3C06dce358add17aAf230f2234bCCC4afd50d090"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5", @@ -620,9 +573,7 @@ "0xbf03aB677DEdA36E19D294d1735b93Dd9d1E0c05" ], "BRIDGE": [], - "FLASH_BORROWER": [ - "0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3" - ] + "FLASH_BORROWER": ["0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3"] }, "latestBlockNumber": 55535826 }, @@ -630,15 +581,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x3C06dce358add17aAf230f2234bCCC4afd50d090" - ], + "DEFAULT_ADMIN": ["0x3C06dce358add17aAf230f2234bCCC4afd50d090"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x3DBA1c4094BC0eE4772A05180B7E0c2F1cFD9c36" - ] + "RETRY_ROLE": ["0x3DBA1c4094BC0eE4772A05180B7E0c2F1cFD9c36"] }, "latestBlockNumber": 55535836 }, @@ -659,10 +606,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -683,9 +627,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -696,9 +638,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -714,9 +654,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -737,9 +675,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -765,9 +701,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -778,10 +712,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -798,9 +729,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGasLimit" - ] + "functions": ["updateGasLimit"] } ] }, @@ -816,9 +745,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -834,9 +761,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -852,9 +777,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -870,9 +793,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -931,10 +852,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", @@ -944,9 +862,7 @@ "owners": [] } ], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -964,9 +880,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -981,9 +895,7 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1091,9 +1003,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] }, { "modifier": "onlyPoolOrEmergencyAdmin", @@ -1119,9 +1029,7 @@ "signersThreshold": 5 } ], - "functions": [ - "unfreezeReserve" - ] + "functions": ["unfreezeReserve"] }, { "modifier": "onlyPoolOrProofOfReserveAdmin", @@ -1157,10 +1065,7 @@ "signersThreshold": 0 } ], - "functions": [ - "enableAssets", - "disableAssets" - ] + "functions": ["enableAssets", "disableAssets"] } ] }, @@ -1196,10 +1101,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1215,9 +1117,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -1254,10 +1154,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1274,11 +1171,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1294,10 +1187,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1313,9 +1203,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1331,9 +1219,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1484,9 +1370,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause" - ] + "functions": ["setPoolPause"] }, { "modifier": "onlyPoolOrProofOfReserveAdmin", @@ -1522,10 +1406,7 @@ "signersThreshold": 0 } ], - "functions": [ - "enableAssets", - "disableAssets" - ] + "functions": ["enableAssets", "disableAssets"] } ] }, @@ -1561,10 +1442,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1580,9 +1458,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setMarketBorrowRate" - ] + "functions": ["setMarketBorrowRate"] } ] }, @@ -1619,10 +1495,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -1639,11 +1512,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1659,10 +1528,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1678,9 +1544,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1696,9 +1560,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1814,17 +1676,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -1862,9 +1719,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1934,10 +1789,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1953,10 +1805,7 @@ "signersThreshold": 0 } ], - "functions": [ - "enableAssets", - "disableAssets" - ] + "functions": ["enableAssets", "disableAssets"] } ] }, @@ -1992,10 +1841,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -2032,10 +1878,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2074,10 +1917,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -2093,9 +1933,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -2111,9 +1949,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -2168,11 +2004,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -2188,9 +2020,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -2202,15 +2032,11 @@ "addresses": [ { "address": "0xCa66149425E7DC8f81276F6D80C4b486B9503D1a", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -2236,9 +2062,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -2265,15 +2089,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x3C06dce358add17aAf230f2234bCCC4afd50d090" - ], - "POOL_ADMIN": [ - "0x3C06dce358add17aAf230f2234bCCC4afd50d090" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x3C06dce358add17aAf230f2234bCCC4afd50d090"], + "POOL_ADMIN": ["0x3C06dce358add17aAf230f2234bCCC4afd50d090"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "ASSET_LISTING_ADMIN": [], "RISK_ADMIN": [ "0xD2C92b5A793e196aB11dBefBe3Af6BddeD6c3DD5", @@ -2281,9 +2099,7 @@ "0xB94e515615c244Ab25f7A6e592e3Cb7EE31E99F4" ], "BRIDGE": [], - "FLASH_BORROWER": [ - "0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3" - ] + "FLASH_BORROWER": ["0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3"] }, "latestBlockNumber": 51885151 }, @@ -2291,15 +2107,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x3C06dce358add17aAf230f2234bCCC4afd50d090" - ], + "DEFAULT_ADMIN": ["0x3C06dce358add17aAf230f2234bCCC4afd50d090"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x3DBA1c4094BC0eE4772A05180B7E0c2F1cFD9c36" - ] + "RETRY_ROLE": ["0x3DBA1c4094BC0eE4772A05180B7E0c2F1cFD9c36"] }, "latestBlockNumber": 51885151 }, @@ -2320,10 +2132,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -2344,9 +2153,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -2357,9 +2164,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -2375,9 +2180,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -2398,9 +2201,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -2426,9 +2227,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -2439,10 +2238,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" @@ -2459,9 +2255,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGasLimit" - ] + "functions": ["updateGasLimit"] } ] }, @@ -2477,9 +2271,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -2495,9 +2287,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2513,9 +2303,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2531,9 +2319,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -2592,10 +2378,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", @@ -2605,9 +2388,7 @@ "owners": [] } ], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -2625,9 +2406,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -2642,18 +2421,14 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0xd3cf979e676265e4f6379749dece4708b9a22476" } }, - "senders": [ - "0x9b6f5ef589A3DD08670Dd146C11C4Fb33E04494F" - ], + "senders": ["0x9b6f5ef589A3DD08670Dd146C11C4Fb33E04494F"], "latestCCCBlockNumber": 51885151 } } -} \ No newline at end of file +} diff --git a/out/permissions/534352-permissions.json b/out/permissions/534352-permissions.json index ae209550..acca2954 100644 --- a/out/permissions/534352-permissions.json +++ b/out/permissions/534352-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0x782559e349b084bb7c07c08404ae6e3436cdae2e" @@ -323,10 +305,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -381,11 +360,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -401,9 +376,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -422,9 +395,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -450,9 +421,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -468,10 +437,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -498,20 +464,12 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24" - ], - "POOL_ADMIN": [ - "0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24"], + "POOL_ADMIN": ["0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], - "FLASH_BORROWER": [ - "0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3" - ], + "FLASH_BORROWER": ["0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3"], "RISK_ADMIN": [ "0xc68D0C511076283075bD5cc9aA61E43673135f37", "0xc4dcA550EF04FD0f8AbD4c384575Fb8a8123054e", @@ -524,15 +482,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24" - ], + "DEFAULT_ADMIN": ["0xc1ABF87FfAdf4908f4eC8dc54A25DCFEabAE4A24"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0x4aAa03F0A61cf93eA252e987b585453578108358" - ] + "RETRY_ROLE": ["0x4aAa03F0A61cf93eA252e987b585453578108358"] }, "latestBlockNumber": 12557300 }, @@ -553,10 +507,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -577,9 +528,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -590,9 +539,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -608,9 +555,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -631,9 +576,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -659,9 +602,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -672,10 +613,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0x782559e349b084bb7c07c08404ae6e3436cdae2e" @@ -692,9 +630,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -710,9 +646,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -771,17 +705,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -791,9 +720,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0x782559e349b084bb7c07c08404ae6e3436cdae2e" @@ -803,4 +730,4 @@ "latestCCCBlockNumber": 12557299 } } -} \ No newline at end of file +} diff --git a/out/permissions/56-permissions.json b/out/permissions/56-permissions.json index 2a0fe5cb..51ea2d92 100644 --- a/out/permissions/56-permissions.json +++ b/out/permissions/56-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0x39ebffc7679c62dfcc4a3e2c09bcb0be255ae63c" @@ -323,10 +305,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -342,9 +321,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -360,9 +337,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -417,11 +392,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -437,9 +408,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -458,9 +427,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -486,9 +453,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -504,10 +469,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -534,20 +496,12 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "POOL_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "POOL_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], - "FLASH_BORROWER": [ - "0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3" - ], + "FLASH_BORROWER": ["0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3"], "RISK_ADMIN": [ "0x83f15Bc50d1A212576B202f80489502a7cc10412", "0x971F1C94b139AdEdedA729DA636e2B0C433Ff595", @@ -560,15 +514,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0xE8C5ab722d0b1B7316Cc4034f2BE91A5B1d29964" - ] + "RETRY_ROLE": ["0xE8C5ab722d0b1B7316Cc4034f2BE91A5B1d29964"] }, "latestBlockNumber": 45600045 }, @@ -589,10 +539,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -613,9 +560,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -626,9 +571,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -644,9 +587,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -667,9 +608,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -695,9 +634,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -708,10 +645,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0x39ebffc7679c62dfcc4a3e2c09bcb0be255ae63c" @@ -728,9 +662,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -746,9 +678,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -764,9 +694,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -782,9 +710,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -843,17 +769,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -871,9 +792,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -888,9 +807,7 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0x39ebffc7679c62dfcc4a3e2c09bcb0be255ae63c" @@ -961,17 +878,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -1009,9 +921,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1085,9 +995,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -1113,10 +1021,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1132,10 +1037,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1172,10 +1074,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0x39ebffc7679c62dfcc4a3e2c09bcb0be255ae63c" @@ -1214,10 +1113,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1233,9 +1129,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1251,9 +1145,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1308,11 +1200,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1328,9 +1216,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1342,15 +1228,11 @@ "addresses": [ { "address": "0x126dc589cc75f17385dD95516F3F1788d862E7bc", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1376,9 +1258,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -1394,19 +1274,14 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", "addresses": [ { "address": "0x126dc589cc75f17385dD95516F3F1788d862E7bc", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], @@ -1423,20 +1298,12 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "POOL_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "EMERGENCY_ADMIN": [ - "0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "POOL_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "EMERGENCY_ADMIN": ["0xCb45E82419baeBCC9bA8b1e5c7858e48A3B26Ea6"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], - "FLASH_BORROWER": [ - "0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3" - ], + "FLASH_BORROWER": ["0x14F8e5Fe35b2d0D67dBcE9329f1b5d09f60c06C3"], "RISK_ADMIN": [ "0x83f15Bc50d1A212576B202f80489502a7cc10412", "0x971F1C94b139AdEdedA729DA636e2B0C433Ff595" @@ -1448,15 +1315,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], "SOLVE_EMERGENCY_ROLE": [ "0x1A0581dd5C7C3DA4Ba1CDa7e0BcA7286afc4973b" ], - "RETRY_ROLE": [ - "0xE8C5ab722d0b1B7316Cc4034f2BE91A5B1d29964" - ] + "RETRY_ROLE": ["0xE8C5ab722d0b1B7316Cc4034f2BE91A5B1d29964"] }, "latestBlockNumber": 43790103 }, @@ -1477,10 +1340,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -1501,9 +1361,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -1514,9 +1372,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1532,9 +1388,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1555,9 +1409,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1583,9 +1435,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -1596,10 +1446,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0x39ebffc7679c62dfcc4a3e2c09bcb0be255ae63c" @@ -1616,9 +1463,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1634,9 +1479,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1652,9 +1495,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1670,9 +1511,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1731,17 +1570,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -1759,9 +1593,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] }, { "modifier": "onlyGuardian", @@ -1776,9 +1608,7 @@ "signersThreshold": 2 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] } ], "proxyAdmin": "0x39ebffc7679c62dfcc4a3e2c09bcb0be255ae63c" @@ -1788,4 +1618,4 @@ "latestCCCBlockNumber": 43790102 } } -} \ No newline at end of file +} diff --git a/out/permissions/59144-permissions.json b/out/permissions/59144-permissions.json new file mode 100644 index 00000000..e3dcfd58 --- /dev/null +++ b/out/permissions/59144-permissions.json @@ -0,0 +1,678 @@ +{ + "V3": { + "contracts": { + "PoolAddressesProvider": { + "address": "0x89502c3731F69DDC95B65753708A07F8Cd0373F4", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "setMarketId", + "setAddress", + "setAddressAsProxy", + "setPoolImpl", + "setPoolConfiguratorImpl", + "setPriceOracle", + "setACLManager", + "setACLAdmin", + "setPriceOracleSentinel", + "setPoolDataProvider" + ] + } + ] + }, + "Pool": { + "address": "0xc47b8C00b0f69a36fa203Ffeac0334874574a8Ac", + "proxyAdmin": "0x89502c3731F69DDC95B65753708A07F8Cd0373F4", + "modifiers": [ + { + "modifier": "onlyPoolConfigurator", + "addresses": [ + { + "address": "0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2", + "owners": [] + } + ], + "functions": [ + "initReserve", + "dropReserve", + "setReserveInterestRateStrategyAddress", + "setConfiguration", + "updateBridgeProtocolFee", + "updateFlashloanPremiums", + "configureEModeCategory", + "resetIsolationModeTotalDebt" + ] + }, + { + "modifier": "onlyPoolAdmin", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "rescueTokens" + ] + }, + { + "modifier": "onlyBridge", + "addresses": [], + "functions": [ + "mintUnbacked", + "backUnbacked" + ] + } + ] + }, + "PoolConfigurator": { + "address": "0x812E7c19421D9f41A6DDCF047d5cc2dE2Ca5Bfa2", + "proxyAdmin": "0x89502c3731F69DDC95B65753708A07F8Cd0373F4", + "modifiers": [ + { + "modifier": "onlyPoolAdmin", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "dropReserve", + "dropReserve", + "updateAToken", + "updateStableDebtToken", + "updateVariableDebtToken", + "setReserveActive", + "updateBridgeProtocolFee", + "updateFlashloanPremiumTotal", + "updateFlashloanPremiumToProtocol" + ] + }, + { + "modifier": "onlyAssetListingOrPoolAdmins", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "initReserves" + ] + }, + { + "modifier": "onlyRiskOrPoolAdmins", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "setReserveBorrowing", + "setReserveBorrowing", + "configureReserveAsCollateral", + "setReserveStableRateBorrowing", + "setBorrowableInIsolation", + "setReserveFactor", + "setDebtCeiling", + "setSiloedBorrowing", + "setBorrowCap", + "setSupplyCap", + "setLiquidationProtocolFee", + "setEModeCategory", + "setAssetEModeCategory", + "setUnbackedMintCap", + "setReserveInterestRateStrategyAddress", + "setReserveFlashLoaning" + ] + }, + { + "modifier": "onlyRiskOrPoolOrEmergencyAdmins", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + }, + { + "address": "0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9", + "owners": [ + "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d", + "0xbA037E4746ff58c55dc8F27a328C428F258DDACb", + "0x818C277dBE886b934e60aa047250A73529E26A99", + "0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9", + "0xb647055A9915bF9c8021a684E175A353525b9890", + "0x57ab7ee15cE5ECacB1aB84EE42D5A9d0d8112922", + "0xC5bE5c0134857B4b96F45AA6f6B77DB96Ac1487e", + "0xd4af2E86a27F8F77B0556E081F97B215C9cA8f2E", + "0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02" + ], + "signersThreshold": 5 + } + ], + "functions": [ + "setReserveFreeze" + ] + }, + { + "modifier": "onlyEmergencyOrPoolAdmin", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + }, + { + "address": "0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9", + "owners": [ + "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d", + "0xbA037E4746ff58c55dc8F27a328C428F258DDACb", + "0x818C277dBE886b934e60aa047250A73529E26A99", + "0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9", + "0xb647055A9915bF9c8021a684E175A353525b9890", + "0x57ab7ee15cE5ECacB1aB84EE42D5A9d0d8112922", + "0xC5bE5c0134857B4b96F45AA6f6B77DB96Ac1487e", + "0xd4af2E86a27F8F77B0556E081F97B215C9cA8f2E", + "0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02" + ], + "signersThreshold": 5 + } + ], + "functions": [ + "setPoolPause", + "setReservePause" + ] + } + ] + }, + "AaveOracle": { + "address": "0xCFDAdA7DCd2e785cF706BaDBC2B8Af5084d595e9", + "modifiers": [ + { + "modifier": "onlyAssetListingOrPoolAdmins", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "setAssetSources", + "setFallbackOracle" + ] + } + ] + }, + "Collector": { + "address": "0x86E2938daE289763D4e09a7e42c5cCcA62Cf9809", + "modifiers": [ + { + "modifier": "onlyFundsAdmin", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "approve", + "transfer", + "setFundsAdmin", + "createStream" + ] + }, + { + "modifier": "onlyAdminOrRecipient", + "addresses": [ + { + "address": "0x160e35e28fee90f3656420584e0a990276219b5a", + "owners": [], + "signersThreshold": 0 + }, + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "withdrawFromStream", + "cancelStream" + ] + } + ], + "proxyAdmin": "0x160e35e28fee90f3656420584e0a990276219b5a" + }, + "RewardsController": { + "address": "0xc67bb8F2314fA0df50cBa314c6509A7bdAD500C0", + "proxyAdmin": "0x89502c3731F69DDC95B65753708A07F8Cd0373F4", + "modifiers": [ + { + "modifier": "onlyEmissionManager", + "addresses": [ + { + "address": "0x0165C65FB21bDC9Cdc09C627d62AB3a983337158", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "configureAssets", + "setTransferStrategy", + "setRewardOracle", + "setClaimer" + ] + } + ] + }, + "WrappedTokenGatewayV3": { + "address": "0x4758213271BFdC72224A7a8742dC865fC97756e1", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "emergencyTokenTransfer", + "emergencyEtherTransfer" + ] + } + ] + }, + "EmissionManager": { + "address": "0x0165C65FB21bDC9Cdc09C627d62AB3a983337158", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "setClaimer", + "setEmissionAdmin", + "setRewardsController" + ] + } + ] + }, + "PoolAddressesProviderRegistry": { + "address": "0x96dFCCB3F9ACDaF6c8f8a35E814023C3484d1eA2", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "registerAddressesProvider", + "unregisterAddressesProvider" + ] + } + ] + }, + "ProxyAdmin": { + "address": "0x160E35e28fEE90F3656420584e0a990276219b5A", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "changeProxyAdmin", + "upgrade", + "upgradeAndCall" + ] + } + ] + }, + "ACLManager": { + "address": "0xbf32c7dFC72b730967072B112927ca0de205dbb5", + "modifiers": [ + { + "modifier": "onlyRole", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "setRoleAdmin" + ] + } + ] + } + }, + "roles": { + "role": { + "DEFAULT_ADMIN": [ + "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88" + ], + "POOL_ADMIN": [ + "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88" + ], + "EMERGENCY_ADMIN": [ + "0x0BF186764D8333a938f35e5dD124a7b9b9dccDF9" + ], + "ASSET_LISTING_ADMIN": [], + "BRIDGE": [], + "FLASH_BORROWER": [], + "RISK_ADMIN": [] + }, + "latestBlockNumber": 13381098 + }, + "gsmRoles": {}, + "govV3": { + "ggRoles": { + "role": { + "DEFAULT_ADMIN": [ + "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88" + ], + "SOLVE_EMERGENCY_ROLE": [ + "0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E" + ], + "RETRY_ROLE": [ + "0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea" + ] + }, + "latestBlockNumber": 13381104 + }, + "contracts": { + "GranularGuardian": { + "address": "0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16", + "modifiers": [ + { + "modifier": "onlyRetryGuardian", + "addresses": [ + { + "address": "0xfD3a6E65e470a7D7D730FFD5D36a9354E8F9F4Ea", + "owners": [ + "0x0650302887619fa7727D8BD480Cda11A638B219B", + "0xf71fc92e2949ccF6A5Fd369a0b402ba80Bc61E02", + "0x5811d9FF80ff4B73A8F9bA42A6082FaB82E89Ea7" + ], + "signersThreshold": 2 + } + ], + "functions": [ + "retryEnvelope", + "retryTransaction" + ] + }, + { + "modifier": "onlyEmergencyGuardian", + "addresses": [ + { + "address": "0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E", + "owners": [ + "0xDA5Ae43e179987a66B9831F92223567e1F38BE7D", + "0x1e3804357eD445251FfECbb6e40107bf03888885", + "0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9", + "0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29", + "0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7", + "0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396", + "0x936CD9654271083cCF93A975919Da0aB3Bc99EF3", + "0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9", + "0x4C30E33758216aD0d676419c21CB8D014C68099f" + ], + "signersThreshold": 5 + } + ], + "functions": [ + "solveEmergency" + ] + }, + { + "modifier": "onlyDefaultAdmin", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "updateGuardian" + ] + } + ] + }, + "PayloadsController": { + "address": "0x3BcE23a1363728091bc57A58a226CF2940C2e074", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "updateExecutors" + ] + }, + { + "modifier": "onlyGuardian", + "addresses": [ + { + "address": "0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E", + "owners": [ + "0xDA5Ae43e179987a66B9831F92223567e1F38BE7D", + "0x1e3804357eD445251FfECbb6e40107bf03888885", + "0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9", + "0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29", + "0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7", + "0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396", + "0x936CD9654271083cCF93A975919Da0aB3Bc99EF3", + "0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9", + "0x4C30E33758216aD0d676419c21CB8D014C68099f" + ], + "signersThreshold": 5 + } + ], + "functions": [ + "cancelPayload" + ] + }, + { + "modifier": "onlyOwnerOrGuardian", + "addresses": [ + { + "address": "0x056E4C4E80D1D14a637ccbD0412CDAAEc5B51F4E", + "owners": [ + "0xDA5Ae43e179987a66B9831F92223567e1F38BE7D", + "0x1e3804357eD445251FfECbb6e40107bf03888885", + "0x4f96743057482a2E10253AFDacDA3fd9CF2C1DC9", + "0xebED04E9137AfeBFF6a1B97aC0adf61a544eFE29", + "0xbd4DCfA978c6D0d342cE36809AfFFa49d4B7f1F7", + "0xA3103D0ED00d24795Faa2d641ACf6A320EeD7396", + "0x936CD9654271083cCF93A975919Da0aB3Bc99EF3", + "0x0D2394C027602Dc4c3832Ffd849b5df45DBac0E9", + "0x4C30E33758216aD0d676419c21CB8D014C68099f" + ], + "signersThreshold": 5 + }, + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "updateGuardian" + ] + }, + { + "modifier": "onlyRescueGuardian", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "emergencyTokenTransfer", + "emergencyEtherTransfer" + ] + } + ], + "proxyAdmin": "0x160e35e28fee90f3656420584e0a990276219b5a" + }, + "Executor_lvl1": { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x3BcE23a1363728091bc57A58a226CF2940C2e074", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "executeTransaction" + ] + } + ] + }, + "Linea native adapter": { + "address": "0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6", + "modifiers": [ + { + "modifier": "trustedRemote", + "addresses": [ + { + "address": "0xEd42a7D8559a463722Ca4beD50E0Cc05a386b0e1", + "owners": [], + "chain": "1" + } + ], + "functions": [ + "receiveMessage" + ] + } + ] + }, + "CrossChainController": { + "address": "0x0D3f821e9741C8a8Bcac231162320251Db0cdf52", + "modifiers": [ + { + "modifier": "onlyOwner", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "approveSenders", + "removeSenders", + "enableBridgeAdapters", + "disableBridgeAdapters", + "updateMessagesValidityTimestamp", + "allowReceiverBridgeAdapters", + "disallowReceiverBridgeAdapters" + ] + }, + { + "modifier": "onlyOwnerOrGuardian", + "addresses": [ + { + "address": "0xc1cd6faF6e9138b4e6C21d438f9ebF2bd6F6cA16", + "owners": [], + "signersThreshold": 0 + }, + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "retryEnvelope", + "retryTransaction", + "updateGuardian" + ] + }, + { + "modifier": "onlyRescueGuardian", + "addresses": [ + { + "address": "0x8c2d95FE7aeB57b86961F3abB296A54f0ADb7F88", + "owners": [], + "signersThreshold": 0 + } + ], + "functions": [ + "emergencyTokenTransfer", + "emergencyEtherTransfer" + ] + }, + { + "modifier": "onlyApprovedSenders", + "addresses": [], + "functions": [ + "forwardMessage" + ] + }, + { + "modifier": "onlyApprovedBridges", + "addresses": [ + { + "address": "0xB3332d31ECFC3ef3BF6Cda79833D11d1A53f5cE6", + "owners": [] + } + ], + "functions": [ + "receiveCrossChainMessage" + ] + } + ], + "proxyAdmin": "0x160e35e28fee90f3656420584e0a990276219b5a" + } + }, + "senders": [], + "latestCCCBlockNumber": 13381104 + } + } +} \ No newline at end of file diff --git a/out/permissions/8453-permissions.json b/out/permissions/8453-permissions.json index a2e3babd..a6dc8fcf 100644 --- a/out/permissions/8453-permissions.json +++ b/out/permissions/8453-permissions.json @@ -60,17 +60,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -108,9 +103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -194,9 +187,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -222,10 +213,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -241,10 +229,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -281,10 +266,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xc85b1e333aecc99340b2320493fe2d22b8734795" @@ -323,10 +305,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -342,9 +321,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -360,9 +337,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -417,11 +392,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -437,9 +408,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -458,9 +427,7 @@ "signersThreshold": 2 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -486,9 +453,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -504,10 +469,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", @@ -534,15 +496,9 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "POOL_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "POOL_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], "FLASH_BORROWER": [ @@ -571,15 +527,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x7FDA7C3528ad8f05e62148a700D456898b55f8d2" - ] + "RETRY_ROLE": ["0x7FDA7C3528ad8f05e62148a700D456898b55f8d2"] }, "latestBlockNumber": 24795981 }, @@ -600,10 +552,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -624,9 +573,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -637,9 +584,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -655,9 +600,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -678,9 +621,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -706,9 +647,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -719,10 +658,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xc85b1e333aecc99340b2320493fe2d22b8734795" @@ -739,9 +675,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -757,9 +691,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -818,17 +750,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -838,9 +765,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xc85b1e333aecc99340b2320493fe2d22b8734795" @@ -911,17 +836,12 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] }, { "modifier": "onlyBridge", "addresses": [], - "functions": [ - "mintUnbacked", - "backUnbacked" - ] + "functions": ["mintUnbacked", "backUnbacked"] } ] }, @@ -959,9 +879,7 @@ "signersThreshold": 0 } ], - "functions": [ - "initReserves" - ] + "functions": ["initReserves"] }, { "modifier": "onlyRiskOrPoolAdmins", @@ -1035,9 +953,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setReserveFreeze" - ] + "functions": ["setReserveFreeze"] }, { "modifier": "onlyEmergencyOrPoolAdmin", @@ -1063,10 +979,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setPoolPause", - "setReservePause" - ] + "functions": ["setPoolPause", "setReservePause"] } ] }, @@ -1082,10 +995,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setAssetSources", - "setFallbackOracle" - ] + "functions": ["setAssetSources", "setFallbackOracle"] } ] }, @@ -1122,10 +1032,7 @@ "signersThreshold": 0 } ], - "functions": [ - "withdrawFromStream", - "cancelStream" - ] + "functions": ["withdrawFromStream", "cancelStream"] } ], "proxyAdmin": "0xc85b1e333aecc99340b2320493fe2d22b8734795" @@ -1164,10 +1071,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ] }, @@ -1183,9 +1087,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1201,9 +1103,7 @@ "signersThreshold": 0 } ], - "functions": [ - "rescueTokens" - ] + "functions": ["rescueTokens"] } ] }, @@ -1258,11 +1158,7 @@ "signersThreshold": 0 } ], - "functions": [ - "changeProxyAdmin", - "upgrade", - "upgradeAndCall" - ] + "functions": ["changeProxyAdmin", "upgrade", "upgradeAndCall"] } ] }, @@ -1278,9 +1174,7 @@ "signersThreshold": 0 } ], - "functions": [ - "setRoleAdmin" - ] + "functions": ["setRoleAdmin"] } ] }, @@ -1292,15 +1186,11 @@ "addresses": [ { "address": "0xfbeB4AcB31340bA4de9C87B11dfBf7e2bc8C0bF1", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], - "functions": [ - "updateCaps" - ] + "functions": ["updateCaps"] } ] }, @@ -1326,9 +1216,7 @@ "signersThreshold": 5 } ], - "functions": [ - "setFreeze" - ] + "functions": ["setFreeze"] } ] }, @@ -1344,19 +1232,14 @@ "signersThreshold": 0 } ], - "functions": [ - "setRiskConfig", - "setAddressRestricted" - ] + "functions": ["setRiskConfig", "setAddressRestricted"] }, { "modifier": "onlyRiskCouncil", "addresses": [ { "address": "0xfbeB4AcB31340bA4de9C87B11dfBf7e2bc8C0bF1", - "owners": [ - "0x5d49dBcdd300aECc2C311cFB56593E71c445d60d" - ], + "owners": ["0x5d49dBcdd300aECc2C311cFB56593E71c445d60d"], "signersThreshold": 1 } ], @@ -1373,20 +1256,12 @@ }, "roles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "POOL_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], - "EMERGENCY_ADMIN": [ - "0x56C1a4b54921DEA9A344967a8693C7E661D72968" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "POOL_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], + "EMERGENCY_ADMIN": ["0x56C1a4b54921DEA9A344967a8693C7E661D72968"], "ASSET_LISTING_ADMIN": [], "BRIDGE": [], - "FLASH_BORROWER": [ - "0xab515542d621574f9b5212d50593cD0C07e641bD" - ], + "FLASH_BORROWER": ["0xab515542d621574f9b5212d50593cD0C07e641bD"], "RISK_ADMIN": [ "0x12DEB4025b79f2B43f6aeF079F9D77C3f9a67bb6", "0x4A4c73d563395ad827511F70097d4Ef82E653805" @@ -1398,15 +1273,11 @@ "govV3": { "ggRoles": { "role": { - "DEFAULT_ADMIN": [ - "0x9390B1735def18560c509E2d0bc090E9d6BA257a" - ], + "DEFAULT_ADMIN": ["0x9390B1735def18560c509E2d0bc090E9d6BA257a"], "SOLVE_EMERGENCY_ROLE": [ "0x360c0a69Ed2912351227a0b745f890CB2eBDbcFe" ], - "RETRY_ROLE": [ - "0x7FDA7C3528ad8f05e62148a700D456898b55f8d2" - ] + "RETRY_ROLE": ["0x7FDA7C3528ad8f05e62148a700D456898b55f8d2"] }, "latestBlockNumber": 22080818 }, @@ -1427,10 +1298,7 @@ "signersThreshold": 2 } ], - "functions": [ - "retryEnvelope", - "retryTransaction" - ] + "functions": ["retryEnvelope", "retryTransaction"] }, { "modifier": "onlyEmergencyGuardian", @@ -1451,9 +1319,7 @@ "signersThreshold": 5 } ], - "functions": [ - "solveEmergency" - ] + "functions": ["solveEmergency"] }, { "modifier": "onlyDefaultAdmin", @@ -1464,9 +1330,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] } ] }, @@ -1482,9 +1346,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateExecutors" - ] + "functions": ["updateExecutors"] }, { "modifier": "onlyGuardian", @@ -1505,9 +1367,7 @@ "signersThreshold": 5 } ], - "functions": [ - "cancelPayload" - ] + "functions": ["cancelPayload"] }, { "modifier": "onlyOwnerOrGuardian", @@ -1533,9 +1393,7 @@ "signersThreshold": 0 } ], - "functions": [ - "updateGuardian" - ] + "functions": ["updateGuardian"] }, { "modifier": "onlyRescueGuardian", @@ -1546,10 +1404,7 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] } ], "proxyAdmin": "0xc85b1e333aecc99340b2320493fe2d22b8734795" @@ -1566,9 +1421,7 @@ "signersThreshold": 0 } ], - "functions": [ - "executeTransaction" - ] + "functions": ["executeTransaction"] } ] }, @@ -1584,9 +1437,7 @@ "chain": "1" } ], - "functions": [ - "receiveMessage" - ] + "functions": ["receiveMessage"] } ] }, @@ -1645,17 +1496,12 @@ "signersThreshold": 0 } ], - "functions": [ - "emergencyTokenTransfer", - "emergencyEtherTransfer" - ] + "functions": ["emergencyTokenTransfer", "emergencyEtherTransfer"] }, { "modifier": "onlyApprovedSenders", "addresses": [], - "functions": [ - "forwardMessage" - ] + "functions": ["forwardMessage"] }, { "modifier": "onlyApprovedBridges", @@ -1665,9 +1511,7 @@ "owners": [] } ], - "functions": [ - "receiveCrossChainMessage" - ] + "functions": ["receiveCrossChainMessage"] } ], "proxyAdmin": "0xc85b1e333aecc99340b2320493fe2d22b8734795" @@ -1677,4 +1521,4 @@ "latestCCCBlockNumber": 22080817 } } -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 971fb720..93bcfbb7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "ISC", "devDependencies": { "@aave/contract-helpers": "^1.18.2", - "@bgd-labs/aave-address-book": "^4.3.0", + "@bgd-labs/aave-address-book": "4.7.1-55059af528eaf322fca91f3b0c59ce8c94019549.0", "@types/node": "^18.8.3", "dotenv": "^16.0.3", "ethers": "^5.7.1", @@ -36,9 +36,9 @@ } }, "node_modules/@bgd-labs/aave-address-book": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@bgd-labs/aave-address-book/-/aave-address-book-4.3.1.tgz", - "integrity": "sha512-Rg5ak/OuXgT6Q0q+CcP4GvutsTVaR6HmSsyHogkjwPgrgApg4d8GxtKHqBj9oXbNHnW5/N7piEGZc8Jd5z7G/Q==", + "version": "4.7.1-55059af528eaf322fca91f3b0c59ce8c94019549.0", + "resolved": "https://registry.npmjs.org/@bgd-labs/aave-address-book/-/aave-address-book-4.7.1-55059af528eaf322fca91f3b0c59ce8c94019549.0.tgz", + "integrity": "sha512-FCQVKBtlPD8HtGBkylmgpUgQS/vBXa08NUKZ3zMRk4IHD+3kh2XyGV0Ct7B4Kf+wwMPyNj3mxdKqIFHajnCUwQ==", "dev": true }, "node_modules/@cspotcode/source-map-support": { @@ -1688,9 +1688,9 @@ } }, "@bgd-labs/aave-address-book": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@bgd-labs/aave-address-book/-/aave-address-book-4.3.1.tgz", - "integrity": "sha512-Rg5ak/OuXgT6Q0q+CcP4GvutsTVaR6HmSsyHogkjwPgrgApg4d8GxtKHqBj9oXbNHnW5/N7piEGZc8Jd5z7G/Q==", + "version": "4.7.1-55059af528eaf322fca91f3b0c59ce8c94019549.0", + "resolved": "https://registry.npmjs.org/@bgd-labs/aave-address-book/-/aave-address-book-4.7.1-55059af528eaf322fca91f3b0c59ce8c94019549.0.tgz", + "integrity": "sha512-FCQVKBtlPD8HtGBkylmgpUgQS/vBXa08NUKZ3zMRk4IHD+3kh2XyGV0Ct7B4Kf+wwMPyNj3mxdKqIFHajnCUwQ==", "dev": true }, "@cspotcode/source-map-support": { diff --git a/package.json b/package.json index c95753d9..ce76e02f 100755 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "homepage": "https://github.com/bgd-labs/aave-permissions-list#readme", "devDependencies": { "@aave/contract-helpers": "^1.18.2", - "@bgd-labs/aave-address-book": "^4.3.0", + "@bgd-labs/aave-address-book": "4.7.1-55059af528eaf322fca91f3b0c59ce8c94019549.0", "@types/node": "^18.8.3", "dotenv": "^16.0.3", "ethers": "^5.7.1", diff --git a/scripts/createTables.ts b/scripts/createTables.ts index 11d66373..a410c19a 100644 --- a/scripts/createTables.ts +++ b/scripts/createTables.ts @@ -105,6 +105,8 @@ export const generateTable = (network: string, pool: string): string => { ? 'POLYGON_ZK_EVM' : network == '324' ? 'ZK_SYNC' + : network == '59144' + ? 'LINEA' : ChainIdToNetwork[Number(network)].toUpperCase(); const addressesNames = networkConfigs[network].addressesNames || {}; @@ -513,7 +515,6 @@ export const generateTable = (network: string, pool: string): string => { readmeByNetwork += adminTable + '\n'; } - // TODO: add granular guardian admin table let ggAdminTable = `### Granular Guardian Admins \n`; const ggAdminsHeaderTitles = ['Role', 'Contract']; const ggAdminHeader = getTableHeader(ggAdminsHeaderTitles); diff --git a/scripts/v3Permissions.ts b/scripts/v3Permissions.ts index e255c0d1..b22509da 100644 --- a/scripts/v3Permissions.ts +++ b/scripts/v3Permissions.ts @@ -1,4 +1,4 @@ -import { ethers, providers, utils } from 'ethers'; +import { ethers, providers, utils, constants } from 'ethers'; import { onlyOwnerAbi } from '../abis/onlyOwnerAbi.js'; import { collectorAbi } from '../abis/collectorAbi.js'; import { Pools } from '../helpers/configs.js'; @@ -373,52 +373,57 @@ export const resolveV3Modifiers = async ( ], }; - const collector = new ethers.Contract( - addressBook.COLLECTOR, - collectorAbi, - provider, - ); + if ( + addressBook.COLLECTOR && + addressBook.COLLECTOR !== constants.AddressZero + ) { + const collector = new ethers.Contract( + addressBook.COLLECTOR, + collectorAbi, + provider, + ); - const fundsAdmin = await collector.getFundsAdmin(); - const collectorProxyAdmin = await getProxyAdmin( - addressBook.COLLECTOR, - provider, - ); - obj['Collector'] = { - address: addressBook.COLLECTOR, - modifiers: [ - { - modifier: 'onlyFundsAdmin', - addresses: [ - { - address: fundsAdmin, - owners: await getSafeOwners(provider, fundsAdmin), - signersThreshold: await getSafeThreshold(provider, fundsAdmin), - }, - ], - functions: roles['Collector']['onlyFundsAdmin'], - }, - { - modifier: 'onlyAdminOrRecipient', - addresses: [ - { - address: collectorProxyAdmin, - owners: await getSafeOwners(provider, collectorProxyAdmin), - signersThreshold: await getSafeThreshold( - provider, - collectorProxyAdmin, - ), - }, - { - address: fundsAdmin, - owners: await getSafeOwners(provider, fundsAdmin), - signersThreshold: await getSafeThreshold(provider, fundsAdmin), - }, - ], - functions: roles['Collector']['onlyAdminOrRecipient'], - }, - ], - }; + const fundsAdmin = await collector.getFundsAdmin(); + const collectorProxyAdmin = await getProxyAdmin( + addressBook.COLLECTOR, + provider, + ); + obj['Collector'] = { + address: addressBook.COLLECTOR, + modifiers: [ + { + modifier: 'onlyFundsAdmin', + addresses: [ + { + address: fundsAdmin, + owners: await getSafeOwners(provider, fundsAdmin), + signersThreshold: await getSafeThreshold(provider, fundsAdmin), + }, + ], + functions: roles['Collector']['onlyFundsAdmin'], + }, + { + modifier: 'onlyAdminOrRecipient', + addresses: [ + { + address: collectorProxyAdmin, + owners: await getSafeOwners(provider, collectorProxyAdmin), + signersThreshold: await getSafeThreshold( + provider, + collectorProxyAdmin, + ), + }, + { + address: fundsAdmin, + owners: await getSafeOwners(provider, fundsAdmin), + signersThreshold: await getSafeThreshold(provider, fundsAdmin), + }, + ], + functions: roles['Collector']['onlyAdminOrRecipient'], + }, + ], + }; + } // for now, we use the same as practically there is only one rewards controller and emission manager // but could be that there is one of these for every token @@ -499,6 +504,7 @@ export const resolveV3Modifiers = async ( ], }; } + if (addressBook.REPAY_WITH_COLLATERAL_ADAPTER) { const paraswapRepaySwapContract = new ethers.Contract( addressBook.REPAY_WITH_COLLATERAL_ADAPTER,