@pendle/core-v2 6.8.1 → 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 (119) 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 +6 -0
  71. package/deployments/1-offchain-helper.json +2 -1
  72. package/deployments/143-core.json +7 -1
  73. package/deployments/143-offchain-helper.json +2 -1
  74. package/deployments/196-core.json +49 -0
  75. package/deployments/196-offchain-helper.json +12 -0
  76. package/deployments/42161-core.json +4 -1
  77. package/deployments/42161-offchain-helper.json +2 -1
  78. package/deployments/4663-core.json +48 -0
  79. package/deployments/4663-offchain-helper.json +12 -0
  80. package/deployments/56-offchain-helper.json +2 -1
  81. package/deployments/8453-offchain-helper.json +2 -1
  82. package/deployments/9745-offchain-helper.json +2 -1
  83. package/deployments/999-offchain-helper.json +2 -1
  84. package/package.json +1 -1
  85. package/typechain-types/AaveV4MoneyMarket.ts +573 -0
  86. package/typechain-types/AaveV4MoneyMarketView.ts +362 -0
  87. package/typechain-types/EulerMoneyMarket.ts +599 -0
  88. package/typechain-types/EulerMoneyMarketView.ts +375 -0
  89. package/typechain-types/IAaveOracle.ts +17 -149
  90. package/typechain-types/IEVC.ts +1647 -0
  91. package/typechain-types/IEulerFactory.ts +94 -0
  92. package/typechain-types/IEulerPriceOracle.ts +123 -0
  93. package/typechain-types/IEulerVault.ts +1298 -0
  94. package/typechain-types/IHubBase.ts +452 -0
  95. package/typechain-types/IPPTLooper.ts +68 -68
  96. package/typechain-types/ISpoke.ts +577 -0
  97. package/typechain-types/PTLooperBase.ts +68 -68
  98. package/typechain-types/PendlePTLooper.ts +68 -68
  99. package/typechain-types/factories/AaveMoneyMarketView__factory.ts +1 -1
  100. package/typechain-types/factories/AaveMoneyMarket__factory.ts +1 -1
  101. package/typechain-types/factories/AaveV4MoneyMarketView__factory.ts +349 -0
  102. package/typechain-types/factories/AaveV4MoneyMarket__factory.ts +673 -0
  103. package/typechain-types/factories/EulerMoneyMarketView__factory.ts +371 -0
  104. package/typechain-types/factories/EulerMoneyMarket__factory.ts +720 -0
  105. package/typechain-types/factories/IAaveOracle__factory.ts +3 -93
  106. package/typechain-types/factories/IEVC__factory.ts +968 -0
  107. package/typechain-types/factories/IEulerFactory__factory.ts +42 -0
  108. package/typechain-types/factories/IEulerPriceOracle__factory.ts +68 -0
  109. package/typechain-types/factories/IEulerVault__factory.ts +945 -0
  110. package/typechain-types/factories/IHubBase__factory.ts +334 -0
  111. package/typechain-types/factories/IPPTLooper__factory.ts +243 -248
  112. package/typechain-types/factories/ISpoke__factory.ts +407 -0
  113. package/typechain-types/factories/MorphoBlueMoneyMarketView__factory.ts +1 -1
  114. package/typechain-types/factories/MorphoBlueMoneyMarket__factory.ts +1 -1
  115. package/typechain-types/factories/PTLooperBase__factory.ts +243 -248
  116. package/typechain-types/factories/PendlePTLooper__factory.ts +244 -249
  117. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  118. package/typechain-types/hardhat.d.ts +99 -45
  119. package/typechain-types/index.ts +22 -12
@@ -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 = {
@@ -271,12 +271,12 @@ export interface PTLooperBaseInterface extends utils.Interface {
271
271
  "TREASURY()": FunctionFragment;
272
272
  "claimMMRewards(((address,bytes32,uint256,uint256)),bytes,((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]),bytes)": FunctionFragment;
273
273
  "claimOwnership()": FunctionFragment;
274
- "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;
274
+ "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;
275
275
  "eip712Domain()": FunctionFragment;
276
276
  "executor()": FunctionFragment;
277
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))": FunctionFragment;
277
+ "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))": FunctionFragment;
278
278
  "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),uint256,uint256))": FunctionFragment;
