@pendle/core-v2 5.3.1 → 5.4.1

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 (256) 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/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +4 -0
  51. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.json +35 -0
  52. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -39
  54. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  55. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -117
  56. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  57. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -39
  58. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  59. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -39
  60. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -39
  62. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -181
  64. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  65. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  66. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  67. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  68. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  69. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  70. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  71. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  73. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  75. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  76. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  77. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +4 -0
  78. package/build/artifacts/contracts/router/math/{MarketApproxLib.sol/MarketApproxPtInLib.json → MarketApproxLibV2.sol/MarketApproxPtInLibV2.json} +4 -4
  79. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +4 -0
  80. package/build/artifacts/contracts/router/math/{MarketApproxLib.sol/MarketApproxPtOutLib.json → MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json} +4 -4
  81. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  84. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  86. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +1 -1
  87. package/contracts/interfaces/IPActionMarketAuxStatic.sol +2 -1
  88. package/contracts/interfaces/IPActionMiscV3.sol +1 -7
  89. package/contracts/interfaces/IPActionStorageStatic.sol +1 -1
  90. package/contracts/interfaces/IPActionSwapPTV3.sol +1 -1
  91. package/contracts/interfaces/IPActionSwapYTV3.sol +1 -17
  92. package/contracts/interfaces/IPActionVePendleStatic.sol +1 -0
  93. package/contracts/interfaces/IPAllEventsV3.sol +0 -8
  94. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +2 -2
  95. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +8 -7
  96. package/contracts/{router/math/MarketApproxLib.sol → offchain-helpers/router-static/base/MarketApproxLibV1.sol} +13 -13
  97. package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +1 -1
  98. package/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol +10 -0
  99. package/contracts/router/ActionAddRemoveLiqV3.sol +4 -4
  100. package/contracts/router/ActionMiscV3.sol +0 -14
  101. package/contracts/router/ActionSwapYTV3.sol +2 -65
  102. package/contracts/router/base/ActionBase.sol +5 -6
  103. package/contracts/router/math/MarketApproxLibV2.sol +479 -0
  104. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +8 -1
  105. package/contracts/router/swap-aggregator/PendleSwap.sol +0 -2
  106. package/deployments/1-core.json +6 -5
  107. package/deployments/10-core.json +1 -0
  108. package/deployments/42161-core.json +1 -0
  109. package/deployments/5000-core.json +1 -0
  110. package/deployments/56-core.json +1 -0
  111. package/deployments/8453-core.json +1 -0
  112. package/package.json +1 -1
  113. package/typechain-types/ActionAddRemoveLiqV3.ts +2000 -0
  114. package/typechain-types/ActionInfoStatic.ts +310 -0
  115. package/typechain-types/ActionMarketAuxStatic.ts +903 -0
  116. package/typechain-types/ActionMarketCoreStatic.ts +1974 -0
  117. package/typechain-types/ActionMintRedeemStatic.ts +435 -0
  118. package/typechain-types/ActionMiscV3.ts +2213 -0
  119. package/typechain-types/ActionSimple.ts +1544 -0
  120. package/typechain-types/ActionStorageStatic.ts +1345 -0
  121. package/typechain-types/ActionStorageV4.ts +1270 -0
  122. package/typechain-types/ActionSwapPTV3.ts +1507 -0
  123. package/typechain-types/ActionSwapYTV3.ts +1507 -0
  124. package/typechain-types/ActionVePendleStatic.ts +113 -0
  125. package/typechain-types/IKyberScalingHelper.ts +108 -0
  126. package/typechain-types/IOdosRouterV2.ts +147 -0
  127. package/typechain-types/IPActionAddRemoveLiqV3.ts +2000 -0
  128. package/typechain-types/IPActionAddRemoveLiqV3Events.ts +499 -0
  129. package/typechain-types/IPActionMarketAuxStatic.ts +859 -0
  130. package/typechain-types/IPActionMiscV3.ts +2213 -0
  131. package/typechain-types/IPActionMiscV3Events.ts +463 -0
  132. package/typechain-types/IPActionSimple.ts +1544 -0
  133. package/typechain-types/IPActionStorageEvents.ts +97 -0
  134. package/typechain-types/IPActionStorageStatic.ts +1268 -0
  135. package/typechain-types/IPActionStorageV4.ts +1270 -0
  136. package/typechain-types/IPActionSwapPTV3.ts +1507 -0
  137. package/typechain-types/IPActionSwapPTV3Events.ts +125 -0
  138. package/typechain-types/IPActionSwapYTV3.ts +1507 -0
  139. package/typechain-types/IPActionSwapYTV3Events.ts +125 -0
  140. package/typechain-types/IPActionVePendleStatic.ts +113 -0
  141. package/typechain-types/IPAllActionV3.ts +4210 -0
  142. package/typechain-types/IPAllEventsV3.ts +1080 -0
  143. package/typechain-types/IPRouterStatic.ts +4633 -0
  144. package/typechain-types/IPSwapAggregator.ts +187 -0
  145. package/typechain-types/PendlePoolDeployHelper.ts +342 -0
  146. package/typechain-types/PendleRouterStatic.ts +57 -0
  147. package/typechain-types/PendleRouterV4.ts +57 -0
  148. package/typechain-types/PendleSparkLinearDiscountOracleFactory.ts +108 -0
  149. package/typechain-types/PendleSwap.ts +208 -0
  150. package/typechain-types/Reflector.ts +95 -0
  151. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +3533 -0
  152. package/typechain-types/factories/ActionInfoStatic__factory.ts +360 -0
  153. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +780 -0
  154. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1449 -0
  155. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +304 -0
  156. package/typechain-types/factories/ActionMiscV3__factory.ts +3056 -0
  157. package/typechain-types/factories/ActionSimple__factory.ts +1939 -0
  158. package/typechain-types/factories/ActionStorageStatic__factory.ts +1576 -0
  159. package/typechain-types/factories/ActionStorageV4__factory.ts +1504 -0
  160. package/typechain-types/factories/ActionSwapPTV3__factory.ts +2556 -0
  161. package/typechain-types/factories/ActionSwapYTV3__factory.ts +2556 -0
  162. package/typechain-types/factories/ActionVePendleStatic__factory.ts +155 -0
  163. package/typechain-types/factories/IKyberScalingHelper__factory.ts +55 -0
  164. package/typechain-types/factories/IOdosRouterV2__factory.ts +94 -0
  165. package/typechain-types/factories/IPActionAddRemoveLiqV3Events__factory.ts +582 -0
  166. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +3421 -0
  167. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +622 -0
  168. package/typechain-types/factories/IPActionMiscV3Events__factory.ts +608 -0
  169. package/typechain-types/factories/IPActionMiscV3__factory.ts +3005 -0
  170. package/typechain-types/factories/IPActionSimple__factory.ts +1840 -0
  171. package/typechain-types/factories/IPActionStorageEvents__factory.ts +68 -0
  172. package/typechain-types/factories/IPActionStorageStatic__factory.ts +1498 -0
  173. package/typechain-types/factories/IPActionStorageV4__factory.ts +1466 -0
  174. package/typechain-types/factories/IPActionSwapPTV3Events__factory.ts +116 -0
  175. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +2454 -0
  176. package/typechain-types/factories/IPActionSwapYTV3Events__factory.ts +116 -0
  177. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +2454 -0
  178. package/typechain-types/factories/IPActionVePendleStatic__factory.ts +59 -0
  179. package/typechain-types/factories/IPAllActionV3__factory.ts +7860 -0
  180. package/typechain-types/factories/IPAllEventsV3__factory.ts +1363 -0
  181. package/typechain-types/factories/IPRouterStatic__factory.ts +3956 -0
  182. package/typechain-types/factories/IPSwapAggregator__factory.ts +136 -0
  183. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +345 -0
  184. package/typechain-types/factories/PendleRouterStatic__factory.ts +88 -0
  185. package/typechain-types/factories/PendleRouterV4__factory.ts +96 -0
  186. package/typechain-types/factories/PendleSparkLinearDiscountOracleFactory__factory.ts +100 -0
  187. package/typechain-types/factories/PendleSwap__factory.ts +188 -0
  188. package/typechain-types/factories/Reflector__factory.ts +84 -0
  189. package/typechain-types/hardhat.d.ts +9 -45
  190. package/typechain-types/index.ts +2 -10
  191. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +0 -4
  192. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +0 -4
  193. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  194. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
  195. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +0 -4
  196. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.json +0 -194
  197. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +0 -4
  198. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +0 -1787
  199. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +0 -4
  200. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +0 -2873
  201. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol/IExecutorHelperL2Struct.dbg.json +0 -4
  202. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol/IExecutorHelperL2Struct.json +0 -10
  203. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol/IExecutorHelperStruct.dbg.json +0 -4
  204. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol/IExecutorHelperStruct.json +0 -10
  205. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  206. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
  207. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol/IBebopV3.dbg.json +0 -4
  208. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol/IBebopV3.json +0 -10
  209. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol/IKyberDSLO.dbg.json +0 -4
  210. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol/IKyberDSLO.json +0 -10
  211. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol/IKyberLO.dbg.json +0 -4
  212. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol/IKyberLO.json +0 -10
  213. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +0 -4
  214. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +0 -10
  215. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +0 -4
  216. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +0 -4
  217. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +0 -4
  218. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.json +0 -10
  219. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +0 -4
  220. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +0 -10
  221. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +0 -4
  222. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.json +0 -10
  223. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +0 -4
  224. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +0 -10
  225. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +0 -4
  226. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.json +0 -10
  227. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +0 -4
  228. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +0 -10
  229. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +0 -4
  230. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +0 -10
  231. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol/BytesHelper.dbg.json +0 -4
  232. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol/BytesHelper.json +0 -10
  233. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol/RevertReasonParser.dbg.json +0 -4
  234. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol/RevertReasonParser.json +0 -10
  235. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +0 -31
  236. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol +0 -63
  237. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +0 -164
  238. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +0 -483
  239. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol +0 -412
  240. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol +0 -459
  241. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +0 -47
  242. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol +0 -23
  243. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol +0 -36
  244. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol +0 -32
  245. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +0 -354
  246. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +0 -521
  247. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol +0 -93
  248. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol +0 -404
  249. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol +0 -118
  250. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol +0 -41
  251. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +0 -684
  252. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol +0 -61
  253. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +0 -373
  254. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +0 -273
  255. package/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol +0 -32
  256. package/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol +0 -75
