@pendle/core-v2 6.9.0 → 6.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooper.json +244 -249
  3. package/build/artifacts/contracts/interfaces/IPPTLooper.sol/IPPTLooperEIP712Types.dbg.json +1 -1
  4. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.dbg.json +1 -1
  5. package/build/artifacts/contracts/pt-looping/PTLooperBase.sol/PTLooperBase.json +244 -249
  6. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.dbg.json +1 -1
  7. package/build/artifacts/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol/PTLooperEIP712TypesEncodeDataLib.json +2 -2
  8. package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.dbg.json +1 -1
  9. package/build/artifacts/contracts/pt-looping/PendlePTLooper.sol/PendlePTLooper.json +246 -251
  10. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarket.sol/BaseMoneyMarket.dbg.json +1 -1
  11. package/build/artifacts/contracts/pt-looping/money-market/BaseMoneyMarketView.sol/BaseMoneyMarketView.dbg.json +1 -1
  12. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.dbg.json +1 -1
  13. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarket.sol/AaveMoneyMarket.json +2 -2
  14. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.dbg.json +1 -1
  15. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave/AaveMoneyMarketView.sol/AaveMoneyMarketView.json +2 -2
  16. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.dbg.json +4 -0
  17. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol/AaveV4MMPayloadLib.json +10 -0
  18. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.dbg.json +4 -0
  19. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol/AaveV4MoneyMarket.json +615 -0
  20. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.dbg.json +4 -0
  21. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol/AaveV4MoneyMarketView.json +280 -0
  22. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.dbg.json +4 -0
  23. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol/IAaveOracle.json +30 -0
  24. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.dbg.json +4 -0
  25. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol/IHubBase.json +322 -0
  26. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.dbg.json +4 -0
  27. package/build/artifacts/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol/ISpoke.json +398 -0
  28. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.dbg.json +4 -0
  29. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol/EulerMMPayloadLib.json +10 -0
  30. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.dbg.json +4 -0
  31. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol/EulerMoneyMarket.json +651 -0
  32. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.dbg.json +4 -0
  33. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol/EulerMoneyMarketView.json +298 -0
  34. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.dbg.json +4 -0
  35. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol/IEVC.json +959 -0
  36. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.dbg.json +4 -0
  37. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol/IEulerFactory.json +30 -0
  38. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.dbg.json +4 -0
  39. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol/IEulerPriceOracle.json +53 -0
  40. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.dbg.json +4 -0
  41. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/AmountCapLib.json +10 -0
  42. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.dbg.json +4 -0
  43. package/build/artifacts/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol/IEulerVault.json +933 -0
  44. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.dbg.json +1 -1
  45. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarket.sol/MorphoBlueMoneyMarket.json +2 -2
  46. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.dbg.json +1 -1
  47. package/build/artifacts/contracts/pt-looping/money-market/implementations/morpho/MorphoBlueMoneyMarketView.sol/MorphoBlueMoneyMarketView.json +2 -2
  48. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  49. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  52. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  54. package/contracts/interfaces/IPPTLooper.sol +2 -4
  55. package/contracts/pt-looping/PTLooperEIP712TypesEncodeDataLib.sol +6 -6
  56. package/contracts/pt-looping/PendlePTLooper.sol +4 -2
  57. package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MMPayloadLib.sol +20 -0
  58. package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarket.sol +85 -0
  59. package/contracts/pt-looping/money-market/implementations/aave-v4/AaveV4MoneyMarketView.sol +180 -0
  60. package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IAaveOracle.sol +12 -0
  61. package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/IHubBase.sol +72 -0
  62. package/contracts/pt-looping/money-market/implementations/aave-v4/dependencies/ISpoke.sol +88 -0
  63. package/contracts/pt-looping/money-market/implementations/euler/EulerMMPayloadLib.sol +25 -0
  64. package/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarket.sol +104 -0
  65. package/contracts/pt-looping/money-market/implementations/euler/EulerMoneyMarketView.sol +105 -0
  66. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEthereumVaultConnector.sol +432 -0
  67. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerFactory.sol +10 -0
  68. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerPriceOracle.sol +26 -0
  69. package/contracts/pt-looping/money-market/implementations/euler/dependencies/IEulerVault.sol +149 -0
  70. package/contracts/router/swap-aggregator/OKXScaleHelper.sol +3 -0
  71. package/deployments/143-core.json +4 -1
  72. package/deployments/42161-core.json +4 -1
  73. package/deployments/4663-core.json +48 -0
  74. package/deployments/4663-offchain-helper.json +12 -0
  75. package/package.json +1 -1
  76. package/typechain-types/AaveV4MoneyMarket.ts +573 -0
  77. package/typechain-types/AaveV4MoneyMarketView.ts +362 -0
  78. package/typechain-types/EulerMoneyMarket.ts +599 -0
  79. package/typechain-types/EulerMoneyMarketView.ts +375 -0
  80. package/typechain-types/IAaveOracle.ts +17 -149
  81. package/typechain-types/IEVC.ts +1647 -0
  82. package/typechain-types/IEulerFactory.ts +94 -0
  83. package/typechain-types/IEulerPriceOracle.ts +123 -0
  84. package/typechain-types/IEulerVault.ts +1298 -0
  85. package/typechain-types/IHubBase.ts +452 -0
  86. package/typechain-types/IPPTLooper.ts +68 -68
  87. package/typechain-types/ISpoke.ts +577 -0
  88. package/typechain-types/PTLooperBase.ts +68 -68
  89. package/typechain-types/PendlePTLooper.ts +68 -68
  90. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +1 -1
  91. package/typechain-types/factories/AaveMoneyMarket__factory.ts +1 -1
  92. package/typechain-types/factories/AaveV4MoneyMarketView__factory.ts +349 -0
  93. package/typechain-types/factories/AaveV4MoneyMarket__factory.ts +673 -0
  94. package/typechain-types/factories/EulerMoneyMarketView__factory.ts +371 -0
  95. package/typechain-types/factories/EulerMoneyMarket__factory.ts +720 -0
  96. package/typechain-types/factories/IAaveOracle__factory.ts +3 -93
  97. package/typechain-types/factories/IEVC__factory.ts +968 -0
  98. package/typechain-types/factories/IEulerFactory__factory.ts +42 -0
  99. package/typechain-types/factories/IEulerPriceOracle__factory.ts +68 -0
  100. package/typechain-types/factories/IEulerVault__factory.ts +945 -0
  101. package/typechain-types/factories/IHubBase__factory.ts +334 -0
  102. package/typechain-types/factories/IPPTLooper__factory.ts +243 -248
  103. package/typechain-types/factories/ISpoke__factory.ts +407 -0
  104. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +1 -1
  105. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +1 -1
  106. package/typechain-types/factories/PTLooperBase__factory.ts +243 -248
  107. package/typechain-types/factories/PendlePTLooper__factory.ts +244 -249
  108. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  109. package/typechain-types/hardhat.d.ts +99 -0
  110. package/typechain-types/index.ts +22 -2