279
- "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;
279
+ "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;
280
280
  "owner()": FunctionFragment;
281
281
  "pendingOwner()": FunctionFragment;
282
282
  "proposer()": FunctionFragment;
@@ -327,7 +327,7 @@ export interface PTLooperBaseInterface extends utils.Interface {
327
327
  encodeFunctionData(functionFragment: "executor", values?: undefined): string;
328
328
  encodeFunctionData(
329
329
  functionFragment: "hashRaw",
330
- values: [IPPTLooperEIP712Types.IncreasePositionRequestStruct]
330
+ values: [IPPTLooperEIP712Types.RequestHeaderStruct]
331
331
  ): string;
332
332
  encodeFunctionData(
333
333
  functionFragment: "hashTyped",
@@ -689,11 +689,6 @@ export interface PTLooperBase extends BaseContract {
689
689
 
690
690
  executor(overrides?: CallOverrides): Promise<[string]>;
691
691
 
692
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
693
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
694
- overrides?: CallOverrides
695
- ): Promise<[string]>;
696
-
697
692
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
698
693
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
699
694
  overrides?: CallOverrides
@@ -714,6 +709,11 @@ export interface PTLooperBase extends BaseContract {
714
709
  overrides?: CallOverrides
715
710
  ): Promise<[string]>;
716
711
 
712
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
713
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
714
+ overrides?: CallOverrides
715
+ ): Promise<[string]>;
716
+
717
717
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
718
718
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
719
719
  overrides?: CallOverrides
@@ -739,8 +739,8 @@ export interface PTLooperBase extends BaseContract {
739
739
  overrides?: CallOverrides
740
740
  ): Promise<[string]>;
741
741
 
742
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
743
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
742
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
743
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
744
744
  overrides?: CallOverrides
745
745
  ): Promise<[string]>;
746
746
 
@@ -759,11 +759,6 @@ export interface PTLooperBase extends BaseContract {
759
759
  overrides?: CallOverrides
760
760
  ): Promise<[string]>;
761
761
 
762
- "hashTyped(((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
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
768
763
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
769
764
  overrides?: CallOverrides
@@ -774,6 +769,11 @@ export interface PTLooperBase extends BaseContract {
774
769
  overrides?: CallOverrides
775
770
  ): Promise<[string]>;
776
771
 
772
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
773
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
774
+ overrides?: CallOverrides
775
+ ): Promise<[string]>;
776
+
777
777
  increaseLoopPosition(
778
778
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
779
779
  proposerSig: BytesLike,
@@ -875,11 +875,6 @@ export interface PTLooperBase extends BaseContract {
875
875
 
876
876
  executor(overrides?: CallOverrides): Promise<string>;
877
877
 
878
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
879
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
880
- overrides?: CallOverrides
881
- ): Promise<string>;
882
-
883
878
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
884
879
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
885
880
  overrides?: CallOverrides
@@ -900,6 +895,11 @@ export interface PTLooperBase extends BaseContract {
900
895
  overrides?: CallOverrides
901
896
  ): Promise<string>;
902
897
 
898
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
899
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
900
+ overrides?: CallOverrides
901
+ ): Promise<string>;
902
+
903
903
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
904
904
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
905
905
  overrides?: CallOverrides
@@ -925,8 +925,8 @@ export interface PTLooperBase extends BaseContract {
925
925
  overrides?: CallOverrides
926
926
  ): Promise<string>;
927
927
 
928
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
929
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
928
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
929
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
930
930
  overrides?: CallOverrides
931
931
  ): Promise<string>;
932
932
 
@@ -945,11 +945,6 @@ export interface PTLooperBase extends BaseContract {
945
945
  overrides?: CallOverrides
946
946
  ): Promise<string>;
