File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1111mod paths;
1212
1313const MAINNET : & str = "1" ;
14+ const GOERLI : & str = "5" ;
1415const OPTIMISM : & str = "10" ;
1516const BNB : & str = "56" ;
1617const GNOSIS : & str = "100" ;
Original file line number Diff line number Diff line change @@ -755,7 +755,7 @@ impl BaselineSolvable for GyroEPoolRef<'_> {
755755}
756756
757757impl GyroEPool {
758- fn as_pool_ref ( & self ) -> GyroEPoolRef {
758+ fn as_pool_ref ( & self ) -> GyroEPoolRef < ' _ > {
759759 GyroEPoolRef {
760760 reserves : & self . reserves ,
761761 swap_fee : self . common . swap_fee ,
Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ fn converge_in_amount(
435435}
436436
437437impl WeightedPool {
438- fn as_pool_ref ( & self ) -> WeightedPoolRef {
438+ fn as_pool_ref ( & self ) -> WeightedPoolRef < ' _ > {
439439 WeightedPoolRef {
440440 reserves : & self . reserves ,
441441 swap_fee : self . common . swap_fee ,
@@ -459,7 +459,7 @@ impl BaselineSolvable for WeightedPool {
459459}
460460
461461impl StablePool {
462- fn as_pool_ref ( & self ) -> StablePoolRef {
462+ fn as_pool_ref ( & self ) -> StablePoolRef < ' _ > {
463463 StablePoolRef {
464464 address : self . common . address ,
465465 reserves : & self . reserves ,
@@ -745,7 +745,7 @@ impl BaselineSolvable for GyroEPoolRef<'_> {
745745}
746746
747747impl GyroEPool {
748- fn as_pool_ref ( & self ) -> GyroEPoolRef {
748+ fn as_pool_ref ( & self ) -> GyroEPoolRef < ' _ > {
749749 GyroEPoolRef {
750750 reserves : & self . reserves ,
751751 swap_fee : self . common . swap_fee ,
You can’t perform that action at this time.
0 commit comments