@pendle/core-v2 0.16.2-testnet → 0.16.3-testnet

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 (319) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +15 -2
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +15 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +13 -0
  8. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +15 -2
  11. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +15 -2
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.json +13 -0
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +15 -2
  17. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +15 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +15 -2
  21. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +15 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +15 -2
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  33. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +4 -0
  35. package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.json +695 -0
  36. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +4 -0
  37. package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.json +531 -0
  38. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +4 -0
  39. package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.json +10 -0
  40. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  42. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  47. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +15 -2
  49. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.json +2 -2
  53. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  57. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  59. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +4 -0
  61. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.json +89 -0
  62. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  64. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  65. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  66. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +15 -2
  67. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  68. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +15 -2
  69. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  70. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  71. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  72. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.json +2 -2
  73. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  74. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.json +2 -2
  75. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  76. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.json +2 -2
  77. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  78. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.json +2 -2
  79. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  80. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.json +13 -0
  81. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  82. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.json +2 -2
  83. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  84. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +208 -2
  85. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +30 -83
  89. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.json +91 -17
  93. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.json +50 -0
  95. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.json +20 -0
  97. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.json +20 -0
  100. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +181 -17
  102. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +4 -0
  103. package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.json +173 -0
  104. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +4 -0
  105. package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.json +86 -0
  106. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +4 -0
  107. package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.json +34 -0
  108. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/ISJoe.sol/ISJoe.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.json +45 -0
  120. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IWAvax.sol/IWAvax.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  123. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  124. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.json +15 -2
  125. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +4 -0
  126. package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.json +67 -0
  127. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +1 -1
  128. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +2 -2
  129. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  130. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -36
  131. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +237 -61
  133. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  134. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +120 -41
  135. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  136. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  137. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  138. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +79 -24
  139. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  140. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  141. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  142. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +49 -24
  143. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  144. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  145. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  146. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +49 -24
  147. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  148. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +15 -2
  149. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  150. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.json +14 -1
  151. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  152. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  153. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  154. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  155. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
  156. package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +191 -2
  157. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +4 -0
  158. package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.json +35 -0
  159. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
  160. package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.json +1 -1
  161. package/contracts/core/BulkSeller/BulkSeller.sol +250 -0
  162. package/contracts/core/BulkSeller/BulkSellerFactory.sol +89 -0
  163. package/contracts/core/BulkSeller/BulkSellerMathCore.sol +143 -0
  164. package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol +2 -4
  165. package/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol +107 -0
  166. package/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol +19 -4
  167. package/contracts/core/libraries/Errors.sol +17 -0
  168. package/contracts/interfaces/Curve/ICrvPool.sol +9 -27
  169. package/contracts/interfaces/IPActionAddRemoveLiq.sol +3 -5
  170. package/contracts/interfaces/IPActionMintRedeem.sol +2 -0
  171. package/contracts/interfaces/IPBulkSeller.sol +28 -0
  172. package/contracts/interfaces/IPBulkSellerFactory.sol +12 -0
  173. package/contracts/interfaces/IPBulkSellerSYCallback.sol +10 -0
  174. package/contracts/interfaces/IStETH.sol +6 -0
  175. package/contracts/offchain-helpers/BulkSellerOffchain.sol +43 -0
  176. package/contracts/offchain-helpers/MarketMathStatic.sol +0 -144
  177. package/contracts/offchain-helpers/RouterStatic.sol +167 -51
  178. package/contracts/router/ActionAddRemoveLiq.sol +60 -44
  179. package/contracts/router/ActionMintRedeem.sol +19 -15
  180. package/contracts/router/ActionSwapPT.sol +3 -3
  181. package/contracts/router/ActionSwapYT.sol +11 -4
  182. package/contracts/router/base/ActionBaseMintRedeem.sol +73 -74
  183. package/contracts/router/kyberswap/AggregationRouterHelper.sol +17 -1
  184. package/contracts/router/kyberswap/IAggregatorRouterHelper.sol +10 -0
  185. package/contracts/router/kyberswap/KyberSwapHelper.sol +17 -8
  186. package/deployments/43113-core.json +3 -2
  187. package/deployments/43113-markets/benqi-market-QI-AVAX-FEB-2ND.json +9 -0
  188. package/deployments/80001-core.json +3 -2
  189. package/package.json +3 -2
  190. package/typechain-types/AccessControl.ts +360 -0
  191. package/typechain-types/ActionAddRemoveLiq.ts +83 -52
  192. package/typechain-types/ActionBaseMintRedeem.ts +27 -8
  193. package/typechain-types/ActionMintRedeem.ts +68 -17
  194. package/typechain-types/ActionSwapPT.ts +53 -12
  195. package/typechain-types/ActionSwapYT.ts +53 -12
  196. package/typechain-types/AggregationRouterHelper.ts +287 -3
  197. package/typechain-types/BaseSplitCodeFactoryContract.ts +9 -0
  198. package/typechain-types/BeaconProxy.ts +97 -0
  199. package/typechain-types/BoringOwnableUpgradeable.ts +9 -0
  200. package/typechain-types/BulkSeller.ts +776 -0
  201. package/typechain-types/BulkSellerFactory.ts +707 -0
  202. package/typechain-types/BulkSellerOffchain.ts +117 -0
  203. package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
  204. package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
  205. package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
  206. package/typechain-types/ERC165.ts +102 -0
  207. package/typechain-types/IAccessControl.ts +305 -0
  208. package/typechain-types/IAggregationRouterHelper.ts +108 -0
  209. package/typechain-types/ICrvPool.ts +66 -164
  210. package/typechain-types/IERC165.ts +102 -0
  211. package/typechain-types/IPActionAddRemoveLiq.ts +56 -44
  212. package/typechain-types/IPActionMintRedeem.ts +41 -9
  213. package/typechain-types/IPActionSwapPT.ts +26 -4
  214. package/typechain-types/IPActionSwapYT.ts +26 -4
  215. package/typechain-types/IPAllAction.ts +77 -55
  216. package/typechain-types/IPBulkSeller.ts +290 -0
  217. package/typechain-types/IPBulkSellerCallback.ts +115 -0
  218. package/typechain-types/IPBulkSellerFactory.ts +147 -0
  219. package/typechain-types/IStETH.ts +56 -0
  220. package/typechain-types/ITriCrvPool.ts +345 -0
  221. package/typechain-types/Initializable.ts +68 -0
  222. package/typechain-types/KyberSwapHelper.ts +8 -8
  223. package/typechain-types/MarketMathStatic.ts +0 -50
  224. package/typechain-types/PendleCurveFraxUsdcSY.ts +1228 -0
  225. package/typechain-types/PendleCurveUsdd3CrvSY.ts +1299 -0
  226. package/typechain-types/PendleFeeDistributor.ts +9 -0
  227. package/typechain-types/PendleFeeDistributorFactory.ts +9 -0
  228. package/typechain-types/PendleGaugeControllerBaseUpg.ts +9 -0
  229. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +9 -0
  230. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +9 -0
  231. package/typechain-types/PendleMarketFactory.ts +9 -0
  232. package/typechain-types/PendleMsgReceiveEndpointUpg.ts +9 -0
  233. package/typechain-types/PendleMsgSendEndpointUpg.ts +9 -0
  234. package/typechain-types/PendleMsgSenderAppUpg.ts +9 -0
  235. package/typechain-types/PendlePrincipalToken.ts +9 -0
  236. package/typechain-types/PendleRouter.ts +9 -0
  237. package/typechain-types/PendleVotingControllerUpg.ts +9 -0
  238. package/typechain-types/PendleYieldContractFactory.ts +9 -0
  239. package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
  240. package/typechain-types/RouterStatic.ts +203 -22
  241. package/typechain-types/VotingEscrowPendleMainchain.ts +9 -0
  242. package/typechain-types/VotingEscrowPendleSidechain.ts +9 -0
  243. package/typechain-types/factories/AccessControl__factory.ts +227 -0
  244. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +131 -59
  245. package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +14 -1
  246. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  247. package/typechain-types/factories/ActionMintRedeem__factory.ts +90 -42
  248. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  249. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  250. package/typechain-types/factories/ActionSwapPT__factory.ts +60 -42
  251. package/typechain-types/factories/ActionSwapYT__factory.ts +60 -42
  252. package/typechain-types/factories/AggregationRouterHelper__factory.ts +190 -1
  253. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +14 -1
  254. package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +1 -1
  255. package/typechain-types/factories/BeaconProxy__factory.ts +141 -0
  256. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +1 -1
  257. package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +13 -0
  258. package/typechain-types/factories/BulkSellerFactory__factory.ts +584 -0
  259. package/typechain-types/factories/BulkSellerOffchain__factory.ts +120 -0
  260. package/typechain-types/factories/BulkSeller__factory.ts +745 -0
  261. package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
  262. package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
  263. package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
  264. package/typechain-types/factories/ERC165__factory.ts +39 -0
  265. package/typechain-types/factories/ERC20__factory.ts +1 -1
  266. package/typechain-types/factories/Errors__factory.ts +207 -1
  267. package/typechain-types/factories/IAccessControl__factory.ts +198 -0
  268. package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
  269. package/typechain-types/factories/ICrvPool__factory.ts +30 -83
  270. package/typechain-types/factories/IERC165__factory.ts +42 -0
  271. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +91 -17
  272. package/typechain-types/factories/IPActionMintRedeem__factory.ts +50 -0
  273. package/typechain-types/factories/IPActionSwapPT__factory.ts +20 -0
  274. package/typechain-types/factories/IPActionSwapYT__factory.ts +20 -0
  275. package/typechain-types/factories/IPAllAction__factory.ts +181 -17
  276. package/typechain-types/factories/IPBulkSellerCallback__factory.ts +53 -0
  277. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +101 -0
  278. package/typechain-types/factories/IPBulkSeller__factory.ts +185 -0
  279. package/typechain-types/factories/IStETH__factory.ts +45 -0
  280. package/typechain-types/factories/ITriCrvPool__factory.ts +225 -0
  281. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +1 -1
  282. package/typechain-types/factories/Initializable__factory.ts +36 -0
  283. package/typechain-types/factories/KyberSwapHelper__factory.ts +1 -1
  284. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -35
  285. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  286. package/typechain-types/factories/PendleCurveFraxUsdcSY__factory.ts +1068 -0
  287. package/typechain-types/factories/PendleCurveUsdd3CrvSY__factory.ts +1168 -0
  288. package/typechain-types/factories/PendleERC20Permit__factory.ts +1 -1
  289. package/typechain-types/factories/PendleERC20__factory.ts +1 -1
  290. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +14 -1
  291. package/typechain-types/factories/PendleFeeDistributor__factory.ts +14 -1
  292. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +13 -0
  293. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +14 -1
  294. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +14 -1
  295. package/typechain-types/factories/PendleMarketFactory__factory.ts +14 -1
  296. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  297. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +14 -1
  298. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +14 -1
  299. package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +13 -0
  300. package/typechain-types/factories/PendlePrincipalToken__factory.ts +14 -1
  301. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  302. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  303. package/typechain-types/factories/PendleRouter__factory.ts +14 -1
  304. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +14 -1
  305. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  306. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +14 -1
  307. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  308. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  309. package/typechain-types/factories/RouterStatic__factory.ts +182 -2
  310. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +14 -1
  311. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +14 -1
  312. package/typechain-types/hardhat.d.ts +139 -13
  313. package/typechain-types/index.ts +30 -4
  314. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +0 -4
  315. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +0 -1018
  316. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
  317. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.json +0 -76
  318. package/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol +0 -167
  319. package/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol +0 -83
