diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index ecc112a7a..61c31d440 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -34,6 +34,9 @@ jobs: run: | echo TENDERLY_FORK=$TENDERLY_FORK > .env echo WEB3_ALCHEMY_PROJECT_ID=$WEB3_ALCHEMY_PROJECT_ID >> .env + echo WEB3_ALCHEMY_BASE=$WEB3_ALCHEMY_BASE >> .env + echo WEB3_FANTOM=$WEB3_FANTOM >> .env + echo WEB3_MANTLE=$WEB3_MANTLE >> .env echo ETHERSCAN_TOKEN=$ETHERSCAN_TOKEN >> .env echo DEFAULT_MIN_PROFIT_BNT=$DEFAULT_MIN_PROFIT_BNT >> .env echo ETH_PRIVATE_KEY_BE_CAREFUL=$ETH_PRIVATE_KEY_BE_CAREFUL >> .env @@ -41,6 +44,9 @@ jobs: env: TENDERLY_FORK: '${{ secrets.TENDERLY_FORK }}' WEB3_ALCHEMY_PROJECT_ID: '${{ secrets.WEB3_ALCHEMY_PROJECT_ID }}' + WEB3_ALCHEMY_BASE: '${{ secrets.WEB3_ALCHEMY_BASE }}' + WEB3_FANTOM: '${{ secrets.WEB3_FANTOM }}' + WEB3_MANTLE: '${{ secrets.WEB3_MANTLE }}' ETHERSCAN_TOKEN: '${{ secrets.ETHERSCAN_TOKEN }}' DEFAULT_MIN_PROFIT_BNT: '${{ secrets.DEFAULT_MIN_PROFIT_BNT }}' ETH_PRIVATE_KEY_BE_CAREFUL: '${{ secrets.ETH_PRIVATE_KEY_BE_CAREFUL }}' diff --git a/CHANGELOG.md b/CHANGELOG.md index ae62ef084..22543d906 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,26 @@ # Changelog -## [Unreleased](https://github.com/bancorprotocol/fastlane-bot/tree/HEAD) +## [v3.1.5](https://github.com/bancorprotocol/fastlane-bot/tree/v3.1.5) (2024-04-09) -[Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v3.1.4...HEAD) +[Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v3.1.4...v3.1.5) - Carbon strategies are duplicated from events [\#521](https://github.com/bancorprotocol/fastlane-bot/issues/521) +- Add support for puffs\_penthouse uniswap\_v3 fork [\#524](https://github.com/bancorprotocol/fastlane-bot/pull/524) ([NIXBNT](https://github.com/NIXBNT)) + ## [v3.1.4](https://github.com/bancorprotocol/fastlane-bot/tree/v3.1.4) (2024-04-08) [Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v3.1.3...v3.1.4) - GPU token external liquidity not found [\#515](https://github.com/bancorprotocol/fastlane-bot/issues/515) +- Hotfix - Carbon strategies duplicated [\#522](https://github.com/bancorprotocol/fastlane-bot/pull/522) ([Lesigh-3100](https://github.com/Lesigh-3100)) ## [v3.1.3](https://github.com/bancorprotocol/fastlane-bot/tree/v3.1.3) (2024-04-04) [Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v3.1.2...v3.1.3) +- gpu external sources added to event mapping [\#517](https://github.com/bancorprotocol/fastlane-bot/pull/517) ([NIXBNT](https://github.com/NIXBNT)) + Closed issues - All files should have doc strings [\#438](https://github.com/bancorprotocol/fastlane-bot/issues/438) diff --git a/fastlane_bot/__init__.py b/fastlane_bot/__init__.py index 5b0b06311..72f5d12e9 100644 --- a/fastlane_bot/__init__.py +++ b/fastlane_bot/__init__.py @@ -12,4 +12,4 @@ from .config import Config, ConfigNetwork, ConfigDB, ConfigLogger, ConfigProvider -__version__ = "3.1.5" +__version__ = "3.1.6" diff --git a/fastlane_bot/config/constants.py b/fastlane_bot/config/constants.py index c5075dbed..090f2d323 100644 --- a/fastlane_bot/config/constants.py +++ b/fastlane_bot/config/constants.py @@ -26,6 +26,5 @@ FUSIONX_V3_NAME = "fusionx_v3" CLEOPATRA_V3_NAME = "cleopatra_v3" CARBON_V1_NAME = "carbon_v1" -CARBON_V1_FORK1_NAME = "altered_carbon" VELOCIMETER_V2_NAME = "velocimeter_v2" SOLIDLY_V2_NAME = "solidly_v2" diff --git a/fastlane_bot/config/network.py b/fastlane_bot/config/network.py index 4e82154f5..6c85d5287 100644 --- a/fastlane_bot/config/network.py +++ b/fastlane_bot/config/network.py @@ -19,7 +19,7 @@ from . import selectors as S from .base import ConfigBase -from .constants import CARBON_V1_FORK1_NAME, CARBON_V1_NAME +from .constants import CARBON_V1_NAME load_dotenv() from decimal import Decimal @@ -216,7 +216,6 @@ class ConfigNetwork(ConfigBase): SUSHISWAP_V2_NAME = "sushiswap_v2" SUSHISWAP_V3_NAME = "sushiswap_v3" CARBON_V1_NAME = CARBON_V1_NAME - CARBON_V1_X2_NAME = CARBON_V1_FORK1_NAME BANCOR_POL_NAME = "bancor_pol" BALANCER_NAME = "balancer" PANCAKESWAP_V2_NAME = "pancakeswap_v2" @@ -244,8 +243,6 @@ class ConfigNetwork(ConfigBase): GAS_ORACLE_ADDRESS = None - CARBON_V1_FORKS = [CARBON_V1_NAME, CARBON_V1_X2_NAME] - MULTICALLABLE_EXCHANGES = [BANCOR_V3_NAME, BANCOR_POL_NAME, BALANCER_NAME] # BANCOR POL BANCOR_POL_START_BLOCK = 18184448 diff --git a/fastlane_bot/data/multichain_addresses.csv b/fastlane_bot/data/multichain_addresses.csv index 7e708bd6e..ce5ed8167 100644 --- a/fastlane_bot/data/multichain_addresses.csv +++ b/fastlane_bot/data/multichain_addresses.csv @@ -81,7 +81,7 @@ agni_v3,mantle,uniswap_v3,0x25780dc8Fc3cfBD75F33bFDAB65e969b603b2035,0x319B69888 puffs_penthouse_v3,mantle,uniswap_v3,0x8f140Fc3e9211b8DC2fC1D7eE3292F6817C5dD5D,0x58b3a3797FF02B934a7d69D00873889F33Fb8829,,59915640, butter_v3,mantle,uniswap_v3,0xEECa0a86431A7B42ca2Ee5F479832c3D4a4c2644,0xAe5c0a73bAE513fe5842DbcB8E32fc7E3e30DA57,,22966090, carbon_v1,mantle,carbon_v1,0x7900f766F06e361FDDB4FdeBac5b138c4EEd8d4A,0x7900f766F06e361FDDB4FdeBac5b138c4EEd8d4A,,, -some_carbon_fork,mantle,carbon_v1,0x3749f6Ef09B0f74CD5324126b02d867A03DEE844,0x3749f6Ef09B0f74CD5324126b02d867A03DEE844,,, +fusionx_supernova,mantle,carbon_v1,0x04FBC7f949326fFf7Fe4D6aE96BAfa3D8e8A8c0a,0x04FBC7f949326fFf7Fe4D6aE96BAfa3D8e8A8c0a,,61955475, cleopatra_v2,mantle,solidly_v2,0xAAA16c016BF556fcD620328f0759252E29b1AB57,0xAAA45c8F5ef92a000a121d102F4e89278a711Faa,,34705175, cleopatra_v3,mantle,uniswap_v3,0xAAA32926fcE6bE95ea2c51cB4Fcb60836D320C42,0xAAAE99091Fbb28D400029052821653C1C752483B,,34705175, fusionx_v2,mantle,uniswap_v2,0xE5020961fA51ffd3662CDf307dEf18F9a87Cce7c,0xDd0840118bF9CCCc6d67b2944ddDfbdb995955FD,0.003,2868,