Skip to content

Commit

Permalink
Merge pull request #191 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
Tritium-VLK authored Apr 28, 2024
2 parents 2e56a8c + ef32723 commit 849ad03
Show file tree
Hide file tree
Showing 21 changed files with 261 additions and 257 deletions.
2 changes: 1 addition & 1 deletion data_files/permissions/arbitrum.csv
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ unpause(),ComposableStablePool,20220906-composable-stable-pool,['0xf404C5a0c0239
unpause(),ComposableStablePool,20221122-composable-stable-pool-v2,['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D'],['multisigs/emergency']
unpause(),WeightedPool,20220908-weighted-pool-v2,['0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D'],['multisigs/emergency']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesCollector,20210418-vault,['0x70Bbd023481788e443472e123AB963e5EBF58D06'],['20220517-protocol-fee-withdrawer/ProtocolFeesWithdrawer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x7c68c42De679ffB0f16216154C996C354cF1161B', '0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7']","['multisigs/feeManager', 'maxiKeepers/mimic/smartvault']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x7c68c42De679ffB0f16216154C996C354cF1161B', '0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/feeManager', 'maxiKeepers/mimic/smartvault', 'maxiKeepers/mimic/smartVaultV3']"
6 changes: 4 additions & 2 deletions data_files/permissions/arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,13 @@
"Deployment": "20220517-protocol-fee-withdrawer",
"Authorized_Caller_Addresses": [
"0x7c68c42De679ffB0f16216154C996C354cF1161B",
"0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7"
"0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7",
"0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97"
],
"Authorized_Caller_Names": [
"multisigs/feeManager",
"maxiKeepers/mimic/smartvault"
"maxiKeepers/mimic/smartvault",
"maxiKeepers/mimic/smartVaultV3"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion data_files/permissions/avalanche.csv
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ setSwapFeePercentage(uint256),WeightedPool,20230320-weighted-pool-v4,['0x326A777
stopAmplificationParameterUpdate(),ComposableStablePool,20230711-composable-stable-pool-v5,['0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6'],['multisigs/fees']
"swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)",Vault,20210418-vault,"['0x03F1ab8b19bcE21EB06C364aEc9e40322572a1e9', '0xA084c11cb55e67C9becf9607f1DBB20ec4D5E7b2']","['20230314-batch-relayer-v5/BalancerRelayer', '20231031-batch-relayer-v6/BalancerRelayer']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesCollector,20210418-vault,['0x8F42aDBbA1B16EaAE3BB5754915E0D06059aDd75'],['20220517-protocol-fee-withdrawer/ProtocolFeesWithdrawer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/fees', 'mimic/smartVaultV2']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/fees', 'mimic/smartVaultV3']"
6 changes: 3 additions & 3 deletions data_files/permissions/avalanche.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
],
"Authorized_Caller_Names": [
"multisigs/fees",
"mimic/smartVaultV2"
"mimic/smartVaultV3"
]
},
{
Expand Down Expand Up @@ -297,7 +297,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 All @@ -308,7 +308,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 Down
2 changes: 1 addition & 1 deletion data_files/permissions/base.csv
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ setSwapFeePercentage(uint256),YearnLinearPool,20230409-yearn-linear-pool-v2,['0x
stopAmplificationParameterUpdate(),ComposableStablePool,20230711-composable-stable-pool-v5,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
"swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)",Vault,20210418-vault,"['0x76f7204B62f554b79d444588EDac9dfA7032c71a', '0x7C3C773C878d2238a9b64d8CEE02377BF07ED06a']","['20230314-batch-relayer-v5/BalancerRelayer', '20231031-batch-relayer-v6/BalancerRelayer']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesCollector,20210418-vault,['0xAcf05BE5134d64d150d153818F8C67EE36996650'],['20220517-protocol-fee-withdrawer/ProtocolFeesWithdrawer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x65226673F3D202E0f897C862590d7e1A992B2048', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/lm', 'mimic/smartVaultV2']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x65226673F3D202E0f897C862590d7e1A992B2048', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/lm', 'mimic/smartVaultV3']"
2 changes: 1 addition & 1 deletion data_files/permissions/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@
],
"Authorized_Caller_Names": [
"multisigs/lm",
"mimic/smartVaultV2"
"mimic/smartVaultV3"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion data_files/permissions/gnosis.csv
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ stopAmplificationParameterUpdate(),ComposableStablePool,20230320-composable-stab
stopAmplificationParameterUpdate(),ComposableStablePool,20230711-composable-stable-pool-v5,['0x14969B55a675d13a1700F71A37511bc22D90155a'],['multisigs/lm']
"swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)",Vault,20210418-vault,"['0xeF606F58A4FD0fCcb066c6203d0994694d3eB2D3', '0x3536fD480CA495Ac91E698A703248A8915c137a3', '0x2163c2FcD0940e84B8a68991bF926eDfB0Cd926C']","['20220916-batch-relayer-v4/BalancerRelayer', '20230314-batch-relayer-v5/BalancerRelayer', '20231031-batch-relayer-v6/BalancerRelayer']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesCollector,20210418-vault,['0xdAE7e32ADc5d490a43cCba1f0c736033F2b4eFca'],['20220517-protocol-fee-withdrawer/ProtocolFeesWithdrawer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x14969B55a675d13a1700F71A37511bc22D90155a', '0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7']","['multisigs/lm', 'mimic/smartvault']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x14969B55a675d13a1700F71A37511bc22D90155a', '0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/lm', 'mimic/smartvault', 'mimic/smartVaultV3']"
6 changes: 4 additions & 2 deletions data_files/permissions/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,13 @@
"Deployment": "20220517-protocol-fee-withdrawer",
"Authorized_Caller_Addresses": [
"0x14969B55a675d13a1700F71A37511bc22D90155a",
"0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7"
"0x94Dd9C6152a2A0BBcB52d3297b723A6F01D5F9f7",
"0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97"
],
"Authorized_Caller_Names": [
"multisigs/lm",
"mimic/smartvault"
"mimic/smartvault",
"mimic/smartVaultV3"
]
},
{
Expand Down
48 changes: 24 additions & 24 deletions data_files/permissions/goerli.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@
},
{
"Fx": "add_reward(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220822-mainnet-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977",
"0x3bAbEBfD684506A5B47701ee231A53427Ad413Ef",
Expand All @@ -243,8 +243,8 @@
},
{
"Fx": "add_reward(address,address)",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220822-mainnet-gauge-factory-v2",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977",
"0x3bAbEBfD684506A5B47701ee231A53427Ad413Ef",
Expand Down Expand Up @@ -273,8 +273,8 @@
},
{
"Fx": "killGauge()",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220822-mainnet-gauge-factory-v2",
"Contract": "SingleRecipientGauge",
"Deployment": "20230215-single-recipient-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977",
"0x3b1836C09fdAe0A7C2848F99B2584aEBD6A36876"
Expand All @@ -286,8 +286,8 @@
},
{
"Fx": "killGauge()",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220325-mainnet-gauge-factory",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977",
"0x3b1836C09fdAe0A7C2848F99B2584aEBD6A36876"
Expand All @@ -299,8 +299,8 @@
},
{
"Fx": "killGauge()",
"Contract": "SingleRecipientGauge",
"Deployment": "20230215-single-recipient-gauge-factory-v2",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220822-mainnet-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977",
"0x3b1836C09fdAe0A7C2848F99B2584aEBD6A36876"
Expand All @@ -312,8 +312,8 @@
},
{
"Fx": "killGauge()",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220325-mainnet-gauge-factory",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977",
"0x3b1836C09fdAe0A7C2848F99B2584aEBD6A36876"
Expand All @@ -325,8 +325,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220325-mainnet-gauge-factory",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977"
],
Expand All @@ -336,8 +336,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220822-mainnet-gauge-factory-v2",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977"
],
Expand All @@ -347,8 +347,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220325-mainnet-gauge-factory",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977"
],
Expand All @@ -358,8 +358,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220822-mainnet-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xE0a171587b1Cae546E069A943EDa96916F5EE977"
],
Expand Down Expand Up @@ -391,8 +391,8 @@
},
{
"Fx": "unkillGauge()",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220325-mainnet-gauge-factory",
"Authorized_Caller_Addresses": [
"0x3b1836C09fdAe0A7C2848F99B2584aEBD6A36876"
],
Expand All @@ -402,8 +402,8 @@
},
{
"Fx": "unkillGauge()",
"Contract": "LiquidityGaugeV5",
"Deployment": "20220325-mainnet-gauge-factory",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x3b1836C09fdAe0A7C2848F99B2584aEBD6A36876"
],
Expand Down
2 changes: 1 addition & 1 deletion data_files/permissions/mainnet.csv
Original file line number Diff line number Diff line change
Expand Up @@ -206,4 +206,4 @@ unpause(),ComposableStablePool,20220906-composable-stable-pool,['0xA29F61256e948
unpause(),ComposableStablePool,20221122-composable-stable-pool-v2,['0xA29F61256e948F3FB707b4b3B138C5cCb9EF9888'],['multisigs/emergency']
unpause(),WeightedPool,20220908-weighted-pool-v2,['0xA29F61256e948F3FB707b4b3B138C5cCb9EF9888'],['multisigs/emergency']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesCollector,20210418-vault,['0x5ef4c5352882b10893b70DbcaA0C000965bd23c5'],['20220517-protocol-fee-withdrawer/ProtocolFeesWithdrawer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x7c68c42De679ffB0f16216154C996C354cF1161B', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/fees', 'mimic/smartVaultV2']"
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,"['0x7c68c42De679ffB0f16216154C996C354cF1161B', '0x9e5D6427D2cdaDC68870197b099C2Df535Ec3c97']","['multisigs/fees', 'mimic/smartVaultV3']"
Loading

0 comments on commit 849ad03

Please sign in to comment.