diff --git a/src/constants.py b/src/constants.py index b5f5c98..a40de49 100644 --- a/src/constants.py +++ b/src/constants.py @@ -40,7 +40,7 @@ # relevant addresses SETTLEMENT_CONTRACT_ADDRESS = "0x9008D19f58AAbD9eD0D60971565AA8510560ab41" COW_DAO_MEV_BLOCKER_KICKBACKS_ADDRESS = "0xCe91228789B57DEb45e66Ca10Ff648385fE7093b" -COPIUM_MEV_BlOCKER_KICKBACKS_ADDRESS = "0x008300082C3000009e63680088f8c7f4D3ff2E87" +COPIUM_CAPITAL_MEV_BLOCKER_KICKBACKS_ADDRESS = "0x008300082C3000009e63680088f8c7f4D3ff2E87" # requests REQUEST_TIMEOUT = 5 diff --git a/src/monitoring_tests/mev_blocker_kickbacks_test.py b/src/monitoring_tests/mev_blocker_kickbacks_test.py index 1d3a64a..59b268b 100644 --- a/src/monitoring_tests/mev_blocker_kickbacks_test.py +++ b/src/monitoring_tests/mev_blocker_kickbacks_test.py @@ -8,7 +8,7 @@ from src.apis.web3api import Web3API from src.constants import ( COW_DAO_MEV_BLOCKER_KICKBACKS_ADDRESS, - COPIUM_MEV_BLOCKER_KICKBACKS_ADDRESS, + COPIUM_CAPITAL_MEV_BLOCKER_KICKBACKS_ADDRESS, KICKBACKS_ALERT_THRESHOLD, ) @@ -35,14 +35,16 @@ def run(self, tx_hash: str) -> bool: cow_dao_total_eth_kickbacks = self.web3_api.get_eth_transfers_by_block_range( block_number, block_number, COW_DAO_MEV_BLOCKER_KICKBACKS_ADDRESS ) - copium_total_eth_kickbacks = self.web3_api.get_eth_transfers_by_block_range( - block_number, block_number, COPIUM_MEV_BLOCKER_KICKBACKS_ADDRESS + copium_capital_total_eth_kickbacks = ( + self.web3_api.get_eth_transfers_by_block_range( + block_number, block_number, COPIUM_CAPITAL_MEV_BLOCKER_KICKBACKS_ADDRESS + ) ) eth_kickbacks = None if cow_dao_total_eth_kickbacks is not None: eth_kickbacks = cow_dao_total_eth_kickbacks - if copium_total_eth_kickbacks is not None: - eth_kickbacks = copium_total_eth_kickbacks + if copium_capital_total_eth_kickbacks is not None: + eth_kickbacks = copium_capital_total_eth_kickbacks if eth_kickbacks is None: return False