Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multichain support #183

Merged
merged 39 commits into from
Nov 9, 2023
Merged

Add multichain support #183

merged 39 commits into from
Nov 9, 2023

Conversation

Lesigh-3100
Copy link
Collaborator

@Lesigh-3100 Lesigh-3100 commented Oct 31, 2023

-Creates framework to run the Arb Bot on any EVM blockchain
-Adds ability to toggle between networks.
-Adds chain-specific configurations in network.py.
-Adds the ability to specify the Chain's gas token, wrapped gas token, and a liquid stablecoin (for logging values in USD).
-Integrates @NIXBNT's change that removes BNT as the profit denomination, now using the chain's gas token.

-Requires Alchemy (or another data provider) key per-network.
-Requires Fastlane Arb contract to be deployed & specified in network.py, per-network.
-Requires multicall contract to be specified per-network in network.py, per-network.

Lesigh-3100 and others added 9 commits October 25, 2023 17:57
- added new profit calculation logic at bot and base (corresponding to rough optimizer calcs and exact trade calcs)
- removed DEFAULT_MIN_PROFIT and DEFAULT_MIN_PROFIT_BNT. Replaced with DEFAULT_MIN_PROFIT_GAS_TOKEN
- updated sensible number for DEFAULT_MIN_PROFIT_GAS_TOKEN
- Removed BNT dependencies
- Removed ETH/USD external price call
- Added profit_usd logic plus pass-through
- Updated click options
@Lesigh-3100 Lesigh-3100 added the enhancement New feature or request label Oct 31, 2023
@Lesigh-3100 Lesigh-3100 self-assigned this Oct 31, 2023
mikewcasale
mikewcasale previously approved these changes Nov 1, 2023
rearrange configuration logging
NIXBNT
NIXBNT previously approved these changes Nov 6, 2023
@mikewcasale mikewcasale merged commit 6310ae8 into main Nov 9, 2023
1 check passed
@mikewcasale mikewcasale deleted the add-multichain-support branch November 9, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants