@pendle/core-v2 5.3.1 → 5.4.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 (244) hide show
  1. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -37
  3. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +0 -115
  6. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -37
  8. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  9. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -37
  10. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -37
  12. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  13. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -37
  14. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -179
  16. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  18. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -257
  19. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.json +0 -37
  25. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +0 -37
  27. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -37
  29. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  31. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  32. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  33. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  34. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  35. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  37. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  38. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  39. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  40. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  41. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  42. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -39
  43. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  45. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +4 -0
  46. package/build/artifacts/contracts/{router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json → offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json} +4 -4
  47. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +4 -0
  48. package/build/artifacts/contracts/{router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.json → offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json} +4 -4
  49. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -39
  52. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -117
  54. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  55. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -39
  56. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  57. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -39
  58. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  59. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -39
  60. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -181
  62. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  63. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  64. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  65. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  66. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  67. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  68. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  69. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  70. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  71. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  73. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  75. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +4 -0
  76. package/build/artifacts/contracts/router/math/{MarketApproxLib.sol/MarketApproxPtInLib.json → MarketApproxLibV2.sol/MarketApproxPtInLibV2.json} +4 -4
  77. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +4 -0
  78. package/build/artifacts/contracts/router/math/{MarketApproxLib.sol/MarketApproxPtOutLib.json → MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json} +4 -4
  79. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  80. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  84. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +1 -1
  85. package/contracts/interfaces/IPActionMarketAuxStatic.sol +2 -1
  86. package/contracts/interfaces/IPActionMiscV3.sol +1 -7
  87. package/contracts/interfaces/IPActionStorageStatic.sol +1 -1
  88. package/contracts/interfaces/IPActionSwapPTV3.sol +1 -1
  89. package/contracts/interfaces/IPActionSwapYTV3.sol +1 -17
  90. package/contracts/interfaces/IPActionVePendleStatic.sol +1 -0
  91. package/contracts/interfaces/IPAllEventsV3.sol +0 -8
  92. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +2 -2
  93. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +8 -7
  94. package/contracts/{router/math/MarketApproxLib.sol → offchain-helpers/router-static/base/MarketApproxLibV1.sol} +13 -13
  95. package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +1 -1
  96. package/contracts/router/ActionAddRemoveLiqV3.sol +4 -4
  97. package/contracts/router/ActionMiscV3.sol +0 -14
  98. package/contracts/router/ActionSwapYTV3.sol +2 -65
  99. package/contracts/router/base/ActionBase.sol +5 -6
  100. package/contracts/router/math/MarketApproxLibV2.sol +479 -0
  101. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +8 -1
  102. package/contracts/router/swap-aggregator/PendleSwap.sol +0 -2
  103. package/deployments/1-core.json +5 -5
  104. package/package.json +1 -1
  105. package/typechain-types/ActionAddRemoveLiqV3.ts +2000 -0
  106. package/typechain-types/ActionInfoStatic.ts +310 -0
  107. package/typechain-types/ActionMarketAuxStatic.ts +903 -0
  108. package/typechain-types/ActionMarketCoreStatic.ts +1974 -0
  109. package/typechain-types/ActionMintRedeemStatic.ts +435 -0
  110. package/typechain-types/ActionMiscV3.ts +2213 -0
  111. package/typechain-types/ActionSimple.ts +1544 -0
  112. package/typechain-types/ActionStorageStatic.ts +1345 -0
  113. package/typechain-types/ActionStorageV4.ts +1270 -0
  114. package/typechain-types/ActionSwapPTV3.ts +1507 -0
  115. package/typechain-types/ActionSwapYTV3.ts +1507 -0
  116. package/typechain-types/ActionVePendleStatic.ts +113 -0
  117. package/typechain-types/IKyberScalingHelper.ts +108 -0
  118. package/typechain-types/IOdosRouterV2.ts +147 -0
  119. package/typechain-types/IPActionAddRemoveLiqV3.ts +2000 -0
  120. package/typechain-types/IPActionAddRemoveLiqV3Events.ts +499 -0
  121. package/typechain-types/IPActionMarketAuxStatic.ts +859 -0
  122. package/typechain-types/IPActionMiscV3.ts +2213 -0
  123. package/typechain-types/IPActionMiscV3Events.ts +463 -0
  124. package/typechain-types/IPActionSimple.ts +1544 -0
  125. package/typechain-types/IPActionStorageEvents.ts +97 -0
  126. package/typechain-types/IPActionStorageStatic.ts +1268 -0
  127. package/typechain-types/IPActionStorageV4.ts +1270 -0
  128. package/typechain-types/IPActionSwapPTV3.ts +1507 -0
  129. package/typechain-types/IPActionSwapPTV3Events.ts +125 -0
  130. package/typechain-types/IPActionSwapYTV3.ts +1507 -0
  131. package/typechain-types/IPActionSwapYTV3Events.ts +125 -0
  132. package/typechain-types/IPActionVePendleStatic.ts +113 -0
  133. package/typechain-types/IPAllActionV3.ts +4210 -0
  134. package/typechain-types/IPAllEventsV3.ts +1080 -0
  135. package/typechain-types/IPRouterStatic.ts +4633 -0
  136. package/typechain-types/IPSwapAggregator.ts +187 -0
  137. package/typechain-types/PendlePoolDeployHelper.ts +342 -0
  138. package/typechain-types/PendleRouterStatic.ts +57 -0
  139. package/typechain-types/PendleRouterV4.ts +57 -0
  140. package/typechain-types/PendleSwap.ts +208 -0
  141. package/typechain-types/Reflector.ts +95 -0
  142. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +3533 -0
  143. package/typechain-types/factories/ActionInfoStatic__factory.ts +360 -0
  144. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +780 -0
  145. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1449 -0
  146. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +304 -0
  147. package/typechain-types/factories/ActionMiscV3__factory.ts +3056 -0
  148. package/typechain-types/factories/ActionSimple__factory.ts +1939 -0
  149. package/typechain-types/factories/ActionStorageStatic__factory.ts +1576 -0
  150. package/typechain-types/factories/ActionStorageV4__factory.ts +1504 -0
  151. package/typechain-types/factories/ActionSwapPTV3__factory.ts +2556 -0
  152. package/typechain-types/factories/ActionSwapYTV3__factory.ts +2556 -0
  153. package/typechain-types/factories/ActionVePendleStatic__factory.ts +155 -0
  154. package/typechain-types/factories/IKyberScalingHelper__factory.ts +55 -0
  155. package/typechain-types/factories/IOdosRouterV2__factory.ts +94 -0
  156. package/typechain-types/factories/IPActionAddRemoveLiqV3Events__factory.ts +582 -0
  157. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +3421 -0
  158. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +622 -0
  159. package/typechain-types/factories/IPActionMiscV3Events__factory.ts +608 -0
  160. package/typechain-types/factories/IPActionMiscV3__factory.ts +3005 -0
  161. package/typechain-types/factories/IPActionSimple__factory.ts +1840 -0
  162. package/typechain-types/factories/IPActionStorageEvents__factory.ts +68 -0
  163. package/typechain-types/factories/IPActionStorageStatic__factory.ts +1498 -0
  164. package/typechain-types/factories/IPActionStorageV4__factory.ts +1466 -0
  165. package/typechain-types/factories/IPActionSwapPTV3Events__factory.ts +116 -0
  166. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +2454 -0
  167. package/typechain-types/factories/IPActionSwapYTV3Events__factory.ts +116 -0
  168. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +2454 -0
  169. package/typechain-types/factories/IPActionVePendleStatic__factory.ts +59 -0
  170. package/typechain-types/factories/IPAllActionV3__factory.ts +7860 -0
  171. package/typechain-types/factories/IPAllEventsV3__factory.ts +1363 -0
  172. package/typechain-types/factories/IPRouterStatic__factory.ts +3956 -0
  173. package/typechain-types/factories/IPSwapAggregator__factory.ts +136 -0
  174. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +345 -0
  175. package/typechain-types/factories/PendleRouterStatic__factory.ts +88 -0
  176. package/typechain-types/factories/PendleRouterV4__factory.ts +96 -0
  177. package/typechain-types/factories/PendleSwap__factory.ts +188 -0
  178. package/typechain-types/factories/Reflector__factory.ts +84 -0
  179. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +0 -4
  180. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +0 -4
  181. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  182. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
  183. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +0 -4
  184. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.json +0 -194
  185. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +0 -4
  186. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +0 -1787
  187. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +0 -4
  188. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +0 -2873
  189. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol/IExecutorHelperL2Struct.dbg.json +0 -4
  190. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol/IExecutorHelperL2Struct.json +0 -10
  191. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol/IExecutorHelperStruct.dbg.json +0 -4
  192. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol/IExecutorHelperStruct.json +0 -10
  193. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  194. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
  195. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol/IBebopV3.dbg.json +0 -4
  196. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol/IBebopV3.json +0 -10
  197. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol/IKyberDSLO.dbg.json +0 -4
  198. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol/IKyberDSLO.json +0 -10
  199. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol/IKyberLO.dbg.json +0 -4
  200. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol/IKyberLO.json +0 -10
  201. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +0 -4
  202. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +0 -10
  203. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +0 -4
  204. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +0 -4
  205. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +0 -4
  206. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.json +0 -10
  207. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +0 -4
  208. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +0 -10
  209. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +0 -4
  210. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.json +0 -10
  211. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +0 -4
  212. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +0 -10
  213. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +0 -4
  214. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.json +0 -10
  215. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +0 -4
  216. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +0 -10
  217. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +0 -4
  218. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +0 -10
  219. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol/BytesHelper.dbg.json +0 -4
  220. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol/BytesHelper.json +0 -10
  221. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol/RevertReasonParser.dbg.json +0 -4
  222. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol/RevertReasonParser.json +0 -10
  223. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +0 -31
  224. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol +0 -63
  225. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +0 -164
  226. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +0 -483
  227. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol +0 -412
  228. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol +0 -459
  229. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +0 -47
  230. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol +0 -23
  231. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol +0 -36
  232. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol +0 -32
  233. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +0 -354
  234. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +0 -521
  235. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol +0 -93
  236. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol +0 -404
  237. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol +0 -118
  238. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol +0 -41
  239. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +0 -684
  240. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol +0 -61
  241. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +0 -373
  242. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +0 -273
  243. package/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol +0 -32
  244. package/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol +0 -75