@@ -123,6 +123,7 @@ export declare namespace IPPTLooperEIP712Types {
123
123
  swap: IPPTLooperEIP712Types.BoxApprovedCallStruct;
124
124
  bridge: IPPTLooperEIP712Types.BridgeDataStruct;
125
125
  amountPtWithdrawn: BigNumberish;
126
+ fee: BigNumberish;
126
127
  postStateCheckData: BytesLike;
127
128
  };
128
129
 
@@ -131,12 +132,14 @@ export declare namespace IPPTLooperEIP712Types {
131
132
  IPPTLooperEIP712Types.BoxApprovedCallStructOutput,
132
133
  IPPTLooperEIP712Types.BridgeDataStructOutput,
133
134
  BigNumber,
135
+ BigNumber,
134
136
  string
135
137
  ] & {
136
138
  permit: IPPTLooperEIP712Types.BoxPermitStructOutput;
137
139
  swap: IPPTLooperEIP712Types.BoxApprovedCallStructOutput;
138
140
  bridge: IPPTLooperEIP712Types.BridgeDataStructOutput;
139
141
  amountPtWithdrawn: BigNumber;
142
+ fee: BigNumber;
140
143
  postStateCheckData: string;
141
144
  };
142
145
 
@@ -163,7 +166,6 @@ export declare namespace IPPTLooperEIP712Types {
163
166
  minDebtToPtSwapRate: BigNumberish;
164
167
  postBorrowMaxLTV: BigNumberish;
165
168
  isZeroPriceImpact: boolean;
166
- maxFeeRate: BigNumberish;
167
169
  };
