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

[BIP-741] Grant V3 Permissions to Maxis and Emergency DAO Multisigs #1535

Merged
merged 31 commits into from
Dec 9, 2024

Conversation

gosuto-inzasheru
Copy link
Collaborator

@gosuto-inzasheru gosuto-inzasheru commented Dec 2, 2024

Copy link
Contributor

github-actions bot commented Dec 2, 2024

FILENAME: BIPs/2024-W50/[BIP-741] perms_v3_ethereum.json
COMMIT: 55bb116955e3b0842256bd41974bb689e57eef92

Validator Result
validate_contains_msig
validate_msig_in_address_book
validate_chain_specified
validate_file_has_bip
validate_path_has_weekly_dir

FILENAME: BIPs/2024-W50/[BIP-741] perms_v3_gnosis.json
COMMIT: 55bb116955e3b0842256bd41974bb689e57eef92

Validator Result
validate_contains_msig
validate_msig_in_address_book
validate_chain_specified
validate_file_has_bip
validate_path_has_weekly_dir

Copy link
Contributor

github-actions bot commented Dec 2, 2024

FILENAME: BIPs/2024-W50/[BIP-741] perms_v3_ethereum.json
MULTISIG: multisigs/dao (mainnet:0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f)
COMMIT: 55bb116955e3b0842256bd41974bb689e57eef92
CHAIN(S): mainnet
TENDERLY: 🟩 SUCCESS

+-----------------------+---------------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| function              | caller_name         | caller_address                             | fx_paths                                                                                      | action_ids                                                         |   bip   | tx_index |
+-----------------------+---------------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| Authorizer/grantRoles | multisigs/maxi_omni | 0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e | 20241204-v3-vault/VaultAdmin/setStaticSwapFeePercentage(address,uint256)                      | 0x535f82655cb6a856d1452d97dc8e7b3393044c974f85cfcdd2c1d304c08ce34c | BIP-741 |    0     |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setGlobalProtocolSwapFeePercentage(uint256)           | 0x31893078b6590802f57d29fae81f10113c336375df90db2aed0392af0c75d8d4 |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setGlobalProtocolYieldFeePercentage(uint256)          | 0x3bc669a22fd5eb10a81a9ab00e0cab660e6f703d7ae9185597386bbd2e849e3f |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setProtocolSwapFeePercentage(address,uint256)         | 0x93100e2a70c799f7ba831633b6a5078fc649ca0c812caa633106f1948a819155 |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setProtocolYieldFeePercentage(address,uint256)        | 0x131f9541f99a187d0a0db49756fb64345dec624e21579355e25b8b5a1b40b45c |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/withdrawProtocolFees(address,address)                 | 0x4071255a8a5c23dae545fa9427571cfd2cbc2f7e623e863ec2c917ed09074e43 |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/withdrawProtocolFeesForToken(address,address,address) | 0xf830de585800a430465649def91ee4e68e52ef19d8734b6836b9a2237853fc07 |         |          |
|                       |                     |                                            | 20241205-v3-stable-pool/StablePool/startAmplificationParameterUpdate(uint256,uint256)         | 0xc1d77fef06a5acef26a30536474b98eb44840e5f17e86114c8aaa4274e206b3c |         |          |
|                       |                     |                                            | 20241205-v3-stable-pool/StablePool/stopAmplificationParameterUpdate()                         | 0xeeed27c13054947e3283c26fca5c34c2e514ef8caa98f1c6a6778c06f1d247da |         |          |
| Authorizer/grantRoles | multisigs/emergency | 0xA29F61256e948F3FB707b4b3B138C5cCb9EF9888 | 20241204-v3-vault/VaultAdmin/pauseVault()                                                     | 0x461c5a059d49bcf53ff00ff0d6fe644f40cc96ff9f6012e75ea70824dba5f886 | BIP-741 |    1     |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/unpauseVault()                                                   | 0xa3cc69d3a95a1b4020228f384f292c33a2db8f395442b06805d5195609d66b4e |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/pausePool(address)                                               | 0xae26501f09c96de9e98977fff0d65a23cb22db73a58ddef38127af1a616cf272 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/unpausePool(address)                                             | 0xa4443105bdb833cb364c9f76caa2adf3c6e62427cb693ffd6f1d8d7f44ad1bb5 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/pauseVaultBuffers()                                              | 0xe80d721d89f2236e9428bfba076cbbbb355faeb9d9b97b49890ebcf930d05bc9 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/unpauseVaultBuffers()                                            | 0xf923c4af23349707476c28766c280b0178ab3c4ebfa546da8c25a546a066a2dc |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/enableRecoveryMode(address)                                      | 0xb1539e3ebdcf854dedf819f6232d1e447cfb129f7bf572e70295fb998bd8c85e |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/disableRecoveryMode(address)                                     | 0x03aef606b4b82495d96af41cf1ed84b739a1de2bfb37bc1c0cfde2c53cf096aa |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/enableQuery()                                                    | 0x130ac25c06d0a78c43cee16ed4147a8a2337d8dc08571f397ca9ac15e1fc2ec2 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/disableQuery()                                                   | 0x7b9f4d9b9d0380987936892409571a5e0b6e9b538806ac662699a305304bd15d |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/disableQueryPermanently()                                        | 0x6832812101826d0b63748615617865e97f09b944c344d3bbd7d50b5be617eb16 |         |          |
|                       |                     |                                            | 20241205-v3-stable-pool/StablePoolFactory/disable()                                           | 0x2f54088e4f997de92b7bea3779089047980bab824c65d526fc075413ff373000 |         |          |
|                       |                     |                                            | 20241205-v3-weighted-pool/WeightedPoolFactory/disable()                                       | 0xed6f8a5f0602534601834cae86e16a9424b7bf30c562d15bd781fbcd5026d9a1 |         |          |
+-----------------------+---------------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+

