Skip to content

Commit

Permalink
Take command in router (#261)
Browse files Browse the repository at this point in the history
* take in router, plus remove safecast

* nested if optimisation in posm

* test of take command

* lint

* bring back contract balance and atspec
  • Loading branch information
hensha256 authored Aug 4, 2024
1 parent 0c956bf commit 60a983e
Show file tree
Hide file tree
Showing 66 changed files with 176 additions and 130 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134555
134520
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134693
134658
Original file line number Diff line number Diff line change
@@ -1 +1 @@
127702
127690
Original file line number Diff line number Diff line change
@@ -1 +1 @@
127840
127828
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_burn_empty.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
47184
47167
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_burn_empty_native.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
47001
46984
Original file line number Diff line number Diff line change
@@ -1 +1 @@
123056
122980
Original file line number Diff line number Diff line change
@@ -1 +1 @@
122754
122689
Original file line number Diff line number Diff line change
@@ -1 +1 @@
130134
130058
Original file line number Diff line number Diff line change
@@ -1 +1 @@
129832
129768
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_collect_native.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
141406
141357
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_collect_sameRange.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
150254
150205
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_collect_withClose.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
150254
150205
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_collect_withTakePair.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
149865
149830
Original file line number Diff line number Diff line change
@@ -1 +1 @@
108600
108560
Original file line number Diff line number Diff line change
@@ -1 +1 @@
115797
115748
Original file line number Diff line number Diff line change
@@ -1 +1 @@
115408
115373
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_decrease_burnEmpty.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134193
134137
Original file line number Diff line number Diff line change
@@ -1 +1 @@
126932
126876
Original file line number Diff line number Diff line change
@@ -1 +1 @@
128513
128464
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_decrease_take_take.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
116874
116639
Original file line number Diff line number Diff line change
@@ -1 +1 @@
152360
152311
Original file line number Diff line number Diff line change
@@ -1 +1 @@
151601
151566
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134160
134111
Original file line number Diff line number Diff line change
@@ -1 +1 @@
130325
130350
Original file line number Diff line number Diff line change
@@ -1 +1 @@
171019
170970
Original file line number Diff line number Diff line change
@@ -1 +1 @@
140999
140950
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_mint_native.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
336838
336789
Original file line number Diff line number Diff line change
@@ -1 +1 @@
345367
345258
Original file line number Diff line number Diff line change
@@ -1 +1 @@
344908
344813
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_mint_onSameTickLower.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
314820
314771
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_mint_onSameTickUpper.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
315462
315413
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_mint_sameRange.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
241044
240995
Original file line number Diff line number Diff line change
@@ -1 +1 @@
371190
370975
Original file line number Diff line number Diff line change
@@ -1 +1 @@
320838
320789
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_mint_withClose.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
372138
372089
2 changes: 1 addition & 1 deletion .forge-snapshots/PositionManager_mint_withSettlePair.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
371517
371482
Original file line number Diff line number Diff line change
@@ -1 +1 @@
416535
416486
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_Bytecode.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8116
8199
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn1Hop_nativeIn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
120604
120569
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn1Hop_nativeOut.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
119799
119764
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn1Hop_oneForZero.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
128671
128636
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn1Hop_zeroForOne.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
135501
135466
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn2Hops.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
187008
186973
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn2Hops_nativeIn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
178943
178908
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn3Hops.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
238540
238505
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactIn3Hops_nativeIn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
230499
230464
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactInputSingle.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134555
134520
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactInputSingle_nativeIn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
119658
119623
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactInputSingle_nativeOut.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
118836
118801
Original file line number Diff line number Diff line change
@@ -1 +1 @@
126262
126227
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut1Hop_nativeOut.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
120540
120505
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut1Hop_oneForZero.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
129412
129377
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut1Hop_zeroForOne.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
134213
134178
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut2Hops.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
186323
186288
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut2Hops_nativeIn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
183173
183138
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut3Hops.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
238473
238438
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut3Hops_nativeIn.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
235347
235312
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOut3Hops_nativeOut.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
229625
229590
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOutputSingle.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
132976
132941
Original file line number Diff line number Diff line change
@@ -1 +1 @@
125025
124990
2 changes: 1 addition & 1 deletion .forge-snapshots/V4Router_ExactOutputSingle_nativeOut.snap
Original file line number Diff line number Diff line change
@@ -1 +1 @@
119316
119281
Loading

0 comments on commit 60a983e

Please sign in to comment.