947
947
 
948
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
949
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
950
- overrides?: CallOverrides
951
- ): Promise<string>;
952
-
953
948
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
954
949
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
955
950
  overrides?: CallOverrides
@@ -960,6 +955,11 @@ export interface PTLooperBase extends BaseContract {
960
955
  overrides?: CallOverrides
961
956
  ): Promise<string>;
962
957
 
958
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
959
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
960
+ overrides?: CallOverrides
961
+ ): Promise<string>;
962
+
963
963
  increaseLoopPosition(
964
964
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
965
965
  proposerSig: BytesLike,
@@ -1059,11 +1059,6 @@ export interface PTLooperBase extends BaseContract {
1059
1059
 
1060
1060
  executor(overrides?: CallOverrides): Promise<string>;
1061
1061
 
1062
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1063
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1064
- overrides?: CallOverrides
1065
- ): Promise<string>;
1066
-
1067
1062
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
1068
1063
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
1069
1064
  overrides?: CallOverrides
@@ -1084,6 +1079,11 @@ export interface PTLooperBase extends BaseContract {
1084
1079
  overrides?: CallOverrides
1085
1080
  ): Promise<string>;
1086
1081
 
1082
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1083
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1084
+ overrides?: CallOverrides
1085
+ ): Promise<string>;
1086
+
1087
1087
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
1088
1088
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
1089
1089
  overrides?: CallOverrides
@@ -1109,8 +1109,8 @@ export interface PTLooperBase extends BaseContract {
1109
1109
  overrides?: CallOverrides
1110
1110
  ): Promise<string>;
1111
1111
 
1112
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
1113
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1112
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1113
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1114
1114
  overrides?: CallOverrides
1115
1115
  ): Promise<string>;
1116
1116
 
@@ -1129,11 +1129,6 @@ export interface PTLooperBase extends BaseContract {
1129
1129
  overrides?: CallOverrides
1130
1130
  ): Promise<string>;
1131
1131
 
1132
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1133
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1134
- overrides?: CallOverrides
1135
- ): Promise<string>;
1136
-
1137
1132
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
1138
1133
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
1139
1134
  overrides?: CallOverrides
@@ -1144,6 +1139,11 @@ export interface PTLooperBase extends BaseContract {
1144
1139
  overrides?: CallOverrides
1145
1140
  ): Promise<string>;
1146
1141
 
1142
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
1143
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1144
+ overrides?: CallOverrides
1145
+ ): Promise<string>;
1146
+
1147
1147
  increaseLoopPosition(
1148
1148
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
1149
1149
  proposerSig: BytesLike,
@@ -1397,11 +1397,6 @@ export interface PTLooperBase extends BaseContract {
1397
1397
 
1398
1398
  executor(overrides?: CallOverrides): Promise<BigNumber>;
1399
1399
 
1400
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1401
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1402
- overrides?: CallOverrides
1403
- ): Promise<BigNumber>;
1404
-
1405
1400
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
1406
1401
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
1407
1402
  overrides?: CallOverrides
@@ -1422,6 +1417,11 @@ export interface PTLooperBase extends BaseContract {
1422
1417
  overrides?: CallOverrides
1423
1418
  ): Promise<BigNumber>;
1424
1419
 
1420
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1421
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1422
+ overrides?: CallOverrides
1423
+ ): Promise<BigNumber>;
1424
+
1425
1425
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
1426
1426
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
1427
1427
  overrides?: CallOverrides
@@ -1447,8 +1447,8 @@ export interface PTLooperBase extends BaseContract {
1447
1447
  overrides?: CallOverrides
1448
1448
  ): Promise<BigNumber>;
1449
1449
 
1450
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
1451
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1450
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1451
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1452
1452
  overrides?: CallOverrides
1453
1453
  ): Promise<BigNumber>;
1454
1454
 
@@ -1467,11 +1467,6 @@ export interface PTLooperBase extends BaseContract {
1467
1467
  overrides?: CallOverrides
1468
1468
  ): Promise<BigNumber>;