168
170
 
169
171
  export type IncreasePositionRequestStructOutput = [
@@ -172,8 +174,7 @@ export declare namespace IPPTLooperEIP712Types {
172
174
  BigNumber,
173
175
  BigNumber,
174
176
  BigNumber,
175
- boolean,
176
- BigNumber
177
+ boolean
177
178
  ] & {
178
179
  header: IPPTLooperEIP712Types.RequestHeaderStructOutput;
179
180
  initTokenIn: string;
@@ -181,7 +182,6 @@ export declare namespace IPPTLooperEIP712Types {
181
182
  minDebtToPtSwapRate: BigNumber;
182
183
  postBorrowMaxLTV: BigNumber;
183
184
  isZeroPriceImpact: boolean;
184
- maxFeeRate: BigNumber;
185
185
  };
186
186
 
187
187
  export type SwapBridgeWithdrawAllRequestStruct = {
@@ -269,11 +269,11 @@ export interface IPPTLooperInterface extends utils.Interface {
269
269
  "POSITION_BOX_FACTORY()": FunctionFragment;
270
270
  "POST_LOOP_STATE_CHECKER()": FunctionFragment;
271
271
  "claimMMRewards(((address,bytes32,uint256,uint256)),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]),bytes)": FunctionFragment;
272
- "decreaseLoopPosition(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256),bytes)": FunctionFragment;
272
+ "decreaseLoopPosition(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256),bytes)": FunctionFragment;
273
273
  "executor()": FunctionFragment;
274
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))": FunctionFragment;
274
+ "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))": FunctionFragment;
275
275
  "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))": FunctionFragment;
276
- "increaseLoopPosition(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256),bytes)": FunctionFragment;
276
+ "increaseLoopPosition(((address,bytes32,uint256,uint256),(address,address,bytes),uint256,((address,address,bytes),uint256,uint256),uint256,bytes),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool),bytes)": FunctionFragment;
277
277
  "proposer()": FunctionFragment;
278
278
  "proposerNonce(address,bytes32)": FunctionFragment;
279
279
  "setExecutor(address)": FunctionFragment;
@@ -312,7 +312,7 @@ export interface IPPTLooperInterface extends utils.Interface {
312
312
  encodeFunctionData(functionFragment: "executor", values?: undefined): string;
313
313
  encodeFunctionData(
314
314
  functionFragment: "hashRaw",
315
- values: [IPPTLooperEIP712Types.IncreasePositionRequestStruct]
315
+ values: [IPPTLooperEIP712Types.RequestHeaderStruct]
316
316
  ): string;
317
317
  encodeFunctionData(
318
318
  functionFragment: "hashTyped",
@@ -604,11 +604,6 @@ export interface IPPTLooper extends BaseContract {
604
604
 
605
605
  executor(overrides?: CallOverrides): Promise<[string]>;
606
606
 
607
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
608
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
609
- overrides?: CallOverrides
610
- ): Promise<[string]>;
611
-
612
607
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
613
608
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
614
609
  overrides?: CallOverrides
@@ -629,6 +624,11 @@ export interface IPPTLooper extends BaseContract {
629
624
  overrides?: CallOverrides
630
625
  ): Promise<[string]>;
631
626
 
627
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
628
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
629
+ overrides?: CallOverrides
630
+ ): Promise<[string]>;
631
+
632
632
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
633
633
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
634
634
  overrides?: CallOverrides
@@ -654,8 +654,8 @@ export interface IPPTLooper extends BaseContract {
654
654
  overrides?: CallOverrides
655
655
  ): Promise<[string]>;
656
656
 
657
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
658
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
657
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
658
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
659
659
  overrides?: CallOverrides
660
660
  ): Promise<[string]>;
661
661
 
@@ -674,11 +674,6 @@ export interface IPPTLooper extends BaseContract {
674
674
  overrides?: CallOverrides
675
675
  ): Promise<[string]>;
676
676
 
677
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
678
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
679
- overrides?: CallOverrides
680
- ): Promise<[string]>;
681
-
682
677
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
683
678
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
684
679
  overrides?: CallOverrides
@@ -689,6 +684,11 @@ export interface IPPTLooper extends BaseContract {
689
684
  overrides?: CallOverrides
690
685
  ): Promise<[string]>;
691
686
 
687
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
688
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
689
+ overrides?: CallOverrides
690
+ ): Promise<[string]>;
691
+
692
692
  increaseLoopPosition(
693
693
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
694
694
  proposerSig: BytesLike,
@@ -759,11 +759,6 @@ export interface IPPTLooper extends BaseContract {
759
759
 
760
760
  executor(overrides?: CallOverrides): Promise<string>;
761
761
 
762
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
763
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
764
- overrides?: CallOverrides
765
- ): Promise<string>;
766
-
767
762
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
768
763
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
769
764
  overrides?: CallOverrides
@@ -784,6 +779,11 @@ export interface IPPTLooper extends BaseContract {
784
779
  overrides?: CallOverrides
785
780
  ): Promise<string>;
786
781
 
782
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
783
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
784
+ overrides?: CallOverrides
785
+ ): Promise<string>;
786
+
787
787
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
788
788
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
789
789
  overrides?: CallOverrides
