Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BOT: Automatic update to permissions tables based on onchain changes. #227

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data_files/permissions/arbitrum.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0xc38c5f97B34E175FFd35407fc91a937300E33860"
],
Expand All @@ -277,8 +277,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Authorized_Caller_Addresses": [
"0xc38c5f97B34E175FFd35407fc91a937300E33860"
],
Expand Down
12 changes: 6 additions & 6 deletions data_files/permissions/avalanche.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6"
],
Expand All @@ -145,8 +145,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Authorized_Caller_Addresses": [
"0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6"
],
Expand Down Expand Up @@ -330,7 +330,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 @@ -341,7 +341,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
1 change: 1 addition & 0 deletions data_files/permissions/base.csv
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ setSwapFeePercentage(uint256),YearnLinearPool,20230409-yearn-linear-pool-v2,['0x
"setTargets(uint256,uint256)",ERC4626LinearPool,20230409-erc4626-linear-pool-v4,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
"setTargets(uint256,uint256)",GearboxLinearPool,20230409-gearbox-linear-pool-v2,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
"setTargets(uint256,uint256)",YearnLinearPool,20230409-yearn-linear-pool-v2,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
"set_reward_distributor(address,address)",ChildChainGauge,20230316-child-chain-gauge-factory-v2,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20230711-composable-stable-pool-v5,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
"startAmplificationParameterUpdate(uint256,uint256)",ComposableStablePool,20240223-composable-stable-pool-v6,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
stopAmplificationParameterUpdate(),ComposableStablePool,20230711-composable-stable-pool-v5,['0x65226673F3D202E0f897C862590d7e1A992B2048'],['multisigs/lm']
Expand Down
11 changes: 11 additions & 0 deletions data_files/permissions/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,17 @@
"multisigs/lm"
]
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x65226673F3D202E0f897C862590d7e1A992B2048"
],
"Authorized_Caller_Names": [
"multisigs/lm"
]
},
{
"Fx": "disableRecoveryMode()",
"Contract": "ComposableStablePool",
Expand Down
8 changes: 4 additions & 4 deletions data_files/permissions/gnosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Authorized_Caller_Addresses": [
"0x14969B55a675d13a1700F71A37511bc22D90155a"
],
Expand All @@ -573,8 +573,8 @@
},
{
"Fx": "set_reward_distributor(address,address)",
"Contract": "ChildChainGauge",
"Deployment": "20230316-child-chain-gauge-factory-v2",
"Contract": "ChildChainStreamer",
"Deployment": "20220413-child-chain-gauge-factory",
"Authorized_Caller_Addresses": [
"0x14969B55a675d13a1700F71A37511bc22D90155a"
],
Expand Down
Loading