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

Simplify class TxHelpers #478

Closed
wants to merge 105 commits into from
Closed

Simplify class TxHelpers #478

wants to merge 105 commits into from

Commits on Mar 22, 2024

  1. Cleanup

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2d54504 View commit details
    Browse the repository at this point in the history
  2. Cleanup

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    4b96bf6 View commit details
    Browse the repository at this point in the history
  3. Remove unused class TxHelpersBase

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6b35d93 View commit details
    Browse the repository at this point in the history
  4. Cleanup

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    c767bfe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d54fc63 View commit details
    Browse the repository at this point in the history
  6. Fix return-value type

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    0f30ad2 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    794efb0 View commit details
    Browse the repository at this point in the history
  8. Remove internal function get_nonce, and reduce the number of times …

    …the nonce is fetched
    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    fbed797 View commit details
    Browse the repository at this point in the history
  9. Cleanup

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    6684793 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    332ac87 View commit details
    Browse the repository at this point in the history
  11. Cleanup

    barak manos committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    bd6b211 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    041e5a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cf7eae View commit details
    Browse the repository at this point in the history
  3. Improve the check_and_approve_tokens method

    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    2747b5d View commit details
    Browse the repository at this point in the history
  4. Improve the check_and_approve_tokens method

    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    303dd23 View commit details
    Browse the repository at this point in the history
  5. Cleanup

    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    d5f665d View commit details
    Browse the repository at this point in the history
  6. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    dc78426 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    6343554 View commit details
    Browse the repository at this point in the history
  8. Minor cleanup

    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    b33af5f View commit details
    Browse the repository at this point in the history
  9. Cleanup

    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    c86fd6f View commit details
    Browse the repository at this point in the history
  10. Improve access-list handling

    barak manos committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    aa3026e View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Fix float calculation to int

    barak manos committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    cce80c0 View commit details
    Browse the repository at this point in the history
  2. Cleanup

    barak manos committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    883b7ba View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Cleanup

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    8ad019f View commit details
    Browse the repository at this point in the history
  2. Fix function _build_transaction

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    7cdb448 View commit details
    Browse the repository at this point in the history
  3. Fix TxHelpers

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    ab47c05 View commit details
    Browse the repository at this point in the history
  4. Fix TxHelpers

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    16596a3 View commit details
    Browse the repository at this point in the history
  5. Cleanup

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    aa67531 View commit details
    Browse the repository at this point in the history
  6. Cleanup

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    aa248dd View commit details
    Browse the repository at this point in the history
  7. Cleanup

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    45f43f9 View commit details
    Browse the repository at this point in the history
  8. Improvements

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    b9adcc5 View commit details
    Browse the repository at this point in the history
  9. Cleanup

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    7918250 View commit details
    Browse the repository at this point in the history
  10. Fix rewards handling

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    3691bcf View commit details
    Browse the repository at this point in the history
  11. Minor

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    0890a93 View commit details
    Browse the repository at this point in the history
  12. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    ad0deab View commit details
    Browse the repository at this point in the history
  13. nothing

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    d352435 View commit details
    Browse the repository at this point in the history
  14. Improve logging

    barak manos committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    bd18170 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Improve the txhelpers module

    barak manos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    a5a5ddb View commit details
    Browse the repository at this point in the history
  2. Fix the last_updated_block issue

    barak manos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    c47290a View commit details
    Browse the repository at this point in the history
  3. Improve the txhelpers module

    barak manos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0901308 View commit details
    Browse the repository at this point in the history
  4. Improve the txhelpers module

    barak manos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    12cddb2 View commit details
    Browse the repository at this point in the history
  5. Minor

    barak manos committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    39a854d View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Improve documentation

    barak manos committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    e14395c View commit details
    Browse the repository at this point in the history
  2. Remove the submit_handler module, which is used only for submitting…

    … Tenderly transactions, which are already handler in the `txhelpers` module.
    barak manos committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    4b24b09 View commit details
    Browse the repository at this point in the history
  3. Cleanup

    barak manos committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    a4d1e1a View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    ad03e31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e56d9ba View commit details
    Browse the repository at this point in the history
  3. Fix the use of constants

    barak manos committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    b7cc7ed View commit details
    Browse the repository at this point in the history
  4. Variable renaming

    barak manos committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    3d91fe6 View commit details
    Browse the repository at this point in the history
  5. Variable renaming

    barak manos committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    a0f3aa4 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2024

  1. Fix usage of the TxHelpers object

    barak manos committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    9335789 View commit details
    Browse the repository at this point in the history
  2. Fix EXPECTED_GAS_MODIFIER from string to number

    barak manos committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    2337739 View commit details
    Browse the repository at this point in the history
  3. Update web3.py version from 6.11.2 to 6.16.0

    barak manos committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    9e42d21 View commit details
    Browse the repository at this point in the history
  4. 1. Fix access-list handling

    2. Reinstate base-fee error handling
    barak manos committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    c7216e0 View commit details
    Browse the repository at this point in the history
  5. Minor

    barak manos committed Mar 31, 2024
    Configuration menu
    Copy the full SHA
    3157010 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Improve gas-related settings

    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    a7ac82e View commit details
    Browse the repository at this point in the history
  2. Revert "Improve gas-related settings"

    This reverts commit a7ac82e.
    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    d989a3c View commit details
    Browse the repository at this point in the history
  3. Improve gas-related settings

    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    663df65 View commit details
    Browse the repository at this point in the history
  4. Remove unused import statement

    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    d4c03aa View commit details
    Browse the repository at this point in the history
  5. Fix gas-related settings again

    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    046f993 View commit details
    Browse the repository at this point in the history
  6. Minor

    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    f4eb4c4 View commit details
    Browse the repository at this point in the history
  7. Simplify gas-fee scheme

    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    df7ae1c View commit details
    Browse the repository at this point in the history
  8. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    f5f2bd8 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Remove legacy-transactions support

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    3ac50e0 View commit details
    Browse the repository at this point in the history
  2. Remove redundant code

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    129f7b7 View commit details
    Browse the repository at this point in the history
  3. Minor

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    eda372d View commit details
    Browse the repository at this point in the history
  4. Semantic

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    bd42ff6 View commit details
    Browse the repository at this point in the history
  5. Minor

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    3ddd22d View commit details
    Browse the repository at this point in the history
  6. Fix the handling of Tenderly and Ethereum networks

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    6f5a097 View commit details
    Browse the repository at this point in the history
  7. Minor

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    c0021f1 View commit details
    Browse the repository at this point in the history
  8. Remove the hard-coded BINANCE wallet

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    0b99550 View commit details
    Browse the repository at this point in the history
  9. Semantic

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    4859156 View commit details
    Browse the repository at this point in the history
  10. Remove unneeded code if bot.run_single_mode

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    15c5621 View commit details
    Browse the repository at this point in the history
  11. Improve error-handling

    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    2045ed4 View commit details
    Browse the repository at this point in the history
  12. Create the Gas Oracle contract using a regular web3 object instead of…

    … an async web3 object
    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    c269a4e View commit details
    Browse the repository at this point in the history
  13. Improve error-handling (return gracefully when _build_transaction f…

    …ails on arbitrage, throw an error when `_build_transaction` fails on token-approval)
    barak manos committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    e1c06f0 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Improve TxHelpers structure

    barak manos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    322d076 View commit details
    Browse the repository at this point in the history
  2. Minor

    barak manos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    cf3f297 View commit details
    Browse the repository at this point in the history
  3. Minor

    barak manos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    e252683 View commit details
    Browse the repository at this point in the history
  4. Cleanup provider.py:

    barak manos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    eb8b48e View commit details
    Browse the repository at this point in the history
  5. Cleanup provider.py

    barak manos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    d2086f5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47f9ba7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5a8c8ca View commit details
    Browse the repository at this point in the history
  8. Fix type hinting

    barak manos committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    e5dce66 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0f67e76 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2024

  1. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    c9fa7a7 View commit details
    Browse the repository at this point in the history
  2. Fix documentation

    barak manos committed Apr 4, 2024
    Configuration menu
    Copy the full SHA
    7772ead View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2024

  1. Ensure that the returned tx_hash is of typer str

    barak manos committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    f32ba55 View commit details
    Browse the repository at this point in the history
  2. Fix tx_hash comparison

    barak manos committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    0727941 View commit details
    Browse the repository at this point in the history
  3. Improve logging

    barak manos committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    d72c5ee View commit details
    Browse the repository at this point in the history
  4. Fix arb contract version reading

    barak manos committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    b252b5b View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2024

  1. Fix function _send_private_transaction

    barak manos committed Apr 6, 2024
    Configuration menu
    Copy the full SHA
    cab6c3f View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2024

  1. Improve the process of building a transaction

    barak manos committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    d7164e9 View commit details
    Browse the repository at this point in the history
  2. Undo the most recent fix in provider.py, as the problem appears to be…

    … in a missing configuration for Base in GitHub's test-suite
    barak manos committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    2f8bd87 View commit details
    Browse the repository at this point in the history
  3. Improve documentation

    barak manos committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    d2ba08d View commit details
    Browse the repository at this point in the history
  4. Set the transaction's maxFeePerGas and maxPriorityFeePerGas attri…

    …butes only after sending the `eth_estimateGas` and `eth_createAccessList` requests
    barak manos committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    9de5bda View commit details
    Browse the repository at this point in the history
  5. Remove unused constants

    barak manos committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    35ea534 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eaa1510 View commit details
    Browse the repository at this point in the history
  7. Minor

    barak manos committed Apr 7, 2024
    Configuration menu
    Copy the full SHA
    182f66a View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. Add a user-configurable gas-strategy hook function

    barak manos committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    0c9f5d3 View commit details
    Browse the repository at this point in the history
  2. Fix documentation

    barak manos committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    81ae405 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. Configuration menu
    Copy the full SHA
    8e74338 View commit details
    Browse the repository at this point in the history
  2. Fix documentation

    barak manos committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    46cfba0 View commit details
    Browse the repository at this point in the history
  3. Fix the gas_strategy infrastructure

    barak manos committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    3309a77 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'develop' of https://github.com/bancorprotocol/fastlane-bot

     into simplify-class-TxHelpers
    barak manos committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    006861b View commit details
    Browse the repository at this point in the history