@@ -0,0 +1,2556 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ ActionSwapPTV3,
8
+ ActionSwapPTV3Interface,
9
+ } from "../ActionSwapPTV3";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "int256",
16
+ name: "exchangeRate",
17
+ type: "int256",
18
+ },
19
+ ],
20
+ name: "MarketExchangeRateBelowOne",
21
+ type: "error",
22
+ },
23
+ {
24
+ inputs: [],
25
+ name: "MarketExpired",
26
+ type: "error",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "MarketProportionMustNotEqualOne",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "int256",
37
+ name: "proportion",
38
+ type: "int256",
39
+ },
40
+ {
41
+ internalType: "int256",
42
+ name: "maxProportion",
43
+ type: "int256",
44
+ },
45
+ ],
46
+ name: "MarketProportionTooHigh",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "int256",
53
+ name: "rateScalar",
54
+ type: "int256",
55
+ },
56
+ ],
57
+ name: "MarketRateScalarBelowZero",
58
+ type: "error",
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: "int256",
64
+ name: "totalPt",
65
+ type: "int256",
66
+ },
67
+ {
68
+ internalType: "int256",
69
+ name: "totalAsset",
70
+ type: "int256",
71
+ },
72
+ ],
73
+ name: "MarketZeroTotalPtOrTotalAsset",
74
+ type: "error",
75
+ },
76
+ {
77
+ anonymous: false,
78
+ inputs: [
79
+ {
80
+ indexed: true,
81
+ internalType: "address",
82
+ name: "caller",
83
+ type: "address",
84
+ },
85
+ {
86
+ indexed: true,
87
+ internalType: "address",
88
+ name: "market",
89
+ type: "address",
90
+ },
91
+ {
92
+ indexed: true,
93
+ internalType: "address",
94
+ name: "receiver",
95
+ type: "address",
96
+ },
97
+ {
98
+ indexed: false,
99
+ internalType: "uint256",
100
+ name: "netSyUsed",
101
+ type: "uint256",
102
+ },
103
+ {
104
+ indexed: false,
105
+ internalType: "uint256",
106
+ name: "netPtUsed",
107
+ type: "uint256",
108
+ },
109
+ {
110
+ indexed: false,
111
+ internalType: "uint256",
112
+ name: "netLpOut",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ name: "AddLiquidityDualSyAndPt",
117
+ type: "event",
118
+ },
119
+ {
120
+ anonymous: false,
121
+ inputs: [
122
+ {
123
+ indexed: true,
124
+ internalType: "address",
125
+ name: "caller",
126
+ type: "address",
127
+ },
128
+ {
129
+ indexed: true,
130
+ internalType: "address",
131
+ name: "market",
132
+ type: "address",
133
+ },
134
+ {
135
+ indexed: true,
136
+ internalType: "address",
137
+ name: "tokenIn",
138
+ type: "address",
139
+ },
140
+ {
141
+ indexed: false,
142
+ internalType: "address",
143
+ name: "receiver",
144
+ type: "address",
145
+ },
146
+ {
147
+ indexed: false,
148
+ internalType: "uint256",
149
+ name: "netTokenUsed",
150
+ type: "uint256",
151
+ },
152
+ {
153
+ indexed: false,
154
+ internalType: "uint256",
155
+ name: "netPtUsed",
156
+ type: "uint256",
157
+ },
158
+ {
159
+ indexed: false,
160
+ internalType: "uint256",
161
+ name: "netLpOut",
162
+ type: "uint256",
163
+ },
164
+ {
165
+ indexed: false,
166
+ internalType: "uint256",
167
+ name: "netSyInterm",
168
+ type: "uint256",
169
+ },
170
+ ],
171
+ name: "AddLiquidityDualTokenAndPt",
172
+ type: "event",
173
+ },
174
+ {
175
+ anonymous: false,
176
+ inputs: [
177
+ {
178
+ indexed: true,
179
+ internalType: "address",
180
+ name: "caller",
181
+ type: "address",
182
+ },
183
+ {
184
+ indexed: true,
185
+ internalType: "address",
186
+ name: "market",
187
+ type: "address",
188
+ },
189
+ {
190
+ indexed: true,
191
+ internalType: "address",
192
+ name: "receiver",
193
+ type: "address",
194
+ },
195
+ {
196
+ indexed: false,
197
+ internalType: "uint256",
198
+ name: "netPtIn",
199
+ type: "uint256",
200
+ },
201
+ {
202
+ indexed: false,
203
+ internalType: "uint256",
204
+ name: "netLpOut",
205
+ type: "uint256",
206
+ },
207
+ ],
208
+ name: "AddLiquiditySinglePt",
209
+ type: "event",
210
+ },
211
+ {
212
+ anonymous: false,
213
+ inputs: [
214
+ {
215
+ indexed: true,
216
+ internalType: "address",
217
+ name: "caller",
218
+ type: "address",
219
+ },
220
+ {
221
+ indexed: true,
222
+ internalType: "address",
223
+ name: "market",
224
+ type: "address",
225
+ },
226
+ {
227
+ indexed: true,
228
+ internalType: "address",
229
+ name: "receiver",
230
+ type: "address",
231
+ },
232
+ {
233
+ indexed: false,
234
+ internalType: "uint256",
235
+ name: "netSyIn",
236
+ type: "uint256",
237
+ },
238
+ {
239
+ indexed: false,
240
+ internalType: "uint256",
241
+ name: "netLpOut",
242
+ type: "uint256",
243
+ },
244
+ ],
245
+ name: "AddLiquiditySingleSy",
246
+ type: "event",
247
+ },
248
+ {
249
+ anonymous: false,
250
+ inputs: [
251
+ {
252
+ indexed: true,
253
+ internalType: "address",
254
+ name: "caller",
255
+ type: "address",
256
+ },
257
+ {
258
+ indexed: true,
259
+ internalType: "address",
260
+ name: "market",
261
+ type: "address",
262
+ },
263
+ {
264
+ indexed: true,
265
+ internalType: "address",
266
+ name: "receiver",
267
+ type: "address",
268
+ },
269
+ {
270
+ indexed: false,
271
+ internalType: "uint256",
272
+ name: "netSyIn",
273
+ type: "uint256",
274
+ },
275
+ {
276
+ indexed: false,
277
+ internalType: "uint256",
278
+ name: "netSyMintPy",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ indexed: false,
283
+ internalType: "uint256",
284
+ name: "netLpOut",
285
+ type: "uint256",
286
+ },
287
+ {
288
+ indexed: false,
289
+ internalType: "uint256",
290
+ name: "netYtOut",
291
+ type: "uint256",
292
+ },
293
+ ],
294
+ name: "AddLiquiditySingleSyKeepYt",
295
+ type: "event",
296
+ },
297
+ {
298
+ anonymous: false,
299
+ inputs: [
300
+ {
301
+ indexed: true,
302
+ internalType: "address",
303
+ name: "caller",
304
+ type: "address",
305
+ },
306
+ {
307
+ indexed: true,
308
+ internalType: "address",
309
+ name: "market",
310
+ type: "address",
311
+ },
312
+ {
313
+ indexed: true,
314
+ internalType: "address",
315
+ name: "token",
316
+ type: "address",
317
+ },
318
+ {
319
+ indexed: false,
320
+ internalType: "address",
321
+ name: "receiver",
322
+ type: "address",
323
+ },
324
+ {
325
+ indexed: false,
326
+ internalType: "uint256",
327
+ name: "netTokenIn",
328
+ type: "uint256",
329
+ },
330
+ {
331
+ indexed: false,
332
+ internalType: "uint256",
333
+ name: "netLpOut",
334
+ type: "uint256",
335
+ },
336
+ {
337
+ indexed: false,
338
+ internalType: "uint256",
339
+ name: "netSyInterm",
340
+ type: "uint256",
341
+ },
342
+ ],
343
+ name: "AddLiquiditySingleToken",
344
+ type: "event",
345
+ },
346
+ {
347
+ anonymous: false,
348
+ inputs: [
349
+ {
350
+ indexed: true,
351
+ internalType: "address",
352
+ name: "caller",
353
+ type: "address",
354
+ },
355
+ {
356
+ indexed: true,
357
+ internalType: "address",
358
+ name: "market",
359
+ type: "address",
360
+ },
361
+ {
362
+ indexed: true,
363
+ internalType: "address",
364
+ name: "token",
365
+ type: "address",
366
+ },
367
+ {
368
+ indexed: false,
369
+ internalType: "address",
370
+ name: "receiver",
371
+ type: "address",
372
+ },
373
+ {
374
+ indexed: false,
375
+ internalType: "uint256",
376
+ name: "netTokenIn",
377
+ type: "uint256",
378
+ },
379
+ {
380
+ indexed: false,
381
+ internalType: "uint256",
382
+ name: "netLpOut",
383
+ type: "uint256",
384
+ },
385
+ {
386
+ indexed: false,
387
+ internalType: "uint256",
388
+ name: "netYtOut",
389
+ type: "uint256",
390
+ },
391
+ {
392
+ indexed: false,
393
+ internalType: "uint256",
394
+ name: "netSyMintPy",
395
+ type: "uint256",
396
+ },
397
+ {
398
+ indexed: false,
399
+ internalType: "uint256",
400
+ name: "netSyInterm",
401
+ type: "uint256",
402
+ },
403
+ ],
404
+ name: "AddLiquiditySingleTokenKeepYt",
405
+ type: "event",
406
+ },
407
+ {
408
+ anonymous: false,
409
+ inputs: [
410
+ {
411
+ indexed: true,
412
+ internalType: "address",
413
+ name: "caller",
414
+ type: "address",
415
+ },
416
+ {
417
+ indexed: true,
418
+ internalType: "address",
419
+ name: "market",
420
+ type: "address",
421
+ },
422
+ {
423
+ indexed: true,
424
+ internalType: "address",
425
+ name: "receiver",
426
+ type: "address",
427
+ },
428
+ {
429
+ indexed: false,
430
+ internalType: "uint256",
431
+ name: "netLpIn",
432
+ type: "uint256",
433
+ },
434
+ {
435
+ components: [
436
+ {
437
+ internalType: "uint256",
438
+ name: "netPtFromRemove",
439
+ type: "uint256",
440
+ },
441
+ {
442
+ internalType: "uint256",
443
+ name: "netSyFromRemove",
444
+ type: "uint256",
445
+ },
446
+ {
447
+ internalType: "uint256",
448
+ name: "netPtRedeem",
449
+ type: "uint256",
450
+ },
451
+ {
452
+ internalType: "uint256",
453
+ name: "netSyFromRedeem",
454
+ type: "uint256",
455
+ },
456
+ {
457
+ internalType: "uint256",
458
+ name: "totalSyOut",
459
+ type: "uint256",
460
+ },
461
+ ],
462
+ indexed: false,
463
+ internalType: "struct ExitPostExpReturnParams",
464
+ name: "params",
465
+ type: "tuple",
466
+ },
467
+ ],
468
+ name: "ExitPostExpToSy",
469
+ type: "event",
470
+ },
471
+ {
472
+ anonymous: false,
473
+ inputs: [
474
+ {
475
+ indexed: true,
476
+ internalType: "address",
477
+ name: "caller",
478
+ type: "address",
479
+ },
480
+ {
481
+ indexed: true,
482
+ internalType: "address",
483
+ name: "market",
484
+ type: "address",
485
+ },
486
+ {
487
+ indexed: true,
488
+ internalType: "address",
489
+ name: "token",
490
+ type: "address",
491
+ },
492
+ {
493
+ indexed: false,
494
+ internalType: "address",
495
+ name: "receiver",
496
+ type: "address",
497
+ },
498
+ {
499
+ indexed: false,
500
+ internalType: "uint256",
501
+ name: "netLpIn",
502
+ type: "uint256",
503
+ },
504
+ {
505
+ indexed: false,
506
+ internalType: "uint256",
507
+ name: "totalTokenOut",
508
+ type: "uint256",
509
+ },
510
+ {
511
+ components: [
512
+ {
513
+ internalType: "uint256",
514
+ name: "netPtFromRemove",
515
+ type: "uint256",
516
+ },
517
+ {
518
+ internalType: "uint256",
519
+ name: "netSyFromRemove",
520
+ type: "uint256",
521
+ },
522
+ {
523
+ internalType: "uint256",
524
+ name: "netPtRedeem",
525
+ type: "uint256",
526
+ },
527
+ {
528
+ internalType: "uint256",
529
+ name: "netSyFromRedeem",
530
+ type: "uint256",
531
+ },
532
+ {
533
+ internalType: "uint256",
534
+ name: "totalSyOut",
535
+ type: "uint256",
536
+ },
537
+ ],
538
+ indexed: false,
539
+ internalType: "struct ExitPostExpReturnParams",
540
+ name: "params",
541
+ type: "tuple",
542
+ },
543
+ ],
544
+ name: "ExitPostExpToToken",
545
+ type: "event",
546
+ },
547
+ {
548
+ anonymous: false,
549
+ inputs: [
550
+ {
551
+ indexed: true,
552
+ internalType: "address",
553
+ name: "caller",
554
+ type: "address",
555
+ },
556
+ {
557
+ indexed: true,
558
+ internalType: "address",
559
+ name: "market",
560
+ type: "address",
561
+ },
562
+ {
563
+ indexed: true,
564
+ internalType: "address",
565
+ name: "receiver",
566
+ type: "address",
567
+ },
568
+ {
569
+ indexed: false,
570
+ internalType: "uint256",
571
+ name: "netLpIn",
572
+ type: "uint256",
573
+ },
574
+ {
575
+ components: [
576
+ {
577
+ internalType: "uint256",
578
+ name: "netPtFromRemove",
579
+ type: "uint256",
580
+ },
581
+ {
582
+ internalType: "uint256",
583
+ name: "netSyFromRemove",
584
+ type: "uint256",
585
+ },
586
+ {
587
+ internalType: "uint256",
588
+ name: "netPyRedeem",
589
+ type: "uint256",
590
+ },
591
+ {
592
+ internalType: "uint256",
593
+ name: "netSyFromRedeem",
594
+ type: "uint256",
595
+ },
596
+ {
597
+ internalType: "uint256",
598
+ name: "netPtSwap",
599
+ type: "uint256",
600
+ },
601
+ {
602
+ internalType: "uint256",
603
+ name: "netYtSwap",
604
+ type: "uint256",
605
+ },
606
+ {
607
+ internalType: "uint256",
608
+ name: "netSyFromSwap",
609
+ type: "uint256",
610
+ },
611
+ {
612
+ internalType: "uint256",
613
+ name: "netSyFee",
614
+ type: "uint256",
615
+ },
616
+ {
617
+ internalType: "uint256",
618
+ name: "totalSyOut",
619
+ type: "uint256",
620
+ },
621
+ ],
622
+ indexed: false,
623
+ internalType: "struct ExitPreExpReturnParams",
624
+ name: "params",
625
+ type: "tuple",
626
+ },
627
+ ],
628
+ name: "ExitPreExpToSy",
629
+ type: "event",
630
+ },
631
+ {
632
+ anonymous: false,
633
+ inputs: [
634
+ {
635
+ indexed: true,
636
+ internalType: "address",
637
+ name: "caller",
638
+ type: "address",
639
+ },
640
+ {
641
+ indexed: true,
642
+ internalType: "address",
643
+ name: "market",
644
+ type: "address",
645
+ },
646
+ {
647
+ indexed: true,
648
+ internalType: "address",
649
+ name: "token",
650
+ type: "address",
651
+ },
652
+ {
653
+ indexed: false,
654
+ internalType: "address",
655
+ name: "receiver",
656
+ type: "address",
657
+ },
658
+ {
659
+ indexed: false,
660
+ internalType: "uint256",
661
+ name: "netLpIn",
662
+ type: "uint256",
663
+ },
664
+ {
665
+ indexed: false,
666
+ internalType: "uint256",
667
+ name: "totalTokenOut",
668
+ type: "uint256",
669
+ },
670
+ {
671
+ components: [
672
+ {
673
+ internalType: "uint256",
674
+ name: "netPtFromRemove",
675
+ type: "uint256",
676
+ },
677
+ {
678
+ internalType: "uint256",
679
+ name: "netSyFromRemove",
680
+ type: "uint256",
681
+ },
682
+ {
683
+ internalType: "uint256",
684
+ name: "netPyRedeem",
685
+ type: "uint256",
686
+ },
687
+ {
688
+ internalType: "uint256",
689
+ name: "netSyFromRedeem",
690
+ type: "uint256",
691
+ },
692
+ {
693
+ internalType: "uint256",
694
+ name: "netPtSwap",
695
+ type: "uint256",
696
+ },
697
+ {
698
+ internalType: "uint256",
699
+ name: "netYtSwap",
700
+ type: "uint256",
701
+ },
702
+ {
703
+ internalType: "uint256",
704
+ name: "netSyFromSwap",
705
+ type: "uint256",
706
+ },
707
+ {
708
+ internalType: "uint256",
709
+ name: "netSyFee",
710
+ type: "uint256",
711
+ },
712
+ {
713
+ internalType: "uint256",
714
+ name: "totalSyOut",
715
+ type: "uint256",
716
+ },
717
+ ],
718
+ indexed: false,
719
+ internalType: "struct ExitPreExpReturnParams",
720
+ name: "params",
721
+ type: "tuple",
722
+ },
723
+ ],
724
+ name: "ExitPreExpToToken",
725
+ type: "event",
726
+ },
727
+ {
728
+ anonymous: false,
729
+ inputs: [
730
+ {
731
+ indexed: true,
732
+ internalType: "address",
733
+ name: "caller",
734
+ type: "address",
735
+ },
736
+ {
737
+ indexed: true,
738
+ internalType: "address",
739
+ name: "receiver",
740
+ type: "address",
741
+ },
742
+ {
743
+ indexed: true,
744
+ internalType: "address",
745
+ name: "YT",
746
+ type: "address",
747
+ },
748
+ {
749
+ indexed: false,
750
+ internalType: "uint256",
751
+ name: "netSyIn",
752
+ type: "uint256",
753
+ },
754
+ {
755
+ indexed: false,
756
+ internalType: "uint256",
757
+ name: "netPyOut",
758
+ type: "uint256",
759
+ },
760
+ ],
761
+ name: "MintPyFromSy",
762
+ type: "event",
763
+ },
764
+ {
765
+ anonymous: false,
766
+ inputs: [
767
+ {
768
+ indexed: true,
769
+ internalType: "address",
770
+ name: "caller",
771
+ type: "address",
772
+ },
773
+ {
774
+ indexed: true,
775
+ internalType: "address",
776
+ name: "tokenIn",
777
+ type: "address",
778
+ },
779
+ {
780
+ indexed: true,
781
+ internalType: "address",
782
+ name: "YT",
783
+ type: "address",
784
+ },
785
+ {
786
+ indexed: false,
787
+ internalType: "address",
788
+ name: "receiver",
789
+ type: "address",
790
+ },
791
+ {
792
+ indexed: false,
793
+ internalType: "uint256",
794
+ name: "netTokenIn",
795
+ type: "uint256",
796
+ },
797
+ {
798
+ indexed: false,
799
+ internalType: "uint256",
800
+ name: "netPyOut",
801
+ type: "uint256",
802
+ },
803
+ {
804
+ indexed: false,
805
+ internalType: "uint256",
806
+ name: "netSyInterm",
807
+ type: "uint256",
808
+ },
809
+ ],
810
+ name: "MintPyFromToken",
811
+ type: "event",
812
+ },
813
+ {
814
+ anonymous: false,
815
+ inputs: [
816
+ {
817
+ indexed: true,
818
+ internalType: "address",
819
+ name: "caller",
820
+ type: "address",
821
+ },
822
+ {
823
+ indexed: true,
824
+ internalType: "address",
825
+ name: "tokenIn",
826
+ type: "address",
827
+ },
828
+ {
829
+ indexed: true,
830
+ internalType: "address",
831
+ name: "SY",
832
+ type: "address",
833
+ },
834
+ {
835
+ indexed: false,
836
+ internalType: "address",
837
+ name: "receiver",
838
+ type: "address",
839
+ },
840
+ {
841
+ indexed: false,
842
+ internalType: "uint256",
843
+ name: "netTokenIn",
844
+ type: "uint256",
845
+ },
846
+ {
847
+ indexed: false,
848
+ internalType: "uint256",
849
+ name: "netSyOut",
850
+ type: "uint256",
851
+ },
852
+ ],
853
+ name: "MintSyFromToken",
854
+ type: "event",
855
+ },
856
+ {
857
+ anonymous: false,
858
+ inputs: [
859
+ {
860
+ indexed: true,
861
+ internalType: "address",
862
+ name: "previousOwner",
863
+ type: "address",
864
+ },
865
+ {
866
+ indexed: true,
867
+ internalType: "address",
868
+ name: "newOwner",
869
+ type: "address",
870
+ },
871
+ ],
872
+ name: "OwnershipTransferred",
873
+ type: "event",
874
+ },
875
+ {
876
+ anonymous: false,
877
+ inputs: [
878
+ {
879
+ indexed: true,
880
+ internalType: "address",
881
+ name: "caller",
882
+ type: "address",
883
+ },
884
+ {
885
+ indexed: true,
886
+ internalType: "address",
887
+ name: "receiver",
888
+ type: "address",
889
+ },
890
+ {
891
+ indexed: true,
892
+ internalType: "address",
893
+ name: "YT",
894
+ type: "address",
895
+ },
896
+ {
897
+ indexed: false,
898
+ internalType: "uint256",
899
+ name: "netPyIn",
900
+ type: "uint256",
901
+ },
902
+ {
903
+ indexed: false,
904
+ internalType: "uint256",
905
+ name: "netSyOut",
906
+ type: "uint256",
907
+ },
908
+ ],
909
+ name: "RedeemPyToSy",
910
+ type: "event",
911
+ },
912
+ {
913
+ anonymous: false,
914
+ inputs: [
915
+ {
916
+ indexed: true,
917
+ internalType: "address",
918
+ name: "caller",
919
+ type: "address",
920
+ },
921
+ {
922
+ indexed: true,
923
+ internalType: "address",
924
+ name: "tokenOut",
925
+ type: "address",
926
+ },
927
+ {
928
+ indexed: true,
929
+ internalType: "address",
930
+ name: "YT",
931
+ type: "address",
932
+ },
933
+ {
934
+ indexed: false,
935
+ internalType: "address",
936
+ name: "receiver",
937
+ type: "address",
938
+ },
939
+ {
940
+ indexed: false,
941
+ internalType: "uint256",
942
+ name: "netPyIn",
943
+ type: "uint256",
944
+ },
945
+ {
946
+ indexed: false,
947
+ internalType: "uint256",
948
+ name: "netTokenOut",
949
+ type: "uint256",
950
+ },
951
+ {
952
+ indexed: false,
953
+ internalType: "uint256",
954
+ name: "netSyInterm",
955
+ type: "uint256",
956
+ },
957
+ ],
958
+ name: "RedeemPyToToken",
959
+ type: "event",
960
+ },
961
+ {
962
+ anonymous: false,
963
+ inputs: [
964
+ {
965
+ indexed: true,
966
+ internalType: "address",
967
+ name: "caller",
968
+ type: "address",
969
+ },
970
+ {
971
+ indexed: true,
972
+ internalType: "address",
973
+ name: "tokenOut",
974
+ type: "address",
975
+ },
976
+ {
977
+ indexed: true,
978
+ internalType: "address",
979
+ name: "SY",
980
+ type: "address",
981
+ },
982
+ {
983
+ indexed: false,
984
+ internalType: "address",
985
+ name: "receiver",
986
+ type: "address",
987
+ },
988
+ {
989
+ indexed: false,
990
+ internalType: "uint256",
991
+ name: "netSyIn",
992
+ type: "uint256",
993
+ },
994
+ {
995
+ indexed: false,
996
+ internalType: "uint256",
997
+ name: "netTokenOut",
998
+ type: "uint256",
999
+ },
1000
+ ],
1001
+ name: "RedeemSyToToken",
1002
+ type: "event",
1003
+ },
1004
+ {
1005
+ anonymous: false,
1006
+ inputs: [
1007
+ {
1008
+ indexed: true,
1009
+ internalType: "address",
1010
+ name: "caller",
1011
+ type: "address",
1012
+ },
1013
+ {
1014
+ indexed: true,
1015
+ internalType: "address",
1016
+ name: "market",
1017
+ type: "address",
1018
+ },
1019
+ {
1020
+ indexed: true,
1021
+ internalType: "address",
1022
+ name: "receiver",
1023
+ type: "address",
1024
+ },
1025
+ {
1026
+ indexed: false,
1027
+ internalType: "uint256",
1028
+ name: "netLpToRemove",
1029
+ type: "uint256",
1030
+ },
1031
+ {
1032
+ indexed: false,
1033
+ internalType: "uint256",
1034
+ name: "netPtOut",
1035
+ type: "uint256",
1036
+ },
1037
+ {
1038
+ indexed: false,
1039
+ internalType: "uint256",
1040
+ name: "netSyOut",
1041
+ type: "uint256",
1042
+ },
1043
+ ],
1044
+ name: "RemoveLiquidityDualSyAndPt",
1045
+ type: "event",
1046
+ },
1047
+ {
1048
+ anonymous: false,
1049
+ inputs: [
1050
+ {
1051
+ indexed: true,
1052
+ internalType: "address",
1053
+ name: "caller",
1054
+ type: "address",
1055
+ },
1056
+ {
1057
+ indexed: true,
1058
+ internalType: "address",
1059
+ name: "market",
1060
+ type: "address",
1061
+ },
1062
+ {
1063
+ indexed: true,
1064
+ internalType: "address",
1065
+ name: "tokenOut",
1066
+ type: "address",
1067
+ },
1068
+ {
1069
+ indexed: false,
1070
+ internalType: "address",
1071
+ name: "receiver",
1072
+ type: "address",
1073
+ },
1074
+ {
1075
+ indexed: false,
1076
+ internalType: "uint256",
1077
+ name: "netLpToRemove",
1078
+ type: "uint256",
1079
+ },
1080
+ {
1081
+ indexed: false,
1082
+ internalType: "uint256",
1083
+ name: "netPtOut",
1084
+ type: "uint256",
1085
+ },
1086
+ {
1087
+ indexed: false,
1088
+ internalType: "uint256",
1089
+ name: "netTokenOut",
1090
+ type: "uint256",
1091
+ },
1092
+ {
1093
+ indexed: false,
1094
+ internalType: "uint256",
1095
+ name: "netSyInterm",
1096
+ type: "uint256",
1097
+ },
1098
+ ],
1099
+ name: "RemoveLiquidityDualTokenAndPt",
1100
+ type: "event",
1101
+ },
1102
+ {
1103
+ anonymous: false,
1104
+ inputs: [
1105
+ {
1106
+ indexed: true,
1107
+ internalType: "address",
1108
+ name: "caller",
1109
+ type: "address",
1110
+ },
1111
+ {
1112
+ indexed: true,
1113
+ internalType: "address",
1114
+ name: "market",
1115
+ type: "address",
1116
+ },
1117
+ {
1118
+ indexed: true,
1119
+ internalType: "address",
1120
+ name: "receiver",
1121
+ type: "address",
1122
+ },
1123
+ {
1124
+ indexed: false,
1125
+ internalType: "uint256",
1126
+ name: "netLpToRemove",
1127
+ type: "uint256",
1128
+ },
1129
+ {
1130
+ indexed: false,
1131
+ internalType: "uint256",
1132
+ name: "netPtOut",
1133
+ type: "uint256",
1134
+ },
1135
+ ],
1136
+ name: "RemoveLiquiditySinglePt",
1137
+ type: "event",
1138
+ },
1139
+ {
1140
+ anonymous: false,
1141
+ inputs: [
1142
+ {
1143
+ indexed: true,
1144
+ internalType: "address",
1145
+ name: "caller",
1146
+ type: "address",
1147
+ },
1148
+ {
1149
+ indexed: true,
1150
+ internalType: "address",
1151
+ name: "market",
1152
+ type: "address",
1153
+ },
1154
+ {
1155
+ indexed: true,
1156
+ internalType: "address",
1157
+ name: "receiver",
1158
+ type: "address",
1159
+ },
1160
+ {
1161
+ indexed: false,
1162
+ internalType: "uint256",
1163
+ name: "netLpToRemove",
1164
+ type: "uint256",
1165
+ },
1166
+ {
1167
+ indexed: false,
1168
+ internalType: "uint256",
1169
+ name: "netSyOut",
1170
+ type: "uint256",
1171
+ },
1172
+ ],
1173
+ name: "RemoveLiquiditySingleSy",
1174
+ type: "event",
1175
+ },
1176
+ {
1177
+ anonymous: false,
1178
+ inputs: [
1179
+ {
1180
+ indexed: true,
1181
+ internalType: "address",
1182
+ name: "caller",
1183
+ type: "address",
1184
+ },
1185
+ {
1186
+ indexed: true,
1187
+ internalType: "address",
1188
+ name: "market",
1189
+ type: "address",
1190
+ },
1191
+ {
1192
+ indexed: true,
1193
+ internalType: "address",
1194
+ name: "token",
1195
+ type: "address",
1196
+ },
1197
+ {
1198
+ indexed: false,
1199
+ internalType: "address",
1200
+ name: "receiver",
1201
+ type: "address",
1202
+ },
1203
+ {
1204
+ indexed: false,
1205
+ internalType: "uint256",
1206
+ name: "netLpToRemove",
1207
+ type: "uint256",
1208
+ },
1209
+ {
1210
+ indexed: false,
1211
+ internalType: "uint256",
1212
+ name: "netTokenOut",
1213
+ type: "uint256",
1214
+ },
1215
+ {
1216
+ indexed: false,
1217
+ internalType: "uint256",
1218
+ name: "netSyInterm",
1219
+ type: "uint256",
1220
+ },
1221
+ ],
1222
+ name: "RemoveLiquiditySingleToken",
1223
+ type: "event",
1224
+ },
1225
+ {
1226
+ anonymous: false,
1227
+ inputs: [
1228
+ {
1229
+ indexed: true,
1230
+ internalType: "bytes4",
1231
+ name: "selector",
1232
+ type: "bytes4",
1233
+ },
1234
+ {
1235
+ indexed: true,
1236
+ internalType: "address",
1237
+ name: "facet",
1238
+ type: "address",
1239
+ },
1240
+ ],
1241
+ name: "SelectorToFacetSet",
1242
+ type: "event",
1243
+ },
1244
+ {
1245
+ anonymous: false,
1246
+ inputs: [
1247
+ {
1248
+ indexed: true,
1249
+ internalType: "address",
1250
+ name: "caller",
1251
+ type: "address",
1252
+ },
1253
+ {
1254
+ indexed: true,
1255
+ internalType: "address",
1256
+ name: "market",
1257
+ type: "address",
1258
+ },
1259
+ {
1260
+ indexed: true,
1261
+ internalType: "address",
1262
+ name: "receiver",
1263
+ type: "address",
1264
+ },
1265
+ {
1266
+ indexed: false,
1267
+ internalType: "int256",
1268
+ name: "netPtToAccount",
1269
+ type: "int256",
1270
+ },
1271
+ {
1272
+ indexed: false,
1273
+ internalType: "int256",
1274
+ name: "netSyToAccount",
1275
+ type: "int256",
1276
+ },
1277
+ ],
1278
+ name: "SwapPtAndSy",
1279
+ type: "event",
1280
+ },
1281
+ {
1282
+ anonymous: false,
1283
+ inputs: [
1284
+ {
1285
+ indexed: true,
1286
+ internalType: "address",
1287
+ name: "caller",
1288
+ type: "address",
1289
+ },
1290
+ {
1291
+ indexed: true,
1292
+ internalType: "address",
1293
+ name: "market",
1294
+ type: "address",
1295
+ },
1296
+ {
1297
+ indexed: true,
1298
+ internalType: "address",
1299
+ name: "token",
1300
+ type: "address",
1301
+ },
1302
+ {
1303
+ indexed: false,
1304
+ internalType: "address",
1305
+ name: "receiver",
1306
+ type: "address",
1307
+ },
1308
+ {
1309
+ indexed: false,
1310
+ internalType: "int256",
1311
+ name: "netPtToAccount",
1312
+ type: "int256",
1313
+ },
1314
+ {
1315
+ indexed: false,
1316
+ internalType: "int256",
1317
+ name: "netTokenToAccount",
1318
+ type: "int256",
1319
+ },
1320
+ {
1321
+ indexed: false,
1322
+ internalType: "uint256",
1323
+ name: "netSyInterm",
1324
+ type: "uint256",
1325
+ },
1326
+ ],
1327
+ name: "SwapPtAndToken",
1328
+ type: "event",
1329
+ },
1330
+ {
1331
+ anonymous: false,
1332
+ inputs: [
1333
+ {
1334
+ indexed: true,
1335
+ internalType: "address",
1336
+ name: "caller",
1337
+ type: "address",
1338
+ },
1339
+ {
1340
+ indexed: true,
1341
+ internalType: "address",
1342
+ name: "market",
1343
+ type: "address",
1344
+ },
1345
+ {
1346
+ indexed: true,
1347
+ internalType: "address",
1348
+ name: "receiver",
1349
+ type: "address",
1350
+ },
1351
+ {
1352
+ indexed: false,
1353
+ internalType: "int256",
1354
+ name: "netYtToAccount",
1355
+ type: "int256",
1356
+ },
1357
+ {
1358
+ indexed: false,
1359
+ internalType: "int256",
1360
+ name: "netSyToAccount",
1361
+ type: "int256",
1362
+ },
1363
+ ],
1364
+ name: "SwapYtAndSy",
1365
+ type: "event",
1366
+ },
1367
+ {
1368
+ anonymous: false,
1369
+ inputs: [
1370
+ {
1371
+ indexed: true,
1372
+ internalType: "address",
1373
+ name: "caller",
1374
+ type: "address",
1375
+ },
1376
+ {
1377
+ indexed: true,
1378
+ internalType: "address",
1379
+ name: "market",
1380
+ type: "address",
1381
+ },
1382
+ {
1383
+ indexed: true,
1384
+ internalType: "address",
1385
+ name: "token",
1386
+ type: "address",
1387
+ },
1388
+ {
1389
+ indexed: false,
1390
+ internalType: "address",
1391
+ name: "receiver",
1392
+ type: "address",
1393
+ },
1394
+ {
1395
+ indexed: false,
1396
+ internalType: "int256",
1397
+ name: "netYtToAccount",
1398
+ type: "int256",
1399
+ },
1400
+ {
1401
+ indexed: false,
1402
+ internalType: "int256",
1403
+ name: "netTokenToAccount",
1404
+ type: "int256",
1405
+ },
1406
+ {
1407
+ indexed: false,
1408
+ internalType: "uint256",
1409
+ name: "netSyInterm",
1410
+ type: "uint256",
1411
+ },
1412
+ ],
1413
+ name: "SwapYtAndToken",
1414
+ type: "event",
1415
+ },
1416
+ {
1417
+ inputs: [
1418
+ {
1419
+ internalType: "address",
1420
+ name: "receiver",
1421
+ type: "address",
1422
+ },
1423
+ {
1424
+ internalType: "address",
1425
+ name: "market",
1426
+ type: "address",
1427
+ },
1428
+ {
1429
+ internalType: "uint256",
1430
+ name: "exactPtIn",
1431
+ type: "uint256",
1432
+ },
1433
+ {
1434
+ internalType: "uint256",
1435
+ name: "minSyOut",
1436
+ type: "uint256",
1437
+ },
1438
+ {
1439
+ components: [
1440
+ {
1441
+ internalType: "address",
1442
+ name: "limitRouter",
1443
+ type: "address",
1444
+ },
1445
+ {
1446
+ internalType: "uint256",
1447
+ name: "epsSkipMarket",
1448
+ type: "uint256",
1449
+ },
1450
+ {
1451
+ components: [
1452
+ {
1453
+ components: [
1454
+ {
1455
+ internalType: "uint256",
1456
+ name: "salt",
1457
+ type: "uint256",
1458
+ },
1459
+ {
1460
+ internalType: "uint256",
1461
+ name: "expiry",
1462
+ type: "uint256",
1463
+ },
1464
+ {
1465
+ internalType: "uint256",
1466
+ name: "nonce",
1467
+ type: "uint256",
1468
+ },
1469
+ {
1470
+ internalType: "enum IPLimitOrderType.OrderType",
1471
+ name: "orderType",
1472
+ type: "uint8",
1473
+ },
1474
+ {
1475
+ internalType: "address",
1476
+ name: "token",
1477
+ type: "address",
1478
+ },
1479
+ {
1480
+ internalType: "address",
1481
+ name: "YT",
1482
+ type: "address",
1483
+ },
1484
+ {
1485
+ internalType: "address",
1486
+ name: "maker",
1487
+ type: "address",
1488
+ },
1489
+ {
1490
+ internalType: "address",
1491
+ name: "receiver",
1492
+ type: "address",
1493
+ },
1494
+ {
1495
+ internalType: "uint256",
1496
+ name: "makingAmount",
1497
+ type: "uint256",
1498
+ },
1499
+ {
1500
+ internalType: "uint256",
1501
+ name: "lnImpliedRate",
1502
+ type: "uint256",
1503
+ },
1504
+ {
1505
+ internalType: "uint256",
1506
+ name: "failSafeRate",
1507
+ type: "uint256",
1508
+ },
1509
+ {
1510
+ internalType: "bytes",
1511
+ name: "permit",
1512
+ type: "bytes",
1513
+ },
1514
+ ],
1515
+ internalType: "struct Order",
1516
+ name: "order",
1517
+ type: "tuple",
1518
+ },
1519
+ {
1520
+ internalType: "bytes",
1521
+ name: "signature",
1522
+ type: "bytes",
1523
+ },
1524
+ {
1525
+ internalType: "uint256",
1526
+ name: "makingAmount",
1527
+ type: "uint256",
1528
+ },
1529
+ ],
1530
+ internalType: "struct FillOrderParams[]",
1531
+ name: "normalFills",
1532
+ type: "tuple[]",
1533
+ },
1534
+ {
1535
+ components: [
1536
+ {
1537
+ components: [
1538
+ {
1539
+ internalType: "uint256",
1540
+ name: "salt",
1541
+ type: "uint256",
1542
+ },
1543
+ {
1544
+ internalType: "uint256",
1545
+ name: "expiry",
1546
+ type: "uint256",
1547
+ },
1548
+ {
1549
+ internalType: "uint256",
1550
+ name: "nonce",
1551
+ type: "uint256",
1552
+ },
1553
+ {
1554
+ internalType: "enum IPLimitOrderType.OrderType",
1555
+ name: "orderType",
1556
+ type: "uint8",
1557
+ },
1558
+ {
1559
+ internalType: "address",
1560
+ name: "token",
1561
+ type: "address",
1562
+ },
1563
+ {
1564
+ internalType: "address",
1565
+ name: "YT",
1566
+ type: "address",
1567
+ },
1568
+ {
1569
+ internalType: "address",
1570
+ name: "maker",
1571
+ type: "address",
1572
+ },
1573
+ {
1574
+ internalType: "address",
1575
+ name: "receiver",
1576
+ type: "address",
1577
+ },
1578
+ {
1579
+ internalType: "uint256",
1580
+ name: "makingAmount",
1581
+ type: "uint256",
1582
+ },
1583
+ {
1584
+ internalType: "uint256",
1585
+ name: "lnImpliedRate",
1586
+ type: "uint256",
1587
+ },
1588
+ {
1589
+ internalType: "uint256",
1590
+ name: "failSafeRate",
1591
+ type: "uint256",
1592
+ },
1593
+ {
1594
+ internalType: "bytes",
1595
+ name: "permit",
1596
+ type: "bytes",
1597
+ },
1598
+ ],
1599
+ internalType: "struct Order",
1600
+ name: "order",
1601
+ type: "tuple",
1602
+ },
1603
+ {
1604
+ internalType: "bytes",
1605
+ name: "signature",
1606
+ type: "bytes",
1607
+ },
1608
+ {
1609
+ internalType: "uint256",
1610
+ name: "makingAmount",
1611
+ type: "uint256",
1612
+ },
1613
+ ],
1614
+ internalType: "struct FillOrderParams[]",
1615
+ name: "flashFills",
1616
+ type: "tuple[]",
1617
+ },
1618
+ {
1619
+ internalType: "bytes",
1620
+ name: "optData",
1621
+ type: "bytes",
1622
+ },
1623
+ ],
1624
+ internalType: "struct LimitOrderData",
1625
+ name: "limit",
1626
+ type: "tuple",
1627
+ },
1628
+ ],
1629
+ name: "swapExactPtForSy",
1630
+ outputs: [
1631
+ {
1632
+ internalType: "uint256",
1633
+ name: "netSyOut",
1634
+ type: "uint256",
1635
+ },
1636
+ {
1637
+ internalType: "uint256",
1638
+ name: "netSyFee",
1639
+ type: "uint256",
1640
+ },
1641
+ ],
1642
+ stateMutability: "nonpayable",
1643
+ type: "function",
1644
+ },
1645
+ {
1646
+ inputs: [
1647
+ {
1648
+ internalType: "address",
1649
+ name: "receiver",
1650
+ type: "address",
1651
+ },
1652
+ {
1653
+ internalType: "address",
1654
+ name: "market",
1655
+ type: "address",
1656
+ },
1657
+ {
1658
+ internalType: "uint256",
1659
+ name: "exactPtIn",
1660
+ type: "uint256",
1661
+ },
1662
+ {
1663
+ components: [
1664
+ {
1665
+ internalType: "address",
1666
+ name: "tokenOut",
1667
+ type: "address",
1668
+ },
1669
+ {
1670
+ internalType: "uint256",
1671
+ name: "minTokenOut",
1672
+ type: "uint256",
1673
+ },
1674
+ {
1675
+ internalType: "address",
1676
+ name: "tokenRedeemSy",
1677
+ type: "address",
1678
+ },
1679
+ {
1680
+ internalType: "address",
1681
+ name: "pendleSwap",
1682
+ type: "address",
1683
+ },
1684
+ {
1685
+ components: [
1686
+ {
1687
+ internalType: "enum SwapType",
1688
+ name: "swapType",
1689
+ type: "uint8",
1690
+ },
1691
+ {
1692
+ internalType: "address",
1693
+ name: "extRouter",
1694
+ type: "address",
1695
+ },
1696
+ {
1697
+ internalType: "bytes",
1698
+ name: "extCalldata",
1699
+ type: "bytes",
1700
+ },
1701
+ {
1702
+ internalType: "bool",
1703
+ name: "needScale",
1704
+ type: "bool",
1705
+ },
1706
+ ],
1707
+ internalType: "struct SwapData",
1708
+ name: "swapData",
1709
+ type: "tuple",
1710
+ },
1711
+ ],
1712
+ internalType: "struct TokenOutput",
1713
+ name: "output",
1714
+ type: "tuple",
1715
+ },
1716
+ {
1717
+ components: [
1718
+ {
1719
+ internalType: "address",
1720
+ name: "limitRouter",
1721
+ type: "address",
1722
+ },
1723
+ {
1724
+ internalType: "uint256",
1725
+ name: "epsSkipMarket",
1726
+ type: "uint256",
1727
+ },
1728
+ {
1729
+ components: [
1730
+ {
1731
+ components: [
1732
+ {
1733
+ internalType: "uint256",
1734
+ name: "salt",
1735
+ type: "uint256",
1736
+ },
1737
+ {
1738
+ internalType: "uint256",
1739
+ name: "expiry",
1740
+ type: "uint256",
1741
+ },
1742
+ {
1743
+ internalType: "uint256",
1744
+ name: "nonce",
1745
+ type: "uint256",
1746
+ },
1747
+ {
1748
+ internalType: "enum IPLimitOrderType.OrderType",
1749
+ name: "orderType",
1750
+ type: "uint8",
1751
+ },
1752
+ {
1753
+ internalType: "address",
1754
+ name: "token",
1755
+ type: "address",
1756
+ },
1757
+ {
1758
+ internalType: "address",
1759
+ name: "YT",
1760
+ type: "address",
1761
+ },
1762
+ {
1763
+ internalType: "address",
1764
+ name: "maker",
1765
+ type: "address",
1766
+ },
1767
+ {
1768
+ internalType: "address",
1769
+ name: "receiver",
1770
+ type: "address",
1771
+ },
1772
+ {
1773
+ internalType: "uint256",
1774
+ name: "makingAmount",
1775
+ type: "uint256",
1776
+ },
1777
+ {
1778
+ internalType: "uint256",
1779
+ name: "lnImpliedRate",
1780
+ type: "uint256",
1781
+ },
1782
+ {
1783
+ internalType: "uint256",
1784
+ name: "failSafeRate",
1785
+ type: "uint256",
1786
+ },
1787
+ {
1788
+ internalType: "bytes",
1789
+ name: "permit",
1790
+ type: "bytes",
1791
+ },
1792
+ ],
1793
+ internalType: "struct Order",
1794
+ name: "order",
1795
+ type: "tuple",
1796
+ },
1797
+ {
1798
+ internalType: "bytes",
1799
+ name: "signature",
1800
+ type: "bytes",
1801
+ },
1802
+ {
1803
+ internalType: "uint256",
1804
+ name: "makingAmount",
1805
+ type: "uint256",
1806
+ },
1807
+ ],
1808
+ internalType: "struct FillOrderParams[]",
1809
+ name: "normalFills",
1810
+ type: "tuple[]",
1811
+ },
1812
+ {
1813
+ components: [
1814
+ {
1815
+ components: [
1816
+ {
1817
+ internalType: "uint256",
1818
+ name: "salt",
1819
+ type: "uint256",
1820
+ },
1821
+ {
1822
+ internalType: "uint256",
1823
+ name: "expiry",
1824
+ type: "uint256",
1825
+ },
1826
+ {
1827
+ internalType: "uint256",
1828
+ name: "nonce",
1829
+ type: "uint256",
1830
+ },
1831
+ {
1832
+ internalType: "enum IPLimitOrderType.OrderType",
1833
+ name: "orderType",
1834
+ type: "uint8",
1835
+ },
1836
+ {
1837
+ internalType: "address",
1838
+ name: "token",
1839
+ type: "address",
1840
+ },
1841
+ {
1842
+ internalType: "address",
1843
+ name: "YT",
1844
+ type: "address",
1845
+ },
1846
+ {
1847
+ internalType: "address",
1848
+ name: "maker",
1849
+ type: "address",
1850
+ },
1851
+ {
1852
+ internalType: "address",
1853
+ name: "receiver",
1854
+ type: "address",
1855
+ },
1856
+ {
1857
+ internalType: "uint256",
1858
+ name: "makingAmount",
1859
+ type: "uint256",
1860
+ },
1861
+ {
1862
+ internalType: "uint256",
1863
+ name: "lnImpliedRate",
1864
+ type: "uint256",
1865
+ },
1866
+ {
1867
+ internalType: "uint256",
1868
+ name: "failSafeRate",
1869
+ type: "uint256",
1870
+ },
1871
+ {
1872
+ internalType: "bytes",
1873
+ name: "permit",
1874
+ type: "bytes",
1875
+ },
1876
+ ],
1877
+ internalType: "struct Order",
1878
+ name: "order",
1879
+ type: "tuple",
1880
+ },
1881
+ {
1882
+ internalType: "bytes",
1883
+ name: "signature",
1884
+ type: "bytes",
1885
+ },
1886
+ {
1887
+ internalType: "uint256",
1888
+ name: "makingAmount",
1889
+ type: "uint256",
1890
+ },
1891
+ ],
1892
+ internalType: "struct FillOrderParams[]",
1893
+ name: "flashFills",
1894
+ type: "tuple[]",
1895
+ },
1896
+ {
1897
+ internalType: "bytes",
1898
+ name: "optData",
1899
+ type: "bytes",
1900
+ },
1901
+ ],
1902
+ internalType: "struct LimitOrderData",
1903
+ name: "limit",
1904
+ type: "tuple",
1905
+ },
1906
+ ],
1907
+ name: "swapExactPtForToken",
1908
+ outputs: [
1909
+ {
1910
+ internalType: "uint256",
1911
+ name: "netTokenOut",
1912
+ type: "uint256",
1913
+ },
1914
+ {
1915
+ internalType: "uint256",
1916
+ name: "netSyFee",
1917
+ type: "uint256",
1918
+ },
1919
+ {
1920
+ internalType: "uint256",
1921
+ name: "netSyInterm",
1922
+ type: "uint256",
1923
+ },
1924
+ ],
1925
+ stateMutability: "nonpayable",
1926
+ type: "function",
1927
+ },
1928
+ {
1929
+ inputs: [
1930
+ {
1931
+ internalType: "address",
1932
+ name: "receiver",
1933
+ type: "address",
1934
+ },
1935
+ {
1936
+ internalType: "address",
1937
+ name: "market",
1938
+ type: "address",
1939
+ },
1940
+ {
1941
+ internalType: "uint256",
1942
+ name: "exactSyIn",
1943
+ type: "uint256",
1944
+ },
1945
+ {
1946
+ internalType: "uint256",
1947
+ name: "minPtOut",
1948
+ type: "uint256",
1949
+ },
1950
+ {
1951
+ components: [
1952
+ {
1953
+ internalType: "uint256",
1954
+ name: "guessMin",
1955
+ type: "uint256",
1956
+ },
1957
+ {
1958
+ internalType: "uint256",
1959
+ name: "guessMax",
1960
+ type: "uint256",
1961
+ },
1962
+ {
1963
+ internalType: "uint256",
1964
+ name: "guessOffchain",
1965
+ type: "uint256",
1966
+ },
1967
+ {
1968
+ internalType: "uint256",
1969
+ name: "maxIteration",
1970
+ type: "uint256",
1971
+ },
1972
+ {
1973
+ internalType: "uint256",
1974
+ name: "eps",
1975
+ type: "uint256",
1976
+ },
1977
+ ],
1978
+ internalType: "struct ApproxParams",
1979
+ name: "guessPtOut",
1980
+ type: "tuple",
1981
+ },
1982
+ {
1983
+ components: [
1984
+ {
1985
+ internalType: "address",
1986
+ name: "limitRouter",
1987
+ type: "address",
1988
+ },
1989
+ {
1990
+ internalType: "uint256",
1991
+ name: "epsSkipMarket",
1992
+ type: "uint256",
1993
+ },
1994
+ {
1995
+ components: [
1996
+ {
1997
+ components: [
1998
+ {
1999
+ internalType: "uint256",
2000
+ name: "salt",
2001
+ type: "uint256",
2002
+ },
2003
+ {
2004
+ internalType: "uint256",
2005
+ name: "expiry",
2006
+ type: "uint256",
2007
+ },
2008
+ {
2009
+ internalType: "uint256",
2010
+ name: "nonce",
2011
+ type: "uint256",
2012
+ },
2013
+ {
2014
+ internalType: "enum IPLimitOrderType.OrderType",
2015
+ name: "orderType",
2016
+ type: "uint8",
2017
+ },
2018
+ {
2019
+ internalType: "address",
2020
+ name: "token",
2021
+ type: "address",
2022
+ },
2023
+ {
2024
+ internalType: "address",
2025
+ name: "YT",
2026
+ type: "address",
2027
+ },
2028
+ {
2029
+ internalType: "address",
2030
+ name: "maker",
2031
+ type: "address",
2032
+ },
2033
+ {
2034
+ internalType: "address",
2035
+ name: "receiver",
2036
+ type: "address",
2037
+ },
2038
+ {
2039
+ internalType: "uint256",
2040
+ name: "makingAmount",
2041
+ type: "uint256",
2042
+ },
2043
+ {
2044
+ internalType: "uint256",
2045
+ name: "lnImpliedRate",
2046
+ type: "uint256",
2047
+ },
2048
+ {
2049
+ internalType: "uint256",
2050
+ name: "failSafeRate",
2051
+ type: "uint256",
2052
+ },
2053
+ {
2054
+ internalType: "bytes",
2055
+ name: "permit",
2056
+ type: "bytes",
2057
+ },
2058
+ ],
2059
+ internalType: "struct Order",
2060
+ name: "order",
2061
+ type: "tuple",
2062
+ },
2063
+ {
2064
+ internalType: "bytes",
2065
+ name: "signature",
2066
+ type: "bytes",
2067
+ },
2068
+ {
2069
+ internalType: "uint256",
2070
+ name: "makingAmount",
2071
+ type: "uint256",
2072
+ },
2073
+ ],
2074
+ internalType: "struct FillOrderParams[]",
2075
+ name: "normalFills",
2076
+ type: "tuple[]",
2077
+ },
2078
+ {
2079
+ components: [
2080
+ {
2081
+ components: [
2082
+ {
2083
+ internalType: "uint256",
2084
+ name: "salt",
2085
+ type: "uint256",
2086
+ },
2087
+ {
2088
+ internalType: "uint256",
2089
+ name: "expiry",
2090
+ type: "uint256",
2091
+ },
2092
+ {
2093
+ internalType: "uint256",
2094
+ name: "nonce",
2095
+ type: "uint256",
2096
+ },
2097
+ {
2098
+ internalType: "enum IPLimitOrderType.OrderType",
2099
+ name: "orderType",
2100
+ type: "uint8",
2101
+ },
2102
+ {
2103
+ internalType: "address",
2104
+ name: "token",
2105
+ type: "address",
2106
+ },
2107
+ {
2108
+ internalType: "address",
2109
+ name: "YT",
2110
+ type: "address",
2111
+ },
2112
+ {
2113
+ internalType: "address",
2114
+ name: "maker",
2115
+ type: "address",
2116
+ },
2117
+ {
2118
+ internalType: "address",
2119
+ name: "receiver",
2120
+ type: "address",
2121
+ },
2122
+ {
2123
+ internalType: "uint256",
2124
+ name: "makingAmount",
2125
+ type: "uint256",
2126
+ },
2127
+ {
2128
+ internalType: "uint256",
2129
+ name: "lnImpliedRate",
2130
+ type: "uint256",
2131
+ },
2132
+ {
2133
+ internalType: "uint256",
2134
+ name: "failSafeRate",
2135
+ type: "uint256",
2136
+ },
2137
+ {
2138
+ internalType: "bytes",
2139
+ name: "permit",
2140
+ type: "bytes",
2141
+ },
2142
+ ],
2143
+ internalType: "struct Order",
2144
+ name: "order",
2145
+ type: "tuple",
2146
+ },
2147
+ {
2148
+ internalType: "bytes",
2149
+ name: "signature",
2150
+ type: "bytes",
2151
+ },
2152
+ {
2153
+ internalType: "uint256",
2154
+ name: "makingAmount",
2155
+ type: "uint256",
2156
+ },
2157
+ ],
2158
+ internalType: "struct FillOrderParams[]",
2159
+ name: "flashFills",
2160
+ type: "tuple[]",
2161
+ },
2162
+ {
2163
+ internalType: "bytes",
2164
+ name: "optData",
2165
+ type: "bytes",
2166
+ },
2167
+ ],
2168
+ internalType: "struct LimitOrderData",
2169
+ name: "limit",
2170
+ type: "tuple",
2171
+ },
2172
+ ],
2173
+ name: "swapExactSyForPt",
2174
+ outputs: [
2175
+ {
2176
+ internalType: "uint256",
2177
+ name: "netPtOut",
2178
+ type: "uint256",
2179
+ },
2180
+ {
2181
+ internalType: "uint256",
2182
+ name: "netSyFee",
2183
+ type: "uint256",
2184
+ },
2185
+ ],
2186
+ stateMutability: "nonpayable",
2187
+ type: "function",
2188
+ },
2189
+ {
2190
+ inputs: [
2191
+ {
2192
+ internalType: "address",
2193
+ name: "receiver",
2194
+ type: "address",
2195
+ },
2196
+ {
2197
+ internalType: "address",
2198
+ name: "market",
2199
+ type: "address",
2200
+ },
2201
+ {
2202
+ internalType: "uint256",
2203
+ name: "minPtOut",
2204
+ type: "uint256",
2205
+ },
2206
+ {
2207
+ components: [
2208
+ {
2209
+ internalType: "uint256",
2210
+ name: "guessMin",
2211
+ type: "uint256",
2212
+ },
2213
+ {
2214
+ internalType: "uint256",
2215
+ name: "guessMax",
2216
+ type: "uint256",
2217
+ },
2218
+ {
2219
+ internalType: "uint256",
2220
+ name: "guessOffchain",
2221
+ type: "uint256",
2222
+ },
2223
+ {
2224
+ internalType: "uint256",
2225
+ name: "maxIteration",
2226
+ type: "uint256",
2227
+ },
2228
+ {
2229
+ internalType: "uint256",
2230
+ name: "eps",
2231
+ type: "uint256",
2232
+ },
2233
+ ],
2234
+ internalType: "struct ApproxParams",
2235
+ name: "guessPtOut",
2236
+ type: "tuple",
2237
+ },
2238
+ {
2239
+ components: [
2240
+ {
2241
+ internalType: "address",
2242
+ name: "tokenIn",
2243
+ type: "address",
2244
+ },
2245
+ {
2246
+ internalType: "uint256",
2247
+ name: "netTokenIn",
2248
+ type: "uint256",
2249
+ },
2250
+ {
2251
+ internalType: "address",
2252
+ name: "tokenMintSy",
2253
+ type: "address",
2254
+ },
2255
+ {
2256
+ internalType: "address",
2257
+ name: "pendleSwap",
2258
+ type: "address",
2259
+ },
2260
+ {
2261
+ components: [
2262
+ {
2263
+ internalType: "enum SwapType",
2264
+ name: "swapType",
2265
+ type: "uint8",
2266
+ },
2267
+ {
2268
+ internalType: "address",
2269
+ name: "extRouter",
2270
+ type: "address",
2271
+ },
2272
+ {
2273
+ internalType: "bytes",
2274
+ name: "extCalldata",
2275
+ type: "bytes",
2276
+ },
2277
+ {
2278
+ internalType: "bool",
2279
+ name: "needScale",
2280
+ type: "bool",
2281
+ },
2282
+ ],
2283
+ internalType: "struct SwapData",
2284
+ name: "swapData",
2285
+ type: "tuple",
2286
+ },
2287
+ ],
2288
+ internalType: "struct TokenInput",
2289
+ name: "input",
2290
+ type: "tuple",
2291
+ },
2292
+ {
2293
+ components: [
2294
+ {
2295
+ internalType: "address",
2296
+ name: "limitRouter",
2297
+ type: "address",
2298
+ },
2299
+ {
2300
+ internalType: "uint256",
2301
+ name: "epsSkipMarket",
2302
+ type: "uint256",
2303
+ },
2304
+ {
2305
+ components: [
2306
+ {
2307
+ components: [
2308
+ {
2309
+ internalType: "uint256",
2310
+ name: "salt",
2311
+ type: "uint256",
2312
+ },
2313
+ {
2314
+ internalType: "uint256",
2315
+ name: "expiry",
2316
+ type: "uint256",
2317
+ },
2318
+ {
2319
+ internalType: "uint256",
2320
+ name: "nonce",
2321
+ type: "uint256",
2322
+ },
2323
+ {
2324
+ internalType: "enum IPLimitOrderType.OrderType",
2325
+ name: "orderType",
2326
+ type: "uint8",
2327
+ },
2328
+ {
2329
+ internalType: "address",
2330
+ name: "token",
2331
+ type: "address",
2332
+ },
2333
+ {
2334
+ internalType: "address",
2335
+ name: "YT",
2336
+ type: "address",
2337
+ },
2338
+ {
2339
+ internalType: "address",
2340
+ name: "maker",
2341
+ type: "address",
2342
+ },
2343
+ {
2344
+ internalType: "address",
2345
+ name: "receiver",
2346
+ type: "address",
2347
+ },
2348
+ {
2349
+ internalType: "uint256",
2350
+ name: "makingAmount",
2351
+ type: "uint256",
2352
+ },
2353
+ {
2354
+ internalType: "uint256",
2355
+ name: "lnImpliedRate",
2356
+ type: "uint256",
2357
+ },
2358
+ {
2359
+ internalType: "uint256",
2360
+ name: "failSafeRate",
2361
+ type: "uint256",
2362
+ },
2363
+ {
2364
+ internalType: "bytes",
2365
+ name: "permit",
2366
+ type: "bytes",
2367
+ },
2368
+ ],
2369
+ internalType: "struct Order",
2370
+ name: "order",
2371
+ type: "tuple",
2372
+ },
2373
+ {
2374
+ internalType: "bytes",
2375
+ name: "signature",
2376
+ type: "bytes",
2377
+ },
2378
+ {
2379
+ internalType: "uint256",
2380
+ name: "makingAmount",
2381
+ type: "uint256",
2382
+ },
2383
+ ],
2384
+ internalType: "struct FillOrderParams[]",
2385
+ name: "normalFills",
2386
+ type: "tuple[]",
2387
+ },
2388
+ {
2389
+ components: [
2390
+ {
2391
+ components: [
2392
+ {
2393
+ internalType: "uint256",
2394
+ name: "salt",
2395
+ type: "uint256",
2396
+ },
2397
+ {
2398
+ internalType: "uint256",
2399
+ name: "expiry",
2400
+ type: "uint256",
2401
+ },
2402
+ {
2403
+ internalType: "uint256",
2404
+ name: "nonce",
2405
+ type: "uint256",
2406
+ },
2407
+ {
2408
+ internalType: "enum IPLimitOrderType.OrderType",
2409
+ name: "orderType",
2410
+ type: "uint8",
2411
+ },
2412
+ {
2413
+ internalType: "address",
2414
+ name: "token",
2415
+ type: "address",
2416
+ },
2417
+ {
2418
+ internalType: "address",
2419
+ name: "YT",
2420
+ type: "address",
2421
+ },
2422
+ {
2423
+ internalType: "address",
2424
+ name: "maker",
2425
+ type: "address",
2426
+ },
2427
+ {
2428
+ internalType: "address",
2429
+ name: "receiver",
2430
+ type: "address",
2431
+ },
2432
+ {
2433
+ internalType: "uint256",
2434
+ name: "makingAmount",
2435
+ type: "uint256",
2436
+ },
2437
+ {
2438
+ internalType: "uint256",
2439
+ name: "lnImpliedRate",
2440
+ type: "uint256",
2441
+ },
2442
+ {
2443
+ internalType: "uint256",
2444
+ name: "failSafeRate",
2445
+ type: "uint256",
2446
+ },
2447
+ {
2448
+ internalType: "bytes",
2449
+ name: "permit",
2450
+ type: "bytes",
2451
+ },
2452
+ ],
2453
+ internalType: "struct Order",
2454
+ name: "order",
2455
+ type: "tuple",
2456
+ },
2457
+ {
2458
+ internalType: "bytes",
2459
+ name: "signature",
2460
+ type: "bytes",
2461
+ },
2462
+ {
2463
+ internalType: "uint256",
2464
+ name: "makingAmount",
2465
+ type: "uint256",
2466
+ },
2467
+ ],
2468
+ internalType: "struct FillOrderParams[]",
2469
+ name: "flashFills",
2470
+ type: "tuple[]",
2471
+ },
2472
+ {
2473
+ internalType: "bytes",
2474
+ name: "optData",
2475
+ type: "bytes",
2476
+ },
2477
+ ],
2478
+ internalType: "struct LimitOrderData",
2479
+ name: "limit",
2480
+ type: "tuple",
2481
+ },
2482
+ ],
2483
+ name: "swapExactTokenForPt",
2484
+ outputs: [
2485
+ {
2486
+ internalType: "uint256",
2487
+ name: "netPtOut",
2488
+ type: "uint256",
2489
+ },
2490
+ {
2491
+ internalType: "uint256",
2492
+ name: "netSyFee",
2493
+ type: "uint256",
2494
+ },
2495
+ {
2496
+ internalType: "uint256",
2497
+ name: "netSyInterm",
2498
+ type: "uint256",
2499
+ },
2500
+ ],
2501
+ stateMutability: "payable",
2502
+ type: "function",
2503
+ },
2504
+ ];
2505
+
2506
+ const _bytecode =
2507
+ "0x60808060405234610016576146ba908161001c8239f35b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c9081632a50917c1461005a575080633346d3a314610055578063594a88cc146100505763c81f847a1461004b57600080fd5b6104f9565b6102ff565b610166565b346100f6576101407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126100f657600435610096816100f9565b6024356100a2816100f9565b6100ab36610129565b90610124359367ffffffffffffffff85116100f657506100d26100e0943690600401610158565b9260643591604435916106d4565b60408051928352602083019190915290f35b0390f35b80fd5b73ffffffffffffffffffffffffffffffffffffffff81160361011757565b600080fd5b3590610127826100f9565b565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7c60a091011261011757608490565b908160a09103126101175790565b346101175760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610117576004356101a1816100f9565b602435906101ae826100f9565b6044359060843567ffffffffffffffff8111610117576101d2903690600401610158565b9273ffffffffffffffffffffffffffffffffffffffff808216916040517f2c8ce6bc000000000000000000000000000000000000000000000000000000008152606081600481875afa9081156102fa57610293977f3f5e2944826baeaed8eb77f0f74e6088a154a0fc1317f062fd984585607b473993610280896102989561028b956000916102c8575b5061027661027061026c87611afc565b1590565b85611bcb565b9089339116610a34565b886064359189611218565b979096610fd1565b610ffb565b916102a286610fd1565b6040805194855260208501919091529416933392a4604080519182526020820192909252f35b6102ea915060603d6060116102f3575b6102e28183610651565b810190610692565b5090503861025c565b503d6102d8565b6106c8565b346101175760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126101175760043561033a816100f9565b60243590610347826100f9565b6044356064359267ffffffffffffffff938481116101175761036d903690600401610158565b9360843590811161011757610386903690600401610158565b9173ffffffffffffffffffffffffffffffffffffffff9384831690604051947f2c8ce6bc000000000000000000000000000000000000000000000000000000008652606086600481865afa9687156102fa5761046261029361045c61045661044c7fd3c1d9b397236779b29ee5b5b150c1110fc8221b6b6ec0be49c9f4860ceb2036968a8f9e88906100f29f8f84906000926000946104cd575b509261043a610444939461043389611afc565b1590611bcb565b9085339116610a34565b169c8d61108c565b9d90809b896115a8565b9a6107fe565b96610fd1565b946104ad876104708b610fd1565b60405194859416983397859094939260609273ffffffffffffffffffffffffffffffffffffffff6080840197168352602083015260408201520152565b0390a4604051938493846040919493926060820195825260208201520152565b61043a945061044493506104ef9060603d6060116102f3576102e28183610651565b5094909350610420565b6101407ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261011757600435610530816100f9565b60243561053c816100f9565b60a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c3601126101175767ffffffffffffffff906101043582811161011757610589903690600401610158565b61012435928311610117576100f2936105a96105b3943690600401610158565b9260443591610808565b604080519384526020840192909252908201529081906060820190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b67ffffffffffffffff811161061357604052565b6105d0565b610120810190811067ffffffffffffffff82111761061357604052565b6040810190811067ffffffffffffffff82111761061357604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff82111761061357604052565b908160609103126101175780516106a8816100f9565b91604060208301516106b9816100f9565b9201516106c5816100f9565b90565b6040513d6000823e3d90fd5b9295939190956106e48684610939565b6107eb5773ffffffffffffffffffffffffffffffffffffffff9586881693604051927f2c8ce6bc000000000000000000000000000000000000000000000000000000008452606084600481895afa80156102fa577f3f5e2944826baeaed8eb77f0f74e6088a154a0fc1317f062fd984585607b47399a61078c878c8194610792996000916107ca575b5061078361077d61026c8b611afc565b86611bcb565b91339116610a34565b88610e6e565b969096956107ab6102936107a58a610fd1565b94610fd1565b604080519485526020850191909152941693339290819081015b0390a4565b6107e3915060603d6060116102f3576102e28183610651565b50503861076d565b93959150916107fa9450610994565b9091565b356106c5816100f9565b9394919492909261081881610921565b61090c5773ffffffffffffffffffffffffffffffffffffffff9485851691604051907f2c8ce6bc000000000000000000000000000000000000000000000000000000008252606082600481875afa9889156102fa576108be867fd3c1d9b397236779b29ee5b5b150c1110fc8221b6b6ec0be49c9f4860ceb20369b6108c6956000916108eb575b508b6108b66108b061026c88611afc565b8d611bcb565b9116906118e5565b809885610c26565b97909796886107c58861047061029360206108e361045c8c6107fe565b9a0135610fd1565b610904915060603d6060116102f3576102e28183610651565b50503861089f565b509161091a939491946117aa565b9192909190565b60a43515908161092f575090565b6106c59150611afc565b6040013515908161092f575090565b1561094f57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b9190826040910312610117576020825192015190565b92919092604051937f40a169f900000000000000000000000000000000000000000000000000000000602086015273ffffffffffffffffffffffffffffffffffffffff8092166024860152166044840152606483015260848201526084815260c081019080821067ffffffffffffffff83111761061357610a1e610a25916107fa93604052611b95565b9190610948565b6020808251830101910161097e565b92919082610a43575b50505050565b610a4c93611bd6565b38808080610a3d565b6040519061012782610618565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9c60a0910112610117576040519060a0820182811067ffffffffffffffff82111761061357604052816064358152608435602082015260a435604082015260c4356060820152608060e435910152565b91908260a09103126101175760405160a0810181811067ffffffffffffffff821117610613576040526080808294803584526020810135602085015260408101356040850152606081013560608501520135910152565b604051600081526020810181811067ffffffffffffffff8211176106135760405290565b60005b838110610b605750506000910152565b8181015183820152602001610b50565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602093610bac81518092818752878088019101610b4d565b0116010190565b6106c5939273ffffffffffffffffffffffffffffffffffffffff60609316825260208201528160408201520190610b70565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b91908201809211610c2157565b610be5565b94929060009560009573ffffffffffffffffffffffffffffffffffffffff90818416936040968751907f2c8ce6bc0000000000000000000000000000000000000000000000000000000082526060826004818a5afa9384156102fa57600092600095610e45575b508195600193610c9f61026c84611afc565b610df7575b50505050610d1c575b50505050508410610cbb5750565b517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f50545f4f55540000006044820152606490fd5b0390fd5b8692610d9196999a959492610d3c610d36610d4e94612802565b91612900565b91610d4636610a62565b924292612985565b5092836000610d5b610b29565b938551988995869485937f5b709f1700000000000000000000000000000000000000000000000000000000855260048501610bb3565b03925af19081156102fa57610db993600092610dc4575b50610db39192610c14565b95610c14565b923880808080610cad565b610db39250610de890863d8811610df0575b610de08183610651565b81019061097e565b905091610da8565b503d610dd6565b929c509250929b50610e0e93945016988985612383565b93929a919984919a9b83878297600014610e355750610e2c9261267e565b38808080610ca4565b9050610e409261267e565b610e2c565b909450610e6291925060603d6060116102f3576102e28183610651565b92919050919338610c8d565b95939592919260009660009673ffffffffffffffffffffffffffffffffffffffff808516946040978851907f2c8ce6bc0000000000000000000000000000000000000000000000000000000082526060826004818b5afa9485156102fa57600092600096610fa8575b508194600193610ee961026c84611afc565b610f5f575b50505050610f06575b5050505050508410610cbb5750565b92610f3296999a959492610d4e92610d46610f2a610f248c98612802565b93612900565b933690610ad2565b03925af19081156102fa57610f5393600092610dc45750610db39192610c14565b92388080808080610ef7565b929d509250929c50610f75935016998a86612383565b919b909a9091908383888415610f985750610f8f9261267e565b38808080610eee565b9050610fa39261267e565b610f8f565b909550610fc591925060603d6060116102f3576102e28183610651565b92919050919438610ed7565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81116101175790565b9081600003918083057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1490151715610c2157565b90670de0b6b3a764000091828102928184051490151715610c2157565b8181029291600082127f8000000000000000000000000000000000000000000000000000000000000000821416610c21578184051490151715610c2157565b90939160009460009473ffffffffffffffffffffffffffffffffffffffff9182811693604051927f2c8ce6bc000000000000000000000000000000000000000000000000000000008452606084600481895afa9384156102fa576000946111f4575b50819460019461110061026c84611afc565b6111ac575b505050505061111357505050565b9160409161115e949596936000611128610b29565b938551978895869485937f29910b1100000000000000000000000000000000000000000000000000000000855260048501610bb3565b03925af180156102fa576106c592600090600092611188575b506111829192610c14565b93610c14565b61118292506111a6915060403d604011610df057610de08183610651565b91611177565b92995092995092506111c2935016958685612383565b919790969083908684156111e457506111da9261267e565b3880808080611105565b90506111ef9261267e565b6111da565b61120e91945060603d6060116102f3576102e28183610651565b50905092386110ee565b9492909460009560009573ffffffffffffffffffffffffffffffffffffffff90818316926040968751927f2c8ce6bc000000000000000000000000000000000000000000000000000000008452606084600481895afa9384156102fa576000946113b1575b50819460019461128f61026c84611afc565b611369575b5050505050611307575b50505084106112aa5750565b517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f53595f4f55540000006044820152606490fd5b91849161131b949798936000611128610b29565b03925af180156102fa5761133e926000906000926113475750610db39192610c14565b9238808061129e565b610db392506113639150853d8711610df057610de08183610651565b91610da8565b929b50929b50925061137f935016978885612383565b919990989083908684156113a157506113979261267e565b3880808080611294565b90506113ac9261267e565b611397565b6113cb91945060603d6060116102f3576102e28183610651565b509050923861127d565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8181360301821215610117570190565b600b111561011757565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600b111561144b57565b611412565b356106c581611408565b600091031261011757565b90357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18236030181121561011757016020813591019167ffffffffffffffff821161011757813603831361011757565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b8015150361011757565b90813561150a81611408565b600b81101561144b57815273ffffffffffffffffffffffffffffffffffffffff6020830135611538816100f9565b1660208201526060806115626115516040860186611465565b6080604087015260808601916114b5565b93013561156e816114f4565b151591015290565b6106c5939273ffffffffffffffffffffffffffffffffffffffff606093168252602082015281604082015201906114fe565b939293608085016115c16115bc82886113d5565b611450565b6115ca81611441565b8061164a5750506020926115df928692612aee565b925b013582106115eb57565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f536c6970706167653a20494e53554646494349454e545f544f4b454e5f4f55546044820152606490fd5b8061165b6003929895969498611441565b036116a65750611672826116a19260209530612aee565b809561169382611684604087016107fe565b61168d876107fe565b90612be5565b61169c846107fe565b61267e565b6115e1565b906116ce6116ce6116c8856116e79460608201986116c38a6107fe565b612aee565b956107fe565b73ffffffffffffffffffffffffffffffffffffffff1690565b6116fd6116f6604085016107fe565b92846113d5565b90803b15610117576117439460008094604051978895869485937f2bdb823c00000000000000000000000000000000000000000000000000000000855260048501611576565b03925af19182156102fa57602092611776575b506116a161176b611766836107fe565b612b7c565b809561169c846107fe565b80611783611789926105ff565b8061145a565b38611756565b90816060910312610117578051916040602083015192015190565b9291604051937ffeb9d1d200000000000000000000000000000000000000000000000000000000602086015273ffffffffffffffffffffffffffffffffffffffff92838092166024870152166044850152606484015260806084840152808235611813816100f9565b1660a4840152602082013560c4840152806040830135611832816100f9565b1660e48401526060820135611846816100f9565b1661010483015260808101357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff818236030181121561011757826118d1816118a5610a1e946118d69660a061012461091a9a0152610144840191016114fe565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282610651565b611b95565b6020808251830101910161178f565b608083019392916118f685846113d5565b3561190081611408565b60009061190c81611441565b806119395750506106c5939450611922836107fe565b611933602085013580923390612d10565b91612d4e565b80611945600392611441565b0361198457506106c593945061195a836107fe565b61196b602085013580923390612d10565b61193381611978866107fe565b61168d604088016107fe565b73ffffffffffffffffffffffffffffffffffffffff6119a2856107fe565b16611a7b576119b46020850135612caa565b6119c66116ce6116ce606087016107fe565b956119d36116ce866107fe565b611a74576020850135965b6119f16119ea876107fe565b92876113d5565b91813b15611a7057611a3997986040518099819582947f2bdb823c00000000000000000000000000000000000000000000000000000000845260208c01359060048501611576565b03925af19384156102fa576106c594611a5d575b50611933611766604085016107fe565b80611783611a6a926105ff565b38611a4d565b8380fd5b81966119de565b611aa3611a8a6116ce866107fe565b611a96606087016107fe565b6020870135913390610a34565b6119b4565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610117570180359067ffffffffffffffff821161011757602001918160051b3603831361011757565b611b096040820182611aa8565b9050159081611b16575090565b611b2591506060810190611aa8565b90501590565b67ffffffffffffffff811161061357601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b3d15611b90573d90611b7682611b2b565b91611b846040519384610651565b82523d6000602084013e565b606090565b60008091602081519101305af490611bab611b65565b90821580611bc3575b611bba57565b50805190602001fd5b506001611bb4565b90156106c557503090565b9290604051927f23b872dd00000000000000000000000000000000000000000000000000000000602085015273ffffffffffffffffffffffffffffffffffffffff809216602485015216604483015260648201526064815260a081019181831067ffffffffffffffff8411176106135761012792604052612e1b565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe181360301821215610117570180359067ffffffffffffffff82116101175760200191813603831361011757565b6080818303126101175780519260208201519260408301519260608101519067ffffffffffffffff8211610117570181601f82011215610117578051611ce881611b2b565b92611cf66040519485610651565b81845260208284010111610117576106c59160208085019101610b4d565b6004111561011757565b359061012782611d14565b90600482101561144b5752565b9594929093919360a0948060a0890160a08a525260c09560c089019260c08360051b8b01019781946000925b858410611ddf57505050505050509185949391611d9e611dd19460206106c599019073ffffffffffffffffffffffffffffffffffffffff169052565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff604087015285830360608701526114b5565b916080818403910152610b70565b909192939495997fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff408d82030183528a357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18336030181121561011757820160609080357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8182360301811215610117578101928281528335838201526020938493608091858101358385015260409283928d84840135908701528201611ea390611d1e565b8b8601611eaf91611d29565b8101611eba9061011c565b9060e091828601611edf9173ffffffffffffffffffffffffffffffffffffffff169052565b611eea818e0161011c565b61010090818701611f0f9173ffffffffffffffffffffffffffffffffffffffff169052565b611f1a828d0161011c565b9261012093848801611f409173ffffffffffffffffffffffffffffffffffffffff169052565b8201611f4b9061011c565b61014090818801611f709173ffffffffffffffffffffffffffffffffffffffff169052565b610160918301358288015261018093830135848801528201356101a08701528101611f9a91611465565b90916101c08601526101e0850190611fb1926114b5565b611fbd85870186611465565b85830388870152611fce92916114b5565b9301359101529b0196959460010193920190611d62565b959391979694929060a0988060a0890160a08a525260c09960c089019260c08360051b8b01019b81946000925b858410612060575050505050505091611dd1939161204e6106c5989994602089019073ffffffffffffffffffffffffffffffffffffffff169052565b604087015285830360608701526114b5565b9091929394959d8e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff408e8303018452357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18336030181121561011757820160609080357ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8182360301811215610117578101928281528335838201526020938493608091858101358385015260409283928d8484013590870152820161212490611d1e565b8b860161213091611d29565b810161213b9061011c565b9060e0918286016121609173ffffffffffffffffffffffffffffffffffffffff169052565b61216b818e0161011c565b610100908187016121909173ffffffffffffffffffffffffffffffffffffffff169052565b61219b828d0161011c565b92610120938488016121c19173ffffffffffffffffffffffffffffffffffffffff169052565b82016121cc9061011c565b610140908188016121f19173ffffffffffffffffffffffffffffffffffffffff169052565b610160918301358288015261018093830135848801528201356101a0870152810161221b91611465565b90916101c08601526101e0850190612232926114b5565b61223e85870186611465565b8583038887015261224f92916114b5565b9301359101529f0196959460010193920190612012565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8201918211610c2157565b91908203918211610c2157565b90156122d9578035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa181360301821215610117570190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9035907ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8181360301821215610117570190565b356106c581611d14565b929360609291959461235b856080810198611d29565b73ffffffffffffffffffffffffffffffffffffffff8093166020860152604085015216910152565b919390936000936000809461239a6116ce846107fe565b8498604085016123aa8187611aa8565b9050612591575b505060608401916123c28386611aa8565b90506123eb575b50505050670de0b6b3a76400009160206123e592013590613134565b04841190565b918394979998929184928a9795612402848c611aa8565b61240b916122a0565b8061241591612308565b60a001612421906107fe565b9161242c858d611aa8565b612435916122a0565b8061243f91612308565b60600161244b9061233b565b94612456908d611aa8565b9161246460808f018f611c52565b9c909760405192839288602085019361247c94612345565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0810182526124ac9082610651565b6040517f6122b1730000000000000000000000000000000000000000000000000000000081529b8c97889687956124e69560048801611d36565b039273ffffffffffffffffffffffffffffffffffffffff165af19384156102fa57670de0b6b3a76400009484602093612553936123e59792809461255c575b505061254761254084878061254d969751830101910161097e565b9092610c14565b9a612293565b99610c14565b959282946123c9565b612540945061254d935061254791612585913d8091833e61257d8183610651565b810190611ca3565b96925090509350612525565b839a508499508692985092849373ffffffffffffffffffffffffffffffffffffffff92836125be896107fe565b9116906125ca91612f6a565b6125d49087611aa8565b909a906125e46080890189611c52565b6125ef9d919d610b29565b906040519e8f98899788967f6122b173000000000000000000000000000000000000000000000000000000008852600488019661262b97611fe5565b03928a165af19687156102fa578182978399612657575b5061264e909785612293565b979538806123b1565b905061264e98506126739197503d8084833e61257d8183610651565b509890979190612642565b821561277e5773ffffffffffffffffffffffffffffffffffffffff16806127175750600080809381935af16126b1611b65565b50156126b957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6574682073656e64206661696c656400000000000000000000000000000000006044820152fd5b6040517fa9059cbb00000000000000000000000000000000000000000000000000000000602082015273ffffffffffffffffffffffffffffffffffffffff92909216602483015260448083019390935291815261012791612779606483610651565b612e1b565b505050565b5190610127826100f9565b9081610120910312610117576127a2610a55565b908051825260208101516020830152604081015160408301526127c760608201612783565b60608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e0830152610100809101519082015290565b6101009060405161281281610618565b60009281848093528260208201528260408201528260608201528260808201528260a08201528260c08201528260e0820152015260405180917f794052f30000000000000000000000000000000000000000000000000000000082526101209182918173ffffffffffffffffffffffffffffffffffffffff816128b5306004830191909173ffffffffffffffffffffffffffffffffffffffff6020820193169052565b0392165afa9283156102fa57926128cb57505090565b6106c59250803d106128ea575b6128e28183610651565b81019061278e565b503d6128d8565b90816020910312610117575190565b602073ffffffffffffffffffffffffffffffffffffffff600460009360405194859384927f1d52edc4000000000000000000000000000000000000000000000000000000008452165af19081156102fa5760009161295c575090565b6106c5915060203d60201161297e575b6129768183610651565b8101906128f1565b503d61296c565b92612996909591949295858561317d565b604083015115612ac4575b6129aa83613404565b936000945b6060850151861015612ab7576129c78188858561344e565b509091908987818511612aa1576129e49150608001518b856135a5565b612a93575085518114612a2a578589928282525b60028911612a1557600193612a0c93613604565b955b01946129af565b5060019250612a2491506135e3565b95612a0e565b5050505050505050505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536c6970706167653a20415050524f585f4558484155535445440000000000006044820152606490fd5b985095505050509250509190565b915092612aad83612266565b60208301526129f8565b5050505050505050612a34565b60208301612ade8151612ad88751856132d3565b90613367565b9052612ae983613379565b6129a1565b60a49060006020949560409473ffffffffffffffffffffffffffffffffffffffff809681930135612b1e816100f9565b604051998a9889977f769f8e5d000000000000000000000000000000000000000000000000000000008952166004880152602487015216604485015282606485015260016084850152165af19081156102fa5760009161295c575090565b73ffffffffffffffffffffffffffffffffffffffff1680612b9c57504790565b6020602491604051928380927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa9081156102fa5760009161295c575090565b73ffffffffffffffffffffffffffffffffffffffff9190821680612c57575016803b15610117576000906004604051809481937fd0e30db00000000000000000000000000000000000000000000000000000000083525af180156102fa57612c4a5750565b80611783610127926105ff565b915050803b15610117576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092526000908290602490829084905af180156102fa57612c4a5750565b3403612cb257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b90919073ffffffffffffffffffffffffffffffffffffffff1680612d39575090503403612cb257565b81612d4357505050565b610127923091611bd6565b6084906040602094950135612d62816100f9565b73ffffffffffffffffffffffffffffffffffffffff8094818316978815600014612dfb57612da481945b612d95816100f9565b612d9f8482612f6a565b6100f9565b60405198899788967f20e8c5650000000000000000000000000000000000000000000000000000000088521660048701526024860152604485015260016064850152165af19081156102fa5760009161295c575090565b612da4600094612d8c565b9081602091031261011757516106c5816114f4565b604051612e869173ffffffffffffffffffffffffffffffffffffffff16612e4182610635565b6000806020958685527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656487860152868151910182855af1612e80611b65565b9161412b565b805190828215928315612f23575b50505015612e9f5750565b608490604051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b612f339350820181019101612e06565b388281612e94565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b919073ffffffffffffffffffffffffffffffffffffffff9283811693841561312d576040519485917fdd62ed3e0000000000000000000000000000000000000000000000000000000083523060048401528416602483015281604460209788935afa80156102fa576b7fffffffffffffffffffffff91600091613110575b5010612ff5575b50509050565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000085820190815273ffffffffffffffffffffffffffffffffffffffff841660248301526000604483018190529182919061305581606481016118a5565b519082855af1613063611b65565b816130e0575b50156130825761307a929350613634565b803880612fef565b606484604051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152600c60248201527f5361666520417070726f766500000000000000000000000000000000000000006044820152fd5b805180159250869083156130f8575b50505038613069565b6131089350820181019101612e06565b3885816130ef565b6131279150863d881161297e576129768183610651565b38612fe8565b5050509050565b81810292918115918404141715610c2157565b604051906080820182811067ffffffffffffffff8211176106135760405260006060838281528260208201528260408201520152565b929192613188613147565b9360a08201613198828251111590565b613251576131c2916131aa9151612293565b926131b584846137b3565b865260208301519061383b565b6020850190808252825180158015613249575b61320e575050816131fb8460c093613207969551906101008501519051908a51926138be565b60408701520151613970565b6060830152565b6040517fb1c4aefb00000000000000000000000000000000000000000000000000000000815260048101919091526024810191909152604490fd5b5081156131d5565b60046040517fb2094b59000000000000000000000000000000000000000000000000000000008152fd5b90670de0b6b3a764000060008382039312818412811691841390151617610c2157565b81810392916000138015828513169184121617610c2157565b91909160008382019384129112908015821691151617610c2157565b906133016133076132ed606085015160408601519061329e565b670de0b6b3a764000092839186519061104d565b05613a50565b928184019082821260008612908015821691151617610c215761333e60206133356133449461334b98613e2d565b920151856132b7565b9061104d565b059061329e565b6103e790818102918183041490151715610c21576103e8900490565b9080821015613374575090565b905090565b80516020820151109081156133ee575b5061339057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f496e7465726e616c3a20494e56414c49445f415050524f585f504152414d53006044820152fd5b670de0b6b3a76400009150608001511138613389565b6040810180519091901561341757505190565b6106c591506135e3565b7f80000000000000000000000000000000000000000000000000000000000000008114610c215760000390565b9091939261346b8183516020860151865190604088015192613eaf565b600060606134846102938461347f87611030565b6139ca565b950151921315613564578161347f61349b92611030565b670de0b6b3a76400008112613531575060e093926135106134f561351c946134ef6134e86134e26134d76134d16135169961327b565b886139d4565b9a8b945b0151610fd1565b8361104d565b6064900590565b9361329e565b6000811215613521576135089088614068565b955b87613fd9565b95613fd9565b92613421565b929190565b61352b9088613fd9565b9561350a565b6040517fca78c8a40000000000000000000000000000000000000000000000000000000081526004810191909152602490fd5b5060e093926135106134f561351c946134ef6134e86134e261359d610293896135986135926135169c61327b565b8b61104d565b61375e565b9a8b946134db565b90918282111592836135b8575b50505090565b90919250670de0b6b3a7640000918203828111610c21576135d891613134565b0411153880806135b2565b602081519101518101809111610c215760018101809111610c215760011c90565b9061360e91613134565b811561362f5704906020810151821015613417578051821115613417575090565b612f3b565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff604482015260009283929183906136b781606481016118a5565b51925af16136c3611b65565b8161372f575b50156136d157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5361666520417070726f766500000000000000000000000000000000000000006044820152fd5b8051801592508215613744575b5050386136c9565b6137579250602080918301019101612e06565b388061373c565b811561362f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82147f8000000000000000000000000000000000000000000000000000000000000000821416610c21570590565b60800151906301e1338091828102928184051490151715610c21577f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111610117576137fe9161375e565b90600082131561380a57565b602482604051907f1ca418760000000000000000000000000000000000000000000000000000000082526004820152fd5b613882670de0b6b3a764000091600084126000146138b35761387d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94613e36565b613134565b047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111610117576106c59161104d565b61387d600194613e36565b91936138cf906301e1338092613134565b047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81116101175761390090613a50565b92670de0b6b3a7640000841261393f579161393461392f836139296106c59796613939966132b7565b90613e2d565b613e4b565b613e2d565b9061329e565b602484604051907fca78c8a40000000000000000000000000000000000000000000000000000000082526004820152fd5b6301e133809161397f91613134565b047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111610117576106c590613a50565b801561362f576ec097ce7bc90715b34b9f10000000000590565b811561362f570590565b670de0b6b3a7640000916139e79161104d565b0590565b156139f257565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c6964206578706f6e656e74000000000000000000000000000000006044820152fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffdc702bd3a30fc000081121580613e1a575b613a83906139eb565b60008112613e05576064906806f05b59d3b20000008112613da2577ffffffffffffffffffffffffffffffffffffffffffffffff90fa4a62c4e0000000168056bc75e2d6310000082770195e54c5dd42177f53a27172fa9ec630262827000000000925b02819068ad78ebc5ac62000000811215613d69575b806856bc75e2d63100000084921215613d2f575b682b5e3af16b18800000811215613cf7575b6815af1d78b58c400000811215613cbf575b680ad78ebc5ac6200000811215613c88575b81811215613c51575b6802b5e3af16b1880000811215613c1a575b68015af1d78b58c40000811215613be3575b60028282800205056003838383020505600484848302050560058585830205056006868683020505600787878302050590600888888402050592600989898602050594600a8a8a8802050596600b8b8b8a02050598600c8c8c8c0205059a0101010101010101010101010205020590565b6806f5f17757889379377ffffffffffffffffffffffffffffffffffffffffffffffffea50e2874a73c000083920193020591613b72565b6808f00f760a4b2db55d7ffffffffffffffffffffffffffffffffffffffffffffffffd4a1c50e94e78000083920193020591613b60565b680ebc5fb417461211107ffffffffffffffffffffffffffffffffffffffffffffffffa9438a1d29cf0000083920193020591613b4e565b68280e60114edb805d037ffffffffffffffffffffffffffffffffffffffffffffffff5287143a539e0000083920193020591613b45565b690127fa27722cc06cc5e27fffffffffffffffffffffffffffffffffffffffffffffffea50e2874a73c0000083920193020591613b33565b693f1fce3da636ea5cf8507fffffffffffffffffffffffffffffffffffffffffffffffd4a1c50e94e780000083920193020591613b21565b6b02df0ab5a80a22c61ab5a7007fffffffffffffffffffffffffffffffffffffffffffffffa9438a1d29cf00000083920193020591613b0f565b6e01855144814a7ff805980ff008400091507fffffffffffffffffffffffffffffffffffffffffffffff5287143a539e00000001613afb565b6803782dace9d90000008112613df2577ffffffffffffffffffffffffffffffffffffffffffffffffc87d25316270000000168056bc75e2d63100000826b1425982cf597cd205cef738092613ae6565b68056bc75e2d6310000082600192613ae6565b613e1190600003613a50565b6106c5906139b0565b5068070c1cc73b00c80000811315613a7a565b6139ca90611030565b6000811315613e425790565b6106c590613421565b670de0b6b3a764000090818114613e855780820391600082128015828513169184121617610c21576106c591613e8091613e2d565b6141f7565b60046040517fa9c8b14d000000000000000000000000000000000000000000000000000000008152fd5b90919493808212613f7b57613ed192613ecb613929928461329e565b926132b7565b92670d529ae9e86000008413613f3b57613ef290613934613ef79495613e4b565b6132b7565b90670de0b6b3a76400008212613f0957565b6040517fca78c8a400000000000000000000000000000000000000000000000000000000815260048101839052602490fd5b6040517ffc68d09e00000000000000000000000000000000000000000000000000000000815260048101859052670d529ae9e86000006024820152604490fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f6e656761746976650000000000000000000000000000000000000000000000006044820152fd5b600082121561405d5761400c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92613e36565b670de0b6b3a764000090818102918183041490151715610c2157811561362f57047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111610117576106c59161104d565b61400c600192613e36565b60008212156141205761409b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92613e36565b670de0b6b3a764000090818102918183041490151715610c2157818101809111610c21577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908111610c2157811561362f57047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8111610117576106c59161104d565b61409b600192613e36565b919290156141a6575081511561413f575090565b3b156141485790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b8251909150156141b95750805190602001fd5b610d18906040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352602060048401526024830190610b70565b60008113156142da5780670c7d713b49da000012806142c9575b156142c057670de0b6b3a7640000906ec097ce7bc90715b34b9f100000000090614264908302828101907fffffffffffffffffffffffffffffffffff3f68318436f8ea4cb460f0000000000183026139ca565b9080828002059181838202058284820205838582020591848684020593858786020595808888020597880205600f900596600d900595600b900594600990059360079005926005900591600390050101010101010160011b0590565b6106c590614338565b50670f43fc2c04ee00008112614211565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6f7574206f6620626f756e6473000000000000000000000000000000000000006044820152fd5b670de0b6b3a7640000811261466d5760649060007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c0000000000000821215614642575b73011798004d755d3c8bc8e03204cf44619e000000821215614621575b820290808302906e01855144814a7ff805980ff008400090818312156145fe575b50506b02df0ab5a80a22c61ab5a700808212156145de575b50693f1fce3da636ea5cf850808212156145be575b50690127fa27722cc06cc5e28082121561459e575b5068280e60114edb805d038082121561457e575b50680ebc5fb4174612111080821215614567575b506808f00f760a4b2db55d80821215614547575b506806f5f177578893793780821215614527575b506806248f33704b28660380821215614508575b506805c548670b9510e7ac808212156144e9575b506144a868056bc75e2d6310000091827ffffffffffffffffffffffffffffffffffffffffffffffffa9438a1d29cf000008183019201026139ca565b9080828002059181838202058284820205916003600560076009600b888a89020598808b8b02059a8b0205059805960594059205010101010160011b010590565b68056bc75e2d631000006756bc75e2d63100009202059101903861446c565b68056bc75e2d6310000067ad78ebc5ac62000092020591019038614458565b68056bc75e2d6310000068015af1d78b58c4000092020591019038614444565b68056bc75e2d631000006802b5e3af16b188000092020591019038614430565b68056bc75e2d63100000809202059101903861441c565b68056bc75e2d63100000680ad78ebc5ac620000092020591019038614408565b68056bc75e2d631000006815af1d78b58c400000920205910190386143f4565b68056bc75e2d63100000682b5e3af16b18800000920205910190386143df565b68056bc75e2d631000006856bc75e2d631000000920205910190386143ca565b68ad78ebc5ac62000000925069021e19e0c9bab2400000020591019038806143b2565b906b1425982cf597cd205cef73806803782dace9d900000091059101614391565b50770195e54c5dd42177f53a27172fa9ec63026282700000000090056806f05b59d3b2000000614374565b61467961467e916139b0565b614338565b6000039056fea26469706673582212207e505e2c21e38a65b9873a964d87896b7eb3c2720a776db1231106d56dbc137b64736f6c63430008170033";
2508
+
2509
+ type ActionSwapPTV3ConstructorParams =
2510
+ | [signer?: Signer]
2511
+ | ConstructorParameters<typeof ContractFactory>;
2512
+
2513
+ const isSuperArgs = (
2514
+ xs: ActionSwapPTV3ConstructorParams
2515
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
2516
+
2517
+ export class ActionSwapPTV3__factory extends ContractFactory {
2518
+ constructor(...args: ActionSwapPTV3ConstructorParams) {
2519
+ if (isSuperArgs(args)) {
2520
+ super(...args);
2521
+ } else {
2522
+ super(_abi, _bytecode, args[0]);
2523
+ }
2524
+ this.contractName = "ActionSwapPTV3";
2525
+ }
2526
+
2527
+ deploy(
2528
+ overrides?: Overrides & { from?: string | Promise<string> }
2529
+ ): Promise<ActionSwapPTV3> {
2530
+ return super.deploy(overrides || {}) as Promise<ActionSwapPTV3>;
2531
+ }
2532
+ getDeployTransaction(
2533
+ overrides?: Overrides & { from?: string | Promise<string> }
2534
+ ): TransactionRequest {
2535
+ return super.getDeployTransaction(overrides || {});
2536
+ }
2537
+ attach(address: string): ActionSwapPTV3 {
2538
+ return super.attach(address) as ActionSwapPTV3;
2539
+ }
2540
+ connect(signer: Signer): ActionSwapPTV3__factory {
2541
+ return super.connect(signer) as ActionSwapPTV3__factory;
2542
+ }
2543
+ static readonly contractName: "ActionSwapPTV3";
2544
+ public readonly contractName: "ActionSwapPTV3";
2545
+ static readonly bytecode = _bytecode;
2546
+ static readonly abi = _abi;
2547
+ static createInterface(): ActionSwapPTV3Interface {
2548
+ return new utils.Interface(_abi) as ActionSwapPTV3Interface;
2549
+ }
2550
+ static connect(
2551
+ address: string,
2552
+ signerOrProvider: Signer | Provider
2553
+ ): ActionSwapPTV3 {
2554
+ return new Contract(address, _abi, signerOrProvider) as ActionSwapPTV3;
2555
+ }
2556
+ }