-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use router balances for #mint/#increaseLiquidity (#43)
* add mint/increaseLiquidity * snaps * check pool balances
- Loading branch information
1 parent
93f5f5e
commit d5d37fb
Showing
6 changed files
with
174 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`SwapRouter gas tests #exactInput 0 -> 1 -> 2 1`] = `175438`; | ||
exports[`SwapRouter gas tests #exactInput 0 -> 1 -> 2 1`] = `175314`; | ||
|
||
exports[`SwapRouter gas tests #exactInput 0 -> 1 1`] = `110582`; | ||
exports[`SwapRouter gas tests #exactInput 0 -> 1 1`] = `110507`; | ||
|
||
exports[`SwapRouter gas tests #exactInput 0 -> 1 minimal 1`] = `98059`; | ||
|
||
exports[`SwapRouter gas tests #exactInput 0 -> WETH9 1`] = `127476`; | ||
exports[`SwapRouter gas tests #exactInput 0 -> WETH9 1`] = `127401`; | ||
|
||
exports[`SwapRouter gas tests #exactInput 2 trades (directly to sender) 1`] = `179143`; | ||
exports[`SwapRouter gas tests #exactInput 2 trades (directly to sender) 1`] = `178993`; | ||
|
||
exports[`SwapRouter gas tests #exactInput 2 trades (via router) 1`] = `188671`; | ||
exports[`SwapRouter gas tests #exactInput 2 trades (via router) 1`] = `188499`; | ||
|
||
exports[`SwapRouter gas tests #exactInput 3 trades (directly to sender) 1`] = `257954`; | ||
exports[`SwapRouter gas tests #exactInput 3 trades (directly to sender) 1`] = `257729`; | ||
|
||
exports[`SwapRouter gas tests #exactInput WETH9 -> 0 1`] = `108907`; | ||
exports[`SwapRouter gas tests #exactInput WETH9 -> 0 1`] = `108832`; | ||
|
||
exports[`SwapRouter gas tests #exactInputSingle 0 -> 1 1`] = `109863`; | ||
exports[`SwapRouter gas tests #exactInputSingle 0 -> 1 1`] = `109838`; | ||
|
||
exports[`SwapRouter gas tests #exactInputSingle 0 -> WETH9 1`] = `126757`; | ||
exports[`SwapRouter gas tests #exactInputSingle 0 -> WETH9 1`] = `126732`; | ||
|
||
exports[`SwapRouter gas tests #exactInputSingle WETH9 -> 0 1`] = `108188`; | ||
exports[`SwapRouter gas tests #exactInputSingle WETH9 -> 0 1`] = `108163`; | ||
|
||
exports[`SwapRouter gas tests #exactOutput 0 -> 1 -> 2 1`] = `169367`; | ||
exports[`SwapRouter gas tests #exactOutput 0 -> 1 -> 2 1`] = `169280`; | ||
|
||
exports[`SwapRouter gas tests #exactOutput 0 -> 1 1`] = `111738`; | ||
exports[`SwapRouter gas tests #exactOutput 0 -> 1 1`] = `111704`; | ||
|
||
exports[`SwapRouter gas tests #exactOutput 0 -> WETH9 1`] = `128644`; | ||
exports[`SwapRouter gas tests #exactOutput 0 -> WETH9 1`] = `128610`; | ||
|
||
exports[`SwapRouter gas tests #exactOutput WETH9 -> 0 1`] = `119740`; | ||
exports[`SwapRouter gas tests #exactOutput WETH9 -> 0 1`] = `119706`; | ||
|
||
exports[`SwapRouter gas tests #exactOutputSingle 0 -> 1 1`] = `111895`; | ||
exports[`SwapRouter gas tests #exactOutputSingle 0 -> 1 1`] = `111838`; | ||
|
||
exports[`SwapRouter gas tests #exactOutputSingle 0 -> WETH9 1`] = `128801`; | ||
exports[`SwapRouter gas tests #exactOutputSingle 0 -> WETH9 1`] = `128744`; | ||
|
||
exports[`SwapRouter gas tests #exactOutputSingle WETH9 -> 0 1`] = `112684`; | ||
exports[`SwapRouter gas tests #exactOutputSingle WETH9 -> 0 1`] = `112627`; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`SwapRouter bytecode size 1`] = `24288`; | ||
exports[`SwapRouter bytecode size 1`] = `24563`; |