Skip to content

Commit

Permalink
Merge branch 'main' into 207-fix-current-version-requirementstxt-file
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale authored Nov 16, 2023
2 parents 8924b7c + b354e4a commit abf9d26
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@

## [Unreleased](https://github.com/bancorprotocol/fastlane-bot/tree/HEAD)

[Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v2.7.62...HEAD)
[Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v2.7.63...HEAD)

- Bugfix in flashloan generation [\#210](https://github.com/bancorprotocol/fastlane-bot/issues/210)
- Add prefix option to file paths which are written \(for deployment job write permissions\) [\#204](https://github.com/bancorprotocol/fastlane-bot/issues/204)
- Convert tkn key when WETH \> ETH for single-flashloan creation [\#211](https://github.com/bancorprotocol/fastlane-bot/pull/211) ([Lesigh-3100](https://github.com/Lesigh-3100))

## [v2.7.63](https://github.com/bancorprotocol/fastlane-bot/tree/v2.7.63) (2023-11-15)

[Full Changelog](https://github.com/bancorprotocol/fastlane-bot/compare/v2.7.62...v2.7.63)

- Add support for Graphene on Base [\#198](https://github.com/bancorprotocol/fastlane-bot/issues/198)
- 204 add prefix option to file paths which are written for deployment job write permissions [\#205](https://github.com/bancorprotocol/fastlane-bot/pull/205) ([mikewcasale](https://github.com/mikewcasale))
Expand Down
2 changes: 1 addition & 1 deletion fastlane_bot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .bot import CarbonBot as Bot, __VERSION__, __DATE__
from .config import Config, ConfigNetwork, ConfigDB, ConfigLogger, ConfigProvider

__version__ = '2.7.63'
__version__ = '2.7.64'



4 changes: 3 additions & 1 deletion fastlane_bot/helpers/routehandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,9 @@ def _extract_single_flashloan_token(self, trade_instructions: List[TradeInstruct
Generate a flashloan tokens and amounts.
:param trade_instructions: A list of trade instruction objects
"""
flash_tokens = {trade_instructions[0].tknin_key: {"tkn": self.wrapped_gas_token_to_native(trade_instructions[0]._tknin_address),


flash_tokens = {self.wrapped_gas_token_to_native(trade_instructions[0].tknin_key): {"tkn": self.wrapped_gas_token_to_native(trade_instructions[0]._tknin_address),
"flash_amt": trade_instructions[0].amtin_wei,
"decimals": trade_instructions[0].tknin_decimals}}
return flash_tokens
Expand Down

0 comments on commit abf9d26

Please sign in to comment.