generated from subsquid/hydra-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add versatility to swap handlers (#195)
* Read assetOut/assetIn params efficiently * Imitate changes from swapIn on swapOut handler * Remove helper function whetherBuyOrSell * Check maxPrice in case of batch call * Utilise event.call.args for reading assetIn/assetOut
- Loading branch information
1 parent
8cf7c02
commit e7333d1
Showing
2 changed files
with
118 additions
and
140 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