FILENAME: BIPs/2024-W50/[BIP-741] perms_v3_gnosis.json
MULTISIG: multisigs/dao (gnosis:0x2a5AEcE0bb9EfFD7608213AE1745873385515c18)
COMMIT: 55bb116955e3b0842256bd41974bb689e57eef92
CHAIN(S): gnosis
TENDERLY: 🟩 SUCCESS

+-----------------------+---------------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| function              | caller_name         | caller_address                             | fx_paths                                                                                      | action_ids                                                         |   bip   | tx_index |
+-----------------------+---------------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+
| Authorizer/grantRoles | multisigs/maxi_omni | 0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e | 20241204-v3-vault/VaultAdmin/setStaticSwapFeePercentage(address,uint256)                      | 0x535f82655cb6a856d1452d97dc8e7b3393044c974f85cfcdd2c1d304c08ce34c | BIP-741 |    0     |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setGlobalProtocolSwapFeePercentage(uint256)           | 0x31893078b6590802f57d29fae81f10113c336375df90db2aed0392af0c75d8d4 |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setGlobalProtocolYieldFeePercentage(uint256)          | 0x3bc669a22fd5eb10a81a9ab00e0cab660e6f703d7ae9185597386bbd2e849e3f |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setProtocolSwapFeePercentage(address,uint256)         | 0x93100e2a70c799f7ba831633b6a5078fc649ca0c812caa633106f1948a819155 |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/setProtocolYieldFeePercentage(address,uint256)        | 0x131f9541f99a187d0a0db49756fb64345dec624e21579355e25b8b5a1b40b45c |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/withdrawProtocolFees(address,address)                 | 0x4071255a8a5c23dae545fa9427571cfd2cbc2f7e623e863ec2c917ed09074e43 |         |          |
|                       |                     |                                            | 20241204-v3-vault/ProtocolFeeController/withdrawProtocolFeesForToken(address,address,address) | 0xf830de585800a430465649def91ee4e68e52ef19d8734b6836b9a2237853fc07 |         |          |
|                       |                     |                                            | 20241205-v3-stable-pool/StablePool/startAmplificationParameterUpdate(uint256,uint256)         | 0xd092c49bcc2e34f69b02005821b50d57632951029f4a20eb4fb8d6fcb2ef08a3 |         |          |
|                       |                     |                                            | 20241205-v3-stable-pool/StablePool/stopAmplificationParameterUpdate()                         | 0x66a9e5de1de4dbcb0b1d3979ca06bd4bb8ba535a1f67873ed92779cfd976dcf0 |         |          |
| Authorizer/grantRoles | multisigs/emergency | 0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962 | 20241204-v3-vault/VaultAdmin/pauseVault()                                                     | 0x461c5a059d49bcf53ff00ff0d6fe644f40cc96ff9f6012e75ea70824dba5f886 | BIP-741 |    1     |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/unpauseVault()                                                   | 0xa3cc69d3a95a1b4020228f384f292c33a2db8f395442b06805d5195609d66b4e |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/pausePool(address)                                               | 0xae26501f09c96de9e98977fff0d65a23cb22db73a58ddef38127af1a616cf272 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/unpausePool(address)                                             | 0xa4443105bdb833cb364c9f76caa2adf3c6e62427cb693ffd6f1d8d7f44ad1bb5 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/pauseVaultBuffers()                                              | 0xe80d721d89f2236e9428bfba076cbbbb355faeb9d9b97b49890ebcf930d05bc9 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/unpauseVaultBuffers()                                            | 0xf923c4af23349707476c28766c280b0178ab3c4ebfa546da8c25a546a066a2dc |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/enableRecoveryMode(address)                                      | 0xb1539e3ebdcf854dedf819f6232d1e447cfb129f7bf572e70295fb998bd8c85e |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/disableRecoveryMode(address)                                     | 0x03aef606b4b82495d96af41cf1ed84b739a1de2bfb37bc1c0cfde2c53cf096aa |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/enableQuery()                                                    | 0x130ac25c06d0a78c43cee16ed4147a8a2337d8dc08571f397ca9ac15e1fc2ec2 |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/disableQuery()                                                   | 0x7b9f4d9b9d0380987936892409571a5e0b6e9b538806ac662699a305304bd15d |         |          |
|                       |                     |                                            | 20241204-v3-vault/VaultAdmin/disableQueryPermanently()                                        | 0x6832812101826d0b63748615617865e97f09b944c344d3bbd7d50b5be617eb16 |         |          |
|                       |                     |                                            | 20241205-v3-stable-pool/StablePoolFactory/disable()                                           | 0x918265b00e10f59d74df8af13287d5465c19a072459da4ae7d94b20d4e66c1e8 |         |          |
|                       |                     |                                            | 20241205-v3-weighted-pool/WeightedPoolFactory/disable()                                       | 0x0b57c528b17bebb5b75282268198cc2f48585d04488cdc16020206499ed61769 |         |          |
+-----------------------+---------------------+--------------------------------------------+-----------------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+----------+