1469
1469
 
1470
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1471
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1472
- overrides?: CallOverrides
1473
- ): Promise<BigNumber>;
1474
-
1475
1470
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
1476
1471
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
1477
1472
  overrides?: CallOverrides
@@ -1482,6 +1477,11 @@ export interface PTLooperBase extends BaseContract {
1482
1477
  overrides?: CallOverrides
1483
1478
  ): Promise<BigNumber>;
1484
1479
 
1480
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
1481
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1482
+ overrides?: CallOverrides
1483
+ ): Promise<BigNumber>;
1484
+
1485
1485
  increaseLoopPosition(
1486
1486
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
1487
1487
  proposerSig: BytesLike,
@@ -1576,11 +1576,6 @@ export interface PTLooperBase extends BaseContract {
1576
1576
 
1577
1577
  executor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1578
1578
 
1579
- "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1580
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1581
- overrides?: CallOverrides
1582
- ): Promise<PopulatedTransaction>;
1583
-
1584
1579
  "hashRaw((bytes32,uint256,uint32,uint32,uint256,bytes))"(
1585
1580
  header: IPPTLooperEIP712Types.RequestHeaderStruct,
1586
1581
  overrides?: CallOverrides
@@ -1601,6 +1596,11 @@ export interface PTLooperBase extends BaseContract {
1601
1596
  overrides?: CallOverrides
1602
1597
  ): Promise<PopulatedTransaction>;
1603
1598
 
1599
+ "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1600
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1601
+ overrides?: CallOverrides
1602
+ ): Promise<PopulatedTransaction>;
1603
+
1604
1604
  "hashRaw(((bytes32,uint256,uint32,uint32,uint256,bytes),address,bytes,address[]))"(
1605
1605
  req: IPPTLooperEIP712Types.ClaimMMRewardsRequestStruct,
1606
1606
  overrides?: CallOverrides
@@ -1626,8 +1626,8 @@ export interface PTLooperBase extends BaseContract {
1626
1626
  overrides?: CallOverrides
1627
1627
  ): Promise<PopulatedTransaction>;
1628
1628
 
1629
- "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,bytes))"(
1630
- ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1629
+ "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool))"(
1630
+ req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1631
1631
  overrides?: CallOverrides
1632
1632
  ): Promise<PopulatedTransaction>;
1633
1633
 
@@ -1646,11 +1646,6 @@ export interface PTLooperBase extends BaseContract {
1646
1646
  overrides?: CallOverrides
1647
1647
  ): Promise<PopulatedTransaction>;
1648
1648
 
1649
- "hashTyped(((bytes32,uint256,uint32,uint32,uint256,bytes),address,uint256,uint256,uint256,bool,uint256))"(
1650
- req: IPPTLooperEIP712Types.IncreasePositionRequestStruct,
1651
- overrides?: CallOverrides
1652
- ): Promise<PopulatedTransaction>;
1653
-
1654
1649
  "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),bytes))"(
1655
1650
  ms: IPPTLooperEIP712Types.SwapBridgeWithdrawAllMessageStruct,
1656
1651
  overrides?: CallOverrides
@@ -1661,6 +1656,11 @@ export interface PTLooperBase extends BaseContract {
1661
1656
  overrides?: CallOverrides
1662
1657
  ): Promise<PopulatedTransaction>;
1663
1658
 
1659
+ "hashTyped(((address,bytes32,uint256,uint256),(address,address,bytes),((address,address,bytes),uint256,uint256),uint256,uint256,bytes))"(
1660
+ ms: IPPTLooperEIP712Types.DecreasePositionMessageStruct,
1661
+ overrides?: CallOverrides
1662
+ ): Promise<PopulatedTransaction>;
1663
+
1664
1664
  increaseLoopPosition(
1665
1665
  ms: IPPTLooperEIP712Types.IncreasePositionMessageStruct,
1666
1666
  proposerSig: BytesLike,