From 497d7aae454f1e07b28d007014b46e93e4812687 Mon Sep 17 00:00:00 2001 From: Gosuto Inzasheru Date: Mon, 22 Jan 2024 15:36:41 +0100 Subject: [PATCH 1/2] ci: bump reports env to python 3.10 --- .github/workflows/run_reports_reusable.yaml | 4 +-- BIPs/4269-W69/BIP-528A.json | 40 +++++++++++++++++++++ BIPs/4269-W69/BIP-529.json | 40 +++++++++++++++++++++ 3 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 BIPs/4269-W69/BIP-528A.json create mode 100644 BIPs/4269-W69/BIP-529.json diff --git a/.github/workflows/run_reports_reusable.yaml b/.github/workflows/run_reports_reusable.yaml index 710bf5406..517e4da29 100644 --- a/.github/workflows/run_reports_reusable.yaml +++ b/.github/workflows/run_reports_reusable.yaml @@ -41,10 +41,10 @@ jobs: ~/.vvm key: compiler-cache - - name: Setup Python 3.9 + - name: Setup Python 3.10 uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.10" - name: Setup Environment run: | diff --git a/BIPs/4269-W69/BIP-528A.json b/BIPs/4269-W69/BIP-528A.json new file mode 100644 index 000000000..71bd86ce5 --- /dev/null +++ b/BIPs/4269-W69/BIP-528A.json @@ -0,0 +1,40 @@ +{ + "version": "1.0", + "chainId": "1", + "createdAt": 1704871780160, + "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": "0x1461C4a373d27977f0D343Ba33C22870c89F9dF0", + "gaugeType": "Arbitrum" + } + } + ] +} diff --git a/BIPs/4269-W69/BIP-529.json b/BIPs/4269-W69/BIP-529.json new file mode 100644 index 000000000..7969406be --- /dev/null +++ b/BIPs/4269-W69/BIP-529.json @@ -0,0 +1,40 @@ +{ + "version": "1.0", + "chainId": "1", + "createdAt": 1704874585004, + "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": "0x8c596E8D1b3Be04a6cAa1B1152b51c495f799a16", + "gaugeType": "Optimism" + } + } + ] +} From c4253af28c13c2a7d3e2ae3e6f02b2bb066aa86a Mon Sep 17 00:00:00 2001 From: gosuto-inzasheru Date: Mon, 22 Jan 2024 14:40:12 +0000 Subject: [PATCH 2/2] Automated processing of Payload PR (validations, transformations, and reports) + reformat JSON --- BIPs/4269-W69/BIP-528A.report.txt | 12 ++++++++++++ BIPs/4269-W69/BIP-529.report.txt | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 BIPs/4269-W69/BIP-528A.report.txt create mode 100644 BIPs/4269-W69/BIP-529.report.txt diff --git a/BIPs/4269-W69/BIP-528A.report.txt b/BIPs/4269-W69/BIP-528A.report.txt new file mode 100644 index 000000000..a0405ce46 --- /dev/null +++ b/BIPs/4269-W69/BIP-528A.report.txt @@ -0,0 +1,12 @@ +FILENAME: `BIPs/4269-W69/BIP-528A.json` +MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` +COMMIT: `497d7aae454f1e07b28d007014b46e93e4812687` +CHAIN(S): `arbitrum` +``` ++-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+-----------------------------------------------------+------------------------------------------------+---------+------------+ +| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | bip | tx_index | ++=======================+=====================================================================+=========================+============================================+=====================================================+================================================+=========+============+ +| GaugeAdderV4/addGauge | 0xe25ecadca47419e9aee2700ceab4e7c4b01b94ca0002000000000000000004e4 | 20WETH-80PAL | 0x1461C4a373d27977f0D343Ba33C22870c89F9dF0 | "WETH(0x82aF49447D8a07e3bd95BD0d56f35241523fBab1)", | "0x0000000000000000000000000000000000000000", | BIP-528 | 0 | +| | pool_address: 0xe25EcAdcA47419E9aEE2700CeaB4e7c4b01B94ca | fee: 0.3, a-factor: N/A | Style: L0 sidechain, cap: 2.0% | "PAL(0xa7997F0eC9fa54E89659229fB26537B6A725b798)" | "0x0000000000000000000000000000000000000000" | | | ++-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+-----------------------------------------------------+------------------------------------------------+---------+------------+ +``` diff --git a/BIPs/4269-W69/BIP-529.report.txt b/BIPs/4269-W69/BIP-529.report.txt new file mode 100644 index 000000000..f91be0b9d --- /dev/null +++ b/BIPs/4269-W69/BIP-529.report.txt @@ -0,0 +1,12 @@ +FILENAME: `BIPs/4269-W69/BIP-529.json` +MULTISIG: `multisigs/lm (mainnet:0xc38c5f97B34E175FFd35407fc91a937300E33860)` +COMMIT: `497d7aae454f1e07b28d007014b46e93e4812687` +CHAIN(S): `optimism` +``` ++-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+---------------------------------------------------------+------------------------------------------------+---------+------------+ +| function | pool_id_and_address | symbol_and_info | gauge_address_and_info | tokens | rate_providers | bip | tx_index | ++=======================+=====================================================================+=========================+============================================+=========================================================+================================================+=========+============+ +| GaugeAdderV4/addGauge | 0x2feb76966459d7841fa8a7ed0aa4bf574d6111bf00020000000000000000011d | bpt-yieldconcerto | 0x8c596E8D1b3Be04a6cAa1B1152b51c495f799a16 | "sFRAX(0x2Dd1B4D4548aCCeA497050619965f91f78b3b532)", | "0xDe3B7eC86B67B05D312ac8FD935B6F59836F2c41", | BIP-529 | 0 | +| | pool_address: 0x2FEb76966459d7841fa8A7Ed0aa4bf574d6111Bf | fee: 0.1, a-factor: N/A | Style: L0 sidechain, cap: 100.0% | "sfrxETH(0x484c2D6e3cDd945a8B2DF735e079178C1036578c)" | "0xf752dd899F87a91370C1C8ac1488Aef6be687505" | | | ++-----------------------+---------------------------------------------------------------------+-------------------------+--------------------------------------------+---------------------------------------------------------+------------------------------------------------+---------+------------+ +```