@gosuto-inzasheru
Copy link
Collaborator Author

waiting for deployment of v3-stable-pool to get actions ids for startAmplificationParameterUpdate(uint256,uint256) and stopAmplificationParameterUpdate()

@gosuto-inzasheru gosuto-inzasheru changed the title chore: skeleton payloads for granting perms feat: grant emergency and maxi msigs perms for v3 Dec 5, 2024
@Xeonus
Copy link
Collaborator

Xeonus commented Dec 5, 2024

@gosuto-inzasheru according to @jubeira we should also make sure to add functionality to disable new pool creation via factories as for v2
image
See PR: balancer/balancer-deployments#131

For currently missing action IDs for stable pools, once this PR is merged we have everything: balancer/balancer-deployments#130

@gosuto-inzasheru gosuto-inzasheru changed the title feat: grant emergency and maxi msigs perms for v3 [BIP-741] Grant V3 Permissions to Maxis and Emergency DAO Multisigs Dec 5, 2024
@gosuto-inzasheru gosuto-inzasheru marked this pull request as ready for review December 9, 2024 04:10
Xeonus
Xeonus previously approved these changes Dec 9, 2024
Copy link
Collaborator

@Xeonus Xeonus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • upgrade of workflow OK
  • bump to bal address dependencies OK
  • Cross checked mainnet and gnosis chain action IDs and can confirm they all match
  • Permissions match desired initial set for launch

Copy link
Collaborator

@Xeonus Xeonus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all still good, bump from dependencies

@gosuto-inzasheru gosuto-inzasheru merged commit d62f2d4 into main Dec 9, 2024
2 checks passed
@gosuto-inzasheru gosuto-inzasheru deleted the chore/perms_v3 branch December 9, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

give emergency msig necessary perms on vault v3 give maxis msig basic permissions for vault v3
2 participants