@pendle/core-v2 5.3.1 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +0 -37
  3. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +0 -115
  6. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +0 -37
  8. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  9. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +0 -37
  10. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +0 -37
  12. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  13. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +0 -37
  14. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +0 -179
  16. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  18. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +0 -257
  19. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.json +0 -37
  25. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +0 -37
  27. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +0 -37
  29. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  31. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  32. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  33. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  34. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  35. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  37. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  38. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  39. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  40. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  41. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  42. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -39
  43. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  45. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +4 -0
  46. package/build/artifacts/contracts/{router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.json → offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json} +4 -4
  47. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +4 -0
  48. package/build/artifacts/contracts/{router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.json → offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json} +4 -4
  49. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -39
  52. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  53. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -117
  54. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  55. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -39
  56. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  57. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -39
  58. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  59. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -39
  60. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -181
  62. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  63. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  64. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  65. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  66. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  67. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  68. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  69. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  70. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  71. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  73. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  75. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +4 -0
  76. package/build/artifacts/contracts/router/math/{MarketApproxLib.sol/MarketApproxPtInLib.json → MarketApproxLibV2.sol/MarketApproxPtInLibV2.json} +4 -4
  77. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +4 -0
  78. package/build/artifacts/contracts/router/math/{MarketApproxLib.sol/MarketApproxPtOutLib.json → MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json} +4 -4
  79. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  80. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  84. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +1 -1
  85. package/contracts/interfaces/IPActionMarketAuxStatic.sol +2 -1
  86. package/contracts/interfaces/IPActionMiscV3.sol +1 -7
  87. package/contracts/interfaces/IPActionStorageStatic.sol +1 -1
  88. package/contracts/interfaces/IPActionSwapPTV3.sol +1 -1
  89. package/contracts/interfaces/IPActionSwapYTV3.sol +1 -17
  90. package/contracts/interfaces/IPActionVePendleStatic.sol +1 -0
  91. package/contracts/interfaces/IPAllEventsV3.sol +0 -8
  92. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +2 -2
  93. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +8 -7
  94. package/contracts/{router/math/MarketApproxLib.sol → offchain-helpers/router-static/base/MarketApproxLibV1.sol} +13 -13
  95. package/contracts/offchain-helpers/router-static/base/StorageLayout.sol +1 -1
  96. package/contracts/router/ActionAddRemoveLiqV3.sol +4 -4
  97. package/contracts/router/ActionMiscV3.sol +0 -14
  98. package/contracts/router/ActionSwapYTV3.sol +2 -65
  99. package/contracts/router/base/ActionBase.sol +5 -6
  100. package/contracts/router/math/MarketApproxLibV2.sol +479 -0
  101. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +8 -1
  102. package/contracts/router/swap-aggregator/PendleSwap.sol +0 -2
  103. package/deployments/1-core.json +5 -5
  104. package/package.json +1 -1
  105. package/typechain-types/ActionAddRemoveLiqV3.ts +2000 -0
  106. package/typechain-types/ActionInfoStatic.ts +310 -0
  107. package/typechain-types/ActionMarketAuxStatic.ts +903 -0
  108. package/typechain-types/ActionMarketCoreStatic.ts +1974 -0
  109. package/typechain-types/ActionMintRedeemStatic.ts +435 -0
  110. package/typechain-types/ActionMiscV3.ts +2213 -0
  111. package/typechain-types/ActionSimple.ts +1544 -0
  112. package/typechain-types/ActionStorageStatic.ts +1345 -0
  113. package/typechain-types/ActionStorageV4.ts +1270 -0
  114. package/typechain-types/ActionSwapPTV3.ts +1507 -0
  115. package/typechain-types/ActionSwapYTV3.ts +1507 -0
  116. package/typechain-types/ActionVePendleStatic.ts +113 -0
  117. package/typechain-types/IKyberScalingHelper.ts +108 -0
  118. package/typechain-types/IOdosRouterV2.ts +147 -0
  119. package/typechain-types/IPActionAddRemoveLiqV3.ts +2000 -0
  120. package/typechain-types/IPActionAddRemoveLiqV3Events.ts +499 -0
  121. package/typechain-types/IPActionMarketAuxStatic.ts +859 -0
  122. package/typechain-types/IPActionMiscV3.ts +2213 -0
  123. package/typechain-types/IPActionMiscV3Events.ts +463 -0
  124. package/typechain-types/IPActionSimple.ts +1544 -0
  125. package/typechain-types/IPActionStorageEvents.ts +97 -0
  126. package/typechain-types/IPActionStorageStatic.ts +1268 -0
  127. package/typechain-types/IPActionStorageV4.ts +1270 -0
  128. package/typechain-types/IPActionSwapPTV3.ts +1507 -0
  129. package/typechain-types/IPActionSwapPTV3Events.ts +125 -0
  130. package/typechain-types/IPActionSwapYTV3.ts +1507 -0
  131. package/typechain-types/IPActionSwapYTV3Events.ts +125 -0
  132. package/typechain-types/IPActionVePendleStatic.ts +113 -0
  133. package/typechain-types/IPAllActionV3.ts +4210 -0
  134. package/typechain-types/IPAllEventsV3.ts +1080 -0
  135. package/typechain-types/IPRouterStatic.ts +4633 -0
  136. package/typechain-types/IPSwapAggregator.ts +187 -0
  137. package/typechain-types/PendlePoolDeployHelper.ts +342 -0
  138. package/typechain-types/PendleRouterStatic.ts +57 -0
  139. package/typechain-types/PendleRouterV4.ts +57 -0
  140. package/typechain-types/PendleSwap.ts +208 -0
  141. package/typechain-types/Reflector.ts +95 -0
  142. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +3533 -0
  143. package/typechain-types/factories/ActionInfoStatic__factory.ts +360 -0
  144. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +780 -0
  145. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1449 -0
  146. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +304 -0
  147. package/typechain-types/factories/ActionMiscV3__factory.ts +3056 -0
  148. package/typechain-types/factories/ActionSimple__factory.ts +1939 -0
  149. package/typechain-types/factories/ActionStorageStatic__factory.ts +1576 -0
  150. package/typechain-types/factories/ActionStorageV4__factory.ts +1504 -0
  151. package/typechain-types/factories/ActionSwapPTV3__factory.ts +2556 -0
  152. package/typechain-types/factories/ActionSwapYTV3__factory.ts +2556 -0
  153. package/typechain-types/factories/ActionVePendleStatic__factory.ts +155 -0
  154. package/typechain-types/factories/IKyberScalingHelper__factory.ts +55 -0
  155. package/typechain-types/factories/IOdosRouterV2__factory.ts +94 -0
  156. package/typechain-types/factories/IPActionAddRemoveLiqV3Events__factory.ts +582 -0
  157. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +3421 -0
  158. package/typechain-types/factories/IPActionMarketAuxStatic__factory.ts +622 -0
  159. package/typechain-types/factories/IPActionMiscV3Events__factory.ts +608 -0
  160. package/typechain-types/factories/IPActionMiscV3__factory.ts +3005 -0
  161. package/typechain-types/factories/IPActionSimple__factory.ts +1840 -0
  162. package/typechain-types/factories/IPActionStorageEvents__factory.ts +68 -0
  163. package/typechain-types/factories/IPActionStorageStatic__factory.ts +1498 -0
  164. package/typechain-types/factories/IPActionStorageV4__factory.ts +1466 -0
  165. package/typechain-types/factories/IPActionSwapPTV3Events__factory.ts +116 -0
  166. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +2454 -0
  167. package/typechain-types/factories/IPActionSwapYTV3Events__factory.ts +116 -0
  168. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +2454 -0
  169. package/typechain-types/factories/IPActionVePendleStatic__factory.ts +59 -0
  170. package/typechain-types/factories/IPAllActionV3__factory.ts +7860 -0
  171. package/typechain-types/factories/IPAllEventsV3__factory.ts +1363 -0
  172. package/typechain-types/factories/IPRouterStatic__factory.ts +3956 -0
  173. package/typechain-types/factories/IPSwapAggregator__factory.ts +136 -0
  174. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +345 -0
  175. package/typechain-types/factories/PendleRouterStatic__factory.ts +88 -0
  176. package/typechain-types/factories/PendleRouterV4__factory.ts +96 -0
  177. package/typechain-types/factories/PendleSwap__factory.ts +188 -0
  178. package/typechain-types/factories/Reflector__factory.ts +84 -0
  179. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +0 -4
  180. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +0 -4
  181. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +0 -4
  182. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +0 -65
  183. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.dbg.json +0 -4
  184. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol/IAggregationExecutorOptimistic.json +0 -194
  185. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.dbg.json +0 -4
  186. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol/IExecutorHelper.json +0 -1787
  187. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.dbg.json +0 -4
  188. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol/IExecutorHelperL2.json +0 -2873
  189. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol/IExecutorHelperL2Struct.dbg.json +0 -4
  190. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol/IExecutorHelperL2Struct.json +0 -10
  191. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol/IExecutorHelperStruct.dbg.json +0 -4
  192. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol/IExecutorHelperStruct.json +0 -10
  193. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +0 -4
  194. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +0 -215
  195. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol/IBebopV3.dbg.json +0 -4
  196. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol/IBebopV3.json +0 -10
  197. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol/IKyberDSLO.dbg.json +0 -4
  198. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol/IKyberDSLO.json +0 -10
  199. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol/IKyberLO.dbg.json +0 -4
  200. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol/IKyberLO.json +0 -10
  201. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.dbg.json +0 -4
  202. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol/InputScalingHelper.json +0 -10
  203. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol/ScalingDataLib.dbg.json +0 -4
  204. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol/BytesHelper.dbg.json +0 -4
  205. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.dbg.json +0 -4
  206. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol/CalldataReader.json +0 -10
  207. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.dbg.json +0 -4
  208. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol/CalldataWriter.json +0 -10
  209. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.dbg.json +0 -4
  210. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol/Common.json +0 -10
  211. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.dbg.json +0 -4
  212. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol/DexScaler.json +0 -10
  213. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.dbg.json +0 -4
  214. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol/ExecutorReader.json +0 -10
  215. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +0 -4
  216. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +0 -10
  217. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.dbg.json +0 -4
  218. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol/ScalingDataL2Lib.json +0 -10
  219. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol/BytesHelper.dbg.json +0 -4
  220. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol/BytesHelper.json +0 -10
  221. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol/RevertReasonParser.dbg.json +0 -4
  222. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol/RevertReasonParser.json +0 -10
  223. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol +0 -31
  224. package/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutorOptimistic.sol +0 -63
  225. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelper.sol +0 -164
  226. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2.sol +0 -483
  227. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperL2Struct.sol +0 -412
  228. package/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperStruct.sol +0 -459
  229. package/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol +0 -47
  230. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IBebopV3.sol +0 -23
  231. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberDSLO.sol +0 -36
  232. package/contracts/router/swap-aggregator/kyberswap/interfaces/pools/IKyberLO.sol +0 -32
  233. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/InputScalingHelper.sol +0 -354
  234. package/contracts/router/swap-aggregator/kyberswap/l1-contracts/ScalingDataLib.sol +0 -521
  235. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/BytesHelper.sol +0 -93
  236. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataReader.sol +0 -404
  237. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/CalldataWriter.sol +0 -118
  238. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/Common.sol +0 -41
  239. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/DexScaler.sol +0 -684
  240. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ExecutorReader.sol +0 -61
  241. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +0 -373
  242. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/ScalingDataL2Lib.sol +0 -273
  243. package/contracts/router/swap-aggregator/kyberswap/libraries/BytesHelper.sol +0 -32
  244. package/contracts/router/swap-aggregator/kyberswap/libraries/RevertReasonParser.sol +0 -75
