From ea35bc8a40b7ecc18e6a298a898133828bf2afab Mon Sep 17 00:00:00 2001 From: Xeonus Date: Thu, 5 Dec 2024 09:09:01 +0100 Subject: [PATCH 1/6] chore: add payload file --- BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json diff --git a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json new file mode 100644 index 000000000..395358cde --- /dev/null +++ b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json @@ -0,0 +1 @@ +{"version":"1.0","chainId":"1","createdAt":1733385893919,"meta":{"name":"Transactions Batch","description":"Add new gauges","txBuilderVersion":"1.16.3","createdFromSafeAddress":"0xc38c5f97B34E175FFd35407fc91a937300E33860","createdFromOwnerAddress":"","checksum":""},"transactions":[{"to":"0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd","value":"0","data":null,"contractMethod":{"inputs":[{"name":"gauge","type":"address","internalType":"address"},{"name":"gaugeType","type":"string","internalType":"string"}],"name":"addGauge","payable":false},"contractInputsValues":{"gauge":"0x4fd03b8c15e70e6b3413e4d2ff3825a19746e78b","gaugeType":"Ethereum"}}]} \ No newline at end of file From 0e8a53688e27eb052ac779be820f06d61312beaa Mon Sep 17 00:00:00 2001 From: Xeonus Date: Thu, 5 Dec 2024 13:27:09 +0100 Subject: [PATCH 2/6] fix: v2 vault specific filter for validation script --- action-scripts/brownie/scripts/script_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action-scripts/brownie/scripts/script_utils.py b/action-scripts/brownie/scripts/script_utils.py index acaccf187..98f4406b9 100644 --- a/action-scripts/brownie/scripts/script_utils.py +++ b/action-scripts/brownie/scripts/script_utils.py @@ -111,7 +111,7 @@ def get_pool_info( book = AddrBook(chain_name) vault = Contract.from_abi( name="Vault", - address=book.search_unique("vault/Vault").address, + address=book.search_unique("20210418-vault/Vault").address, abi=json.load(open("abis/IVault.json")), ) try: From 12f39d2b6858b0efdea983fb6abf23231175f48e Mon Sep 17 00:00:00 2001 From: Xeonus Date: Thu, 5 Dec 2024 12:31:42 +0000 Subject: [PATCH 3/6] Automated processing of Payload PR (validations, transformations, and reports) + reformat JSON --- BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json | 33 ++++++++++++++++++- .../BIP-XXX-kaiAura-gauge-add.report.txt | 22 +++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt diff --git a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json index 395358cde..036707646 100644 --- a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json +++ b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json @@ -1 +1,32 @@ -{"version":"1.0","chainId":"1","createdAt":1733385893919,"meta":{"name":"Transactions Batch","description":"Add new gauges","txBuilderVersion":"1.16.3","createdFromSafeAddress":"0xc38c5f97B34E175FFd35407fc91a937300E33860","createdFromOwnerAddress":"","checksum":""},"transactions":[{"to":"0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd","value":"0","data":null,"contractMethod":{"inputs":[{"name":"gauge","type":"address","internalType":"address"},{"name":"gaugeType","type":"string","internalType":"string"}],"name":"addGauge","payable":false},"contractInputsValues":{"gauge":"0x4fd03b8c15e70e6b3413e4d2ff3825a19746e78b","gaugeType":"Ethereum"}}]} \ No newline at end of file +{ + "version": "1.0", + "chainId": "1", + "createdAt": 1733385893919, + "meta": { + "name": "Transactions Batch", + "description": "Add new gauges", + "txBuilderVersion": "1.16.3", + "createdFromSafeAddress": "0xc38c5f97B34E175FFd35407fc91a937300E33860", + "createdFromOwnerAddress": "", + "checksum": "" + }, + "transactions": [ + { + "to": "0x5DbAd78818D4c8958EfF2d5b95b28385A22113Cd", + "value": "0", + "data": null, + "contractMethod": { + "inputs": [ + { "name": "gauge", "type": "address", "internalType": "address" }, + { "name": "gaugeType", "type": "string", "internalType": "string" } + ], + "name": "addGauge", + "payable": false + }, + "contractInputsValues": { + "gauge": "0x4fd03b8c15e70e6b3413e4d2ff3825a19746e78b", + "gaugeType": "Ethereum" + } + } + ] +} diff --git a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt new file mode 100644 index 000000000..726372f1d --- /dev/null +++ b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt @@ -0,0 +1,22 @@ +FILENAME: `BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json` +MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` +COMMIT: `0e8a53688e27eb052ac779be820f06d61312beaa` +CHAIN(S): `mainnet` +TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/ac18decc-bd63-4235-acdc-5fffb60c8e3c) + +| Gauge Validator (0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B) | Result | +| :------------------------------------------------------------| :----: | +| `validate_preferential_gauge` | ✅ | +| `validate_rate_providers_safety` | -- | + +``` ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+-----+----------+ +| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | review_summary | bip | tx_index | ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+-----+----------+ +| GaugeAdderV4/addGauge | 0x62e57e37e3185871c13a422a363293780d17305b0002000000000000000006d3 | B-kaiAURA-AURA-WEIGHTED | root: 0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B | 0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF: AURA | 0x0000000000000000000000000000000000000000 | -- | N/A | 0 | +| | pool_address: 0x62E57e37E3185871c13a422A363293780D17305B | fee: 1.0 | side: None | 0xFFd9c960bC303b8d3aAED58229ce8a7310bCc5b8: kaiAURA | 0x0000000000000000000000000000000000000000 | -- | | | +| | | a-factor: N/A | style: mainnet | | | | | | +| | | | cap: 2.0% | | | | | | +| | | | preferential: True | | | | | | ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+-----+----------+ +``` From 17940a9fc487c78cf3725a7f150aef373680cc5d Mon Sep 17 00:00:00 2001 From: gosuto-inzasheru Date: Thu, 5 Dec 2024 13:49:07 +0000 Subject: [PATCH 4/6] Automated processing of Payload PR (validations, transformations, and reports) + reformat JSON --- BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt index 726372f1d..dde84a389 100644 --- a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt +++ b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt @@ -1,8 +1,8 @@ FILENAME: `BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json` MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` -COMMIT: `0e8a53688e27eb052ac779be820f06d61312beaa` +COMMIT: `38d867e4cab989a0a19ea0ed2a40a13a552dcc2c` CHAIN(S): `mainnet` -TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/ac18decc-bd63-4235-acdc-5fffb60c8e3c) +TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/2d47626b-9417-408f-a733-48135ceabbc9) | Gauge Validator (0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B) | Result | | :------------------------------------------------------------| :----: | From edb57ec9e07ab6f39525271fcfcc4357cdc22bba Mon Sep 17 00:00:00 2001 From: Xeonus Date: Mon, 9 Dec 2024 13:53:18 +0100 Subject: [PATCH 5/6] refactor: assign BIP ID - assign BIP ID - remove old report --- ...XX-kaiAura-gauge-add.json => BIP-740.json} | 0 .../BIP-XXX-kaiAura-gauge-add.report.txt | 22 ------------------- 2 files changed, 22 deletions(-) rename BIPs/2024-W50/{BIP-XXX-kaiAura-gauge-add.json => BIP-740.json} (100%) delete mode 100644 BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt diff --git a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json b/BIPs/2024-W50/BIP-740.json similarity index 100% rename from BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json rename to BIPs/2024-W50/BIP-740.json diff --git a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt b/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt deleted file mode 100644 index dde84a389..000000000 --- a/BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.report.txt +++ /dev/null @@ -1,22 +0,0 @@ -FILENAME: `BIPs/2024-W50/BIP-XXX-kaiAura-gauge-add.json` -MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` -COMMIT: `38d867e4cab989a0a19ea0ed2a40a13a552dcc2c` -CHAIN(S): `mainnet` -TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/2d47626b-9417-408f-a733-48135ceabbc9) - -| Gauge Validator (0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B) | Result | -| :------------------------------------------------------------| :----: | -| `validate_preferential_gauge` | ✅ | -| `validate_rate_providers_safety` | -- | - -``` -+-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+-----+----------+ -| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | review_summary | bip | tx_index | -+-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+-----+----------+ -| GaugeAdderV4/addGauge | 0x62e57e37e3185871c13a422a363293780d17305b0002000000000000000006d3 | B-kaiAURA-AURA-WEIGHTED | root: 0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B | 0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF: AURA | 0x0000000000000000000000000000000000000000 | -- | N/A | 0 | -| | pool_address: 0x62E57e37E3185871c13a422A363293780D17305B | fee: 1.0 | side: None | 0xFFd9c960bC303b8d3aAED58229ce8a7310bCc5b8: kaiAURA | 0x0000000000000000000000000000000000000000 | -- | | | -| | | a-factor: N/A | style: mainnet | | | | | | -| | | | cap: 2.0% | | | | | | -| | | | preferential: True | | | | | | -+-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+-----+----------+ -``` From 1a01d43cb423af5e04601b00310676890a7555f7 Mon Sep 17 00:00:00 2001 From: Xeonus Date: Mon, 9 Dec 2024 12:56:05 +0000 Subject: [PATCH 6/6] Automated processing of Payload PR (validations, transformations, and reports) + reformat JSON --- BIPs/2024-W50/BIP-740.report.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 BIPs/2024-W50/BIP-740.report.txt diff --git a/BIPs/2024-W50/BIP-740.report.txt b/BIPs/2024-W50/BIP-740.report.txt new file mode 100644 index 000000000..6525257d1 --- /dev/null +++ b/BIPs/2024-W50/BIP-740.report.txt @@ -0,0 +1,22 @@ +FILENAME: `BIPs/2024-W50/BIP-740.json` +MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` +COMMIT: `edb57ec9e07ab6f39525271fcfcc4357cdc22bba` +CHAIN(S): `mainnet` +TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/3fdaea3a-b083-460c-b0a5-b392fbf861a4) + +| Gauge Validator (0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B) | Result | +| :------------------------------------------------------------| :----: | +| `validate_preferential_gauge` | ✅ | +| `validate_rate_providers_safety` | -- | + +``` ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+---------+----------+ +| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | review_summary | bip | tx_index | ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+---------+----------+ +| GaugeAdderV4/addGauge | 0x62e57e37e3185871c13a422a363293780d17305b0002000000000000000006d3 | B-kaiAURA-AURA-WEIGHTED | root: 0x4fd03B8C15E70E6b3413E4D2ff3825a19746e78B | 0xC0c293ce456fF0ED870ADd98a0828Dd4d2903DBF: AURA | 0x0000000000000000000000000000000000000000 | -- | BIP-740 | 0 | +| | pool_address: 0x62E57e37E3185871c13a422A363293780D17305B | fee: 1.0 | side: None | 0xFFd9c960bC303b8d3aAED58229ce8a7310bCc5b8: kaiAURA | 0x0000000000000000000000000000000000000000 | -- | | | +| | | a-factor: N/A | style: mainnet | | | | | | +| | | | cap: 2.0% | | | | | | +| | | | preferential: True | | | | | | ++-----------------------+---------------------------------------------------------------------+--------------------------+--------------------------------------------------+-----------------------------------------------------+--------------------------------------------+----------------+---------+----------+ +```