Skip to content

Commit

Permalink
Cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
barak manos committed Feb 6, 2024
1 parent 93c4d82 commit 8defbbd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fastlane_bot/helpers/txhelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,6 @@ def check_if_token_approved(self, token_address: str, owner_address = None, spen
else:
return False



def approve_token_for_arb_contract(self, token_address: str, approval_amount: int = 115792089237316195423570985008687907853269984665640564039457584007913129639935):
"""
This function submits a token approval to the Arb Contract. The default approval amount is the max approval.
Expand Down Expand Up @@ -969,6 +967,3 @@ def _get_layer_one_gas_fee(self, rawTransaction, ethereum_base_fee: int, fixed_o
l1_data_fee = tx_total_gas * ethereum_base_fee
## Dividing by 10 ** 24 because dynamic_overhead is returned in PPM format, and to convert this from WEI format to decimal format (10 ** 18).
return Decimal(f"{l1_data_fee}e-24")



0 comments on commit 8defbbd

Please sign in to comment.