@@ -0,0 +1,1939 @@
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 { ActionSimple, ActionSimpleInterface } from "../ActionSimple";
7
+
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "int256",
13
+ name: "exchangeRate",
14
+ type: "int256",
15
+ },
16
+ ],
17
+ name: "MarketExchangeRateBelowOne",
18
+ type: "error",
19
+ },
20
+ {
21
+ inputs: [],
22
+ name: "MarketExpired",
23
+ type: "error",
24
+ },
25
+ {
26
+ inputs: [],
27
+ name: "MarketProportionMustNotEqualOne",
28
+ type: "error",
29
+ },
30
+ {
31
+ inputs: [
32
+ {
33
+ internalType: "int256",
34
+ name: "proportion",
35
+ type: "int256",
36
+ },
37
+ {
38
+ internalType: "int256",
39
+ name: "maxProportion",
40
+ type: "int256",
41
+ },
42
+ ],
43
+ name: "MarketProportionTooHigh",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [
48
+ {
49
+ internalType: "int256",
50
+ name: "rateScalar",
51
+ type: "int256",
52
+ },
53
+ ],
54
+ name: "MarketRateScalarBelowZero",
55
+ type: "error",
56
+ },
57
+ {
58
+ inputs: [
59
+ {
60
+ internalType: "int256",
61
+ name: "totalPt",
62
+ type: "int256",
63
+ },
64
+ {
65
+ internalType: "int256",
66
+ name: "totalAsset",
67
+ type: "int256",
68
+ },
69
+ ],
70
+ name: "MarketZeroTotalPtOrTotalAsset",
71
+ type: "error",
72
+ },
73
+ {
74
+ anonymous: false,
75
+ inputs: [
76
+ {
77
+ indexed: true,
78
+ internalType: "address",
79
+ name: "caller",
80
+ type: "address",
81
+ },
82
+ {
83
+ indexed: true,
84
+ internalType: "address",
85
+ name: "market",
86
+ type: "address",
87
+ },
88
+ {
89
+ indexed: true,
90
+ internalType: "address",
91
+ name: "receiver",
92
+ type: "address",
93
+ },
94
+ {
95
+ indexed: false,
96
+ internalType: "uint256",
97
+ name: "netSyUsed",
98
+ type: "uint256",
99
+ },
100
+ {
101
+ indexed: false,
102
+ internalType: "uint256",
103
+ name: "netPtUsed",
104
+ type: "uint256",
105
+ },
106
+ {
107
+ indexed: false,
108
+ internalType: "uint256",
109
+ name: "netLpOut",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ name: "AddLiquidityDualSyAndPt",
114
+ type: "event",
115
+ },
116
+ {
117
+ anonymous: false,
118
+ inputs: [
119
+ {
120
+ indexed: true,
121
+ internalType: "address",
122
+ name: "caller",
123
+ type: "address",
124
+ },
125
+ {
126
+ indexed: true,
127
+ internalType: "address",
128
+ name: "market",
129
+ type: "address",
130
+ },
131
+ {
132
+ indexed: true,
133
+ internalType: "address",
134
+ name: "tokenIn",
135
+ type: "address",
136
+ },
137
+ {
138
+ indexed: false,
139
+ internalType: "address",
140
+ name: "receiver",
141
+ type: "address",
142
+ },
143
+ {
144
+ indexed: false,
145
+ internalType: "uint256",
146
+ name: "netTokenUsed",
147
+ type: "uint256",
148
+ },
149
+ {
150
+ indexed: false,
151
+ internalType: "uint256",
152
+ name: "netPtUsed",
153
+ type: "uint256",
154
+ },
155
+ {
156
+ indexed: false,
157
+ internalType: "uint256",
158
+ name: "netLpOut",
159
+ type: "uint256",
160
+ },
161
+ {
162
+ indexed: false,
163
+ internalType: "uint256",
164
+ name: "netSyInterm",
165
+ type: "uint256",
166
+ },
167
+ ],
168
+ name: "AddLiquidityDualTokenAndPt",
169
+ type: "event",
170
+ },
171
+ {
172
+ anonymous: false,
173
+ inputs: [
174
+ {
175
+ indexed: true,
176
+ internalType: "address",
177
+ name: "caller",
178
+ type: "address",
179
+ },
180
+ {
181
+ indexed: true,
182
+ internalType: "address",
183
+ name: "market",
184
+ type: "address",
185
+ },
186
+ {
187
+ indexed: true,
188
+ internalType: "address",
189
+ name: "receiver",
190
+ type: "address",
191
+ },
192
+ {
193
+ indexed: false,
194
+ internalType: "uint256",
195
+ name: "netPtIn",
196
+ type: "uint256",
197
+ },
198
+ {
199
+ indexed: false,
200
+ internalType: "uint256",
201
+ name: "netLpOut",
202
+ type: "uint256",
203
+ },
204
+ ],
205
+ name: "AddLiquiditySinglePt",
206
+ type: "event",
207
+ },
208
+ {
209
+ anonymous: false,
210
+ inputs: [
211
+ {
212
+ indexed: true,
213
+ internalType: "address",
214
+ name: "caller",
215
+ type: "address",
216
+ },
217
+ {
218
+ indexed: true,
219
+ internalType: "address",
220
+ name: "market",
221
+ type: "address",
222
+ },
223
+ {
224
+ indexed: true,
225
+ internalType: "address",
226
+ name: "receiver",
227
+ type: "address",
228
+ },
229
+ {
230
+ indexed: false,
231
+ internalType: "uint256",
232
+ name: "netSyIn",
233
+ type: "uint256",
234
+ },
235
+ {
236
+ indexed: false,
237
+ internalType: "uint256",
238
+ name: "netLpOut",
239
+ type: "uint256",
240
+ },
241
+ ],
242
+ name: "AddLiquiditySingleSy",
243
+ type: "event",
244
+ },
245
+ {
246
+ anonymous: false,
247
+ inputs: [
248
+ {
249
+ indexed: true,
250
+ internalType: "address",
251
+ name: "caller",
252
+ type: "address",
253
+ },
254
+ {
255
+ indexed: true,
256
+ internalType: "address",
257
+ name: "market",
258
+ type: "address",
259
+ },
260
+ {
261
+ indexed: true,
262
+ internalType: "address",
263
+ name: "receiver",
264
+ type: "address",
265
+ },
266
+ {
267
+ indexed: false,
268
+ internalType: "uint256",
269
+ name: "netSyIn",
270
+ type: "uint256",
271
+ },
272
+ {
273
+ indexed: false,
274
+ internalType: "uint256",
275
+ name: "netSyMintPy",
276
+ type: "uint256",
277
+ },
278
+ {
279
+ indexed: false,
280
+ internalType: "uint256",
281
+ name: "netLpOut",
282
+ type: "uint256",
283
+ },
284
+ {
285
+ indexed: false,
286
+ internalType: "uint256",
287
+ name: "netYtOut",
288
+ type: "uint256",
289
+ },
290
+ ],
291
+ name: "AddLiquiditySingleSyKeepYt",
292
+ type: "event",
293
+ },
294
+ {
295
+ anonymous: false,
296
+ inputs: [
297
+ {
298
+ indexed: true,
299
+ internalType: "address",
300
+ name: "caller",
301
+ type: "address",
302
+ },
303
+ {
304
+ indexed: true,
305
+ internalType: "address",
306
+ name: "market",
307
+ type: "address",
308
+ },
309
+ {
310
+ indexed: true,
311
+ internalType: "address",
312
+ name: "token",
313
+ type: "address",
314
+ },
315
+ {
316
+ indexed: false,
317
+ internalType: "address",
318
+ name: "receiver",
319
+ type: "address",
320
+ },
321
+ {
322
+ indexed: false,
323
+ internalType: "uint256",
324
+ name: "netTokenIn",
325
+ type: "uint256",
326
+ },
327
+ {
328
+ indexed: false,
329
+ internalType: "uint256",
330
+ name: "netLpOut",
331
+ type: "uint256",
332
+ },
333
+ {
334
+ indexed: false,
335
+ internalType: "uint256",
336
+ name: "netSyInterm",
337
+ type: "uint256",
338
+ },
339
+ ],
340
+ name: "AddLiquiditySingleToken",
341
+ type: "event",
342
+ },
343
+ {
344
+ anonymous: false,
345
+ inputs: [
346
+ {
347
+ indexed: true,
348
+ internalType: "address",
349
+ name: "caller",
350
+ type: "address",
351
+ },
352
+ {
353
+ indexed: true,
354
+ internalType: "address",
355
+ name: "market",
356
+ type: "address",
357
+ },
358
+ {
359
+ indexed: true,
360
+ internalType: "address",
361
+ name: "token",
362
+ type: "address",
363
+ },
364
+ {
365
+ indexed: false,
366
+ internalType: "address",
367
+ name: "receiver",
368
+ type: "address",
369
+ },
370
+ {
371
+ indexed: false,
372
+ internalType: "uint256",
373
+ name: "netTokenIn",
374
+ type: "uint256",
375
+ },
376
+ {
377
+ indexed: false,
378
+ internalType: "uint256",
379
+ name: "netLpOut",
380
+ type: "uint256",
381
+ },
382
+ {
383
+ indexed: false,
384
+ internalType: "uint256",
385
+ name: "netYtOut",
386
+ type: "uint256",
387
+ },
388
+ {
389
+ indexed: false,
390
+ internalType: "uint256",
391
+ name: "netSyMintPy",
392
+ type: "uint256",
393
+ },
394
+ {
395
+ indexed: false,
396
+ internalType: "uint256",
397
+ name: "netSyInterm",
398
+ type: "uint256",
399
+ },
400
+ ],
401
+ name: "AddLiquiditySingleTokenKeepYt",
402
+ type: "event",
403
+ },
404
+ {
405
+ anonymous: false,
406
+ inputs: [
407
+ {
408
+ indexed: true,
409
+ internalType: "address",
410
+ name: "caller",
411
+ type: "address",
412
+ },
413
+ {
414
+ indexed: true,
415
+ internalType: "address",
416
+ name: "market",
417
+ type: "address",
418
+ },
419
+ {
420
+ indexed: true,
421
+ internalType: "address",
422
+ name: "receiver",
423
+ type: "address",
424
+ },
425
+ {
426
+ indexed: false,
427
+ internalType: "uint256",
428
+ name: "netLpIn",
429
+ type: "uint256",
430
+ },
431
+ {
432
+ components: [
433
+ {
434
+ internalType: "uint256",
435
+ name: "netPtFromRemove",
436
+ type: "uint256",
437
+ },
438
+ {
439
+ internalType: "uint256",
440
+ name: "netSyFromRemove",
441
+ type: "uint256",
442
+ },
443
+ {
444
+ internalType: "uint256",
445
+ name: "netPtRedeem",
446
+ type: "uint256",
447
+ },
448
+ {
449
+ internalType: "uint256",
450
+ name: "netSyFromRedeem",
451
+ type: "uint256",
452
+ },
453
+ {
454
+ internalType: "uint256",
455
+ name: "totalSyOut",
456
+ type: "uint256",
457
+ },
458
+ ],
459
+ indexed: false,
460
+ internalType: "struct ExitPostExpReturnParams",
461
+ name: "params",
462
+ type: "tuple",
463
+ },
464
+ ],
465
+ name: "ExitPostExpToSy",
466
+ type: "event",
467
+ },
468
+ {
469
+ anonymous: false,
470
+ inputs: [
471
+ {
472
+ indexed: true,
473
+ internalType: "address",
474
+ name: "caller",
475
+ type: "address",
476
+ },
477
+ {
478
+ indexed: true,
479
+ internalType: "address",
480
+ name: "market",
481
+ type: "address",
482
+ },
483
+ {
484
+ indexed: true,
485
+ internalType: "address",
486
+ name: "token",
487
+ type: "address",
488
+ },
489
+ {
490
+ indexed: false,
491
+ internalType: "address",
492
+ name: "receiver",
493
+ type: "address",
494
+ },
495
+ {
496
+ indexed: false,
497
+ internalType: "uint256",
498
+ name: "netLpIn",
499
+ type: "uint256",
500
+ },
501
+ {
502
+ indexed: false,
503
+ internalType: "uint256",
504
+ name: "totalTokenOut",
505
+ type: "uint256",
506
+ },
507
+ {
508
+ components: [
509
+ {
510
+ internalType: "uint256",
511
+ name: "netPtFromRemove",
512
+ type: "uint256",
513
+ },
514
+ {
515
+ internalType: "uint256",
516
+ name: "netSyFromRemove",
517
+ type: "uint256",
518
+ },
519
+ {
520
+ internalType: "uint256",
521
+ name: "netPtRedeem",
522
+ type: "uint256",
523
+ },
524
+ {
525
+ internalType: "uint256",
526
+ name: "netSyFromRedeem",
527
+ type: "uint256",
528
+ },
529
+ {
530
+ internalType: "uint256",
531
+ name: "totalSyOut",
532
+ type: "uint256",
533
+ },
534
+ ],
535
+ indexed: false,
536
+ internalType: "struct ExitPostExpReturnParams",
537
+ name: "params",
538
+ type: "tuple",
539
+ },
540
+ ],
541
+ name: "ExitPostExpToToken",
542
+ type: "event",
543
+ },
544
+ {
545
+ anonymous: false,
546
+ inputs: [
547
+ {
548
+ indexed: true,
549
+ internalType: "address",
550
+ name: "caller",
551
+ type: "address",
552
+ },
553
+ {
554
+ indexed: true,
555
+ internalType: "address",
556
+ name: "market",
557
+ type: "address",
558
+ },
559
+ {
560
+ indexed: true,
561
+ internalType: "address",
562
+ name: "receiver",
563
+ type: "address",
564
+ },
565
+ {
566
+ indexed: false,
567
+ internalType: "uint256",
568
+ name: "netLpIn",
569
+ type: "uint256",
570
+ },
571
+ {
572
+ components: [
573
+ {
574
+ internalType: "uint256",
575
+ name: "netPtFromRemove",
576
+ type: "uint256",
577
+ },
578
+ {
579
+ internalType: "uint256",
580
+ name: "netSyFromRemove",
581
+ type: "uint256",
582
+ },
583
+ {
584
+ internalType: "uint256",
585
+ name: "netPyRedeem",
586
+ type: "uint256",
587
+ },
588
+ {
589
+ internalType: "uint256",
590
+ name: "netSyFromRedeem",
591
+ type: "uint256",
592
+ },
593
+ {
594
+ internalType: "uint256",
595
+ name: "netPtSwap",
596
+ type: "uint256",
597
+ },
598
+ {
599
+ internalType: "uint256",
600
+ name: "netYtSwap",
601
+ type: "uint256",
602
+ },
603
+ {
604
+ internalType: "uint256",
605
+ name: "netSyFromSwap",
606
+ type: "uint256",
607
+ },
608
+ {
609
+ internalType: "uint256",
610
+ name: "netSyFee",
611
+ type: "uint256",
612
+ },
613
+ {
614
+ internalType: "uint256",
615
+ name: "totalSyOut",
616
+ type: "uint256",
617
+ },
618
+ ],
619
+ indexed: false,
620
+ internalType: "struct ExitPreExpReturnParams",
621
+ name: "params",
622
+ type: "tuple",
623
+ },
624
+ ],
625
+ name: "ExitPreExpToSy",
626
+ type: "event",
627
+ },
628
+ {
629
+ anonymous: false,
630
+ inputs: [
631
+ {
632
+ indexed: true,
633
+ internalType: "address",
634
+ name: "caller",
635
+ type: "address",
636
+ },
637
+ {
638
+ indexed: true,
639
+ internalType: "address",
640
+ name: "market",
641
+ type: "address",
642
+ },
643
+ {
644
+ indexed: true,
645
+ internalType: "address",
646
+ name: "token",
647
+ type: "address",
648
+ },
649
+ {
650
+ indexed: false,
651
+ internalType: "address",
652
+ name: "receiver",
653
+ type: "address",
654
+ },
655
+ {
656
+ indexed: false,
657
+ internalType: "uint256",
658
+ name: "netLpIn",
659
+ type: "uint256",
660
+ },
661
+ {
662
+ indexed: false,
663
+ internalType: "uint256",
664
+ name: "totalTokenOut",
665
+ type: "uint256",
666
+ },
667
+ {
668
+ components: [
669
+ {
670
+ internalType: "uint256",
671
+ name: "netPtFromRemove",
672
+ type: "uint256",
673
+ },
674
+ {
675
+ internalType: "uint256",
676
+ name: "netSyFromRemove",
677
+ type: "uint256",
678
+ },
679
+ {
680
+ internalType: "uint256",
681
+ name: "netPyRedeem",
682
+ type: "uint256",
683
+ },
684
+ {
685
+ internalType: "uint256",
686
+ name: "netSyFromRedeem",
687
+ type: "uint256",
688
+ },
689
+ {
690
+ internalType: "uint256",
691
+ name: "netPtSwap",
692
+ type: "uint256",
693
+ },
694
+ {
695
+ internalType: "uint256",
696
+ name: "netYtSwap",
697
+ type: "uint256",
698
+ },
699
+ {
700
+ internalType: "uint256",
701
+ name: "netSyFromSwap",
702
+ type: "uint256",
703
+ },
704
+ {
705
+ internalType: "uint256",
706
+ name: "netSyFee",
707
+ type: "uint256",
708
+ },
709
+ {
710
+ internalType: "uint256",
711
+ name: "totalSyOut",
712
+ type: "uint256",
713
+ },
714
+ ],
715
+ indexed: false,
716
+ internalType: "struct ExitPreExpReturnParams",
717
+ name: "params",
718
+ type: "tuple",
719
+ },
720
+ ],
721
+ name: "ExitPreExpToToken",
722
+ type: "event",
723
+ },
724
+ {
725
+ anonymous: false,
726
+ inputs: [
727
+ {
728
+ indexed: true,
729
+ internalType: "address",
730
+ name: "caller",
731
+ type: "address",
732
+ },
733
+ {
734
+ indexed: true,
735
+ internalType: "address",
736
+ name: "receiver",
737
+ type: "address",
738
+ },
739
+ {
740
+ indexed: true,
741
+ internalType: "address",
742
+ name: "YT",
743
+ type: "address",
744
+ },
745
+ {
746
+ indexed: false,
747
+ internalType: "uint256",
748
+ name: "netSyIn",
749
+ type: "uint256",
750
+ },
751
+ {
752
+ indexed: false,
753
+ internalType: "uint256",
754
+ name: "netPyOut",
755
+ type: "uint256",
756
+ },
757
+ ],
758
+ name: "MintPyFromSy",
759
+ type: "event",
760
+ },
761
+ {
762
+ anonymous: false,
763
+ inputs: [
764
+ {
765
+ indexed: true,
766
+ internalType: "address",
767
+ name: "caller",
768
+ type: "address",
769
+ },
770
+ {
771
+ indexed: true,
772
+ internalType: "address",
773
+ name: "tokenIn",
774
+ type: "address",
775
+ },
776
+ {
777
+ indexed: true,
778
+ internalType: "address",
779
+ name: "YT",
780
+ type: "address",
781
+ },
782
+ {
783
+ indexed: false,
784
+ internalType: "address",
785
+ name: "receiver",
786
+ type: "address",
787
+ },
788
+ {
789
+ indexed: false,
790
+ internalType: "uint256",
791
+ name: "netTokenIn",
792
+ type: "uint256",
793
+ },
794
+ {
795
+ indexed: false,
796
+ internalType: "uint256",
797
+ name: "netPyOut",
798
+ type: "uint256",
799
+ },
800
+ {
801
+ indexed: false,
802
+ internalType: "uint256",
803
+ name: "netSyInterm",
804
+ type: "uint256",
805
+ },
806
+ ],
807
+ name: "MintPyFromToken",
808
+ type: "event",
809
+ },
810
+ {
811
+ anonymous: false,
812
+ inputs: [
813
+ {
814
+ indexed: true,
815
+ internalType: "address",
816
+ name: "caller",
817
+ type: "address",
818
+ },
819
+ {
820
+ indexed: true,
821
+ internalType: "address",
822
+ name: "tokenIn",
823
+ type: "address",
824
+ },
825
+ {
826
+ indexed: true,
827
+ internalType: "address",
828
+ name: "SY",
829
+ type: "address",
830
+ },
831
+ {
832
+ indexed: false,
833
+ internalType: "address",
834
+ name: "receiver",
835
+ type: "address",
836
+ },
837
+ {
838
+ indexed: false,
839
+ internalType: "uint256",
840
+ name: "netTokenIn",
841
+ type: "uint256",
842
+ },
843
+ {
844
+ indexed: false,
845
+ internalType: "uint256",
846
+ name: "netSyOut",
847
+ type: "uint256",
848
+ },
849
+ ],
850
+ name: "MintSyFromToken",
851
+ type: "event",
852
+ },
853
+ {
854
+ anonymous: false,
855
+ inputs: [
856
+ {
857
+ indexed: true,
858
+ internalType: "address",
859
+ name: "previousOwner",
860
+ type: "address",
861
+ },
862
+ {
863
+ indexed: true,
864
+ internalType: "address",
865
+ name: "newOwner",
866
+ type: "address",
867
+ },
868
+ ],
869
+ name: "OwnershipTransferred",
870
+ type: "event",
871
+ },
872
+ {
873
+ anonymous: false,
874
+ inputs: [
875
+ {
876
+ indexed: true,
877
+ internalType: "address",
878
+ name: "caller",
879
+ type: "address",
880
+ },
881
+ {
882
+ indexed: true,
883
+ internalType: "address",
884
+ name: "receiver",
885
+ type: "address",
886
+ },
887
+ {
888
+ indexed: true,
889
+ internalType: "address",
890
+ name: "YT",
891
+ type: "address",
892
+ },
893
+ {
894
+ indexed: false,
895
+ internalType: "uint256",
896
+ name: "netPyIn",
897
+ type: "uint256",
898
+ },
899
+ {
900
+ indexed: false,
901
+ internalType: "uint256",
902
+ name: "netSyOut",
903
+ type: "uint256",
904
+ },
905
+ ],
906
+ name: "RedeemPyToSy",
907
+ type: "event",
908
+ },
909
+ {
910
+ anonymous: false,
911
+ inputs: [
912
+ {
913
+ indexed: true,
914
+ internalType: "address",
915
+ name: "caller",
916
+ type: "address",
917
+ },
918
+ {
919
+ indexed: true,
920
+ internalType: "address",
921
+ name: "tokenOut",
922
+ type: "address",
923
+ },
924
+ {
925
+ indexed: true,
926
+ internalType: "address",
927
+ name: "YT",
928
+ type: "address",
929
+ },
930
+ {
931
+ indexed: false,
932
+ internalType: "address",
933
+ name: "receiver",
934
+ type: "address",
935
+ },
936
+ {
937
+ indexed: false,
938
+ internalType: "uint256",
939
+ name: "netPyIn",
940
+ type: "uint256",
941
+ },
942
+ {
943
+ indexed: false,
944
+ internalType: "uint256",
945
+ name: "netTokenOut",
946
+ type: "uint256",
947
+ },
948
+ {
949
+ indexed: false,
950
+ internalType: "uint256",
951
+ name: "netSyInterm",
952
+ type: "uint256",
953
+ },
954
+ ],
955
+ name: "RedeemPyToToken",
956
+ type: "event",
957
+ },
958
+ {
959
+ anonymous: false,
960
+ inputs: [
961
+ {
962
+ indexed: true,
963
+ internalType: "address",
964
+ name: "caller",
965
+ type: "address",
966
+ },
967
+ {
968
+ indexed: true,
969
+ internalType: "address",
970
+ name: "tokenOut",
971
+ type: "address",
972
+ },
973
+ {
974
+ indexed: true,
975
+ internalType: "address",
976
+ name: "SY",
977
+ type: "address",
978
+ },
979
+ {
980
+ indexed: false,
981
+ internalType: "address",
982
+ name: "receiver",
983
+ type: "address",
984
+ },
985
+ {
986
+ indexed: false,
987
+ internalType: "uint256",
988
+ name: "netSyIn",
989
+ type: "uint256",
990
+ },
991
+ {
992
+ indexed: false,
993
+ internalType: "uint256",
994
+ name: "netTokenOut",
995
+ type: "uint256",
996
+ },
997
+ ],
998
+ name: "RedeemSyToToken",
999
+ type: "event",
1000
+ },
1001
+ {
1002
+ anonymous: false,
1003
+ inputs: [
1004
+ {
1005
+ indexed: true,
1006
+ internalType: "address",
1007
+ name: "caller",
1008
+ type: "address",
1009
+ },
1010
+ {
1011
+ indexed: true,
1012
+ internalType: "address",
1013
+ name: "market",
1014
+ type: "address",
1015
+ },
1016
+ {
1017
+ indexed: true,
1018
+ internalType: "address",
1019
+ name: "receiver",
1020
+ type: "address",
1021
+ },
1022
+ {
1023
+ indexed: false,
1024
+ internalType: "uint256",
1025
+ name: "netLpToRemove",
1026
+ type: "uint256",
1027
+ },
1028
+ {
1029
+ indexed: false,
1030
+ internalType: "uint256",
1031
+ name: "netPtOut",
1032
+ type: "uint256",
1033
+ },
1034
+ {
1035
+ indexed: false,
1036
+ internalType: "uint256",
1037
+ name: "netSyOut",
1038
+ type: "uint256",
1039
+ },
1040
+ ],
1041
+ name: "RemoveLiquidityDualSyAndPt",
1042
+ type: "event",
1043
+ },
1044
+ {
1045
+ anonymous: false,
1046
+ inputs: [
1047
+ {
1048
+ indexed: true,
1049
+ internalType: "address",
1050
+ name: "caller",
1051
+ type: "address",
1052
+ },
1053
+ {
1054
+ indexed: true,
1055
+ internalType: "address",
1056
+ name: "market",
1057
+ type: "address",
1058
+ },
1059
+ {
1060
+ indexed: true,
1061
+ internalType: "address",
1062
+ name: "tokenOut",
1063
+ type: "address",
1064
+ },
1065
+ {
1066
+ indexed: false,
1067
+ internalType: "address",
1068
+ name: "receiver",
1069
+ type: "address",
1070
+ },
1071
+ {
1072
+ indexed: false,
1073
+ internalType: "uint256",
1074
+ name: "netLpToRemove",
1075
+ type: "uint256",
1076
+ },
1077
+ {
1078
+ indexed: false,
1079
+ internalType: "uint256",
1080
+ name: "netPtOut",
1081
+ type: "uint256",
1082
+ },
1083
+ {
1084
+ indexed: false,
1085
+ internalType: "uint256",
1086
+ name: "netTokenOut",
1087
+ type: "uint256",
1088
+ },
1089
+ {
1090
+ indexed: false,
1091
+ internalType: "uint256",
1092
+ name: "netSyInterm",
1093
+ type: "uint256",
1094
+ },
1095
+ ],
1096
+ name: "RemoveLiquidityDualTokenAndPt",
1097
+ type: "event",
1098
+ },
1099
+ {
1100
+ anonymous: false,
1101
+ inputs: [
1102
+ {
1103
+ indexed: true,
1104
+ internalType: "address",
1105
+ name: "caller",
1106
+ type: "address",
1107
+ },
1108
+ {
1109
+ indexed: true,
1110
+ internalType: "address",
1111
+ name: "market",
1112
+ type: "address",
1113
+ },
1114
+ {
1115
+ indexed: true,
1116
+ internalType: "address",
1117
+ name: "receiver",
1118
+ type: "address",
1119
+ },
1120
+ {
1121
+ indexed: false,
1122
+ internalType: "uint256",
1123
+ name: "netLpToRemove",
1124
+ type: "uint256",
1125
+ },
1126
+ {
1127
+ indexed: false,
1128
+ internalType: "uint256",
1129
+ name: "netPtOut",
1130
+ type: "uint256",
1131
+ },
1132
+ ],
1133
+ name: "RemoveLiquiditySinglePt",
1134
+ type: "event",
1135
+ },
1136
+ {
1137
+ anonymous: false,
1138
+ inputs: [
1139
+ {
1140
+ indexed: true,
1141
+ internalType: "address",
1142
+ name: "caller",
1143
+ type: "address",
1144
+ },
1145
+ {
1146
+ indexed: true,
1147
+ internalType: "address",
1148
+ name: "market",
1149
+ type: "address",
1150
+ },
1151
+ {
1152
+ indexed: true,
1153
+ internalType: "address",
1154
+ name: "receiver",
1155
+ type: "address",
1156
+ },
1157
+ {
1158
+ indexed: false,
1159
+ internalType: "uint256",
1160
+ name: "netLpToRemove",
1161
+ type: "uint256",
1162
+ },
1163
+ {
1164
+ indexed: false,
1165
+ internalType: "uint256",
1166
+ name: "netSyOut",
1167
+ type: "uint256",
1168
+ },
1169
+ ],
1170
+ name: "RemoveLiquiditySingleSy",
1171
+ type: "event",
1172
+ },
1173
+ {
1174
+ anonymous: false,
1175
+ inputs: [
1176
+ {
1177
+ indexed: true,
1178
+ internalType: "address",
1179
+ name: "caller",
1180
+ type: "address",
1181
+ },
1182
+ {
1183
+ indexed: true,
1184
+ internalType: "address",
1185
+ name: "market",
1186
+ type: "address",
1187
+ },
1188
+ {
1189
+ indexed: true,
1190
+ internalType: "address",
1191
+ name: "token",
1192
+ type: "address",
1193
+ },
1194
+ {
1195
+ indexed: false,
1196
+ internalType: "address",
1197
+ name: "receiver",
1198
+ type: "address",
1199
+ },
1200
+ {
1201
+ indexed: false,
1202
+ internalType: "uint256",
1203
+ name: "netLpToRemove",
1204
+ type: "uint256",
1205
+ },
1206
+ {
1207
+ indexed: false,
1208
+ internalType: "uint256",
1209
+ name: "netTokenOut",
1210
+ type: "uint256",
1211
+ },
1212
+ {
1213
+ indexed: false,
1214
+ internalType: "uint256",
1215
+ name: "netSyInterm",
1216
+ type: "uint256",
1217
+ },
1218
+ ],
1219
+ name: "RemoveLiquiditySingleToken",
1220
+ type: "event",
1221
+ },
1222
+ {
1223
+ anonymous: false,
1224
+ inputs: [
1225
+ {
1226
+ indexed: true,
1227
+ internalType: "bytes4",
1228
+ name: "selector",
1229
+ type: "bytes4",
1230
+ },
1231
+ {
1232
+ indexed: true,
1233
+ internalType: "address",
1234
+ name: "facet",
1235
+ type: "address",
1236
+ },
1237
+ ],
1238
+ name: "SelectorToFacetSet",
1239
+ type: "event",
1240
+ },
1241
+ {
1242
+ anonymous: false,
1243
+ inputs: [
1244
+ {
1245
+ indexed: true,
1246
+ internalType: "address",
1247
+ name: "caller",
1248
+ type: "address",
1249
+ },
1250
+ {
1251
+ indexed: true,
1252
+ internalType: "address",
1253
+ name: "market",
1254
+ type: "address",
1255
+ },
1256
+ {
1257
+ indexed: true,
1258
+ internalType: "address",
1259
+ name: "receiver",
1260
+ type: "address",
1261
+ },
1262
+ {
1263
+ indexed: false,
1264
+ internalType: "int256",
1265
+ name: "netPtToAccount",
1266
+ type: "int256",
1267
+ },
1268
+ {
1269
+ indexed: false,
1270
+ internalType: "int256",
1271
+ name: "netSyToAccount",
1272
+ type: "int256",
1273
+ },
1274
+ ],
1275
+ name: "SwapPtAndSy",
1276
+ type: "event",
1277
+ },
1278
+ {
1279
+ anonymous: false,
1280
+ inputs: [
1281
+ {
1282
+ indexed: true,
1283
+ internalType: "address",
1284
+ name: "caller",
1285
+ type: "address",
1286
+ },
1287
+ {
1288
+ indexed: true,
1289
+ internalType: "address",
1290
+ name: "market",
1291
+ type: "address",
1292
+ },
1293
+ {
1294
+ indexed: true,
1295
+ internalType: "address",
1296
+ name: "token",
1297
+ type: "address",
1298
+ },
1299
+ {
1300
+ indexed: false,
1301
+ internalType: "address",
1302
+ name: "receiver",
1303
+ type: "address",
1304
+ },
1305
+ {
1306
+ indexed: false,
1307
+ internalType: "int256",
1308
+ name: "netPtToAccount",
1309
+ type: "int256",
1310
+ },
1311
+ {
1312
+ indexed: false,
1313
+ internalType: "int256",
1314
+ name: "netTokenToAccount",
1315
+ type: "int256",
1316
+ },
1317
+ {
1318
+ indexed: false,
1319
+ internalType: "uint256",
1320
+ name: "netSyInterm",
1321
+ type: "uint256",
1322
+ },
1323
+ ],
1324
+ name: "SwapPtAndToken",
1325
+ type: "event",
1326
+ },
1327
+ {
1328
+ anonymous: false,
1329
+ inputs: [
1330
+ {
1331
+ indexed: true,
1332
+ internalType: "address",
1333
+ name: "caller",
1334
+ type: "address",
1335
+ },
1336
+ {
1337
+ indexed: true,
1338
+ internalType: "address",
1339
+ name: "market",
1340
+ type: "address",
1341
+ },
1342
+ {
1343
+ indexed: true,
1344
+ internalType: "address",
1345
+ name: "receiver",
1346
+ type: "address",
1347
+ },
1348
+ {
1349
+ indexed: false,
1350
+ internalType: "int256",
1351
+ name: "netYtToAccount",
1352
+ type: "int256",
1353
+ },
1354
+ {
1355
+ indexed: false,
1356
+ internalType: "int256",
1357
+ name: "netSyToAccount",
1358
+ type: "int256",
1359
+ },
1360
+ ],
1361
+ name: "SwapYtAndSy",
1362
+ type: "event",
1363
+ },
1364
+ {
1365
+ anonymous: false,
1366
+ inputs: [
1367
+ {
1368
+ indexed: true,
1369
+ internalType: "address",
1370
+ name: "caller",
1371
+ type: "address",
1372
+ },
1373
+ {
1374
+ indexed: true,
1375
+ internalType: "address",
1376
+ name: "market",
1377
+ type: "address",
1378
+ },
1379
+ {
1380
+ indexed: true,
1381
+ internalType: "address",
1382
+ name: "token",
1383
+ type: "address",
1384
+ },
1385
+ {
1386
+ indexed: false,
1387
+ internalType: "address",
1388
+ name: "receiver",
1389
+ type: "address",
1390
+ },
1391
+ {
1392
+ indexed: false,
1393
+ internalType: "int256",
1394
+ name: "netYtToAccount",
1395
+ type: "int256",
1396
+ },
1397
+ {
1398
+ indexed: false,
1399
+ internalType: "int256",
1400
+ name: "netTokenToAccount",
1401
+ type: "int256",
1402
+ },
1403
+ {
1404
+ indexed: false,
1405
+ internalType: "uint256",
1406
+ name: "netSyInterm",
1407
+ type: "uint256",
1408
+ },
1409
+ ],
1410
+ name: "SwapYtAndToken",
1411
+ type: "event",
1412
+ },
1413
+ {
1414
+ inputs: [
1415
+ {
1416
+ internalType: "address",
1417
+ name: "receiver",
1418
+ type: "address",
1419
+ },
1420
+ {
1421
+ internalType: "address",
1422
+ name: "market",
1423
+ type: "address",
1424
+ },
1425
+ {
1426
+ internalType: "uint256",
1427
+ name: "netPtIn",
1428
+ type: "uint256",
1429
+ },
1430
+ {
1431
+ internalType: "uint256",
1432
+ name: "minLpOut",
1433
+ type: "uint256",
1434
+ },
1435
+ ],
1436
+ name: "addLiquiditySinglePtSimple",
1437
+ outputs: [
1438
+ {
1439
+ internalType: "uint256",
1440
+ name: "netLpOut",
1441
+ type: "uint256",
1442
+ },
1443
+ {
1444
+ internalType: "uint256",
1445
+ name: "netSyFee",
1446
+ type: "uint256",
1447
+ },
1448
+ ],
1449
+ stateMutability: "nonpayable",
1450
+ type: "function",
1451
+ },
1452
+ {
1453
+ inputs: [
1454
+ {
1455
+ internalType: "address",
1456
+ name: "receiver",
1457
+ type: "address",
1458
+ },
1459
+ {
1460
+ internalType: "address",
1461
+ name: "market",
1462
+ type: "address",
1463
+ },
1464
+ {
1465
+ internalType: "uint256",
1466
+ name: "netSyIn",
1467
+ type: "uint256",
1468
+ },
1469
+ {
1470
+ internalType: "uint256",
1471
+ name: "minLpOut",
1472
+ type: "uint256",
1473
+ },
1474
+ ],
1475
+ name: "addLiquiditySingleSySimple",
1476
+ outputs: [
1477
+ {
1478
+ internalType: "uint256",
1479
+ name: "netLpOut",
1480
+ type: "uint256",
1481
+ },
1482
+ {
1483
+ internalType: "uint256",
1484
+ name: "netSyFee",
1485
+ type: "uint256",
1486
+ },
1487
+ ],
1488
+ stateMutability: "nonpayable",
1489
+ type: "function",
1490
+ },
1491
+ {
1492
+ inputs: [
1493
+ {
1494
+ internalType: "address",
1495
+ name: "receiver",
1496
+ type: "address",
1497
+ },
1498
+ {
1499
+ internalType: "address",
1500
+ name: "market",
1501
+ type: "address",
1502
+ },
1503
+ {
1504
+ internalType: "uint256",
1505
+ name: "minLpOut",
1506
+ type: "uint256",
1507
+ },
1508
+ {
1509
+ components: [
1510
+ {
1511
+ internalType: "address",
1512
+ name: "tokenIn",
1513
+ type: "address",
1514
+ },
1515
+ {
1516
+ internalType: "uint256",
1517
+ name: "netTokenIn",
1518
+ type: "uint256",
1519
+ },
1520
+ {
1521
+ internalType: "address",
1522
+ name: "tokenMintSy",
1523
+ type: "address",
1524
+ },
1525
+ {
1526
+ internalType: "address",
1527
+ name: "pendleSwap",
1528
+ type: "address",
1529
+ },
1530
+ {
1531
+ components: [
1532
+ {
1533
+ internalType: "enum SwapType",
1534
+ name: "swapType",
1535
+ type: "uint8",
1536
+ },
1537
+ {
1538
+ internalType: "address",
1539
+ name: "extRouter",
1540
+ type: "address",
1541
+ },
1542
+ {
1543
+ internalType: "bytes",
1544
+ name: "extCalldata",
1545
+ type: "bytes",
1546
+ },
1547
+ {
1548
+ internalType: "bool",
1549
+ name: "needScale",
1550
+ type: "bool",
1551
+ },
1552
+ ],
1553
+ internalType: "struct SwapData",
1554
+ name: "swapData",
1555
+ type: "tuple",
1556
+ },
1557
+ ],
1558
+ internalType: "struct TokenInput",
1559
+ name: "input",
1560
+ type: "tuple",
1561
+ },
1562
+ ],
1563
+ name: "addLiquiditySingleTokenSimple",
1564
+ outputs: [
1565
+ {
1566
+ internalType: "uint256",
1567
+ name: "netLpOut",
1568
+ type: "uint256",
1569
+ },
1570
+ {
1571
+ internalType: "uint256",
1572
+ name: "netSyFee",
1573
+ type: "uint256",
1574
+ },
1575
+ {
1576
+ internalType: "uint256",
1577
+ name: "netSyInterm",
1578
+ type: "uint256",
1579
+ },
1580
+ ],
1581
+ stateMutability: "payable",
1582
+ type: "function",
1583
+ },
1584
+ {
1585
+ inputs: [
1586
+ {
1587
+ internalType: "address",
1588
+ name: "receiver",
1589
+ type: "address",
1590
+ },
1591
+ {
1592
+ internalType: "address",
1593
+ name: "market",
1594
+ type: "address",
1595
+ },
1596
+ {
1597
+ internalType: "uint256",
1598
+ name: "netLpToRemove",
1599
+ type: "uint256",
1600
+ },
1601
+ {
1602
+ internalType: "uint256",
1603
+ name: "minPtOut",
1604
+ type: "uint256",
1605
+ },
1606
+ ],
1607
+ name: "removeLiquiditySinglePtSimple",
1608
+ outputs: [
1609
+ {
1610
+ internalType: "uint256",
1611
+ name: "netPtOut",
1612
+ type: "uint256",
1613
+ },
1614
+ {
1615
+ internalType: "uint256",
1616
+ name: "netSyFee",
1617
+ type: "uint256",
1618
+ },
1619
+ ],
1620
+ stateMutability: "nonpayable",
1621
+ type: "function",
1622
+ },
1623
+ {
1624
+ inputs: [
1625
+ {
1626
+ internalType: "address",
1627
+ name: "receiver",
1628
+ type: "address",
1629
+ },
1630
+ {
1631
+ internalType: "address",
1632
+ name: "market",
1633
+ type: "address",
1634
+ },
1635
+ {
1636
+ internalType: "uint256",
1637
+ name: "exactSyIn",
1638
+ type: "uint256",
1639
+ },
1640
+ {
1641
+ internalType: "uint256",
1642
+ name: "minPtOut",
1643
+ type: "uint256",
1644
+ },
1645
+ ],
1646
+ name: "swapExactSyForPtSimple",
1647
+ outputs: [
1648
+ {
1649
+ internalType: "uint256",
1650
+ name: "netPtOut",
1651
+ type: "uint256",
1652
+ },
1653
+ {
1654
+ internalType: "uint256",
1655
+ name: "netSyFee",
1656
+ type: "uint256",
1657
+ },
1658
+ ],
1659
+ stateMutability: "nonpayable",
1660
+ type: "function",
1661
+ },
1662
+ {
1663
+ inputs: [
1664
+ {
1665
+ internalType: "address",
1666
+ name: "receiver",
1667
+ type: "address",
1668
+ },
1669
+ {
1670
+ internalType: "address",
1671
+ name: "market",
1672
+ type: "address",
1673
+ },
1674
+ {
1675
+ internalType: "uint256",
1676
+ name: "exactSyIn",
1677
+ type: "uint256",
1678
+ },
1679
+ {
1680
+ internalType: "uint256",
1681
+ name: "minYtOut",
1682
+ type: "uint256",
1683
+ },
1684
+ ],
1685
+ name: "swapExactSyForYtSimple",
1686
+ outputs: [
1687
+ {
1688
+ internalType: "uint256",
1689
+ name: "netYtOut",
1690
+ type: "uint256",
1691
+ },
1692
+ {
1693
+ internalType: "uint256",
1694
+ name: "netSyFee",
1695
+ type: "uint256",
1696
+ },
1697
+ ],
1698
+ stateMutability: "nonpayable",
1699
+ type: "function",
1700
+ },
1701
+ {
1702
+ inputs: [
1703
+ {
1704
+ internalType: "address",
1705
+ name: "receiver",
1706
+ type: "address",
1707
+ },
1708
+ {
1709
+ internalType: "address",
1710
+ name: "market",
1711
+ type: "address",
1712
+ },
1713
+ {
1714
+ internalType: "uint256",
1715
+ name: "minPtOut",
1716
+ type: "uint256",
1717
+ },
1718
+ {
1719
+ components: [
1720
+ {
1721
+ internalType: "address",
1722
+ name: "tokenIn",
1723
+ type: "address",
1724
+ },
1725
+ {
1726
+ internalType: "uint256",
1727
+ name: "netTokenIn",
1728
+ type: "uint256",
1729
+ },
1730
+ {
1731
+ internalType: "address",
1732
+ name: "tokenMintSy",
1733
+ type: "address",
1734
+ },
1735
+ {
1736
+ internalType: "address",
1737
+ name: "pendleSwap",
1738
+ type: "address",
1739
+ },
1740
+ {
1741
+ components: [
1742
+ {
1743
+ internalType: "enum SwapType",
1744
+ name: "swapType",
1745
+ type: "uint8",
1746
+ },
1747
+ {
1748
+ internalType: "address",
1749
+ name: "extRouter",
1750
+ type: "address",
1751
+ },
1752
+ {
1753
+ internalType: "bytes",
1754
+ name: "extCalldata",
1755
+ type: "bytes",
1756
+ },
1757
+ {
1758
+ internalType: "bool",
1759
+ name: "needScale",
1760
+ type: "bool",
1761
+ },
1762
+ ],
1763
+ internalType: "struct SwapData",
1764
+ name: "swapData",
1765
+ type: "tuple",
1766
+ },
1767
+ ],
1768
+ internalType: "struct TokenInput",
1769
+ name: "input",
1770
+ type: "tuple",
1771
+ },
1772
+ ],
1773
+ name: "swapExactTokenForPtSimple",
1774
+ outputs: [
1775
+ {
1776
+ internalType: "uint256",
1777
+ name: "netPtOut",
1778
+ type: "uint256",
1779
+ },
1780
+ {
1781
+ internalType: "uint256",
1782
+ name: "netSyFee",
1783
+ type: "uint256",
1784
+ },
1785
+ {
1786
+ internalType: "uint256",
1787
+ name: "netSyInterm",
1788
+ type: "uint256",
1789
+ },
1790
+ ],
1791
+ stateMutability: "payable",
1792
+ type: "function",
1793
+ },
1794
+ {
1795
+ inputs: [
1796
+ {
1797
+ internalType: "address",
1798
+ name: "receiver",
1799
+ type: "address",
1800
+ },
1801
+ {
1802
+ internalType: "address",
1803
+ name: "market",
1804
+ type: "address",
1805
+ },
1806
+ {
1807
+ internalType: "uint256",
1808
+ name: "minYtOut",
1809
+ type: "uint256",
1810
+ },
1811
+ {
1812
+ components: [
1813
+ {
1814
+ internalType: "address",
1815
+ name: "tokenIn",
1816
+ type: "address",
1817
+ },
1818
+ {
1819
+ internalType: "uint256",
1820
+ name: "netTokenIn",
1821
+ type: "uint256",
1822
+ },
1823
+ {
1824
+ internalType: "address",
1825
+ name: "tokenMintSy",
1826
+ type: "address",
1827
+ },
1828
+ {
1829
+ internalType: "address",
1830
+ name: "pendleSwap",
1831
+ type: "address",
1832
+ },
1833
+ {
1834
+ components: [
1835
+ {
1836
+ internalType: "enum SwapType",
1837
+ name: "swapType",
1838
+ type: "uint8",
1839
+ },
1840
+ {
1841
+ internalType: "address",
1842
+ name: "extRouter",
1843
+ type: "address",
1844
+ },
1845
+ {
1846
+ internalType: "bytes",
1847
+ name: "extCalldata",
1848
+ type: "bytes",
1849
+ },
1850
+ {
1851
+ internalType: "bool",
1852
+ name: "needScale",
1853
+ type: "bool",
1854
+ },
1855
+ ],
1856
+ internalType: "struct SwapData",
1857
+ name: "swapData",
1858
+ type: "tuple",
1859
+ },
1860
+ ],
1861
+ internalType: "struct TokenInput",
1862
+ name: "input",
1863
+ type: "tuple",
1864
+ },
1865
+ ],
1866
+ name: "swapExactTokenForYtSimple",
1867
+ outputs: [
1868
+ {
1869
+ internalType: "uint256",
1870
+ name: "netYtOut",
1871
+ type: "uint256",
1872
+ },
1873
+ {
1874
+ internalType: "uint256",
1875
+ name: "netSyFee",
1876
+ type: "uint256",
1877
+ },
1878
+ {
1879
+ internalType: "uint256",
1880
+ name: "netSyInterm",
1881
+ type: "uint256",
1882
+ },
1883
+ ],
1884
+ stateMutability: "payable",
1885
+ type: "function",
1886
+ },
1887
+ ];
1888
+
1889
+ const _bytecode =
1890
+ "0x60808060405234610016576142b4908161001c8239f35b600080fdfe604060808152600436101561001357600080fd5b600090813560e01c9182630af8a5cf1461009d575050806322bfddd014610098578063252f9db31461009357806340a169f91461008e5780634cc30915146100895780636afe699814610084578063f2f6eae51461007f5763feb9d1d21461007a57600080fd5b610b8e565b6108e0565b610809565b6106d4565b6105d6565b6104bd565b610340565b3461025e576100ab36610284565b929094919373ffffffffffffffffffffffffffffffffffffffff95868616916100d682883386610ec5565b84517ff6b911bc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8881166004830152851660248201526044810183905296858860648185885af197881561025957829861021f575b506101539161014d9186610ee6565b97610d81565b9485106101bd577fac97b87f5422fa3beec99bff8f336310d8ebc7d33d909b7d534cd7c72f61e8716101b99596978551941693806101a08933958360209093929193604081019481520152565b0390a45191825260208201929092529081906040820190565b0390f35b83517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f50545f4f55540000006044820152606490fd5b0390fd5b61014d919850610153925061024990873d8911610252575b6102418183610cef565b810190610d30565b9891509161013e565b503d610237565b610d46565b80fd5b73ffffffffffffffffffffffffffffffffffffffff81160361027f57565b600080fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc608091011261027f576004356102ba81610261565b906024356102c781610261565b906044359060643590565b7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc9060808282011261027f5760043561030a81610261565b9260243561031781610261565b92604435926064359167ffffffffffffffff831161027f578260a09203011261027f5760040190565b610349366102d2565b91929073ffffffffffffffffffffffffffffffffffffffff92838516604051937f2c8ce6bc000000000000000000000000000000000000000000000000000000008552606085600481855afa938415610259577fa3a2846538c60e47775faa60c6ae79b67dee6d97bb70e386ebbaf4c3a38e8b8197876101b997600090600098610478575b50866103ec9493926103e392168b8a1661121e565b9687918561140d565b979096876104588761041b610416602061040e6104088c610dc9565b9661154c565b9a013561154c565b611576565b60405194859416983397859094939260609273ffffffffffffffffffffffffffffffffffffffff6080840197168352602083015260408201520152565b0390a4604051938493846040919493926060820195825260208201520152565b6103ec94939298506103e391506104a7889160603d6060116104b6575b61049f8183610cef565b810190610d93565b9a9190509250929394506103ce565b503d610495565b3461027f576104cb36610284565b92909173ffffffffffffffffffffffffffffffffffffffff9283821691604051957f2c8ce6bc000000000000000000000000000000000000000000000000000000008752606087600481875afa968715610259577fb51950711c9b21dc7888d41f68a19540231ffb5f0d19d8f75cbccaf90ffa7fa5976105649385926000906000936105b0575b5083828161059b575b50505087611607565b959094604051941693806105878733958360209093929193604081019481520152565b0390a4604080519182526020820192909252f35b6105a8928c339116611bbc565b38838261055b565b90506105cc91925060603d6060116104b65761049f8183610cef565b9291905038610552565b3461027f576105e436610284565b73ffffffffffffffffffffffffffffffffffffffff939192939283851691604051907f2c8ce6bc000000000000000000000000000000000000000000000000000000008252606082600481875afa80156102595787610677857f3f5e2944826baeaed8eb77f0f74e6088a154a0fc1317f062fd984585607b47399a819461067d976000916106b3575b508b339116610ec5565b8661102a565b95909461069561041661068f8861154c565b9461154c565b60408051948552602085019190915294169333929081908101610587565b6106cc915060603d6060116104b65761049f8183610cef565b50503861066d565b6106dd366102d2565b9073ffffffffffffffffffffffffffffffffffffffff93929392838516604051937f2c8ce6bc000000000000000000000000000000000000000000000000000000008552606085600481855afa938415610259577f387bf301bf673df0120e2d57e639f0e05e5e03d5336577c4cd83c1bff96e8dee97876101b9976000906000986107d4575b508461077f94939261077692168361121e565b96879187611607565b979096823561078d81610261565b610458878a604051948594169860203398013590859094939260609273ffffffffffffffffffffffffffffffffffffffff6080840197168352602083015260408201520152565b61077f949392985061077691506107fa869160603d6060116104b65761049f8183610cef565b9a919050925092939450610763565b3461027f5761081736610284565b92909173ffffffffffffffffffffffffffffffffffffffff9283821691604051957f2c8ce6bc000000000000000000000000000000000000000000000000000000008752606087600481875afa968715610259577f05499aba408f669fb848399c146fad5bd604d50b15566bdc19e81c40922fab8d9761067d938580936000906000946108b8575b50906108b2918b8516908c339116610ec5565b8761140d565b6108b29294506108d7915060603d6060116104b65761049f8183610cef565b9492905061089f565b3461027f576108ee36610284565b9073ffffffffffffffffffffffffffffffffffffffff938484166040928351947f2c8ce6bc0000000000000000000000000000000000000000000000000000000086526060958681600481875afa9081156102595761097f91848a92600090600093610b69575b509261096592938d339116610ec5565b836109786109728b61188f565b9261198d565b4292611a77565b50505096858861098d610dd3565b926109c4835194859384937f29910b1100000000000000000000000000000000000000000000000000000000855260048501610e55565b03816000885af197881561025957600091600099610b3a575b50610a47916109ed899286610e9d565b88517f156e29f600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff891660048201526024810192909252604482015291829081906064820190565b03816000885af196871561025957600097610b09575b50508510610aab577fc87b85efc5055ef177e0092af0d4e624fff4b1d57db748857f65e4b7e4a28a366101b99596978551941693806101a08933958360209093929193604081019481520152565b83517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f4c505f4f55540000006044820152606490fd5b610b29929750803d10610b33575b610b218183610cef565b810190610eaa565b5050943880610a5d565b503d610b17565b88919950610a479250610b5c6109ed91893d8b11610252576102418183610cef565b9190919a925050916109dd565b6109659350610b8591508b3d8d116104b65761049f8183610cef565b93909150610955565b610b97366102d2565b9173ffffffffffffffffffffffffffffffffffffffff93919392838216604051937f2c8ce6bc000000000000000000000000000000000000000000000000000000008552606085600481855afa8015610259577fd3c1d9b397236779b29ee5b5b150c1110fc8221b6b6ec0be49c9f4860ceb203697610c2985896103ec946101b99a600091610c31575b50168861121e565b80968461102a565b610c4a915060603d6060116104b65761049f8183610cef565b505038610c21565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610120810190811067ffffffffffffffff821117610c9e57604052565b610c52565b67ffffffffffffffff8111610c9e57604052565b6080810190811067ffffffffffffffff821117610c9e57604052565b6040810190811067ffffffffffffffff821117610c9e57604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff821117610c9e57604052565b919082604091031261027f576020825192015190565b6040513d6000823e3d90fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b91908201809211610d8e57565b610d52565b9081606091031261027f578051610da981610261565b9160406020830151610dba81610261565b920151610dc681610261565b90565b35610dc681610261565b604051600081526020810181811067ffffffffffffffff821117610c9e5760405290565b919082519283825260005b848110610e415750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8460006020809697860101520116010190565b602081830181015184830182015201610e02565b610dc6939273ffffffffffffffffffffffffffffffffffffffff60609316825260208201528160408201520190610df7565b90670de0b6b3a7640000918203918211610d8e57565b91908203918211610d8e57565b9081606091031261027f578051916040602083015192015190565b92919082610ed4575b50505050565b610edd93611bbc565b38808080610ece565b9092919273ffffffffffffffffffffffffffffffffffffffff8116916040517f2c8ce6bc000000000000000000000000000000000000000000000000000000008152606081600481875afa801561025957610fc896604094610f5e93600093610ffe575b50610972610f579161188f565b4292611d32565b5050928391600084518098819582947f5b709f1700000000000000000000000000000000000000000000000000000000845260048401909173ffffffffffffffffffffffffffffffffffffffff608093168252602082015260606040820152600060608201520190565b03925af192831561025957600093610fdf57509190565b610ff991935060403d604011610252576102418183610cef565b905090565b610f5791935061101f6109729160603d6060116104b65761049f8183610cef565b915050939150610f4a565b909293919373ffffffffffffffffffffffffffffffffffffffff84169360409283517f2c8ce6bc0000000000000000000000000000000000000000000000000000000081526060816004818a5afa80156102595761110698869461109c93600093610ffe5750610972610f579161188f565b505095869160008451809a819582947f5b709f1700000000000000000000000000000000000000000000000000000000845260048401909173ffffffffffffffffffffffffffffffffffffffff608093168252602082015260606040820152600060608201520190565b03925af194851561025957600095611182575b50839493106111255750565b517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f50545f4f55540000006044820152606490fd5b61119a919550823d8411610252576102418183610cef565b90509338611119565b9035907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff818136030182121561027f570190565b600b111561027f57565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600b111561121957565b6111e0565b6080830193929161122f85846111a3565b35611239816111d6565b6000906112458161120f565b80611272575050610dc693945061125b83610dc9565b61126c602085013580923390611fe6565b916120e9565b8061127e60039261120f565b036112c35750610dc693945061129383610dc9565b6112a4602085013580923390611fe6565b61126c816112b186610dc9565b6112bd60408801610dc9565b90612024565b73ffffffffffffffffffffffffffffffffffffffff6112e185610dc9565b166113e0576112f36020850135611f80565b61131e61130561130560608701610dc9565b73ffffffffffffffffffffffffffffffffffffffff1690565b9561132b61130586610dc9565b6113d9576020850135965b61134961134287610dc9565b92876111a3565b91813b156113d55761139197986040518099819582947f2bdb823c00000000000000000000000000000000000000000000000000000000845260208c01359060048501611e43565b03925af193841561025957610dc6946113bc575b5061126c60408401356113b781610261565b611f17565b806113c96113cf92610ca3565b80611de4565b386113a5565b8380fd5b8196611336565b6114086113ef61130586610dc9565b6113fb60608701610dc9565b6020870135913390610ec5565b6112f3565b611431602096949592956114208761188f565b9061142a8661198d565b42926121a1565b5050809573ffffffffffffffffffffffffffffffffffffffff60008160409788968388519d8e61146081610cb7565b6060815201606036823752878d01528060608d01526114ae87519c8d97889687947f29910b110000000000000000000000000000000000000000000000000000000086521660048501610e55565b0393165af19485156102595760009561152b575b50839493106114ce5750565b517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f59545f4f55540000006044820152606490fd5b611543919550823d8411610252576102418183610cef565b905093386114c2565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f5790565b9081600003918083057fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1490151715610d8e57565b90670de0b6b3a764000091828102928184051490151715610d8e57565b8181029291600082127f8000000000000000000000000000000000000000000000000000000000000000821416610d8e578184051490151715610d8e57565b9390949291611624908361161d6109728961188f565b42926122d4565b505050918273ffffffffffffffffffffffffffffffffffffffff8716611648610dd3565b97604095869161168483519b8c9384937f5b709f1700000000000000000000000000000000000000000000000000000000855260048501610e55565b03816000855af180156102595761170e986060946000916000936117ab575b506000916116b091610e9d565b919887519a8b95869485937f156e29f60000000000000000000000000000000000000000000000000000000085526004850160409194939273ffffffffffffffffffffffffffffffffffffffff606083019616825260208201520152565b03925af194851561025957600095611788575b50841061172b5750565b517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a20494e53554646494349454e545f4c505f4f55540000006044820152606490fd5b6117a291955060603d606011610b3357610b218183610cef565b50509338611721565b6116b0919350600092506117cb90893d8b11610252576102418183610cef565b939150916116a3565b604051906117e182610c81565b565b6040519060e0820182811067ffffffffffffffff821117610c9e57604052565b604051906117e182610cd3565b51906117e182610261565b908161012091031261027f5761182f6117d4565b9080518252602081015160208301526040810151604083015261185460608201611810565b60608301526080810151608083015260a081015160a083015260c081015160c083015260e081015160e0830152610100809101519082015290565b6101009060405161189f81610c81565b60009281848093528260208201528260408201528260608201528260808201528260a08201528260c08201528260e0820152015260405180917f794052f30000000000000000000000000000000000000000000000000000000082526101209182918173ffffffffffffffffffffffffffffffffffffffff81611942306004830191909173ffffffffffffffffffffffffffffffffffffffff6020820193169052565b0392165afa928315610259579261195857505090565b610dc69250803d10611977575b61196f8183610cef565b81019061181b565b503d611965565b9081602091031261027f575190565b602073ffffffffffffffffffffffffffffffffffffffff600460009360405194859384927f1d52edc4000000000000000000000000000000000000000000000000000000008452165af1908115610259576000916119e9575090565b610dc6915060203d602011611a0b575b611a038183610cef565b81019061197e565b503d6119f9565b15611a1957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f6e6f206578697374696e67206c700000000000000000000000000000000000006044820152fd5b92939190611a8a60408501511515611a12565b611ad8611aae611aa784611a9f89868a612434565b988589612561565b5084612639565b611ab6611803565b9060008252611ace611ac889896126a3565b866126ea565b6020830152612737565b926000956020850195608086019160408701985b8851811015611b5d57611b1784518b611b0882868c8c8a612838565b5092949195909351868661289d565b611b495750505090600192911115600014611b3b57611b3589612a9a565b01611aec565b611b448961291d565b611b35565b9d50909b5099509197509495505050505050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536c6970706167653a20415050524f585f4558484155535445440000000000006044820152606490fd5b6040517f23b872dd00000000000000000000000000000000000000000000000000000000602080830191825273ffffffffffffffffffffffffffffffffffffffff948516602484015294841660448301526064808301969096529481529293611c7d939290916000918291611c32608487610cef565b169260405194611c4186610cd3565b8786527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656488870152519082855af1611c7761389d565b91613e66565b805190828215928315611d1a575b50505015611c965750565b608490604051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152fd5b611d2a9350820181019101612bdd565b388281611c8b565b939092611d67611d4f84611d4784888a612434565b938789613251565b611d57611803565b9060008252611ace885185612bf2565b94600090602087019560808801925b8751811015611b5d578351611d8d81848887612cb3565b509190898c818311611dcd57906040611da99392015191612cd2565b611dc1575050600190611dbb8a612bc3565b01611d76565b99509750955050505050565b9150506001939250611ddf915061291d565b611dbb565b600091031261027f57565b601f82602094937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0938186528686013760008582860101520116010190565b8015150361027f57565b35906117e182611e2e565b9173ffffffffffffffffffffffffffffffffffffffff80921683526020830152606060408301528235611e75816111d6565b600b8110156112195760608301526020830135611e9181610261565b16608082015260408201357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18336030181121561027f5782019060208235920167ffffffffffffffff831161027f57823603811361027f57611f106060611f0960c093610dc696608060a088015260e0870191611def565b9501611e38565b1515910152565b73ffffffffffffffffffffffffffffffffffffffff1680611f3757504790565b6020602491604051928380927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa908115610259576000916119e9575090565b3403611f8857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f657468206d69736d6174636800000000000000000000000000000000000000006044820152fd5b90919073ffffffffffffffffffffffffffffffffffffffff168061200f575090503403611f8857565b8161201957505050565b6117e1923091611bbc565b73ffffffffffffffffffffffffffffffffffffffff9190821680612096575016803b1561027f576000906004604051809481937fd0e30db00000000000000000000000000000000000000000000000000000000083525af18015610259576120895750565b806113c96117e192610ca3565b915050803b1561027f576040517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101929092526000908290602490829084905af18015610259576120895750565b60849060406020949501356120fd81610261565b73ffffffffffffffffffffffffffffffffffffffff80948183169788156000146121965761213f81945b61213081610261565b61213a8482612d10565b610261565b60405198899788967f20e8c5650000000000000000000000000000000000000000000000000000000088521660048701526024860152604485015260016064850152165af1908115610259576000916119e9575090565b61213f600094612127565b92939091936121e96121c0866121b8848789612434565b9386886132ba565b6121c8611803565b90670de0b6b3a76400006121dc878a6122c1565b048252611ace84886126a3565b9460208601946080870160005b8751811015611b5d576122228251612210818a8988612ebb565b50929061221d838c613a22565b610e9d565b868c8183116122535790604061223b9392015191612cd2565b611dc157505060019061224d8a612bc3565b016121f6565b9150506001939250612265915061291d565b61224d565b90670de0b6b3a764000091828102928184041490151715610d8e57565b90670d2f13f7789f000091828102928184041490151715610d8e57565b90670e92596fd629000091828102928184041490151715610d8e57565b81810292918115918404141715610d8e57565b93916122e560408601511515611a12565b6122fc816122f4868589612434565b9584886125d1565b5094612326612309611803565b60008152612318835188612bf2565b976020986020830152612737565b936000936020860196608087019060408801965b8951811015611b5d578251878c8861235484898884612cb3565b909291938585116123eb578461238c612386859461221d846123929661237e8e6123979b51610e9d565b980151610d81565b896122c1565b96610e9d565b6122c1565b936123a48d51868661289d565b6123d657505050906001929111156000146123c8576123c28a612a9a565b0161233a565b6123d18a61291d565b6123c2565b9e50909c509a50919850949650505050505050565b505050505050506001906123d18a61291d565b604051906080820182811067ffffffffffffffff821117610c9e5760405260006060838281528260208201528260408201520152565b92919261243f6123fe565b9360a0820161244f828251111590565b61250857612479916124619151610e9d565b9261246c8484612f2b565b8652602083015190612fb3565b6020850190808252825180158015612500575b6124c5575050816124b28460c0936124be969551906101008501519051908a5192613031565b604087015201516130e3565b6060830152565b6040517fb1c4aefb00000000000000000000000000000000000000000000000000000000815260048101919091526024810191909152604490fd5b50811561248c565b60046040517fb2094b59000000000000000000000000000000000000000000000000000000008152fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b939290916020850151926000958685126125cd5780519680881261025e57508461259693819361259093613251565b926122c1565b90801560011715610d8e57848101809111610d8e5780156125c8576125bd910480946122c1565b81156125c857049190565b612532565b8680fd5b939290916020850151926000958685126125cd5780519680881261025e57509184916125fc93613251565b8215918260011715610d8e5781612612916122c1565b90858101809111610d8e5780156125c85761262f910480956122c1565b906125c857049190565b818110612644570390565b5050600090565b91909160008382019384129112908015821691151617610d8e57565b90670de0b6b3a764000060008382039312818412811691841390151617610d8e57565b81810392916000138015828513169184121617610d8e57565b906126b590602083519101519061264b565b670d529ae9e86000009080820291820503610d8e57670de0b6b3a76400006126df9251910561268a565b6000811261027f5790565b9080821015610ff9575090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b156126f757565b6003111561121957565b9060409182519260e0840184811067ffffffffffffffff821117610c9e5781526000938481528460208201528482820152846060820152846080820152815161277f81610cd3565b8236823760a082015260c082519161279683610cd3565b833684370152652d79883d20006127c48451936127ba602087019586511015612726565b855185519161315e565b916127fb670de0b6b3a7640000946127e8866127df87612287565b04885190613180565b956127f2866122a4565b049051906126ea565b612803611803565b94855260208501526128136117e3565b958652601e6020870152850152806060850152608084015260a083015260c082015290565b926128509195949561284987612c86565b918561375b565b809391929392938095805190898201809211610d8e576020015192828403938411610d8e578303928311610d8e57612887916122c1565b968203918211610d8e5761289a916122c1565b93565b90670de0b6b3a764000090838203828111610d8e57826128be8592846122c1565b04111593846128cf575b5050505090565b90918093945001808311610d8e576128e6916122c1565b041015388080806128c8565b8015610d8e577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b608081019081519060a0810191612935835160200190565b52602082510161294581516128f2565b905280516129528161272d565b61295b8161272d565b612969576001905251519052565b600181939293516129798161272d565b6129828161272d565b03612a405781519060c0810191825151146129e1578251845151036129ca57906129b660606129c493015185515190610e9d565b935193845191515191613219565b80925252565b600281526117e1935091506129dc9050565b61318d565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f536c6970706167653a207365617263682072616e676520756e646572666c6f776044820152606490fd5b8092506002915051612a518161272d565b612a5a8161272d565b03612a68576117e19061318d565b6126f7565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610d8e5760010190565b6080810180519160a08101928351528251612ab58151612a6d565b90528051612ac28161272d565b612acb8161272d565b612add57600190529051602001519052565b60018151612aea8161272d565b612af38161272d565b03612a405781519060c0810191612b0b835160200190565b5114612b6457612b278351612b21865160200190565b51141590565b6129ca57906020612b4c6129c4936060612b42885160200190565b5191015190610e9d565b94510193612b5d8551925160200190565b5191613233565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f536c6970706167653a207365617263682072616e6765206f766572666c6f77006044820152606490fd5b6080810180519160a08101928351528051612ac28161272d565b9081602091031261027f5751610dc681611e2e565b90612c20612c26612c0c606085015160408601519061268a565b670de0b6b3a76400009283918651906115c8565b05613376565b928184019082821260008612908015821691151617610d8e57612c5d6020612c54612c6394612c6a98613752565b9201518561264b565b906115c8565b059061268a565b6103e790818102918183041490151715610d8e576103e8900490565b7f80000000000000000000000000000000000000000000000000000000000000008114610d8e5760000390565b91612ccd949391612cc39361375b565b9291939093612c86565b929190565b9091828211159283612ce5575b50505090565b90919250670de0b6b3a7640000918203828111610d8e57612d05916122c1565b041115388080612cdf565b919073ffffffffffffffffffffffffffffffffffffffff928381168015612d955760405180957fdd62ed3e00000000000000000000000000000000000000000000000000000000825230600483015284169182602483015281604460209889935afa8015610259576b7fffffffffffffffffffffff91600091612e9e575b5010612d9c575b5050509050565b60008091604051878101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612de281610cb7565b519082855af1612df061389d565b81612e6e575b5015612e1057612e079293506138fb565b80388080612d95565b606484604051907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152600c60248201527f5361666520417070726f766500000000000000000000000000000000000000006044820152fd5b80518015925086908315612e86575b50505038612df6565b612e969350820181019101612bdd565b388581612e7d565b612eb59150873d8911611a0b57611a038183610cef565b38612d8e565b9190612ec9612ecf94612c86565b9261375b565b9192909190565b81156125c8577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82147f8000000000000000000000000000000000000000000000000000000000000000821416610d8e570590565b60800151906301e1338091828102928184051490151715610d8e577f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f57612f7691612ed6565b906000821315612f8257565b602482604051907f1ca418760000000000000000000000000000000000000000000000000000000082526004820152fd5b612ff5670de0b6b3a76400009160008412600014613026576123927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff94613a7b565b047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f57610dc6916115c8565b612392600194613a7b565b9193613042906301e13380926122c1565b047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f5761307390613376565b92670de0b6b3a764000084126130b257916130a76130a28361309c610dc697966130ac9661264b565b90613752565b613a90565b613752565b9061268a565b602484604051907fca78c8a40000000000000000000000000000000000000000000000000000000082526004820152fd5b6301e13380916130f2916122c1565b047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f57610dc690613376565b80156125c8576ec097ce7bc90715b34b9f10000000000590565b81156125c8570590565b670de0b6b3a76400009161315a916115c8565b0590565b9091818381101561316f5750505090565b81929493501161317c5750565b9150565b9080821115610ff9575090565b60a08101805160208151910151106131bb5751602081519101518101809111610d8e5760809060011c910152565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f536c6970706167653a2067756573734d696e203e2067756573734d61780000006044820152fd5b9190828111156132295750905090565b610dc69203613180565b9190828119106000146132465750905090565b610dc69201906126ea565b909160a0610100830151920151908103908111610d8e57613271916130e3565b9081156125c8576132aa670de0b6b3a7640000916132b0936ec097ce7bc90715b34b9f100000000004946132a486610e87565b506122c1565b0461226a565b81156125c8570490565b909160a0610100830151920151908103908111610d8e576132da916130e3565b9081156125c8576132aa670de0b6b3a76400009161330b6132b0946ec097ce7bc90715b34b9f100000000004610e87565b946122c1565b1561331857565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f496e76616c6964206578706f6e656e74000000000000000000000000000000006044820152fd5b7ffffffffffffffffffffffffffffffffffffffffffffffffdc702bd3a30fc00008112158061373f575b6133a990613311565b6000811261372a576064906806f05b59d3b200000081126136c7577ffffffffffffffffffffffffffffffffffffffffffffffff90fa4a62c4e0000000168056bc75e2d6310000082770195e54c5dd42177f53a27172fa9ec630262827000000000925b02819068ad78ebc5ac6200000081121561368e575b6856bc75e2d631000000811215613654575b682b5e3af16b1880000081121561361c575b6815af1d78b58c4000008112156135e4575b680ad78ebc5ac62000008112156135ad575b82811215613576575b6802b5e3af16b188000081121561353f575b68015af1d78b58c40000811215613508575b60028382800205058360038184840205056004828583020505600583868302050560068487830205056007858883020505906008868984020505926009878a8602050594600a888b8802050596600b898c8a02050599600c8a8d8d0205059b0101010101010101010101010205020590565b6806f5f17757889379377ffffffffffffffffffffffffffffffffffffffffffffffffea50e2874a73c000084920192020590613496565b6808f00f760a4b2db55d7ffffffffffffffffffffffffffffffffffffffffffffffffd4a1c50e94e78000084920192020590613484565b680ebc5fb417461211107ffffffffffffffffffffffffffffffffffffffffffffffffa9438a1d29cf0000084920192020590613472565b68280e60114edb805d037ffffffffffffffffffffffffffffffffffffffffffffffff5287143a539e0000084920192020590613469565b690127fa27722cc06cc5e27fffffffffffffffffffffffffffffffffffffffffffffffea50e2874a73c0000084920192020590613457565b693f1fce3da636ea5cf8507fffffffffffffffffffffffffffffffffffffffffffffffd4a1c50e94e780000084920192020590613445565b6b02df0ab5a80a22c61ab5a7007fffffffffffffffffffffffffffffffffffffffffffffffa9438a1d29cf00000084920192020590613433565b6e01855144814a7ff805980ff008400091507fffffffffffffffffffffffffffffffffffffffffffffff5287143a539e00000001613421565b6803782dace9d90000008112613717577ffffffffffffffffffffffffffffffffffffffffffffffffc87d25316270000000168056bc75e2d63100000826b1425982cf597cd205cef73809261340c565b68056bc75e2d631000008260019261340c565b61373690600003613376565b610dc690613123565b5068070c1cc73b00c800008113156133a0565b61313d906115ab565b90939192613778818351602088015188519060408a015192613af4565b600060606137916104168461378c876115ab565b61313d565b970151921315613860578161378c6137a8926115ab565b670de0b6b3a7640000811261382d5750936138186137fe610dc6936137f86137f16137eb6137e06137da60e09c612667565b88613147565b9a8b945b015161154c565b836115c8565b6064900590565b9361268a565b600081121561381e576138119086613cad565b9585613c1e565b93613c1e565b6138289086613c1e565b613811565b6040517fca78c8a40000000000000000000000000000000000000000000000000000000081526004810191909152602490fd5b50936138186137fe610dc6936137f86137f16137eb6138956104168c61389061388a60e09f612667565b8b6115c8565b612ed6565b9a8b946137e4565b3d156138f6573d9067ffffffffffffffff8211610c9e57604051916138ea60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8401160184610cef565b82523d6000602084013e565b606090565b6000919082918260405173ffffffffffffffffffffffffffffffffffffffff60208201937f095ea7b30000000000000000000000000000000000000000000000000000000085521660248201527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60448201526044815261397b81610cb7565b51925af161398761389d565b816139f3575b501561399557565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f5361666520417070726f766500000000000000000000000000000000000000006044820152fd5b8051801592508215613a08575b50503861398d565b613a1b9250602080918301019101612bdd565b3880613a00565b90670de0b6b3a764000090818102918183041490151715610d8e57818101809111610d8e577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8101908111610d8e5781156125c8570490565b6000811315613a875790565b610dc690612c86565b670de0b6b3a764000090818114613aca5780820391600082128015828513169184121617610d8e57610dc691613ac591613752565b613d25565b60046040517fa9c8b14d000000000000000000000000000000000000000000000000000000008152fd5b90919493808212613bc057613b1692613b1061309c928461268a565b9261264b565b92670d529ae9e86000008413613b8057613b37906130a7613b3c9495613a90565b61264b565b90670de0b6b3a76400008212613b4e57565b6040517fca78c8a400000000000000000000000000000000000000000000000000000000815260048101839052602490fd5b6040517ffc68d09e00000000000000000000000000000000000000000000000000000000815260048101859052670d529ae9e86000006024820152604490fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f6e656761746976650000000000000000000000000000000000000000000000006044820152fd5b6000821215613ca257613c517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff92613a7b565b670de0b6b3a764000090818102918183041490151715610d8e5781156125c857047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f57610dc6916115c8565b613c51600192613a7b565b613cea906000831215613d1a57613ce47fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff93613a7b565b90613a22565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811161027f57610dc6916115c8565b613ce4600193613a7b565b6000811315613e085780670c7d713b49da00001280613df7575b15613dee57670de0b6b3a7640000906ec097ce7bc90715b34b9f100000000090613d92908302828101907fffffffffffffffffffffffffffffffffff3f68318436f8ea4cb460f00000000001830261313d565b9080828002059181838202058284820205838582020591848684020593858786020595808888020597880205600f900596600d900595600b900594600990059360079005926005900591600390050101010101010160011b0590565b610dc690613f32565b50670f43fc2c04ee00008112613d3f565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f6f7574206f6620626f756e6473000000000000000000000000000000000000006044820152fd5b91929015613ee15750815115613e7a575090565b3b15613e835790565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152fd5b825190915015613ef45750805190602001fd5b61021b906040519182917f08c379a0000000000000000000000000000000000000000000000000000000008352602060048401526024830190610df7565b670de0b6b3a764000081126142675760649060007e1600ef3172e58d2e933ec884fde10064c63b5372d805e203c000000000000082121561423c575b73011798004d755d3c8bc8e03204cf44619e00000082121561421b575b820290808302906e01855144814a7ff805980ff008400090818312156141f8575b50506b02df0ab5a80a22c61ab5a700808212156141d8575b50693f1fce3da636ea5cf850808212156141b8575b50690127fa27722cc06cc5e280821215614198575b5068280e60114edb805d0380821215614178575b50680ebc5fb4174612111080821215614161575b506808f00f760a4b2db55d80821215614141575b506806f5f177578893793780821215614121575b506806248f33704b28660380821215614102575b506805c548670b9510e7ac808212156140e3575b506140a268056bc75e2d6310000091827ffffffffffffffffffffffffffffffffffffffffffffffffa9438a1d29cf0000081830192010261313d565b9080828002059181838202058284820205916003600560076009600b888a89020598808b8b02059a8b0205059805960594059205010101010160011b010590565b68056bc75e2d631000006756bc75e2d631000092020591019038614066565b68056bc75e2d6310000067ad78ebc5ac62000092020591019038614052565b68056bc75e2d6310000068015af1d78b58c400009202059101903861403e565b68056bc75e2d631000006802b5e3af16b18800009202059101903861402a565b68056bc75e2d631000008092020591019038614016565b68056bc75e2d63100000680ad78ebc5ac620000092020591019038614002565b68056bc75e2d631000006815af1d78b58c40000092020591019038613fee565b68056bc75e2d63100000682b5e3af16b1880000092020591019038613fd9565b68056bc75e2d631000006856bc75e2d63100000092020591019038613fc4565b68ad78ebc5ac62000000925069021e19e0c9bab240000002059101903880613fac565b906b1425982cf597cd205cef73806803782dace9d900000091059101613f8b565b50770195e54c5dd42177f53a27172fa9ec63026282700000000090056806f05b59d3b2000000613f6e565b61427361427891613123565b613f32565b6000039056fea26469706673582212207cb53b6665939ef55ba7c4e470a6ca58f03505c20ef8883afc5fd72d7dd02dd664736f6c63430008170033";
1891
+
1892
+ type ActionSimpleConstructorParams =
1893
+ | [signer?: Signer]
1894
+ | ConstructorParameters<typeof ContractFactory>;
1895
+
1896
+ const isSuperArgs = (
1897
+ xs: ActionSimpleConstructorParams
1898
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1899
+
1900
+ export class ActionSimple__factory extends ContractFactory {
1901
+ constructor(...args: ActionSimpleConstructorParams) {
1902
+ if (isSuperArgs(args)) {
1903
+ super(...args);
1904
+ } else {
1905
+ super(_abi, _bytecode, args[0]);
1906
+ }
1907
+ this.contractName = "ActionSimple";
1908
+ }
1909
+
1910
+ deploy(
1911
+ overrides?: Overrides & { from?: string | Promise<string> }
1912
+ ): Promise<ActionSimple> {
1913
+ return super.deploy(overrides || {}) as Promise<ActionSimple>;
1914
+ }
1915
+ getDeployTransaction(
1916
+ overrides?: Overrides & { from?: string | Promise<string> }
1917
+ ): TransactionRequest {
1918
+ return super.getDeployTransaction(overrides || {});
1919
+ }
1920
+ attach(address: string): ActionSimple {
1921
+ return super.attach(address) as ActionSimple;
1922
+ }
1923
+ connect(signer: Signer): ActionSimple__factory {
1924
+ return super.connect(signer) as ActionSimple__factory;
1925
+ }
1926
+ static readonly contractName: "ActionSimple";
1927
+ public readonly contractName: "ActionSimple";
1928
+ static readonly bytecode = _bytecode;
1929
+ static readonly abi = _abi;
1930
+ static createInterface(): ActionSimpleInterface {
1931
+ return new utils.Interface(_abi) as ActionSimpleInterface;
1932
+ }
1933
+ static connect(
1934
+ address: string,
1935
+ signerOrProvider: Signer | Provider
1936
+ ): ActionSimple {
1937
+ return new Contract(address, _abi, signerOrProvider) as ActionSimple;
1938
+ }
1939
+ }