@@ -809,8 +809,8 @@ export interface IPPTLooper extends BaseContract {
809
809
  overrides?: CallOverrides
810
810
  ): Promise<string>;
811
811
 
812
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
813
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
812
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
813
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
814
814
  overrides?: CallOverrides
815
815
  ): Promise<string>;
816
816
 
@@ -829,11 +829,6 @@ export interface IPPTLooper extends BaseContract {
829
829
  overrides?: CallOverrides
830
830
  ): Promise<string>;
831
831
 
832
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
833
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
834
- overrides?: CallOverrides
835
- ): Promise<string>;
836
-
837
832
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
838
833
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
839
834
  overrides?: CallOverrides
@@ -844,6 +839,11 @@ export interface IPPTLooper extends BaseContract {
844
839
  overrides?: CallOverrides
845
840
  ): Promise<string>;
846
841
 
842
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
843
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
844
+ overrides?: CallOverrides
845
+ ): Promise<string>;
846
+
847
847
  increaseLoopPosition(
848
848
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
849
849
  proposerSig: BytesLike,
@@ -914,11 +914,6 @@ export interface IPPTLooper extends BaseContract {
914
914
 
915
915
  executor(overrides?: CallOverrides): Promise<string>;
916
916
 
917
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
918
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
919
- overrides?: CallOverrides
920
- ): Promise<string>;
921
-
922
917
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
923
918
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
924
919
  overrides?: CallOverrides
@@ -939,6 +934,11 @@ export interface IPPTLooper extends BaseContract {
939
934
  overrides?: CallOverrides
940
935
  ): Promise<string>;
941
936
 
937
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
938
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
939
+ overrides?: CallOverrides
940
+ ): Promise<string>;
941
+
942
942
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
943
943
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
944
944
  overrides?: CallOverrides
@@ -964,8 +964,8 @@ export interface IPPTLooper extends BaseContract {
964
964
  overrides?: CallOverrides
965
965
  ): Promise<string>;
966
966
 
967
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
968
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
967
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
968
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
969
969
  overrides?: CallOverrides
970
970
  ): Promise<string>;
971
971
 
@@ -984,11 +984,6 @@ export interface IPPTLooper extends BaseContract {
984
984
  overrides?: CallOverrides
985
985
  ): Promise<string>;
986
986
 
987
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
988
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
989
- overrides?: CallOverrides
990
- ): Promise<string>;
991
-
992
987
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
993
988
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
994
989
  overrides?: CallOverrides
@@ -999,6 +994,11 @@ export interface IPPTLooper extends BaseContract {
999
994
  overrides?: CallOverrides
1000
995
  ): Promise<string>;
1001
996
 
