-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update handling of flashbots flow (#6265)
* Trace call complains about formatting of block tag or block number * Remove unused handlers swap estimate gas function * Move estimateUnlockAndSwap function * Update swap action to use unlock and swap estimation * Move estimateUnlockAndCrosschainSwap * Update crosschain swap action to use unlock and crosschain swap estimation * Get nonce and swap should actually get nonce * Check flashbots for swaps flow on getNextNonce * getFlashbotsProvider does not need to be async * Make checking flashbots for mainnet the default * Remove flashbots provider check in getNextNonce
- Loading branch information
Showing
10 changed files
with
168 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.