Skip to content

Commit

Permalink
Merge pull request #230 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 Dec 4, 2024
2 parents 25526d0 + c653b89 commit 5db8811
Show file tree
Hide file tree
Showing 17 changed files with 283 additions and 283 deletions.
8 changes: 4 additions & 4 deletions data_files/permissions/avalanche.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-avax-child-chain-gauge-factory-v2",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Authorized_Caller_Addresses": [
"0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6"
],
Expand All @@ -145,8 +145,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Contract": "ChildChainGauge",
"Deployment": "20230316-avax-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6"
],
Expand Down
20 changes: 10 additions & 10 deletions data_files/permissions/fraxtal.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Fx,Contract,Deployment,Authorized_Caller_Addresses,Authorized_Caller_Names
addPoolFactory(address),PoolRecoveryHelper,20221123-pool-recovery-helper,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
"add_reward(address,address)",ChildChainGauge,20230316-child-chain-gauge-factory-v2,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
addPoolFactory(address),PoolRecoveryHelper,20221123-pool-recovery-helper,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
"add_reward(address,address)",ChildChainGauge,20230316-child-chain-gauge-factory-v2,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
"batchSwap(uint8,(bytes32,uint256,uint256,uint256,bytes)[],address[],(address,bool,address,bool),int256[],uint256)",Vault,20210418-vault,['0xb541765F540447646A9545E0A4800A0Bacf9E13D'],['20231031-batch-relayer-v6/BalancerRelayer']
denylistToken(address),ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,['0xC66d0Ba27b8309D27cCa70064dfb40b73DB6de9E'],['multisigs/emergency']
disable(),ComposableStablePoolFactory,20240223-composable-stable-pool-v6,['0xC66d0Ba27b8309D27cCa70064dfb40b73DB6de9E'],['multisigs/emergency']
Expand All @@ -15,18 +15,18 @@ enableRecoveryMode(),WeightedPool,20230320-weighted-pool-v4,"['0xC66d0Ba27b8309D
pause(),ComposableStablePool,20240223-composable-stable-pool-v6,['0xC66d0Ba27b8309D27cCa70064dfb40b73DB6de9E'],['multisigs/emergency']
pause(),ManagedPool,20230411-managed-pool-v2,['0xC66d0Ba27b8309D27cCa70064dfb40b73DB6de9E'],['multisigs/emergency']
pause(),WeightedPool,20230320-weighted-pool-v4,['0xC66d0Ba27b8309D27cCa70064dfb40b73DB6de9E'],['multisigs/emergency']
"registerProtocolId(uint256,string)",ProtocolIdRegistry,20230223-protocol-id-registry,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
removePoolFactory(address),PoolRecoveryHelper,20221123-pool-recovery-helper,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
"renameProtocolId(uint256,string)",ProtocolIdRegistry,20230223-protocol-id-registry,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
"registerProtocolId(uint256,string)",ProtocolIdRegistry,20230223-protocol-id-registry,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
removePoolFactory(address),PoolRecoveryHelper,20221123-pool-recovery-helper,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
"renameProtocolId(uint256,string)",ProtocolIdRegistry,20230223-protocol-id-registry,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
"setFeeTypePercentage(uint256,uint256)",ProtocolFeePercentagesProvider,20220725-protocol-fee-percentages-provider,['0x4f22C2784Cbd2B24a172566491Ee73fee1A63c2e'],['multisigs/dao']
setFlashLoanFeePercentage(uint256),ProtocolFeesCollector,20210418-vault,['0xf23b4DB826DbA14c0e857029dfF076b1c0264843'],['20220725-protocol-fee-percentages-provider/ProtocolFeePercentagesProvider']
setPaused(bool),Vault,20210418-vault,['0xC66d0Ba27b8309D27cCa70064dfb40b73DB6de9E'],['multisigs/emergency']
"setRelayerApproval(address,address,bool)",Vault,20210418-vault,['0xb541765F540447646A9545E0A4800A0Bacf9E13D'],['20231031-batch-relayer-v6/BalancerRelayer']
setSwapFeePercentage(uint256),ComposableStablePool,20240223-composable-stable-pool-v6,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
setSwapFeePercentage(uint256),ComposableStablePool,20240223-composable-stable-pool-v6,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
setSwapFeePercentage(uint256),ProtocolFeesCollector,20210418-vault,['0xf23b4DB826DbA14c0e857029dfF076b1c0264843'],['20220725-protocol-fee-percentages-provider/ProtocolFeePercentagesProvider']
setSwapFeePercentage(uint256),WeightedPool,20230320-weighted-pool-v4,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20240223-composable-stable-pool-v6,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
stopAmplificationParameterUpdate(),ComposableStablePool,20240223-composable-stable-pool-v6,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
setSwapFeePercentage(uint256),WeightedPool,20230320-weighted-pool-v4,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20240223-composable-stable-pool-v6,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
stopAmplificationParameterUpdate(),ComposableStablePool,20240223-composable-stable-pool-v6,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
"swap((bytes32,uint8,address,address,uint256,bytes),(address,bool,address,bool),uint256,uint256)",Vault,20210418-vault,['0xb541765F540447646A9545E0A4800A0Bacf9E13D'],['20231031-batch-relayer-v6/BalancerRelayer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesCollector,20210418-vault,['0x85a80afee867aDf27B50BdB7b76DA70f1E853062'],['20220517-protocol-fee-withdrawer/ProtocolFeesWithdrawer']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/lm']
"withdrawCollectedFees(address[],uint256[],address)",ProtocolFeesWithdrawer,20220517-protocol-fee-withdrawer,['0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e'],['multisigs/maxi_omni']
20 changes: 10 additions & 10 deletions data_files/permissions/fraxtal.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -150,7 +150,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -161,7 +161,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -172,7 +172,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -183,7 +183,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -194,7 +194,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand Down Expand Up @@ -240,7 +240,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand Down Expand Up @@ -321,7 +321,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -332,7 +332,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
},
{
Expand All @@ -343,7 +343,7 @@
"0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
],
"Authorized_Caller_Names": [
"multisigs/lm"
"multisigs/maxi_omni"
]
}
]
Loading

0 comments on commit 5db8811

Please sign in to comment.