From 2b9b284f50b90cab0ea782ac2ddd2dd9117fde96 Mon Sep 17 00:00:00 2001 From: Xeonus Date: Tue, 17 Dec 2024 10:10:26 +0100 Subject: [PATCH 1/2] chore: add payload file --- BIPs/2024-W52/BIP-746.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 BIPs/2024-W52/BIP-746.json diff --git a/BIPs/2024-W52/BIP-746.json b/BIPs/2024-W52/BIP-746.json new file mode 100644 index 000000000..6cb5b693b --- /dev/null +++ b/BIPs/2024-W52/BIP-746.json @@ -0,0 +1 @@ +{"version":"1.0","chainId":"1","createdAt":1734426572739,"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":"0x80CD37A62A8A58C4Cbf64003410c5cCC4d01519f","gaugeType":"Ethereum"}}]} \ No newline at end of file From c23daebf4121d750f5dc30252c3e9e27057f0578 Mon Sep 17 00:00:00 2001 From: Xeonus Date: Tue, 17 Dec 2024 09:13:33 +0000 Subject: [PATCH 2/2] Automated processing of Payload PR (validations, transformations, and reports) + reformat JSON --- BIPs/2024-W52/BIP-746.json | 33 +++++++++++++++++++++++++++++++- BIPs/2024-W52/BIP-746.report.txt | 22 +++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 BIPs/2024-W52/BIP-746.report.txt diff --git a/BIPs/2024-W52/BIP-746.json b/BIPs/2024-W52/BIP-746.json index 6cb5b693b..a96f3157d 100644 --- a/BIPs/2024-W52/BIP-746.json +++ b/BIPs/2024-W52/BIP-746.json @@ -1 +1,32 @@ -{"version":"1.0","chainId":"1","createdAt":1734426572739,"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":"0x80CD37A62A8A58C4Cbf64003410c5cCC4d01519f","gaugeType":"Ethereum"}}]} \ No newline at end of file +{ + "version": "1.0", + "chainId": "1", + "createdAt": 1734426572739, + "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": "0x80CD37A62A8A58C4Cbf64003410c5cCC4d01519f", + "gaugeType": "Ethereum" + } + } + ] +} diff --git a/BIPs/2024-W52/BIP-746.report.txt b/BIPs/2024-W52/BIP-746.report.txt new file mode 100644 index 000000000..b7ec90057 --- /dev/null +++ b/BIPs/2024-W52/BIP-746.report.txt @@ -0,0 +1,22 @@ +FILENAME: `BIPs/2024-W52/BIP-746.json` +MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` +COMMIT: `2b9b284f50b90cab0ea782ac2ddd2dd9117fde96` +CHAIN(S): `mainnet` +TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/dcbfc36f-5465-4c14-ad9b-effa829977f2) + +| Gauge Validator (0x80CD37A62A8A58C4Cbf64003410c5cCC4d01519f) | 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 | 0x0aaba3d6a05a606b7a794877dd0befda47474db00002000000000000000006d2 | B-KAI-WETH-WEIGHTED | root: 0x80CD37A62A8A58C4Cbf64003410c5cCC4d01519f | 0x63e5dC7C071C1F18d44b69bc86f4c80F24851388: KAI | 0x0000000000000000000000000000000000000000 | -- | BIP-746 | 0 | +| | pool_address: 0x0AAba3D6a05a606b7A794877Dd0beFDa47474dB0 | fee: 0.5 | side: None | 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2: WETH | 0x0000000000000000000000000000000000000000 | -- | | | +| | | a-factor: N/A | style: mainnet | | | | | | +| | | | cap: 2.0% | | | | | | +| | | | preferential: True | | | | | | ++-----------------------+---------------------------------------------------------------------+----------------------+--------------------------------------------------+--------------------------------------------------+--------------------------------------------+----------------+---------+----------+ +```