diff --git a/MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.json b/MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.json new file mode 100644 index 000000000..0e7faf927 --- /dev/null +++ b/MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.json @@ -0,0 +1,76 @@ +{ + "version": "1.0", + "chainId": "1", + "createdAt": 1734627220938, + "meta": { + "name": "Transactions Batch", + "description": "", + "txBuilderVersion": "1.17.1", + "createdFromSafeAddress": "0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e", + "createdFromOwnerAddress": "", + "checksum": "0x1486fba3a6923d8e75c085f9e5c3e71ad1a26ef8fd3c2205cd35d5c8489761d2" + }, + "transactions": [ + { + "to": "0xba100000625a3754423978a60c9317c58a424e3D", + "value": "0", + "data": null, + "contractMethod": { + "inputs": [ + { "name": "recipient", "type": "address", "internalType": "address" }, + { "name": "amount", "type": "uint256", "internalType": "uint256" } + ], + "name": "transfer", + "payable": false + }, + "contractInputsValues": { + "recipient": "0x5a18FE4D7a2bd5A39CCa4F9D05D073F21FAE28EE", + "amount": "612101910800000000000" + } + }, + { + "to": "0xBa3335588D9403515223F109EdC4eB7269a9Ab5D", + "value": "0", + "data": null, + "contractMethod": { + "inputs": [ + { "internalType": "address", "name": "dst", "type": "address" }, + { "internalType": "uint256", "name": "rawAmount", "type": "uint256" } + ], + "name": "transfer", + "payable": false + }, + "contractInputsValues": { + "dst": "0xfa7b21B30325DBbd4A71ee2B2EDE74A7d8A2c0E4", + "rawAmount": "158974359000000000000000" + } + }, + { + "to": "0x5a18FE4D7a2bd5A39CCa4F9D05D073F21FAE28EE", + "value": "0", + "data": null, + "contractMethod": { + "inputs": [ + { + "name": "gaugeAddresses", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "amountsPerPeriod", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { "name": "maxPeriods", "type": "uint8[]", "internalType": "uint8[]" } + ], + "name": "setRecipientList", + "payable": false + }, + "contractInputsValues": { + "gaugeAddresses": "[0x4B891340b51889f438a03DC0e8aAAFB0Bc89e7A6, 0x70A1c01902DAb7a45dcA1098Ca76A8314dd8aDbA, 0x1f3A4C8115629C33A28bF2F97F22D31d256317F6, 0xA7dc263370Ba6AD86a1971EEcf37e581d5F04E11]", + "amountsPerPeriod": "[1062500000000000000000, 478100000000000000000, 796860000000000000000, 306050955400000000000]", + "maxPeriods": "[6, 6, 6, 2]" + } + } + ] +} diff --git a/MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.report.txt b/MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.report.txt new file mode 100644 index 000000000..62d065ff6 --- /dev/null +++ b/MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.report.txt @@ -0,0 +1,32 @@ +FILENAME: `MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.json` +MULTISIG: `multisigs/maxi_omni (mainnet:0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e)` +COMMIT: `149b92b0caa60bbaac953c9976b3b6cf3113464f` +CHAIN(S): `mainnet` +TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/3d9cd5ca-eb24-4f46-8dbc-ca98ffeb2ce3) + +``` ++----------+-------------------------------------------------+-------------------------------------------------------------------------------------------+--------------------------------------------+-----+----------+ +| function | token_symbol | recipient | amount | bip | tx_index | ++----------+-------------------------------------------------+-------------------------------------------------------------------------------------------+--------------------------------------------+-----+----------+ +| transfer | BAL:0xba100000625a3754423978a60c9317c58a424e3D | maxiKeepers/gaugeRewardsInjectors/Balancer_BAL:0x5a18FE4D7a2bd5A39CCa4F9D05D073F21FAE28EE | 612.1019108 (RAW: 612101910800000000000) | N/A | 0 | +| transfer | GEAR:0xBa3335588D9403515223F109EdC4eB7269a9Ab5D | maxiKeepers/injectorV2/GEAR:0xfa7b21B30325DBbd4A71ee2B2EDE74A7d8A2c0E4 | 158974.359 (RAW: 158974359000000000000000) | N/A | 1 | ++----------+-------------------------------------------------+-------------------------------------------------------------------------------------------+--------------------------------------------+-----+----------+ +``` +FILENAME: `MaxiOps/injectorScheduling/mainnet/GEAR+BAL-Send-&-Schedule-CowAMM.json` +MULTISIG: `multisigs/maxi_omni (mainnet:0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e)` +COMMIT: `149b92b0caa60bbaac953c9976b3b6cf3113464f` +CHAIN(S): `mainnet` +TENDERLY: [`🟩 SUCCESS`](https://www.tdly.co/shared/simulation/7bbc005d-146a-4ea6-a3ed-62f47ceed152) + +``` ++------------------+--------------------------------------------------------------------------------------------+--------+-------------------------------------------------------------------------------------------+---------------------------------------------+---------+-------------------------------------------------+----------+ +| function | injector | symbol | gaugeList | amounts_per_period | periods | total_amount_first_period | tx_index | ++------------------+--------------------------------------------------------------------------------------------+--------+-------------------------------------------------------------------------------------------+---------------------------------------------+---------+-------------------------------------------------+----------+ +| setRecipientList | 0x5a18FE4D7a2bd5A39CCa4F9D05D073F21FAE28EE(maxiKeepers/gaugeRewardsInjectors/Balancer_BAL) | BAL | [ | [ | [ | raw: 2643510955400000000000/1e18 = 2643.5109554 | 2 | +| | | | "0x4B891340b51889f438a03DC0e8aAAFB0Bc89e7A6 (gauges/Aave Lido wETH-wstETH-gauge-4b89)", | "1062500000000000000000/1e18 = 1062.5", | 6, | | | +| | | | "0x70A1c01902DAb7a45dcA1098Ca76A8314dd8aDbA (gauges/osETH-waWETH-gauge-70a1)", | "478100000000000000000/1e18 = 478.1", | 6, | | | +| | | | "0x1f3A4C8115629C33A28bF2F97F22D31d256317F6 (gauges/ETHx waWETH-gauge-1f3a)", | "796860000000000000000/1e18 = 796.86", | 6, | | | +| | | | "0xA7dc263370Ba6AD86a1971EEcf37e581d5F04E11 (Balancer BCoW-50GEAR-50WETH Gauge Deposit)" | "306050955400000000000/1e18 = 306.0509554" | 2 | | | +| | | | ] | ] | ] | | | ++------------------+--------------------------------------------------------------------------------------------+--------+-------------------------------------------------------------------------------------------+---------------------------------------------+---------+-------------------------------------------------+----------+ +``` diff --git a/action-scripts/brownie/scripts/reports.py b/action-scripts/brownie/scripts/reports.py index 3ce3a94da..88eccd7c4 100644 --- a/action-scripts/brownie/scripts/reports.py +++ b/action-scripts/brownie/scripts/reports.py @@ -622,6 +622,7 @@ def _parse_transfer(transaction: dict, **kwargs) -> Optional[dict]: or transaction["contractInputsValues"].get("value") or transaction["contractInputsValues"].get("wad") or transaction["contractInputsValues"].get("_value") + or transaction["contractInputsValues"].get("rawAmount") ) amount = int(raw_amount) / 10 ** token.decimals() if raw_amount else "N/A" symbol = token.symbol()