@@ -0,0 +1,53 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPBulkSellerCallback,
9
+ IPBulkSellerCallbackInterface,
10
+ } from "../IPBulkSellerCallback";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "int256",
17
+ name: "ptToAccount",
18
+ type: "int256",
19
+ },
20
+ {
21
+ internalType: "int256",
22
+ name: "syToAccount",
23
+ type: "int256",
24
+ },
25
+ {
26
+ internalType: "bytes",
27
+ name: "data",
28
+ type: "bytes",
29
+ },
30
+ ],
31
+ name: "swapCallback",
32
+ outputs: [],
33
+ stateMutability: "nonpayable",
34
+ type: "function",
35
+ },
36
+ ];
37
+
38
+ export class IPBulkSellerCallback__factory {
39
+ static readonly abi = _abi;
40
+ static createInterface(): IPBulkSellerCallbackInterface {
41
+ return new utils.Interface(_abi) as IPBulkSellerCallbackInterface;
42
+ }
43
+ static connect(
44
+ address: string,
45
+ signerOrProvider: Signer | Provider
46
+ ): IPBulkSellerCallback {
47
+ return new Contract(
48
+ address,
49
+ _abi,
50
+ signerOrProvider
51
+ ) as IPBulkSellerCallback;
52
+ }
53
+ }
@@ -0,0 +1,101 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IPBulkSellerFactory,
9
+ IPBulkSellerFactoryInterface,
10
+ } from "../IPBulkSellerFactory";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "implementation",
20
+ type: "address",
21
+ },
22
+ ],
23
+ name: "UpgradedBeacon",
24
+ type: "event",
25
+ },
26
+ {
27
+ inputs: [
28
+ {
29
+ internalType: "address",
30
+ name: "token",
31
+ type: "address",
32
+ },
33
+ {
34
+ internalType: "address",
35
+ name: "SY",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "get",
40
+ outputs: [
41
+ {
42
+ internalType: "address",
43
+ name: "",
44
+ type: "address",
45
+ },
46
+ ],
47
+ stateMutability: "view",
48
+ type: "function",
49
+ },
50
+ {
51
+ inputs: [
52
+ {
53
+ internalType: "address",
54
+ name: "addr",
55
+ type: "address",
56
+ },
57
+ ],
58
+ name: "isAdmin",
59
+ outputs: [
60
+ {
61
+ internalType: "bool",
62
+ name: "",
63
+ type: "bool",
64
+ },
65
+ ],
66
+ stateMutability: "view",
67
+ type: "function",
68
+ },
69
+ {
70
+ inputs: [
71
+ {
72
+ internalType: "address",
73
+ name: "addr",
74
+ type: "address",
75
+ },
76
+ ],
77
+ name: "isMaintainer",
78
+ outputs: [
79
+ {
80
+ internalType: "bool",
81
+ name: "",
82
+ type: "bool",
83
+ },
84
+ ],
85
+ stateMutability: "view",
86
+ type: "function",
87
+ },
88
+ ];
89
+
90
+ export class IPBulkSellerFactory__factory {
91
+ static readonly abi = _abi;
92
+ static createInterface(): IPBulkSellerFactoryInterface {
93
+ return new utils.Interface(_abi) as IPBulkSellerFactoryInterface;
94
+ }
95
+ static connect(
96
+ address: string,
97
+ signerOrProvider: Signer | Provider
98
+ ): IPBulkSellerFactory {
99
+ return new Contract(address, _abi, signerOrProvider) as IPBulkSellerFactory;
100
+ }
101
+ }
@@ -0,0 +1,185 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IPBulkSeller, IPBulkSellerInterface } from "../IPBulkSeller";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "SY",
13
+ outputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "",
17
+ type: "address",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint256",
27
+ name: "netSyIn",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "calcSwapExactSyForToken",
32
+ outputs: [
33
+ {
34
+ internalType: "uint256",
35
+ name: "netTokenOut",
36
+ type: "uint256",
37
+ },
38
+ ],
39
+ stateMutability: "view",
40
+ type: "function",
41
+ },
42
+ {
43
+ inputs: [
44
+ {
45
+ internalType: "uint256",
46
+ name: "netTokenIn",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "calcSwapExactTokenForSy",
51
+ outputs: [
52
+ {
53
+ internalType: "uint256",
54
+ name: "netSyOut",
55
+ type: "uint256",
56
+ },
57
+ ],
58
+ stateMutability: "view",
59
+ type: "function",
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "readState",
64
+ outputs: [
65
+ {
66
+ components: [
67
+ {
68
+ internalType: "uint256",
69
+ name: "rateTokenToSy",
70
+ type: "uint256",
71
+ },
72
+ {
73
+ internalType: "uint256",
74
+ name: "rateSyToToken",
75
+ type: "uint256",
76
+ },
77
+ {
78
+ internalType: "uint256",
79
+ name: "totalToken",
80
+ type: "uint256",
81
+ },
82
+ {
83
+ internalType: "uint256",
84
+ name: "totalSy",
85
+ type: "uint256",
86
+ },
87
+ {
88
+ internalType: "uint256",
89
+ name: "feeRate",
90
+ type: "uint256",
91
+ },
92
+ ],
93
+ internalType: "struct BulkSellerState",
94
+ name: "",
95
+ type: "tuple",
96
+ },
97
+ ],
98
+ stateMutability: "view",
99
+ type: "function",
100
+ },
101
+ {
102
+ inputs: [
103
+ {
104
+ internalType: "address",
105
+ name: "receiver",
106
+ type: "address",
107
+ },
108
+ {
109
+ internalType: "uint256",
110
+ name: "exactSyIn",
111
+ type: "uint256",
112
+ },
113
+ {
114
+ internalType: "uint256",
115
+ name: "minTokenOut",
116
+ type: "uint256",
117
+ },
118
+ ],
119
+ name: "swapExactSyForToken",
120
+ outputs: [
121
+ {
122
+ internalType: "uint256",
123
+ name: "netTokenOut",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "nonpayable",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "address",
134
+ name: "receiver",
135
+ type: "address",
136
+ },
137
+ {
138
+ internalType: "uint256",
139
+ name: "netTokenIn",
140
+ type: "uint256",
141
+ },
142
+ {
143
+ internalType: "uint256",
144
+ name: "minSyOut",
145
+ type: "uint256",
146
+ },
147
+ ],
148
+ name: "swapExactTokenForSy",
149
+ outputs: [
150
+ {
151
+ internalType: "uint256",
152
+ name: "netSyOut",
153
+ type: "uint256",
154
+ },
155
+ ],
156
+ stateMutability: "nonpayable",
157
+ type: "function",
158
+ },
159
+ {
160
+ inputs: [],
161
+ name: "token",
162
+ outputs: [
163
+ {
164
+ internalType: "address",
165
+ name: "",
166
+ type: "address",
167
+ },
168
+ ],
169
+ stateMutability: "view",
170
+ type: "function",
171
+ },
172
+ ];
173
+
174
+ export class IPBulkSeller__factory {
175
+ static readonly abi = _abi;
176
+ static createInterface(): IPBulkSellerInterface {
177
+ return new utils.Interface(_abi) as IPBulkSellerInterface;
178
+ }
179
+ static connect(
180
+ address: string,
181
+ signerOrProvider: Signer | Provider
182
+ ): IPBulkSeller {
183
+ return new Contract(address, _abi, signerOrProvider) as IPBulkSeller;
184
+ }
185
+ }
@@ -69,6 +69,51 @@ const _abi = [
69
69
  stateMutability: "view",
70
70
  type: "function",
71
71
  },
72
+ {
73
+ inputs: [],
74
+ name: "getTotalPooledEther",
75
+ outputs: [
76
+ {
77
+ internalType: "uint256",
78
+ name: "",
79
+ type: "uint256",
80
+ },
81
+ ],
82
+ stateMutability: "view",
83
+ type: "function",
84
+ },
85
+ {
86
+ inputs: [],
87
+ name: "getTotalShares",
88
+ outputs: [
89
+ {
90
+ internalType: "uint256",
91
+ name: "",
92
+ type: "uint256",
93
+ },
94
+ ],
95
+ stateMutability: "view",
96
+ type: "function",
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ internalType: "address",
102
+ name: "account",
103
+ type: "address",
104
+ },
105
+ ],
106
+ name: "sharesOf",
107
+ outputs: [
108
+ {
109
+ internalType: "uint256",
110
+ name: "",
111
+ type: "uint256",
112
+ },
113
+ ],
114
+ stateMutability: "view",
115
+ type: "function",
116
+ },
72
117
  {
73
118
  inputs: [
74
119
  {
@@ -0,0 +1,225 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { ITriCrvPool, ITriCrvPoolInterface } from "../ITriCrvPool";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "A",
13
+ outputs: [
14
+ {
15
+ internalType: "uint256",
16
+ name: "",
17
+ type: "uint256",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "uint256[3]",
27
+ name: "_deposit_amount",
28
+ type: "uint256[3]",
29
+ },
30
+ {
31
+ internalType: "uint256",
32
+ name: "_min_amount",
33
+ type: "uint256",
34
+ },
35
+ ],
36
+ name: "add_liquidity",
37
+ outputs: [],
38
+ stateMutability: "nonpayable",
39
+ type: "function",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "admin_fee",
44
+ outputs: [
45
+ {
46
+ internalType: "uint256",
47
+ name: "",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ stateMutability: "view",
52
+ type: "function",
53
+ },
54
+ {
55
+ inputs: [
56
+ {
57
+ internalType: "uint256",
58
+ name: "i",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ name: "balances",
63
+ outputs: [
64
+ {
65
+ internalType: "uint256",
66
+ name: "",
67
+ type: "uint256",
68
+ },
69
+ ],
70
+ stateMutability: "view",
71
+ type: "function",
72
+ },
73
+ {
74
+ inputs: [
75
+ {
76
+ internalType: "uint256",
77
+ name: "_burn_amount",
78
+ type: "uint256",
79
+ },
80
+ {
81
+ internalType: "int128",
82
+ name: "i",
83
+ type: "int128",
84
+ },
85
+ ],
86
+ name: "calc_withdraw_one_coin",
87
+ outputs: [
88
+ {
89
+ internalType: "uint256",
90
+ name: "",
91
+ type: "uint256",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "uint256",
101
+ name: "i",
102
+ type: "uint256",
103
+ },
104
+ ],
105
+ name: "coins",
106
+ outputs: [
107
+ {
108
+ internalType: "address",
109
+ name: "",
110
+ type: "address",
111
+ },
112
+ ],
113
+ stateMutability: "view",
114
+ type: "function",
115
+ },
116
+ {
117
+ inputs: [
118
+ {
119
+ internalType: "int128",
120
+ name: "i",
121
+ type: "int128",
122
+ },
123
+ {
124
+ internalType: "int128",
125
+ name: "j",
126
+ type: "int128",
127
+ },
128
+ {
129
+ internalType: "uint256",
130
+ name: "dx",
131
+ type: "uint256",
132
+ },
133
+ {
134
+ internalType: "uint256",
135
+ name: "min_dy",
136
+ type: "uint256",
137
+ },
138
+ ],
139
+ name: "exchange",
140
+ outputs: [
141
+ {
142
+ internalType: "uint256",
143
+ name: "",
144
+ type: "uint256",
145
+ },
146
+ ],
147
+ stateMutability: "nonpayable",
148
+ type: "function",
149
+ },
150
+ {
151
+ inputs: [],
152
+ name: "fee",
153
+ outputs: [
154
+ {
155
+ internalType: "uint256",
156
+ name: "",
157
+ type: "uint256",
158
+ },
159
+ ],
160
+ stateMutability: "view",
161
+ type: "function",
162
+ },
163
+ {
164
+ inputs: [],
165
+ name: "get_virtual_price",
166
+ outputs: [
167
+ {
168
+ internalType: "uint256",
169
+ name: "",
170
+ type: "uint256",
171
+ },
172
+ ],
173
+ stateMutability: "view",
174
+ type: "function",
175
+ },
176
+ {
177
+ inputs: [],
178
+ name: "lp_token",
179
+ outputs: [
180
+ {
181
+ internalType: "address",
182
+ name: "",
183
+ type: "address",
184
+ },
185
+ ],
186
+ stateMutability: "view",
187
+ type: "function",
188
+ },
189
+ {
190
+ inputs: [
191
+ {
192
+ internalType: "uint256",
193
+ name: "_burn_amount",
194
+ type: "uint256",
195
+ },
196
+ {
197
+ internalType: "int128",
198
+ name: "i",
199
+ type: "int128",
200
+ },
201
+ {
202
+ internalType: "uint256",
203
+ name: "_min_amount",
204
+ type: "uint256",
205
+ },
206
+ ],
207
+ name: "remove_liquidity_one_coin",
208
+ outputs: [],
209
+ stateMutability: "nonpayable",
210
+ type: "function",
211
+ },
212
+ ];
213
+
214
+ export class ITriCrvPool__factory {
215
+ static readonly abi = _abi;
216
+ static createInterface(): ITriCrvPoolInterface {
217
+ return new utils.Interface(_abi) as ITriCrvPoolInterface;
218
+ }
219
+ static connect(
220
+ address: string,
221
+ signerOrProvider: Signer | Provider
222
+ ): ITriCrvPool {
223
+ return new Contract(address, _abi, signerOrProvider) as ITriCrvPool;
224
+ }
225
+ }
@@ -183,7 +183,7 @@ const _abi = [
183
183
  ];
184
184
 
185
185
  const _bytecode =
186
- "0x608060405234801561001057600080fd5b506115e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a2f3b98a14610030575b600080fd5b61004361003e366004611322565b610055565b60405190815260200160405180910390f35b600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ba91906113e2565b925050506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610122919061142f565b905060005b878112156101695760006101488361013f8b89611474565b89919042610174565b50905061015581866114a2565b94505080610162906114ca565b9050610127565b505050949350505050565b6000806101858660c001518461020f565b156101a35760405163b2094b5960e01b815260040160405180910390fd5b855184126101d6578551604051632185509b60e21b81526004810191909152602481018590526044015b60405180910390fd5b60006101e387878661021a565b90506101f187828888610323565b90935091506102058782888887878a610469565b5094509492505050565b808211155b92915050565b6102456040518060800160405280600081526020016000815260200160008152602001600081525090565b6102538460c001518361020f565b156102715760405163b2094b5960e01b815260040160405180910390fd5b6000828560c0015161028391906114e9565b905061028f85826104fb565b825260208501516102a190859061055c565b6020830152845115806102b657506020820151155b156102e4578451602083015160405163b1c4aefb60e01b8152600481019290925260248201526044016101cd565b6103028560000151866101000151846020015185600001518561059b565b604083015260a0850151610316908261061c565b6060830152509392505050565b6000806000610345876000015187602001518860000151896040015188610655565b9050600061035b6103568684610712565b610741565b606088015190915060008613156103ca5760006103788483610712565b9050670de0b6b3a76400008112156103a65760405163329e322960e21b8152600481018290526024016101cd565b6103c26103bb83670de0b6b3a76400006114fc565b849061074f565b9150506103f7565b6103f4816103e081670de0b6b3a76400006114fc565b6103ea9085611523565b6103569190611474565b90505b600060646104088b60e0015161076d565b6104129084611523565b61041c9190611474565b9050600061042a83856114fc565b9050600081126104435761043e8982610787565b61044d565b61044d89826107b4565b96506104598983610787565b9550505050505094509492505050565b6000818860c0015161047b91906114e9565b885190915061048a90866107e1565b88526104a461049984866114a2565b60208a0151906107e1565b6020890181905288516104c9916104bc90899061055c565b895160408b01518561082f565b61010089018190526000036104f157604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b60006105068261076d565b61051d6105186201518061016d611553565b61076d565b846080015161052c9190611523565b6105369190611474565b90506000811361021457604051630e520c3b60e11b8152600481018290526024016101cd565b6000806000831261056e576001610572565b6000195b90506105896105188561058486610887565b61089e565b6105939082611523565b949350505050565b6000806105a8868461061c565b9050670de0b6b3a76400008112156105d65760405163329e322960e21b8152600481018290526024016101cd565b60006105ec6105e5878a6114a2565b8990610712565b905060006105f9826108bd565b90506106058187610712565b61060f90846114fc565b9998505050505050505050565b60008061062e6201518061016d611553565b6106388486611553565b610642919061156a565b90506105936106508261076d565b610910565b60008061066287846107e1565b9050600061067a610673888a6114a2565b8390610712565b9050670d529ae9e86000008113156106b657604051637e34684f60e11b815260048101829052670d529ae9e860000060248201526044016101cd565b60006106c1826108bd565b9050856106ce8289610712565b6106d891906114a2565b9350670de0b6b3a76400008412156107065760405163329e322960e21b8152600481018590526024016101cd565b50505095945050505050565b600080610727670de0b6b3a764000085611523565b905082818161073857610738611448565b05949350505050565b600061021482600019611523565b60008061075c8385611523565b9050670de0b6b3a764000081610738565b60006001600160ff1b0382111561078357600080fd5b5090565b6000806000831261079957600161079d565b6000195b9050610589610518856107af86610887565b610d25565b600080600083126107c65760016107ca565b6000195b9050610589610518856107dc86610887565b610d3a565b60008183121561081e5760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b60448201526064016101cd565b61082882846114fc565b9392505050565b600080610840878787876000610655565b9050600061085561085083610d66565b610df7565b9050836108676201518061016d611553565b6108719083611553565b61087b919061156a565b98975050505050505050565b6000808213610783576108998261157e565b610214565b6000670de0b6b3a76400006108b38484611553565b610828919061156a565b6000670de0b6b3a764000082036108e75760405163a9c8b14d60e01b815260040160405180910390fd5b60006109056108fe84670de0b6b3a76400006114fc565b8490610712565b905061082881610d66565b6000680238fd42c5cf03ffff198212158015610935575068070c1cc73b00c800008213155b6109745760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016101cd565b60008212156109ac5761098982600003610910565b6a0c097ce7bc90715b34b9f160241b816109a5576109a5611448565b0592915050565b60006806f05b59d3b200000083126109ea57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b610a20565b6803782dace9d90000008312610a1c57506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610a20565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610a705768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610aac576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610ae657682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610b20576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610b5957680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610b925768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610bcb576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610c045768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000826108b3670de0b6b3a764000084611553565b600082600181610d52670de0b6b3a764000086611553565b610d5c919061159a565b6108b391906114e9565b6000808213610da75760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016101cd565b670c7d713b49da000082138015610dc55750670f43fc2c04ee000082125b15610de957670de0b6b3a7640000610ddc83610e06565b816109a5576109a5611448565b61021482610f25565b919050565b60008082121561078357600080fd5b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281610e4757610e47611448565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215610f6657610f5d826a0c097ce7bc90715b34b9f160241b81610f5757610f57611448565b05610f25565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312610fb15772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312610fe8576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312611030576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a700831261106b576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126110a257693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126110d957690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d03831261110e5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261113957680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d831261116e576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126111a3576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126111d7576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261120b576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028161123457611234611448565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b03811681146112dd57600080fd5b50565b8035610df2816112c8565b60405161012081016001600160401b038111828210171561131c57634e487b7160e01b600052604160045260246000fd5b60405290565b60008060008084860361018081121561133a57600080fd5b85359450602086013561134c816112c8565b9350610120603f19820181131561136257600080fd5b61136a6112eb565b915060408701358252606087013560208301526080870135604083015261139360a088016112e0565b606083015260c0870135608083015260e087013560a08301526101008088013560c08401528188013560e084015261014088013581840152505080925050610160850135905092959194509250565b6000806000606084860312156113f757600080fd5b8351611402816112c8565b6020850151909350611413816112c8565b6040850151909250611424816112c8565b809150509250925092565b60006020828403121561144157600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008261148357611483611448565b600160ff1b82146000198414161561149d5761149d61145e565b500590565b80820182811260008312801582168215821617156114c2576114c261145e565b505092915050565b60006001600160ff1b0182016114e2576114e261145e565b5060010190565b818103818111156102145761021461145e565b818103600083128015838313168383128216171561151c5761151c61145e565b5092915050565b80820260008212600160ff1b8414161561153f5761153f61145e565b81810583148215176102145761021461145e565b80820281158282048414176102145761021461145e565b60008261157957611579611448565b500490565b6000600160ff1b82016115935761159361145e565b5060000390565b808201808211156102145761021461145e56fea264697066735822122037cfbb6f657dec24a5e0145ef4d6ca79b897e1cc04855b868ef9b23b4fac9e0e64736f6c63430008110033";
186
+ "0x608060405234801561001057600080fd5b506115e3806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a2f3b98a14610030575b600080fd5b61004361003e366004611322565b610055565b60405190815260200160405180910390f35b600080846001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610096573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100ba91906113e2565b925050506000816001600160a01b031663d2a3584e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610122919061142f565b905060005b878112156101695760006101488361013f8b89611474565b89919042610174565b50905061015581866114a2565b94505080610162906114ca565b9050610127565b505050949350505050565b6000806101858660c001518461020f565b156101a35760405163b2094b5960e01b815260040160405180910390fd5b855184126101d6578551604051632185509b60e21b81526004810191909152602481018590526044015b60405180910390fd5b60006101e387878661021a565b90506101f187828888610323565b90935091506102058782888887878a610469565b5094509492505050565b808211155b92915050565b6102456040518060800160405280600081526020016000815260200160008152602001600081525090565b6102538460c001518361020f565b156102715760405163b2094b5960e01b815260040160405180910390fd5b6000828560c0015161028391906114e9565b905061028f85826104fb565b825260208501516102a190859061055c565b6020830152845115806102b657506020820151155b156102e4578451602083015160405163b1c4aefb60e01b8152600481019290925260248201526044016101cd565b6103028560000151866101000151846020015185600001518561059b565b604083015260a0850151610316908261061c565b6060830152509392505050565b6000806000610345876000015187602001518860000151896040015188610655565b9050600061035b6103568684610712565b610741565b606088015190915060008613156103ca5760006103788483610712565b9050670de0b6b3a76400008112156103a65760405163329e322960e21b8152600481018290526024016101cd565b6103c26103bb83670de0b6b3a76400006114fc565b849061074f565b9150506103f7565b6103f4816103e081670de0b6b3a76400006114fc565b6103ea9085611523565b6103569190611474565b90505b600060646104088b60e0015161076d565b6104129084611523565b61041c9190611474565b9050600061042a83856114fc565b9050600081126104435761043e8982610787565b61044d565b61044d89826107b4565b96506104598983610787565b9550505050505094509492505050565b6000818860c0015161047b91906114e9565b885190915061048a90866107e1565b88526104a461049984866114a2565b60208a0151906107e1565b6020890181905288516104c9916104bc90899061055c565b895160408b01518561082f565b61010089018190526000036104f157604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b60006105068261076d565b61051d6105186201518061016d611553565b61076d565b846080015161052c9190611523565b6105369190611474565b90506000811361021457604051630e520c3b60e11b8152600481018290526024016101cd565b6000806000831261056e576001610572565b6000195b90506105896105188561058486610887565b61089e565b6105939082611523565b949350505050565b6000806105a8868461061c565b9050670de0b6b3a76400008112156105d65760405163329e322960e21b8152600481018290526024016101cd565b60006105ec6105e5878a6114a2565b8990610712565b905060006105f9826108bd565b90506106058187610712565b61060f90846114fc565b9998505050505050505050565b60008061062e6201518061016d611553565b6106388486611553565b610642919061156a565b90506105936106508261076d565b610910565b60008061066287846107e1565b9050600061067a610673888a6114a2565b8390610712565b9050670d529ae9e86000008113156106b657604051637e34684f60e11b815260048101829052670d529ae9e860000060248201526044016101cd565b60006106c1826108bd565b9050856106ce8289610712565b6106d891906114a2565b9350670de0b6b3a76400008412156107065760405163329e322960e21b8152600481018590526024016101cd565b50505095945050505050565b600080610727670de0b6b3a764000085611523565b905082818161073857610738611448565b05949350505050565b600061021482600019611523565b60008061075c8385611523565b9050670de0b6b3a764000081610738565b60006001600160ff1b0382111561078357600080fd5b5090565b6000806000831261079957600161079d565b6000195b9050610589610518856107af86610887565b610d25565b600080600083126107c65760016107ca565b6000195b9050610589610518856107dc86610887565b610d3a565b60008183121561081e5760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b60448201526064016101cd565b61082882846114fc565b9392505050565b600080610840878787876000610655565b9050600061085561085083610d66565b610df7565b9050836108676201518061016d611553565b6108719083611553565b61087b919061156a565b98975050505050505050565b6000808213610783576108998261157e565b610214565b6000670de0b6b3a76400006108b38484611553565b610828919061156a565b6000670de0b6b3a764000082036108e75760405163a9c8b14d60e01b815260040160405180910390fd5b60006109056108fe84670de0b6b3a76400006114fc565b8490610712565b905061082881610d66565b6000680238fd42c5cf03ffff198212158015610935575068070c1cc73b00c800008213155b6109745760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b60448201526064016101cd565b60008212156109ac5761098982600003610910565b6a0c097ce7bc90715b34b9f160241b816109a5576109a5611448565b0592915050565b60006806f05b59d3b200000083126109ea57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b610a20565b6803782dace9d90000008312610a1c57506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610a20565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412610a705768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610aac576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412610ae657682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610b20576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412610b5957680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412610b925768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610bcb576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c400008412610c045768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000826108b3670de0b6b3a764000084611553565b600082600181610d52670de0b6b3a764000086611553565b610d5c919061159a565b6108b391906114e9565b6000808213610da75760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b60448201526064016101cd565b670c7d713b49da000082138015610dc55750670f43fc2c04ee000082125b15610de957670de0b6b3a7640000610ddc83610e06565b816109a5576109a5611448565b61021482610f25565b919050565b60008082121561078357600080fd5b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff1985010281610e4757610e47611448565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a7640000821215610f6657610f5d826a0c097ce7bc90715b34b9f160241b81610f5757610f57611448565b05610f25565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b8312610fb15772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b8312610fe8576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff00840008312611030576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a700831261106b576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf85083126110a257693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e283126110d957690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d03831261110e5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb41746121110831261113957680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d831261116e576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f177578893793783126111a3576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b28660383126111d7576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac831261120b576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d63100000808603028161123457611234611448565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b03811681146112dd57600080fd5b50565b8035610df2816112c8565b60405161012081016001600160401b038111828210171561131c57634e487b7160e01b600052604160045260246000fd5b60405290565b60008060008084860361018081121561133a57600080fd5b85359450602086013561134c816112c8565b9350610120603f19820181131561136257600080fd5b61136a6112eb565b915060408701358252606087013560208301526080870135604083015261139360a088016112e0565b606083015260c0870135608083015260e087013560a08301526101008088013560c08401528188013560e084015261014088013581840152505080925050610160850135905092959194509250565b6000806000606084860312156113f757600080fd5b8351611402816112c8565b6020850151909350611413816112c8565b6040850151909250611424816112c8565b809150509250925092565b60006020828403121561144157600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008261148357611483611448565b600160ff1b82146000198414161561149d5761149d61145e565b500590565b80820182811260008312801582168215821617156114c2576114c261145e565b505092915050565b60006001600160ff1b0182016114e2576114e261145e565b5060010190565b818103818111156102145761021461145e565b818103600083128015838313168383128216171561151c5761151c61145e565b5092915050565b80820260008212600160ff1b8414161561153f5761153f61145e565b81810583148215176102145761021461145e565b80820281158282048414176102145761021461145e565b60008261157957611579611448565b500490565b6000600160ff1b82016115935761159361145e565b5060000390565b808201808211156102145761021461145e56fea2646970667358221220b3029556e617b0f365b552411dfcee87c3f1faaf1858794f7353870c180c7e1964736f6c63430008110033";
187
187
 
188
188
  type ImplicitSwapfeeContractConstructorParams =
189
189
  | [signer?: Signer]
@@ -0,0 +1,36 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { Initializable, InitializableInterface } from "../Initializable";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: false,
15
+ internalType: "uint8",
16
+ name: "version",
17
+ type: "uint8",
18
+ },
19
+ ],
20
+ name: "Initialized",
21
+ type: "event",
22
+ },
23
+ ];
24
+
25
+ export class Initializable__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): InitializableInterface {
28
+ return new utils.Interface(_abi) as InitializableInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): Initializable {
34
+ return new Contract(address, _abi, signerOrProvider) as Initializable;
35
+ }
36
+ }