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

Major Update - handles upcoming changes to the Fast Lane smart contract #237

Merged
merged 51 commits into from
Nov 29, 2023

Conversation

Lesigh-3100
Copy link
Collaborator

Major changes:
This version of the bot checks the current version of the Fast Lane smart contract. The features in this update will be enabled as soon as the contract is upgraded to version 10. This version is meant to be a transition version, as upcoming changes to the Fast Lane smart contract will break current versions of the bot.

Improvements:

  • Add support and handling for native & wrapped gas token wrapping/unwrapping.
  • New Click Option - version_check_frequency. The bot will check the version of the Arb Contract with a frequency specified from this option. The default is 1, which has it check the version every loop.
  • Add support for the Bancor POL auction for ETH > BNT. This includes an upgrade that allows pool balances to be fetched via Multicall.

Fixes:

  • Fixed a calculation issue that could cause arbs with Carbon to fail when Carbon was the first trade.
  • Fixed an issue in which Carbon curves where only one of the orders was disabled would fail. Now the bot will still use the curve that is not disabled.

@Lesigh-3100 Lesigh-3100 added the enhancement New feature or request label Nov 29, 2023
@Lesigh-3100 Lesigh-3100 self-assigned this Nov 29, 2023
@Lesigh-3100 Lesigh-3100 linked an issue Nov 29, 2023 that may be closed by this pull request
@mikewcasale mikewcasale merged commit ed90df1 into main Nov 29, 2023
2 checks passed
@mikewcasale mikewcasale deleted the 2141_ontop_ethweth branch November 29, 2023 14:08
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.

Add logic for ETH/WETH wrapping & unwrapping
3 participants