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