@@ -0,0 +1,1363 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IPAllEventsV3, IPAllEventsV3Interface } from "../IPAllEventsV3";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "caller",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "address",
22
+ name: "market",
23
+ type: "address",
24
+ },
25
+ {
26
+ indexed: true,
27
+ internalType: "address",
28
+ name: "receiver",
29
+ type: "address",
30
+ },
31
+ {
32
+ indexed: false,
33
+ internalType: "uint256",
34
+ name: "netSyUsed",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ indexed: false,
39
+ internalType: "uint256",
40
+ name: "netPtUsed",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: false,
45
+ internalType: "uint256",
46
+ name: "netLpOut",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "AddLiquidityDualSyAndPt",
51
+ type: "event",
52
+ },
53
+ {
54
+ anonymous: false,
55
+ inputs: [
56
+ {
57
+ indexed: true,
58
+ internalType: "address",
59
+ name: "caller",
60
+ type: "address",
61
+ },
62
+ {
63
+ indexed: true,
64
+ internalType: "address",
65
+ name: "market",
66
+ type: "address",
67
+ },
68
+ {
69
+ indexed: true,
70
+ internalType: "address",
71
+ name: "tokenIn",
72
+ type: "address",
73
+ },
74
+ {
75
+ indexed: false,
76
+ internalType: "address",
77
+ name: "receiver",
78
+ type: "address",
79
+ },
80
+ {
81
+ indexed: false,
82
+ internalType: "uint256",
83
+ name: "netTokenUsed",
84
+ type: "uint256",
85
+ },
86
+ {
87
+ indexed: false,
88
+ internalType: "uint256",
89
+ name: "netPtUsed",
90
+ type: "uint256",
91
+ },
92
+ {
93
+ indexed: false,
94
+ internalType: "uint256",
95
+ name: "netLpOut",
96
+ type: "uint256",
97
+ },
98
+ {
99
+ indexed: false,
100
+ internalType: "uint256",
101
+ name: "netSyInterm",
102
+ type: "uint256",
103
+ },
104
+ ],
105
+ name: "AddLiquidityDualTokenAndPt",
106
+ type: "event",
107
+ },
108
+ {
109
+ anonymous: false,
110
+ inputs: [
111
+ {
112
+ indexed: true,
113
+ internalType: "address",
114
+ name: "caller",
115
+ type: "address",
116
+ },
117
+ {
118
+ indexed: true,
119
+ internalType: "address",
120
+ name: "market",
121
+ type: "address",
122
+ },
123
+ {
124
+ indexed: true,
125
+ internalType: "address",
126
+ name: "receiver",
127
+ type: "address",
128
+ },
129
+ {
130
+ indexed: false,
131
+ internalType: "uint256",
132
+ name: "netPtIn",
133
+ type: "uint256",
134
+ },
135
+ {
136
+ indexed: false,
137
+ internalType: "uint256",
138
+ name: "netLpOut",
139
+ type: "uint256",
140
+ },
141
+ ],
142
+ name: "AddLiquiditySinglePt",
143
+ type: "event",
144
+ },
145
+ {
146
+ anonymous: false,
147
+ inputs: [
148
+ {
149
+ indexed: true,
150
+ internalType: "address",
151
+ name: "caller",
152
+ type: "address",
153
+ },
154
+ {
155
+ indexed: true,
156
+ internalType: "address",
157
+ name: "market",
158
+ type: "address",
159
+ },
160
+ {
161
+ indexed: true,
162
+ internalType: "address",
163
+ name: "receiver",
164
+ type: "address",
165
+ },
166
+ {
167
+ indexed: false,
168
+ internalType: "uint256",
169
+ name: "netSyIn",
170
+ type: "uint256",
171
+ },
172
+ {
173
+ indexed: false,
174
+ internalType: "uint256",
175
+ name: "netLpOut",
176
+ type: "uint256",
177
+ },
178
+ ],
179
+ name: "AddLiquiditySingleSy",
180
+ type: "event",
181
+ },
182
+ {
183
+ anonymous: false,
184
+ inputs: [
185
+ {
186
+ indexed: true,
187
+ internalType: "address",
188
+ name: "caller",
189
+ type: "address",
190
+ },
191
+ {
192
+ indexed: true,
193
+ internalType: "address",
194
+ name: "market",
195
+ type: "address",
196
+ },
197
+ {
198
+ indexed: true,
199
+ internalType: "address",
200
+ name: "receiver",
201
+ type: "address",
202
+ },
203
+ {
204
+ indexed: false,
205
+ internalType: "uint256",
206
+ name: "netSyIn",
207
+ type: "uint256",
208
+ },
209
+ {
210
+ indexed: false,
211
+ internalType: "uint256",
212
+ name: "netSyMintPy",
213
+ type: "uint256",
214
+ },
215
+ {
216
+ indexed: false,
217
+ internalType: "uint256",
218
+ name: "netLpOut",
219
+ type: "uint256",
220
+ },
221
+ {
222
+ indexed: false,
223
+ internalType: "uint256",
224
+ name: "netYtOut",
225
+ type: "uint256",
226
+ },
227
+ ],
228
+ name: "AddLiquiditySingleSyKeepYt",
229
+ type: "event",
230
+ },
231
+ {
232
+ anonymous: false,
233
+ inputs: [
234
+ {
235
+ indexed: true,
236
+ internalType: "address",
237
+ name: "caller",
238
+ type: "address",
239
+ },
240
+ {
241
+ indexed: true,
242
+ internalType: "address",
243
+ name: "market",
244
+ type: "address",
245
+ },
246
+ {
247
+ indexed: true,
248
+ internalType: "address",
249
+ name: "token",
250
+ type: "address",
251
+ },
252
+ {
253
+ indexed: false,
254
+ internalType: "address",
255
+ name: "receiver",
256
+ type: "address",
257
+ },
258
+ {
259
+ indexed: false,
260
+ internalType: "uint256",
261
+ name: "netTokenIn",
262
+ type: "uint256",
263
+ },
264
+ {
265
+ indexed: false,
266
+ internalType: "uint256",
267
+ name: "netLpOut",
268
+ type: "uint256",
269
+ },
270
+ {
271
+ indexed: false,
272
+ internalType: "uint256",
273
+ name: "netSyInterm",
274
+ type: "uint256",
275
+ },
276
+ ],
277
+ name: "AddLiquiditySingleToken",
278
+ type: "event",
279
+ },
280
+ {
281
+ anonymous: false,
282
+ inputs: [
283
+ {
284
+ indexed: true,
285
+ internalType: "address",
286
+ name: "caller",
287
+ type: "address",
288
+ },
289
+ {
290
+ indexed: true,
291
+ internalType: "address",
292
+ name: "market",
293
+ type: "address",
294
+ },
295
+ {
296
+ indexed: true,
297
+ internalType: "address",
298
+ name: "token",
299
+ type: "address",
300
+ },
301
+ {
302
+ indexed: false,
303
+ internalType: "address",
304
+ name: "receiver",
305
+ type: "address",
306
+ },
307
+ {
308
+ indexed: false,
309
+ internalType: "uint256",
310
+ name: "netTokenIn",
311
+ type: "uint256",
312
+ },
313
+ {
314
+ indexed: false,
315
+ internalType: "uint256",
316
+ name: "netLpOut",
317
+ type: "uint256",
318
+ },
319
+ {
320
+ indexed: false,
321
+ internalType: "uint256",
322
+ name: "netYtOut",
323
+ type: "uint256",
324
+ },
325
+ {
326
+ indexed: false,
327
+ internalType: "uint256",
328
+ name: "netSyMintPy",
329
+ type: "uint256",
330
+ },
331
+ {
332
+ indexed: false,
333
+ internalType: "uint256",
334
+ name: "netSyInterm",
335
+ type: "uint256",
336
+ },
337
+ ],
338
+ name: "AddLiquiditySingleTokenKeepYt",
339
+ type: "event",
340
+ },
341
+ {
342
+ anonymous: false,
343
+ inputs: [
344
+ {
345
+ indexed: true,
346
+ internalType: "address",
347
+ name: "caller",
348
+ type: "address",
349
+ },
350
+ {
351
+ indexed: true,
352
+ internalType: "address",
353
+ name: "market",
354
+ type: "address",
355
+ },
356
+ {
357
+ indexed: true,
358
+ internalType: "address",
359
+ name: "receiver",
360
+ type: "address",
361
+ },
362
+ {
363
+ indexed: false,
364
+ internalType: "uint256",
365
+ name: "netLpIn",
366
+ type: "uint256",
367
+ },
368
+ {
369
+ components: [
370
+ {
371
+ internalType: "uint256",
372
+ name: "netPtFromRemove",
373
+ type: "uint256",
374
+ },
375
+ {
376
+ internalType: "uint256",
377
+ name: "netSyFromRemove",
378
+ type: "uint256",
379
+ },
380
+ {
381
+ internalType: "uint256",
382
+ name: "netPtRedeem",
383
+ type: "uint256",
384
+ },
385
+ {
386
+ internalType: "uint256",
387
+ name: "netSyFromRedeem",
388
+ type: "uint256",
389
+ },
390
+ {
391
+ internalType: "uint256",
392
+ name: "totalSyOut",
393
+ type: "uint256",
394
+ },
395
+ ],
396
+ indexed: false,
397
+ internalType: "struct ExitPostExpReturnParams",
398
+ name: "params",
399
+ type: "tuple",
400
+ },
401
+ ],
402
+ name: "ExitPostExpToSy",
403
+ type: "event",
404
+ },
405
+ {
406
+ anonymous: false,
407
+ inputs: [
408
+ {
409
+ indexed: true,
410
+ internalType: "address",
411
+ name: "caller",
412
+ type: "address",
413
+ },
414
+ {
415
+ indexed: true,
416
+ internalType: "address",
417
+ name: "market",
418
+ type: "address",
419
+ },
420
+ {
421
+ indexed: true,
422
+ internalType: "address",
423
+ name: "token",
424
+ type: "address",
425
+ },
426
+ {
427
+ indexed: false,
428
+ internalType: "address",
429
+ name: "receiver",
430
+ type: "address",
431
+ },
432
+ {
433
+ indexed: false,
434
+ internalType: "uint256",
435
+ name: "netLpIn",
436
+ type: "uint256",
437
+ },
438
+ {
439
+ indexed: false,
440
+ internalType: "uint256",
441
+ name: "totalTokenOut",
442
+ type: "uint256",
443
+ },
444
+ {
445
+ components: [
446
+ {
447
+ internalType: "uint256",
448
+ name: "netPtFromRemove",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "netSyFromRemove",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "netPtRedeem",
459
+ type: "uint256",
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "netSyFromRedeem",
464
+ type: "uint256",
465
+ },
466
+ {
467
+ internalType: "uint256",
468
+ name: "totalSyOut",
469
+ type: "uint256",
470
+ },
471
+ ],
472
+ indexed: false,
473
+ internalType: "struct ExitPostExpReturnParams",
474
+ name: "params",
475
+ type: "tuple",
476
+ },
477
+ ],
478
+ name: "ExitPostExpToToken",
479
+ type: "event",
480
+ },
481
+ {
482
+ anonymous: false,
483
+ inputs: [
484
+ {
485
+ indexed: true,
486
+ internalType: "address",
487
+ name: "caller",
488
+ type: "address",
489
+ },
490
+ {
491
+ indexed: true,
492
+ internalType: "address",
493
+ name: "market",
494
+ type: "address",
495
+ },
496
+ {
497
+ indexed: true,
498
+ internalType: "address",
499
+ name: "receiver",
500
+ type: "address",
501
+ },
502
+ {
503
+ indexed: false,
504
+ internalType: "uint256",
505
+ name: "netLpIn",
506
+ type: "uint256",
507
+ },
508
+ {
509
+ components: [
510
+ {
511
+ internalType: "uint256",
512
+ name: "netPtFromRemove",
513
+ type: "uint256",
514
+ },
515
+ {
516
+ internalType: "uint256",
517
+ name: "netSyFromRemove",
518
+ type: "uint256",
519
+ },
520
+ {
521
+ internalType: "uint256",
522
+ name: "netPyRedeem",
523
+ type: "uint256",
524
+ },
525
+ {
526
+ internalType: "uint256",
527
+ name: "netSyFromRedeem",
528
+ type: "uint256",
529
+ },
530
+ {
531
+ internalType: "uint256",
532
+ name: "netPtSwap",
533
+ type: "uint256",
534
+ },
535
+ {
536
+ internalType: "uint256",
537
+ name: "netYtSwap",
538
+ type: "uint256",
539
+ },
540
+ {
541
+ internalType: "uint256",
542
+ name: "netSyFromSwap",
543
+ type: "uint256",
544
+ },
545
+ {
546
+ internalType: "uint256",
547
+ name: "netSyFee",
548
+ type: "uint256",
549
+ },
550
+ {
551
+ internalType: "uint256",
552
+ name: "totalSyOut",
553
+ type: "uint256",
554
+ },
555
+ ],
556
+ indexed: false,
557
+ internalType: "struct ExitPreExpReturnParams",
558
+ name: "params",
559
+ type: "tuple",
560
+ },
561
+ ],
562
+ name: "ExitPreExpToSy",
563
+ type: "event",
564
+ },
565
+ {
566
+ anonymous: false,
567
+ inputs: [
568
+ {
569
+ indexed: true,
570
+ internalType: "address",
571
+ name: "caller",
572
+ type: "address",
573
+ },
574
+ {
575
+ indexed: true,
576
+ internalType: "address",
577
+ name: "market",
578
+ type: "address",
579
+ },
580
+ {
581
+ indexed: true,
582
+ internalType: "address",
583
+ name: "token",
584
+ type: "address",
585
+ },
586
+ {
587
+ indexed: false,
588
+ internalType: "address",
589
+ name: "receiver",
590
+ type: "address",
591
+ },
592
+ {
593
+ indexed: false,
594
+ internalType: "uint256",
595
+ name: "netLpIn",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ indexed: false,
600
+ internalType: "uint256",
601
+ name: "totalTokenOut",
602
+ type: "uint256",
603
+ },
604
+ {
605
+ components: [
606
+ {
607
+ internalType: "uint256",
608
+ name: "netPtFromRemove",
609
+ type: "uint256",
610
+ },
611
+ {
612
+ internalType: "uint256",
613
+ name: "netSyFromRemove",
614
+ type: "uint256",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "netPyRedeem",
619
+ type: "uint256",
620
+ },
621
+ {
622
+ internalType: "uint256",
623
+ name: "netSyFromRedeem",
624
+ type: "uint256",
625
+ },
626
+ {
627
+ internalType: "uint256",
628
+ name: "netPtSwap",
629
+ type: "uint256",
630
+ },
631
+ {
632
+ internalType: "uint256",
633
+ name: "netYtSwap",
634
+ type: "uint256",
635
+ },
636
+ {
637
+ internalType: "uint256",
638
+ name: "netSyFromSwap",
639
+ type: "uint256",
640
+ },
641
+ {
642
+ internalType: "uint256",
643
+ name: "netSyFee",
644
+ type: "uint256",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "totalSyOut",
649
+ type: "uint256",
650
+ },
651
+ ],
652
+ indexed: false,
653
+ internalType: "struct ExitPreExpReturnParams",
654
+ name: "params",
655
+ type: "tuple",
656
+ },
657
+ ],
658
+ name: "ExitPreExpToToken",
659
+ type: "event",
660
+ },
661
+ {
662
+ anonymous: false,
663
+ inputs: [
664
+ {
665
+ indexed: true,
666
+ internalType: "address",
667
+ name: "caller",
668
+ type: "address",
669
+ },
670
+ {
671
+ indexed: true,
672
+ internalType: "address",
673
+ name: "receiver",
674
+ type: "address",
675
+ },
676
+ {
677
+ indexed: true,
678
+ internalType: "address",
679
+ name: "YT",
680
+ type: "address",
681
+ },
682
+ {
683
+ indexed: false,
684
+ internalType: "uint256",
685
+ name: "netSyIn",
686
+ type: "uint256",
687
+ },
688
+ {
689
+ indexed: false,
690
+ internalType: "uint256",
691
+ name: "netPyOut",
692
+ type: "uint256",
693
+ },
694
+ ],
695
+ name: "MintPyFromSy",
696
+ type: "event",
697
+ },
698
+ {
699
+ anonymous: false,
700
+ inputs: [
701
+ {
702
+ indexed: true,
703
+ internalType: "address",
704
+ name: "caller",
705
+ type: "address",
706
+ },
707
+ {
708
+ indexed: true,
709
+ internalType: "address",
710
+ name: "tokenIn",
711
+ type: "address",
712
+ },
713
+ {
714
+ indexed: true,
715
+ internalType: "address",
716
+ name: "YT",
717
+ type: "address",
718
+ },
719
+ {
720
+ indexed: false,
721
+ internalType: "address",
722
+ name: "receiver",
723
+ type: "address",
724
+ },
725
+ {
726
+ indexed: false,
727
+ internalType: "uint256",
728
+ name: "netTokenIn",
729
+ type: "uint256",
730
+ },
731
+ {
732
+ indexed: false,
733
+ internalType: "uint256",
734
+ name: "netPyOut",
735
+ type: "uint256",
736
+ },
737
+ {
738
+ indexed: false,
739
+ internalType: "uint256",
740
+ name: "netSyInterm",
741
+ type: "uint256",
742
+ },
743
+ ],
744
+ name: "MintPyFromToken",
745
+ type: "event",
746
+ },
747
+ {
748
+ anonymous: false,
749
+ inputs: [
750
+ {
751
+ indexed: true,
752
+ internalType: "address",
753
+ name: "caller",
754
+ type: "address",
755
+ },
756
+ {
757
+ indexed: true,
758
+ internalType: "address",
759
+ name: "tokenIn",
760
+ type: "address",
761
+ },
762
+ {
763
+ indexed: true,
764
+ internalType: "address",
765
+ name: "SY",
766
+ type: "address",
767
+ },
768
+ {
769
+ indexed: false,
770
+ internalType: "address",
771
+ name: "receiver",
772
+ type: "address",
773
+ },
774
+ {
775
+ indexed: false,
776
+ internalType: "uint256",
777
+ name: "netTokenIn",
778
+ type: "uint256",
779
+ },
780
+ {
781
+ indexed: false,
782
+ internalType: "uint256",
783
+ name: "netSyOut",
784
+ type: "uint256",
785
+ },
786
+ ],
787
+ name: "MintSyFromToken",
788
+ type: "event",
789
+ },
790
+ {
791
+ anonymous: false,
792
+ inputs: [
793
+ {
794
+ indexed: true,
795
+ internalType: "address",
796
+ name: "previousOwner",
797
+ type: "address",
798
+ },
799
+ {
800
+ indexed: true,
801
+ internalType: "address",
802
+ name: "newOwner",
803
+ type: "address",
804
+ },
805
+ ],
806
+ name: "OwnershipTransferred",
807
+ type: "event",
808
+ },
809
+ {
810
+ anonymous: false,
811
+ inputs: [
812
+ {
813
+ indexed: true,
814
+ internalType: "address",
815
+ name: "caller",
816
+ type: "address",
817
+ },
818
+ {
819
+ indexed: true,
820
+ internalType: "address",
821
+ name: "receiver",
822
+ type: "address",
823
+ },
824
+ {
825
+ indexed: true,
826
+ internalType: "address",
827
+ name: "YT",
828
+ type: "address",
829
+ },
830
+ {
831
+ indexed: false,
832
+ internalType: "uint256",
833
+ name: "netPyIn",
834
+ type: "uint256",
835
+ },
836
+ {
837
+ indexed: false,
838
+ internalType: "uint256",
839
+ name: "netSyOut",
840
+ type: "uint256",
841
+ },
842
+ ],
843
+ name: "RedeemPyToSy",
844
+ type: "event",
845
+ },
846
+ {
847
+ anonymous: false,
848
+ inputs: [
849
+ {
850
+ indexed: true,
851
+ internalType: "address",
852
+ name: "caller",
853
+ type: "address",
854
+ },
855
+ {
856
+ indexed: true,
857
+ internalType: "address",
858
+ name: "tokenOut",
859
+ type: "address",
860
+ },
861
+ {
862
+ indexed: true,
863
+ internalType: "address",
864
+ name: "YT",
865
+ type: "address",
866
+ },
867
+ {
868
+ indexed: false,
869
+ internalType: "address",
870
+ name: "receiver",
871
+ type: "address",
872
+ },
873
+ {
874
+ indexed: false,
875
+ internalType: "uint256",
876
+ name: "netPyIn",
877
+ type: "uint256",
878
+ },
879
+ {
880
+ indexed: false,
881
+ internalType: "uint256",
882
+ name: "netTokenOut",
883
+ type: "uint256",
884
+ },
885
+ {
886
+ indexed: false,
887
+ internalType: "uint256",
888
+ name: "netSyInterm",
889
+ type: "uint256",
890
+ },
891
+ ],
892
+ name: "RedeemPyToToken",
893
+ type: "event",
894
+ },
895
+ {
896
+ anonymous: false,
897
+ inputs: [
898
+ {
899
+ indexed: true,
900
+ internalType: "address",
901
+ name: "caller",
902
+ type: "address",
903
+ },
904
+ {
905
+ indexed: true,
906
+ internalType: "address",
907
+ name: "tokenOut",
908
+ type: "address",
909
+ },
910
+ {
911
+ indexed: true,
912
+ internalType: "address",
913
+ name: "SY",
914
+ type: "address",
915
+ },
916
+ {
917
+ indexed: false,
918
+ internalType: "address",
919
+ name: "receiver",
920
+ type: "address",
921
+ },
922
+ {
923
+ indexed: false,
924
+ internalType: "uint256",
925
+ name: "netSyIn",
926
+ type: "uint256",
927
+ },
928
+ {
929
+ indexed: false,
930
+ internalType: "uint256",
931
+ name: "netTokenOut",
932
+ type: "uint256",
933
+ },
934
+ ],
935
+ name: "RedeemSyToToken",
936
+ type: "event",
937
+ },
938
+ {
939
+ anonymous: false,
940
+ inputs: [
941
+ {
942
+ indexed: true,
943
+ internalType: "address",
944
+ name: "caller",
945
+ type: "address",
946
+ },
947
+ {
948
+ indexed: true,
949
+ internalType: "address",
950
+ name: "market",
951
+ type: "address",
952
+ },
953
+ {
954
+ indexed: true,
955
+ internalType: "address",
956
+ name: "receiver",
957
+ type: "address",
958
+ },
959
+ {
960
+ indexed: false,
961
+ internalType: "uint256",
962
+ name: "netLpToRemove",
963
+ type: "uint256",
964
+ },
965
+ {
966
+ indexed: false,
967
+ internalType: "uint256",
968
+ name: "netPtOut",
969
+ type: "uint256",
970
+ },
971
+ {
972
+ indexed: false,
973
+ internalType: "uint256",
974
+ name: "netSyOut",
975
+ type: "uint256",
976
+ },
977
+ ],
978
+ name: "RemoveLiquidityDualSyAndPt",
979
+ type: "event",
980
+ },
981
+ {
982
+ anonymous: false,
983
+ inputs: [
984
+ {
985
+ indexed: true,
986
+ internalType: "address",
987
+ name: "caller",
988
+ type: "address",
989
+ },
990
+ {
991
+ indexed: true,
992
+ internalType: "address",
993
+ name: "market",
994
+ type: "address",
995
+ },
996
+ {
997
+ indexed: true,
998
+ internalType: "address",
999
+ name: "tokenOut",
1000
+ type: "address",
1001
+ },
1002
+ {
1003
+ indexed: false,
1004
+ internalType: "address",
1005
+ name: "receiver",
1006
+ type: "address",
1007
+ },
1008
+ {
1009
+ indexed: false,
1010
+ internalType: "uint256",
1011
+ name: "netLpToRemove",
1012
+ type: "uint256",
1013
+ },
1014
+ {
1015
+ indexed: false,
1016
+ internalType: "uint256",
1017
+ name: "netPtOut",
1018
+ type: "uint256",
1019
+ },
1020
+ {
1021
+ indexed: false,
1022
+ internalType: "uint256",
1023
+ name: "netTokenOut",
1024
+ type: "uint256",
1025
+ },
1026
+ {
1027
+ indexed: false,
1028
+ internalType: "uint256",
1029
+ name: "netSyInterm",
1030
+ type: "uint256",
1031
+ },
1032
+ ],
1033
+ name: "RemoveLiquidityDualTokenAndPt",
1034
+ type: "event",
1035
+ },
1036
+ {
1037
+ anonymous: false,
1038
+ inputs: [
1039
+ {
1040
+ indexed: true,
1041
+ internalType: "address",
1042
+ name: "caller",
1043
+ type: "address",
1044
+ },
1045
+ {
1046
+ indexed: true,
1047
+ internalType: "address",
1048
+ name: "market",
1049
+ type: "address",
1050
+ },
1051
+ {
1052
+ indexed: true,
1053
+ internalType: "address",
1054
+ name: "receiver",
1055
+ type: "address",
1056
+ },
1057
+ {
1058
+ indexed: false,
1059
+ internalType: "uint256",
1060
+ name: "netLpToRemove",
1061
+ type: "uint256",
1062
+ },
1063
+ {
1064
+ indexed: false,
1065
+ internalType: "uint256",
1066
+ name: "netPtOut",
1067
+ type: "uint256",
1068
+ },
1069
+ ],
1070
+ name: "RemoveLiquiditySinglePt",
1071
+ type: "event",
1072
+ },
1073
+ {
1074
+ anonymous: false,
1075
+ inputs: [
1076
+ {
1077
+ indexed: true,
1078
+ internalType: "address",
1079
+ name: "caller",
1080
+ type: "address",
1081
+ },
1082
+ {
1083
+ indexed: true,
1084
+ internalType: "address",
1085
+ name: "market",
1086
+ type: "address",
1087
+ },
1088
+ {
1089
+ indexed: true,
1090
+ internalType: "address",
1091
+ name: "receiver",
1092
+ type: "address",
1093
+ },
1094
+ {
1095
+ indexed: false,
1096
+ internalType: "uint256",
1097
+ name: "netLpToRemove",
1098
+ type: "uint256",
1099
+ },
1100
+ {
1101
+ indexed: false,
1102
+ internalType: "uint256",
1103
+ name: "netSyOut",
1104
+ type: "uint256",
1105
+ },
1106
+ ],
1107
+ name: "RemoveLiquiditySingleSy",
1108
+ type: "event",
1109
+ },
1110
+ {
1111
+ anonymous: false,
1112
+ inputs: [
1113
+ {
1114
+ indexed: true,
1115
+ internalType: "address",
1116
+ name: "caller",
1117
+ type: "address",
1118
+ },
1119
+ {
1120
+ indexed: true,
1121
+ internalType: "address",
1122
+ name: "market",
1123
+ type: "address",
1124
+ },
1125
+ {
1126
+ indexed: true,
1127
+ internalType: "address",
1128
+ name: "token",
1129
+ type: "address",
1130
+ },
1131
+ {
1132
+ indexed: false,
1133
+ internalType: "address",
1134
+ name: "receiver",
1135
+ type: "address",
1136
+ },
1137
+ {
1138
+ indexed: false,
1139
+ internalType: "uint256",
1140
+ name: "netLpToRemove",
1141
+ type: "uint256",
1142
+ },
1143
+ {
1144
+ indexed: false,
1145
+ internalType: "uint256",
1146
+ name: "netTokenOut",
1147
+ type: "uint256",
1148
+ },
1149
+ {
1150
+ indexed: false,
1151
+ internalType: "uint256",
1152
+ name: "netSyInterm",
1153
+ type: "uint256",
1154
+ },
1155
+ ],
1156
+ name: "RemoveLiquiditySingleToken",
1157
+ type: "event",
1158
+ },
1159
+ {
1160
+ anonymous: false,
1161
+ inputs: [
1162
+ {
1163
+ indexed: true,
1164
+ internalType: "bytes4",
1165
+ name: "selector",
1166
+ type: "bytes4",
1167
+ },
1168
+ {
1169
+ indexed: true,
1170
+ internalType: "address",
1171
+ name: "facet",
1172
+ type: "address",
1173
+ },
1174
+ ],
1175
+ name: "SelectorToFacetSet",
1176
+ type: "event",
1177
+ },
1178
+ {
1179
+ anonymous: false,
1180
+ inputs: [
1181
+ {
1182
+ indexed: true,
1183
+ internalType: "address",
1184
+ name: "caller",
1185
+ type: "address",
1186
+ },
1187
+ {
1188
+ indexed: true,
1189
+ internalType: "address",
1190
+ name: "market",
1191
+ type: "address",
1192
+ },
1193
+ {
1194
+ indexed: true,
1195
+ internalType: "address",
1196
+ name: "receiver",
1197
+ type: "address",
1198
+ },
1199
+ {
1200
+ indexed: false,
1201
+ internalType: "int256",
1202
+ name: "netPtToAccount",
1203
+ type: "int256",
1204
+ },
1205
+ {
1206
+ indexed: false,
1207
+ internalType: "int256",
1208
+ name: "netSyToAccount",
1209
+ type: "int256",
1210
+ },
1211
+ ],
1212
+ name: "SwapPtAndSy",
1213
+ type: "event",
1214
+ },
1215
+ {
1216
+ anonymous: false,
1217
+ inputs: [
1218
+ {
1219
+ indexed: true,
1220
+ internalType: "address",
1221
+ name: "caller",
1222
+ type: "address",
1223
+ },
1224
+ {
1225
+ indexed: true,
1226
+ internalType: "address",
1227
+ name: "market",
1228
+ type: "address",
1229
+ },
1230
+ {
1231
+ indexed: true,
1232
+ internalType: "address",
1233
+ name: "token",
1234
+ type: "address",
1235
+ },
1236
+ {
1237
+ indexed: false,
1238
+ internalType: "address",
1239
+ name: "receiver",
1240
+ type: "address",
1241
+ },
1242
+ {
1243
+ indexed: false,
1244
+ internalType: "int256",
1245
+ name: "netPtToAccount",
1246
+ type: "int256",
1247
+ },
1248
+ {
1249
+ indexed: false,
1250
+ internalType: "int256",
1251
+ name: "netTokenToAccount",
1252
+ type: "int256",
1253
+ },
1254
+ {
1255
+ indexed: false,
1256
+ internalType: "uint256",
1257
+ name: "netSyInterm",
1258
+ type: "uint256",
1259
+ },
1260
+ ],
1261
+ name: "SwapPtAndToken",
1262
+ type: "event",
1263
+ },
1264
+ {
1265
+ anonymous: false,
1266
+ inputs: [
1267
+ {
1268
+ indexed: true,
1269
+ internalType: "address",
1270
+ name: "caller",
1271
+ type: "address",
1272
+ },
1273
+ {
1274
+ indexed: true,
1275
+ internalType: "address",
1276
+ name: "market",
1277
+ type: "address",
1278
+ },
1279
+ {
1280
+ indexed: true,
1281
+ internalType: "address",
1282
+ name: "receiver",
1283
+ type: "address",
1284
+ },
1285
+ {
1286
+ indexed: false,
1287
+ internalType: "int256",
1288
+ name: "netYtToAccount",
1289
+ type: "int256",
1290
+ },
1291
+ {
1292
+ indexed: false,
1293
+ internalType: "int256",
1294
+ name: "netSyToAccount",
1295
+ type: "int256",
1296
+ },
1297
+ ],
1298
+ name: "SwapYtAndSy",
1299
+ type: "event",
1300
+ },
1301
+ {
1302
+ anonymous: false,
1303
+ inputs: [
1304
+ {
1305
+ indexed: true,
1306
+ internalType: "address",
1307
+ name: "caller",
1308
+ type: "address",
1309
+ },
1310
+ {
1311
+ indexed: true,
1312
+ internalType: "address",
1313
+ name: "market",
1314
+ type: "address",
1315
+ },
1316
+ {
1317
+ indexed: true,
1318
+ internalType: "address",
1319
+ name: "token",
1320
+ type: "address",
1321
+ },
1322
+ {
1323
+ indexed: false,
1324
+ internalType: "address",
1325
+ name: "receiver",
1326
+ type: "address",
1327
+ },
1328
+ {
1329
+ indexed: false,
1330
+ internalType: "int256",
1331
+ name: "netYtToAccount",
1332
+ type: "int256",
1333
+ },
1334
+ {
1335
+ indexed: false,
1336
+ internalType: "int256",
1337
+ name: "netTokenToAccount",
1338
+ type: "int256",
1339
+ },
1340
+ {
1341
+ indexed: false,
1342
+ internalType: "uint256",
1343
+ name: "netSyInterm",
1344
+ type: "uint256",
1345
+ },
1346
+ ],
1347
+ name: "SwapYtAndToken",
1348
+ type: "event",
1349
+ },
1350
+ ];
1351
+
1352
+ export class IPAllEventsV3__factory {
1353
+ static readonly abi = _abi;
1354
+ static createInterface(): IPAllEventsV3Interface {
1355
+ return new utils.Interface(_abi) as IPAllEventsV3Interface;
1356
+ }
1357
+ static connect(
1358
+ address: string,
1359
+ signerOrProvider: Signer | Provider
1360
+ ): IPAllEventsV3 {
1361
+ return new Contract(address, _abi, signerOrProvider) as IPAllEventsV3;
1362
+ }
1363
+ }