Skip to content

Commit

Permalink
Merge pull request #149 from balancer/gha-permissions
Browse files Browse the repository at this point in the history
BOT: Automatic update to permissions tables based on onchain changes.
  • Loading branch information
mikemcdonald authored Sep 12, 2023
2 parents 61232d9 + 1f7e0dc commit 6759274
Show file tree
Hide file tree
Showing 25 changed files with 563 additions and 249 deletions.
5 changes: 5 additions & 0 deletions data_files/permissions/arbitrum.csv
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,21 @@ disableRecoveryMode(),WeightedPool,20230206-weighted-pool-v3,['0xf404C5a0c02397f
disableRecoveryMode(),WeightedPool,20230320-weighted-pool-v4,['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D'],['multisigs/emergency']
enableRecoveryMode(),AaveLinearPool,20220817-aave-rebalanced-linear-pool,['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D'],['multisigs/emergency']
enableRecoveryMode(),AaveLinearPool,20221207-aave-rebalanced-linear-pool-v3,['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D'],['multisigs/emergency']
enableRecoveryMode(),AaveLinearPool,20230206-aave-rebalanced-linear-pool-v4,['0xaF23DC5983230E9eEAf93280e312e57539D098D0'],['multisigs/dao']
enableRecoveryMode(),AaveLinearPool,20230410-aave-linear-pool-v5,"['0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2', '0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/emergency']"
enableRecoveryMode(),ComposableStablePool,20220906-composable-stable-pool,"['0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2', '0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/emergency']"
enableRecoveryMode(),ComposableStablePool,20221122-composable-stable-pool-v2,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),ComposableStablePool,20230206-composable-stable-pool-v3,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),ComposableStablePool,20230320-composable-stable-pool-v4,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),ComposableStablePool,20230711-composable-stable-pool-v5,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),ERC4626LinearPool,20230206-erc4626-linear-pool-v3,['0xaF23DC5983230E9eEAf93280e312e57539D098D0'],['multisigs/dao']
enableRecoveryMode(),ERC4626LinearPool,20230409-erc4626-linear-pool-v4,"['0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2', '0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/emergency']"
enableRecoveryMode(),ManagedPool,20230411-managed-pool-v2,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),StablePool,20220609-stable-pool-v2,['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D'],['multisigs/emergency']
enableRecoveryMode(),WeightedPool,20220908-weighted-pool-v2,"['0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2', '0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/emergency']"
enableRecoveryMode(),WeightedPool,20230206-weighted-pool-v3,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),WeightedPool,20230320-weighted-pool-v4,"['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D', '0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),YearnLinearPool,20230213-yearn-linear-pool,['0xaF23DC5983230E9eEAf93280e312e57539D098D0'],['multisigs/dao']
enableRecoveryMode(),YearnLinearPool,20230409-yearn-linear-pool-v2,"['0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2', '0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/emergency']"
"exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))",Vault,20210418-vault,"['0x466262c2a275aB106E54D95B5B04603e12b58cA1', '0x42E49B48573c725ee32d2579060Ed06894f97002', '0x5bf3B7c14b10f16939d63Bd679264A1Aa951B4D5', '0x598ce0f1ab64B27256759ef99d883EE51138b9bd']","['20211203-batch-relayer/BalancerRelayer', '20220720-batch-relayer-v3/BalancerRelayer', '20220916-batch-relayer-v4/BalancerRelayer', '20230314-batch-relayer-v5/BalancerRelayer']"
"joinPool(bytes32,address,address,(address[],uint256[],bytes,bool))",Vault,20210418-vault,"['0x466262c2a275aB106E54D95B5B04603e12b58cA1', '0x42E49B48573c725ee32d2579060Ed06894f97002', '0x5bf3B7c14b10f16939d63Bd679264A1Aa951B4D5', '0x598ce0f1ab64B27256759ef99d883EE51138b9bd']","['20211203-batch-relayer/BalancerRelayer', '20220720-batch-relayer-v3/BalancerRelayer', '20220916-batch-relayer-v4/BalancerRelayer', '20230314-batch-relayer-v5/BalancerRelayer']"
Expand Down Expand Up @@ -97,6 +100,8 @@ setSwapFeePercentage(uint256),YearnLinearPool,20230409-yearn-linear-pool-v2,['0x
"setTargets(uint256,uint256)",ERC4626LinearPool,20230409-erc4626-linear-pool-v4,['0xc38c5f97B34E175FFd35407fc91a937300E33860'],['multisigs/lm']
"setTargets(uint256,uint256)",YearnLinearPool,20230213-yearn-linear-pool,['0x7c68c42De679ffB0f16216154C996C354cF1161B'],['multisigs/feeManager']
"setTargets(uint256,uint256)",YearnLinearPool,20230409-yearn-linear-pool-v2,['0xc38c5f97B34E175FFd35407fc91a937300E33860'],['multisigs/lm']
"setTokenRateCacheDuration(address,uint256)",ComposableStablePool,20230206-composable-stable-pool-v3,['0xaF23DC5983230E9eEAf93280e312e57539D098D0'],['multisigs/dao']
"setTokenRateCacheDuration(address,uint256)",ComposableStablePool,20230320-composable-stable-pool-v4,['0xaF23DC5983230E9eEAf93280e312e57539D098D0'],['multisigs/dao']
"set_rewards(address,bytes32,address[8])",RewardsOnlyGauge,20220413-child-chain-gauge-factory,['0xbfD9769b061E57e478690299011A028194D66e3C'],['20220527-child-chain-gauge-token-adder/ChildChainGaugeTokenAdder']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20220906-composable-stable-pool,['0x7c68c42De679ffB0f16216154C996C354cF1161B'],['multisigs/feeManager']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20221122-composable-stable-pool-v2,['0x7c68c42De679ffB0f16216154C996C354cF1161B'],['multisigs/feeManager']
Expand Down
55 changes: 55 additions & 0 deletions data_files/permissions/arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,17 @@
"UNDEF"
]
},
{
"Fx": "setTokenRateCacheDuration(address,uint256)",
"Contract": "ComposableStablePool",
"Deployment": "20230206-composable-stable-pool-v3",
"Authorized_Caller_Addresses": [
"0xaF23DC5983230E9eEAf93280e312e57539D098D0"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "startAmplificationParameterUpdate(uint256,uint256)",
"Contract": "ComposableStablePool",
Expand Down Expand Up @@ -879,6 +890,17 @@
"multisigs/dao"
]
},
{
"Fx": "enableRecoveryMode()",
"Contract": "AaveLinearPool",
"Deployment": "20230206-aave-rebalanced-linear-pool-v4",
"Authorized_Caller_Addresses": [
"0xaF23DC5983230E9eEAf93280e312e57539D098D0"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "setSwapFeePercentage(uint256)",
"Contract": "AaveLinearPool",
Expand All @@ -901,6 +923,17 @@
"multisigs/feeManager"
]
},
{
"Fx": "enableRecoveryMode()",
"Contract": "ERC4626LinearPool",
"Deployment": "20230206-erc4626-linear-pool-v3",
"Authorized_Caller_Addresses": [
"0xaF23DC5983230E9eEAf93280e312e57539D098D0"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "setSwapFeePercentage(uint256)",
"Contract": "ERC4626LinearPool",
Expand Down Expand Up @@ -949,6 +982,17 @@
"multisigs/dao"
]
},
{
"Fx": "enableRecoveryMode()",
"Contract": "YearnLinearPool",
"Deployment": "20230213-yearn-linear-pool",
"Authorized_Caller_Addresses": [
"0xaF23DC5983230E9eEAf93280e312e57539D098D0"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "setSwapFeePercentage(uint256)",
"Contract": "YearnLinearPool",
Expand Down Expand Up @@ -1111,6 +1155,17 @@
"UNDEF"
]
},
{
"Fx": "setTokenRateCacheDuration(address,uint256)",
"Contract": "ComposableStablePool",
"Deployment": "20230320-composable-stable-pool-v4",
"Authorized_Caller_Addresses": [
"0xaF23DC5983230E9eEAf93280e312e57539D098D0"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "startAmplificationParameterUpdate(uint256,uint256)",
"Contract": "ComposableStablePool",
Expand Down
1 change: 1 addition & 0 deletions data_files/permissions/avalanche.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ enableRecoveryMode(),AaveLinearPool,20230410-aave-linear-pool-v5,"['0x308f8d3536
enableRecoveryMode(),ComposableStablePool,20230711-composable-stable-pool-v5,"['0x308f8d3536261C32c97D2f85ddc357f5cCdF33F0', '0x3b8cA519122CdD8efb272b0D3085453404B25bD0']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),ERC4626LinearPool,20230409-erc4626-linear-pool-v4,"['0x308f8d3536261C32c97D2f85ddc357f5cCdF33F0', '0x3b8cA519122CdD8efb272b0D3085453404B25bD0']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),ManagedPool,20230411-managed-pool-v2,"['0x308f8d3536261C32c97D2f85ddc357f5cCdF33F0', '0x3b8cA519122CdD8efb272b0D3085453404B25bD0']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
enableRecoveryMode(),WeightedPool,20230320-weighted-pool-v4,['0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3'],['multisigs/dao']
"exitPool(bytes32,address,address,(address[],uint256[],bytes,bool))",Vault,20210418-vault,['0x03F1ab8b19bcE21EB06C364aEc9e40322572a1e9'],['20230314-batch-relayer-v5/BalancerRelayer']
"joinPool(bytes32,address,address,(address[],uint256[],bytes,bool))",Vault,20210418-vault,['0x03F1ab8b19bcE21EB06C364aEc9e40322572a1e9'],['20230314-batch-relayer-v5/BalancerRelayer']
"manageUserBalance((uint8,address,uint256,address,address)[])",Vault,20210418-vault,['0x03F1ab8b19bcE21EB06C364aEc9e40322572a1e9'],['20230314-batch-relayer-v5/BalancerRelayer']
Expand Down
15 changes: 13 additions & 2 deletions data_files/permissions/avalanche.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,17 @@
"multisigs/emergency"
]
},
{
"Fx": "enableRecoveryMode()",
"Contract": "WeightedPool",
"Deployment": "20230320-weighted-pool-v4",
"Authorized_Caller_Addresses": [
"0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "disableRecoveryMode()",
"Contract": "ComposableStablePool",
Expand Down Expand Up @@ -235,7 +246,7 @@
{
"Fx": "add_reward(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Deployment": "20230316-avax-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6"
],
Expand All @@ -246,7 +257,7 @@
{
"Fx": "add_reward(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-avax-child-chain-gauge-factory-v2",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6"
],
Expand Down
6 changes: 4 additions & 2 deletions data_files/permissions/gnosis.csv
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ disableRecoveryMode(),ComposableStablePool,20230320-composable-stable-pool-v4,['
disableRecoveryMode(),ComposableStablePool,20230711-composable-stable-pool-v5,['0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962'],['multisigs/emergency']
disableRecoveryMode(),WeightedPool,20230206-weighted-pool-v3,['0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962'],['multisigs/emergency']
disableRecoveryMode(),WeightedPool,20230320-weighted-pool-v4,['0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962'],['multisigs/emergency']
enableRecoveryMode(),AaveLinearPool,20221207-aave-rebalanced-linear-pool-v3,['0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68'],['20221123-pool-recovery-helper/PoolRecoveryHelper']
enableRecoveryMode(),AaveLinearPool,20230206-aave-rebalanced-linear-pool-v4,['0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68'],['20221123-pool-recovery-helper/PoolRecoveryHelper']
enableRecoveryMode(),AaveLinearPool,20221207-aave-rebalanced-linear-pool-v3,"['0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68', '0x2a5AEcE0bb9EfFD7608213AE1745873385515c18']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/dao']"
enableRecoveryMode(),AaveLinearPool,20230206-aave-rebalanced-linear-pool-v4,"['0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68', '0x2a5AEcE0bb9EfFD7608213AE1745873385515c18']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/dao']"
enableRecoveryMode(),AaveLinearPool,20230410-aave-linear-pool-v5,"['0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68', '0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962']","['20221123-pool-recovery-helper/PoolRecoveryHelper', 'multisigs/emergency']"
enableRecoveryMode(),ComposableStablePool,20221122-composable-stable-pool-v2,['0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68'],['20221123-pool-recovery-helper/PoolRecoveryHelper']
enableRecoveryMode(),ComposableStablePool,20230206-composable-stable-pool-v3,"['0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962', '0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68']","['multisigs/emergency', '20221123-pool-recovery-helper/PoolRecoveryHelper']"
Expand Down Expand Up @@ -65,6 +65,8 @@ setSwapFeePercentage(uint256),WeightedPool,20230206-weighted-pool-v3,['0x14969B5
setSwapFeePercentage(uint256),WeightedPool,20230320-weighted-pool-v4,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
"setTargets(uint256,uint256)",AaveLinearPool,20230206-aave-rebalanced-linear-pool-v4,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
"setTargets(uint256,uint256)",AaveLinearPool,20230410-aave-linear-pool-v5,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
"setTokenRateCacheDuration(address,uint256)",ComposableStablePool,20230206-composable-stable-pool-v3,['0x2a5AEcE0bb9EfFD7608213AE1745873385515c18'],['multisigs/dao']
"setTokenRateCacheDuration(address,uint256)",ComposableStablePool,20230320-composable-stable-pool-v4,['0x2a5AEcE0bb9EfFD7608213AE1745873385515c18'],['multisigs/dao']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20221122-composable-stable-pool-v2,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20230206-composable-stable-pool-v3,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20230320-composable-stable-pool-v4,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
Expand Down
34 changes: 30 additions & 4 deletions data_files/permissions/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,12 @@
"Contract": "AaveLinearPool",
"Deployment": "20221207-aave-rebalanced-linear-pool-v3",
"Authorized_Caller_Addresses": [
"0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68"
"0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68",
"0x2a5AEcE0bb9EfFD7608213AE1745873385515c18"
],
"Authorized_Caller_Names": [
"20221123-pool-recovery-helper/PoolRecoveryHelper"
"20221123-pool-recovery-helper/PoolRecoveryHelper",
"multisigs/dao"
]
},
{
Expand Down Expand Up @@ -441,6 +443,17 @@
"multisigs/lm"
]
},
{
"Fx": "setTokenRateCacheDuration(address,uint256)",
"Contract": "ComposableStablePool",
"Deployment": "20230206-composable-stable-pool-v3",
"Authorized_Caller_Addresses": [
"0x2a5AEcE0bb9EfFD7608213AE1745873385515c18"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "startAmplificationParameterUpdate(uint256,uint256)",
"Contract": "ComposableStablePool",
Expand Down Expand Up @@ -481,10 +494,12 @@
"Contract": "AaveLinearPool",
"Deployment": "20230206-aave-rebalanced-linear-pool-v4",
"Authorized_Caller_Addresses": [
"0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68"
"0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68",
"0x2a5AEcE0bb9EfFD7608213AE1745873385515c18"
],
"Authorized_Caller_Names": [
"20221123-pool-recovery-helper/PoolRecoveryHelper"
"20221123-pool-recovery-helper/PoolRecoveryHelper",
"multisigs/dao"
]
},
{
Expand Down Expand Up @@ -678,6 +693,17 @@
"multisigs/lm"
]
},
{
"Fx": "setTokenRateCacheDuration(address,uint256)",
"Contract": "ComposableStablePool",
"Deployment": "20230320-composable-stable-pool-v4",
"Authorized_Caller_Addresses": [
"0x2a5AEcE0bb9EfFD7608213AE1745873385515c18"
],
"Authorized_Caller_Names": [
"multisigs/dao"
]
},
{
"Fx": "startAmplificationParameterUpdate(uint256,uint256)",
"Contract": "ComposableStablePool",
Expand Down
Loading

0 comments on commit 6759274

Please sign in to comment.