Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth/dex/client: Add initiateBatch function
This PR adds a batch initiation function to the ETH swap contract. This function saves a bit of gas when initiating multiple swaps simultaneously, and also allows ETH to conform to the current wallet interface which requires swaps to be submitted together. This saves ~20k gas for each additional swap that is batched.
- Loading branch information
Showing
7 changed files
with
389 additions
and
33 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.