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-424 Add Initial Avalanche and Base Gauges #500

Merged
merged 7 commits into from
Sep 11, 2023
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
2 changes: 2 additions & 0 deletions .github/workflows/run_reports_reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
POLYGONSCAN_TOKEN: ${{ secrets.POLYGONSCAN_TOKEN }}
OPTIMISMSCAN_TOKEN: ${{ secrets.OPTIMISMSCAN_TOKEN }}
ZKEVMSCAN_TOKEN: ${{ secrets.ZKEVMSCAN_TOKEN }}
SNOWTRACE_TOKEN: ${{ secrets.SNOWTRACE_TOKEN }}
BASESCAN_TOKEN: ${{ secrets.BASESCAN_TOKEN }}
PR_NUMBER: ${{ inputs.pr_number }}
COMMIT_SHA: ${{ inputs.checkout_ref }}
steps:
Expand Down
104 changes: 104 additions & 0 deletions BIPs/2023-W36/BIP-424.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"version": "1.0",
"chainId": "1",
"createdAt": 1694040174881,
"meta": {
"name": "Transactions Batch",
"description": "",
"txBuilderVersion": "1.16.2",
"createdFromSafeAddress": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f",
"createdFromOwnerAddress": "",
"checksum": "0x32fbf13e1dd00d0fb34522a9ebbcbece0db64b0c7284f22d7e753542bce308d9"
},
"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": "[0x3f44776af02a9227991da37715b44e45db40735e216b3ab33144859bb6737166, 0x2960d085c4c968d7cad55c0da3f97014525b948fdce990ecaef4e832b5f0b151]",
"account": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "name": "gaugeType", "type": "string", "internalType": "string" }
],
"name": "addGaugeType",
"payable": false
},
"contractInputsValues": { "gaugeType": "Base" }
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"name": "factory",
"type": "address",
"internalType": "contract ILiquidityGaugeFactory"
},
{ "name": "gaugeType", "type": "string", "internalType": "string" }
],
"name": "setGaugeFactory",
"payable": false
},
"contractInputsValues": {
"factory": "0x8e3B64b3737097F283E965869e3503AA20F31E4D",
"gaugeType": "Base"
}
},
{
"to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"name": "factory",
"type": "address",
"internalType": "contract ILiquidityGaugeFactory"
},
{ "name": "gaugeType", "type": "string", "internalType": "string" }
],
"name": "setGaugeFactory",
"payable": false
},
"contractInputsValues": {
"factory": "0x22625eEDd92c81a219A83e1dc48f88d54786B017",
"gaugeType": "Avalanche"
}
},
{
"to": "0xA331D84eC860Bf466b4CdCcFb4aC09a1B43F3aE6",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "bytes32[]", "name": "roles", "type": "bytes32[]" },
{ "internalType": "address", "name": "account", "type": "address" }
],
"name": "revokeRoles",
"payable": false
},
"contractInputsValues": {
"roles": "[0x3f44776af02a9227991da37715b44e45db40735e216b3ab33144859bb6737166, 0x2960d085c4c968d7cad55c0da3f97014525b948fdce990ecaef4e832b5f0b151]",
"account": "0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f"
}
}
]
}
40 changes: 40 additions & 0 deletions BIPs/2023-W36/BIP-424.report.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
File name: BIPs/2023-W36/BIP-424.json
COMMIT: `d9f389911f5f4c68effc310e9564ebf825960615`
CHAIN(S): `mainnet`
```
+------------------------+---------------+--------------------------------------------+--------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
| function | caller_name | caller_address | fx_paths | action_ids | bip | tx_index |
+========================+===============+============================================+====================================================================+====================================================================+=========+============+
| Authorizer/grantRoles | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20230519-gauge-adder-v4/GaugeAdder/setGaugeFactory(address,string) | 0x3f44776af02a9227991da37715b44e45db40735e216b3ab33144859bb6737166 | BIP-424 | 0 |
| | | | 20230519-gauge-adder-v4/GaugeAdder/addGaugeType(string) | 0x2960d085c4c968d7cad55c0da3f97014525b948fdce990ecaef4e832b5f0b151 | | |
+------------------------+---------------+--------------------------------------------+--------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
| Authorizer/revokeRoles | multisigs/dao | 0x10A19e7eE7d7F8a52822f6817de8ea18204F2e4f | 20230519-gauge-adder-v4/GaugeAdder/setGaugeFactory(address,string) | 0x3f44776af02a9227991da37715b44e45db40735e216b3ab33144859bb6737166 | BIP-424 | 4 |
| | | | 20230519-gauge-adder-v4/GaugeAdder/addGaugeType(string) | 0x2960d085c4c968d7cad55c0da3f97014525b948fdce990ecaef4e832b5f0b151 | | |
+------------------------+---------------+--------------------------------------------+--------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
```
File name: BIPs/2023-W36/BIP-424.json
COMMIT: `d9f389911f5f4c68effc310e9564ebf825960615`
CHAIN(S): `1`
```
+-----------------+---------------------------------------------------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------+--------------+------------+
| fx_name | to | value | inputs | bip_number | tx_index |
+=================+=================================================================================+=========+========================================================================================================================+==============+============+
| addGaugeType | 0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd (20230519-gauge-adder-v4/GaugeAdder) | 0 | { | BIP-424 | N/A |
| | | | "gaugeType": "Base" | | |
| | | | } | | |
+-----------------+---------------------------------------------------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------+--------------+------------+
| setGaugeFactory | 0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd (20230519-gauge-adder-v4/GaugeAdder) | 0 | { | BIP-424 | N/A |
| | | | "factory": [ | | |
| | | | "0x8e3B64b3737097F283E965869e3503AA20F31E4D (20230911-base-root-gauge-factory/BaseRootGaugeFactory) " | | |
| | | | ], | | |
| | | | "gaugeType": "Base" | | |
| | | | } | | |
+-----------------+---------------------------------------------------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------+--------------+------------+
| setGaugeFactory | 0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd (20230519-gauge-adder-v4/GaugeAdder) | 0 | { | BIP-424 | N/A |
| | | | "factory": [ | | |
| | | | "0x22625eEDd92c81a219A83e1dc48f88d54786B017 (20230811-avalanche-root-gauge-factory-v2/AvalancheRootGaugeFactory) " | | |
| | | | ], | | |
| | | | "gaugeType": "Avalanche" | | |
| | | | } | | |
+-----------------+---------------------------------------------------------------------------------+---------+------------------------------------------------------------------------------------------------------------------------+--------------+------------+
```
68 changes: 68 additions & 0 deletions BIPs/2023-W36/BIP-424A.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"version": "1.0",
"chainId": "8453",
"createdAt": 1694043201789,
"meta": {
"name": "Transactions Batch",
"description": "",
"txBuilderVersion": "1.16.2",
"createdFromSafeAddress": "0xC40DCFB13651e64C8551007aa57F9260827B6462",
"createdFromOwnerAddress": "",
"checksum": "0x752bb7e91386a771e7c2137f2550900a8d35f5552c074e19e69ebd7280e017a5"
},
"transactions": [
{
"to": "0x809B79b53F18E9bc08A961ED4678B901aC93213a",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
{ "internalType": "address", "name": "account", "type": "address" }
],
"name": "grantRole",
"payable": false
},
"contractInputsValues": {
"role": "0xe26f8fdc1d4f5fb1b88969b7f3b9908b59db3a391dac6b94abb82fdb1e13194d",
"account": "0xC40DCFB13651e64C8551007aa57F9260827B6462"
}
},
{
"to": "0x0c5538098EBe88175078972F514C9e101D325D4F",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"internalType": "contract ILiquidityGaugeFactory",
"name": "factory",
"type": "address"
}
],
"name": "addGaugeFactory",
"payable": false
},
"contractInputsValues": {
"factory": "0xb1a4FE1C6d25a0DDAb47431A92A723dd71d9021f"
}
},
{
"to": "0x809B79b53F18E9bc08A961ED4678B901aC93213a",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "bytes32", "name": "role", "type": "bytes32" },
{ "internalType": "address", "name": "account", "type": "address" }
],
"name": "revokeRole",
"payable": false
},
"contractInputsValues": {
"role": "0xe26f8fdc1d4f5fb1b88969b7f3b9908b59db3a391dac6b94abb82fdb1e13194d",
"account": "0xC40DCFB13651e64C8551007aa57F9260827B6462"
}
}
]
}
24 changes: 24 additions & 0 deletions BIPs/2023-W36/BIP-424A.report.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
File name: BIPs/2023-W36/BIP-424A.json
COMMIT: `d9f389911f5f4c68effc310e9564ebf825960615`
CHAIN(S): `base`
```
+-----------------------+---------------+--------------------------------------------+------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
| function | caller_name | caller_address | fx_paths | action_ids | bip | tx_index |
+=======================+===============+============================================+====================================================================================+====================================================================+=========+============+
| Authorizer/grantRole | multisigs/dao | 0xC40DCFB13651e64C8551007aa57F9260827B6462 | 20230316-l2-balancer-pseudo-minter/L2BalancerPseudoMinter/addGaugeFactory(address) | 0xe26f8fdc1d4f5fb1b88969b7f3b9908b59db3a391dac6b94abb82fdb1e13194d | BIP-424 | 0 |
+-----------------------+---------------+--------------------------------------------+------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
| Authorizer/revokeRole | multisigs/dao | 0xC40DCFB13651e64C8551007aa57F9260827B6462 | 20230316-l2-balancer-pseudo-minter/L2BalancerPseudoMinter/addGaugeFactory(address) | 0xe26f8fdc1d4f5fb1b88969b7f3b9908b59db3a391dac6b94abb82fdb1e13194d | BIP-424 | 2 |
+-----------------------+---------------+--------------------------------------------+------------------------------------------------------------------------------------+--------------------------------------------------------------------+---------+------------+
```
File name: BIPs/2023-W36/BIP-424A.json
COMMIT: `d9f389911f5f4c68effc310e9564ebf825960615`
CHAIN(S): `8453`
```
+-----------------+--------------------------------------------------------------------------------------------------------+---------+-----------------------------------------------------------+--------------+------------+
| fx_name | to | value | inputs | bip_number | tx_index |
+=================+========================================================================================================+=========+===========================================================+==============+============+
| addGaugeFactory | 0x0c5538098EBe88175078972F514C9e101D325D4F (20230316-l2-balancer-pseudo-minter/L2BalancerPseudoMinter) | 0 | { | BIP-424 | N/A |
| | | | "factory": "0xb1a4FE1C6d25a0DDAb47431A92A723dd71d9021f" | | |
| | | | } | | |
+-----------------+--------------------------------------------------------------------------------------------------------+---------+-----------------------------------------------------------+--------------+------------+
```
Loading