997
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
998
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
999
+ overrides?: CallOverrides
1000
+ ): Promise<string>;
1001
+
1002
1002
  increaseLoopPosition(
1003
1003
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
1004
1004
  proposerSig: BytesLike,
@@ -1218,11 +1218,6 @@ export interface IPPTLooper extends BaseContract {
1218
1218
 
1219
1219
  executor(overrides?: CallOverrides): Promise<BigNumber>;
1220
1220
 
1221
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1222
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1223
- overrides?: CallOverrides
1224
- ): Promise<BigNumber>;
1225
-
1226
1221
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
1227
1222
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
1228
1223
  overrides?: CallOverrides
@@ -1243,6 +1238,11 @@ export interface IPPTLooper extends BaseContract {
1243
1238
  overrides?: CallOverrides
1244
1239
  ): Promise<BigNumber>;
1245
1240
 
1241
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1242
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1243
+ overrides?: CallOverrides
1244
+ ): Promise<BigNumber>;
1245
+
1246
1246
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
1247
1247
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
1248
1248
  overrides?: CallOverrides
@@ -1268,8 +1268,8 @@ export interface IPPTLooper extends BaseContract {
1268
1268
  overrides?: CallOverrides
1269
1269
  ): Promise<BigNumber>;
1270
1270
 
1271
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
1272
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1271
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1272
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1273
1273
  overrides?: CallOverrides
1274
1274
  ): Promise<BigNumber>;
1275
1275
 
@@ -1288,11 +1288,6 @@ export interface IPPTLooper extends BaseContract {
1288
1288
  overrides?: CallOverrides
1289
1289
  ): Promise<BigNumber>;
1290
1290
 
1291
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1292
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1293
- overrides?: CallOverrides
1294
- ): Promise<BigNumber>;
1295
-
1296
1291
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
1297
1292
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
1298
1293
  overrides?: CallOverrides
@@ -1303,6 +1298,11 @@ export interface IPPTLooper extends BaseContract {
1303
1298
  overrides?: CallOverrides
1304
1299
  ): Promise<BigNumber>;
1305
1300
 
1301
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
1302
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1303
+ overrides?: CallOverrides
1304
+ ): Promise<BigNumber>;
1305
+
1306
1306
  increaseLoopPosition(
1307
1307
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
1308
1308
  proposerSig: BytesLike,
@@ -1378,11 +1378,6 @@ export interface IPPTLooper extends BaseContract {
1378
1378
 
1379
1379
  executor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1380
1380
 
1381
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1382
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1383
- overrides?: CallOverrides
1384
- ): Promise<PopulatedTransaction>;
1385
-
1386
1381
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
1387
1382
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
1388
1383
  overrides?: CallOverrides
@@ -1403,6 +1398,11 @@ export interface IPPTLooper extends BaseContract {
1403
1398
  overrides?: CallOverrides
1404
1399
  ): Promise<PopulatedTransaction>;
1405
1400
 
1401
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1402
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1403
+ overrides?: CallOverrides
1404
+ ): Promise<PopulatedTransaction>;
1405
+
1406
1406
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
1407
1407
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
1408
1408
  overrides?: CallOverrides
@@ -1428,8 +1428,8 @@ export interface IPPTLooper extends BaseContract {
1428
1428
  overrides?: CallOverrides
1429
1429
  ): Promise<PopulatedTransaction>;
1430
1430
 
1431
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
1432
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1431
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1432
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1433
1433
  overrides?: CallOverrides
1434
1434
  ): Promise<PopulatedTransaction>;
1435
1435
 
@@ -1448,11 +1448,6 @@ export interface IPPTLooper extends BaseContract {
1448
1448
  overrides?: CallOverrides
1449
1449
  ): Promise<PopulatedTransaction>;
1450
1450
 
1451
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1452
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1453
- overrides?: CallOverrides
1454
- ): Promise<PopulatedTransaction>;
1455
-
1456
1451
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
1457
1452
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
1458
1453
  overrides?: CallOverrides
@@ -1463,6 +1458,11 @@ export interface IPPTLooper extends BaseContract {
1463
1458
  overrides?: CallOverrides
1464
1459
  ): Promise<PopulatedTransaction>;
1465
1460
 
1461
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
1462
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1463
+ overrides?: CallOverrides
1464
+ ): Promise<PopulatedTransaction>;
1465
+
1466
1466
  increaseLoopPosition(
1467
1467
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
1468
1468
  proposerSig: BytesLike,