-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #358 from BalancerMaxis/bip-353
BIP-353 CSPv5 permission granting
- Loading branch information
Showing
17 changed files
with
772 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"chain_map": { | ||
"mainnet": 1, | ||
"polygon": 137, | ||
"arbitrum": 42161, | ||
"optimism": 10, | ||
"gnosis": 100, | ||
"avalanche": 43114, | ||
"zkevm": 1101 | ||
}, | ||
"function_caller_map": { | ||
"setSwapFeePercentage(uint256)": "lm", | ||
"startAmplificationParameterUpdate(uint256,uint256)": "lm", | ||
"stopAmplificationParameterUpdate()": "lm", | ||
"pause()": "multisigs/emergency", | ||
"disable()": "multisigs/emergency", | ||
"enableRecoveryMode()": [ | ||
"multisigs/emergency", | ||
"20221123-pool-recovery-helper/PoolRecoveryHelper" | ||
], | ||
"setTargets": "lm", | ||
"disableRecoveryMode()": "multisigs/emergency" | ||
}, | ||
"deployments": ["20230711-composable-stable-pool-v5"] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[See Here](BIP-353.md) for the governance contents. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"version": "1.0", | ||
"chainId": 42161, | ||
"createdAt": 1675891944772, | ||
"meta": { | ||
"name": "Transactions Batch", | ||
"description": "", | ||
"txBuilderVersion": "1.13.2", | ||
"createdFromSafeAddress": "", | ||
"createdFromOwnerAddress": "", | ||
"checksum": "", | ||
"createFromSafeAddress": "0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3" | ||
}, | ||
"transactions": [ | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x063bbaf4b25095681176c8be04d41958e40ee88e0a6fe895a8d225cda9bd64ad, 0xc0255b53e66bf2965d8fbd2af1cec52f34060d539ff8dd3c96a8d6aaa678d109, 0xa6c4d4b9774fc0afef75aa08e9c80377e0b5e5be609a4dafefe381cc580a9e7b, 0x998b893d641593fd3aa179e7641c4e0a7ead0e9f8d25df6d5637ab28d32e924e]", | ||
"account": "0xf404C5a0c02397f0908A3524fc5eb84e68Bbe60D" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0xa6c4d4b9774fc0afef75aa08e9c80377e0b5e5be609a4dafefe381cc580a9e7b]", | ||
"account": "0xb5e56CC3d2e38e53b1166175C59e921A37cDC1E2" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0xfab324385696857b52130b135e7e81f8b7f34382c9b27f254b6bca9a70fe0784, 0x3be753be2ced552d75d5556694d2012e157294f50103c95273191fb5a0209481, 0x9d2042bf873d984ff8ce2661c7f5854078b8bbf1d618d0509ec379533d3ba9af]", | ||
"account": "0xc38c5f97B34E175FFd35407fc91a937300E33860" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"version": "1.0", | ||
"chainId": 43114, | ||
"createdAt": 1675891944772, | ||
"meta": { | ||
"name": "Transactions Batch", | ||
"description": "", | ||
"txBuilderVersion": "1.13.2", | ||
"createdFromSafeAddress": "", | ||
"createdFromOwnerAddress": "", | ||
"checksum": "", | ||
"createFromSafeAddress": "0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3" | ||
}, | ||
"transactions": [ | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x1426567817459896eea032971802f23ffedf7dbce9ba83c56000f1f9616a25ed, 0xffb70f4f9562b3a5f8e82e3c9eeb43b6769d1af1086819e6881cb0456404ecc1, 0x4fba353c4ff3db60adac7b39685b4c7079fa9c9080841748fc9ce74f8a1160b0, 0x2f33caac3ea80144501f854d7fc8870e770fe1ec5260b2f09d45014e4ae11b0c]", | ||
"account": "0x308f8d3536261C32c97D2f85ddc357f5cCdF33F0" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x4fba353c4ff3db60adac7b39685b4c7079fa9c9080841748fc9ce74f8a1160b0]", | ||
"account": "0x3b8cA519122CdD8efb272b0D3085453404B25bD0" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x846447d11e52871f13911642f2df294a08a10c704fd3746ee2b8e99ef3dd802a, 0x61422cbfc16cfb61b82397377ab5165c6755ee7466a24630f4027d79453e83e5, 0x28dcd620872aaaed93f0363c5b4b038f3b1fcaba6944fb976d670390e56accd0]", | ||
"account": "0x326A7778DB9B741Cb2acA0DE07b9402C7685dAc6" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
| function | description | | ||
|:---------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| disable() | Disables new creation of pools from a pool factory. | | ||
| disableRecoveryMode() | description not found in map | | ||
| enableRecoveryMode() | Puts a pool into [Recovery Mode](https://medium.com/@0xSkly/inside-balancer-code-recoverymode-9af34ce5ab72) | | ||
| pause() | Stops trading in a pool. Proportinal withdraws are still possible. | | ||
| setSwapFeePercentage(uint256) | **Pools:** Authorize change of swap fees for pools that delegate ownership to Balancer Governance: 0xba1ba1... | | ||
| | **Deployments**: Sets the protocol fee charged on swaps for this deployment | | ||
| startAmplificationParameterUpdate(uint256,uint256) | Start ramping up or down the A factor of a stableswap pool that delegated ownership to Balancer Governance: 0xba1ba1... | | ||
| stopAmplificationParameterUpdate() | Stop A-factor change leaving the A-Factor at its currently set value on a stableswap pool that delegated ownership to Balancer Governance: 0xba1ba1... | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"version": "1.0", | ||
"chainId": 100, | ||
"createdAt": 1675891944772, | ||
"meta": { | ||
"name": "Transactions Batch", | ||
"description": "", | ||
"txBuilderVersion": "1.13.2", | ||
"createdFromSafeAddress": "", | ||
"createdFromOwnerAddress": "", | ||
"checksum": "", | ||
"createFromSafeAddress": "0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3" | ||
}, | ||
"transactions": [ | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x3dd110fd101a1be6115ceb811a85535de6c9c019360c7d67c022c48a3dd685d9, 0x8f33b1eaf9e2f2523d32b89a23d1a83e1225eb96ef489fde9b81bc44c7e207c1, 0x73c3332de64a6f7b137bea3255a221d779cc0f170ea4892ff0581faf799230ff, 0x04221c483f49fe794f5ce394e0ffc086722e106b9fef863610ccfbe1a019b997]", | ||
"account": "0xd6110A7756080a4e3BCF4e7EBBCA8E8aDFBC9962" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x73c3332de64a6f7b137bea3255a221d779cc0f170ea4892ff0581faf799230ff]", | ||
"account": "0xc3ccacE87f6d3A81724075ADcb5ddd85a8A1bB68" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x22627da2e7670aed1292420d5f0a2a49a7bd5992e0aef001702aa3285b5979b3, 0x86f2cd537c832d7823d7b51e7f52288e383427c8c41180561f0f8054bc216f56, 0x0c055dc6cd1d6558914ef49c536f751680f8c413a3563007992801443bcca7a5]", | ||
"account": "0x14969B55a675d13a1700F71A37511bc22D90155a" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[ | ||
{ | ||
"chain_map": { | ||
"mainnet": 1, | ||
"polygon": 137, | ||
"arbitrum": 42161, | ||
"optimism": 10, | ||
"gnosis": 100, | ||
"avalanche": 43114, | ||
"zkevm": 1101 | ||
}, | ||
"function_caller_map": { | ||
"setSwapFeePercentage(uint256)": "lm", | ||
"startAmplificationParameterUpdate(uint256,uint256)": "lm", | ||
"stopAmplificationParameterUpdate()": "lm", | ||
"pause()": "multisigs/emergency", | ||
"disable()": "multisigs/emergency", | ||
"enableRecoveryMode()": [ | ||
"multisigs/emergency", | ||
"20221123-pool-recovery-helper/PoolRecoveryHelper" | ||
], | ||
"setTargets": "lm", | ||
"disableRecoveryMode()": "multisigs/emergency" | ||
}, | ||
"deployments": ["20230711-composable-stable-pool-v5"] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"version": "1.0", | ||
"chainId": 1, | ||
"createdAt": 1675891944772, | ||
"meta": { | ||
"name": "Transactions Batch", | ||
"description": "", | ||
"txBuilderVersion": "1.13.2", | ||
"createdFromSafeAddress": "", | ||
"createdFromOwnerAddress": "", | ||
"checksum": "", | ||
"createFromSafeAddress": "0x17b11FF13e2d7bAb2648182dFD1f1cfa0E4C7cf3" | ||
}, | ||
"transactions": [ | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0xceeb84f98e049989237e570ba87203572b1ba663061d817739b66a9fb08a7901, 0x004ed6bc39c7b1141c8d34bc8c481dde189197c700d070129e6f6a3cbbfdce9f, 0x9a645ed7f1bf603a8f6a44b2227b47a0355b902e65abb9d45e60bbc7e220992f, 0xbb09fe1ad67eb7a320ad9131d81ea3835e51215410ea5d5866bc516003d06287]", | ||
"account": "0xA29F61256e948F3FB707b4b3B138C5cCb9EF9888" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x9a645ed7f1bf603a8f6a44b2227b47a0355b902e65abb9d45e60bbc7e220992f]", | ||
"account": "0x1b300C86980a5195bCF49bD419A068D98dC133Db" | ||
} | ||
}, | ||
{ | ||
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6", | ||
"value": "0", | ||
"data": null, | ||
"contractMethod": { | ||
"inputs": [ | ||
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" }, | ||
{ "internalType": "address", "name": "account", "type": "address" } | ||
], | ||
"name": "grantRoles", | ||
"payable": false | ||
}, | ||
"contractInputsValues": { | ||
"roles": "[0x42bc3b76ebdb675c6f7836b464d27c7517e14b05dc08bb944a4837563fc805ca, 0x6bf9f64e8755a240cd5604ab5cabd4a1eed020059be9a1a64be071859f023276, 0xd5e70e51651eb5be66f83b01794f74b5dbb417b607bf0425c5c5d3aa7386b38b]", | ||
"account": "0xc38c5f97B34E175FFd35407fc91a937300E33860" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.