@pendle/core-v2 3.0.0-beta-7 → 3.0.0-beta-9

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 (331) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  134. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  135. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  136. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +2 -2
  137. package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/helpers/ArgumentsDecoder.sol/ArgumentsDecoder.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  140. package/build/artifacts/contracts/limit/helpers/Permitable.sol/Permitable.dbg.json +1 -1
  141. package/build/artifacts/contracts/limit/helpers/RevertReasonParser.sol/RevertReasonParser.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  168. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  169. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  170. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  171. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  172. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  173. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  174. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +1 -1
  175. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +2 -2
  176. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  177. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  178. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  179. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  180. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  181. package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  182. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  183. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  184. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  185. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  186. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  187. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  188. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  189. package/contracts/limit/PendleOrderMixin.sol +4 -2
  190. package/contracts/router/ActionMiscV3.sol +1 -1
  191. package/deployments/42161-core.json +1 -1
  192. package/package.json +1 -1
  193. package/typechain-types/AccessControlUpgradeable.ts +369 -0
  194. package/typechain-types/ActionAddRemoveLiq.ts +1239 -0
  195. package/typechain-types/ActionMintRedeem.ts +673 -0
  196. package/typechain-types/ActionMisc.ts +155 -0
  197. package/typechain-types/ActionSwapPT.ts +544 -0
  198. package/typechain-types/ActionSwapYT.ts +730 -0
  199. package/typechain-types/AuraWethVethSYUpg.ts +1612 -0
  200. package/typechain-types/BeaconProxy.ts +97 -0
  201. package/typechain-types/BulkSeller.ts +743 -0
  202. package/typechain-types/BulkSellerFactory.ts +712 -0
  203. package/typechain-types/BulkSellerOffchain.ts +251 -0
  204. package/typechain-types/ContextUpgradeable.ts +68 -0
  205. package/typechain-types/EIP712.ts +135 -0
  206. package/typechain-types/ERC165Upgradeable.ts +113 -0
  207. package/typechain-types/GMTokenPricingHelper.ts +478 -0
  208. package/typechain-types/IAccessControlUpgradeable.ts +305 -0
  209. package/typechain-types/IERC165Upgradeable.ts +102 -0
  210. package/typechain-types/IERC1967.ts +97 -0
  211. package/typechain-types/IERC5267.ts +135 -0
  212. package/typechain-types/IERC5267Upgradeable.ts +135 -0
  213. package/typechain-types/IGMXPriceHelper.ts +84 -0
  214. package/typechain-types/IGMXV2DataStore.ts +87 -0
  215. package/typechain-types/IGMXV2Oracle.ts +107 -0
  216. package/typechain-types/IGMXV2Reader.ts +204 -0
  217. package/typechain-types/IKyberElasticFactory.ts +734 -0
  218. package/typechain-types/IKyberElasticPool.ts +514 -0
  219. package/typechain-types/IKyberElasticRouter.ts +315 -0
  220. package/typechain-types/IKyberLiquidityMining.ts +968 -0
  221. package/typechain-types/IKyberMathHelper.ts +231 -0
  222. package/typechain-types/IKyberPositionManager.ts +773 -0
  223. package/typechain-types/IMUXRewardRouter.ts +1599 -0
  224. package/typechain-types/IPActionAddRemoveLiq.ts +1239 -0
  225. package/typechain-types/IPActionMintRedeem.ts +673 -0
  226. package/typechain-types/IPActionMisc.ts +155 -0
  227. package/typechain-types/IPActionSwapPT.ts +544 -0
  228. package/typechain-types/IPActionSwapYT.ts +686 -0
  229. package/typechain-types/IPAllAction.ts +2935 -0
  230. package/typechain-types/IPBulkSeller.ts +391 -0
  231. package/typechain-types/IPBulkSellerCallback.ts +115 -0
  232. package/typechain-types/IPBulkSellerFactory.ts +152 -0
  233. package/typechain-types/IPLinearDistributor.ts +199 -0
  234. package/typechain-types/IPMerkleDistributor.ts +235 -0
  235. package/typechain-types/IPOffchainStorage.ts +146 -0
  236. package/typechain-types/IPPriceFeed.ts +81 -0
  237. package/typechain-types/ISilo.ts +1093 -0
  238. package/typechain-types/ISiloIncentiveController.ts +129 -0
  239. package/typechain-types/ISiloLens.ts +107 -0
  240. package/typechain-types/KyberMathHelper.ts +604 -0
  241. package/typechain-types/KyberNftManagerBaseUpg.ts +148 -0
  242. package/typechain-types/MlpPricingHelper.ts +397 -0
  243. package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +1577 -0
  244. package/typechain-types/PendleERC20PermitUpg.ts +517 -0
  245. package/typechain-types/PendleERC20Upg.ts +348 -0
  246. package/typechain-types/PendleGMV2TokenSY.ts +1434 -0
  247. package/typechain-types/PendleKyberElasticSYUpg.ts +1648 -0
  248. package/typechain-types/PendleLinearDistributor.ts +829 -0
  249. package/typechain-types/PendleMerkleDistributor.ts +610 -0
  250. package/typechain-types/PendleMlpSY.ts +1606 -0
  251. package/typechain-types/PendleOffchainStorage.ts +666 -0
  252. package/typechain-types/PendleRouter.ts +217 -0
  253. package/typechain-types/PendleRouterHelper2.ts +185 -0
  254. package/typechain-types/PendleSiloWithIncentiveSY.ts +1455 -0
  255. package/typechain-types/ReentrancyGuardUpgradeable.ts +68 -0
  256. package/typechain-types/SYBaseUpg.ts +1270 -0
  257. package/typechain-types/SYBaseWithRewardsUpg.ts +1363 -0
  258. package/typechain-types/ShortStrings.ts +57 -0
  259. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +247 -0
  260. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1676 -0
  261. package/typechain-types/factories/ActionMintRedeem__factory.ts +806 -0
  262. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  263. package/typechain-types/factories/ActionMisc__factory.ts +129 -0
  264. package/typechain-types/factories/ActionSwapPT__factory.ts +770 -0
  265. package/typechain-types/factories/ActionSwapYT__factory.ts +1041 -0
  266. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +1264 -0
  267. package/typechain-types/factories/BeaconProxy__factory.ts +141 -0
  268. package/typechain-types/factories/BulkSellerFactory__factory.ts +574 -0
  269. package/typechain-types/factories/BulkSellerOffchain__factory.ts +178 -0
  270. package/typechain-types/factories/BulkSeller__factory.ts +692 -0
  271. package/typechain-types/factories/ContextUpgradeable__factory.ts +39 -0
  272. package/typechain-types/factories/EIP712__factory.ts +85 -0
  273. package/typechain-types/factories/ERC165Upgradeable__factory.ts +58 -0
  274. package/typechain-types/factories/GMTokenPricingHelper__factory.ts +354 -0
  275. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +202 -0
  276. package/typechain-types/factories/IERC165Upgradeable__factory.ts +45 -0
  277. package/typechain-types/factories/IERC1967__factory.ts +68 -0
  278. package/typechain-types/factories/IERC5267Upgradeable__factory.ts +75 -0
  279. package/typechain-types/factories/IERC5267__factory.ts +72 -0
  280. package/typechain-types/factories/IGMXPriceHelper__factory.ts +45 -0
  281. package/typechain-types/factories/IGMXV2DataStore__factory.ts +45 -0
  282. package/typechain-types/factories/IGMXV2Oracle__factory.ts +47 -0
  283. package/typechain-types/factories/IGMXV2Reader__factory.ts +192 -0
  284. package/typechain-types/factories/IKyberElasticFactory__factory.ts +455 -0
  285. package/typechain-types/factories/IKyberElasticPool__factory.ts +315 -0
  286. package/typechain-types/factories/IKyberElasticRouter__factory.ts +240 -0
  287. package/typechain-types/factories/IKyberLiquidityMining__factory.ts +913 -0
  288. package/typechain-types/factories/IKyberMathHelper__factory.ts +143 -0
  289. package/typechain-types/factories/IKyberPositionManager__factory.ts +633 -0
  290. package/typechain-types/factories/IMUXRewardRouter__factory.ts +885 -0
  291. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +1446 -0
  292. package/typechain-types/factories/IPActionMintRedeem__factory.ts +720 -0
  293. package/typechain-types/factories/IPActionMisc__factory.ts +91 -0
  294. package/typechain-types/factories/IPActionSwapPT__factory.ts +544 -0
  295. package/typechain-types/factories/IPActionSwapYT__factory.ts +723 -0
  296. package/typechain-types/factories/IPAllAction__factory.ts +3515 -0
  297. package/typechain-types/factories/IPBulkSellerCallback__factory.ts +53 -0
  298. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +107 -0
  299. package/typechain-types/factories/IPBulkSeller__factory.ts +333 -0
  300. package/typechain-types/factories/IPLinearDistributor__factory.ts +150 -0
  301. package/typechain-types/factories/IPMerkleDistributor__factory.ts +165 -0
  302. package/typechain-types/factories/IPOffchainStorage__factory.ts +82 -0
  303. package/typechain-types/factories/IPPriceFeed__factory.ts +36 -0
  304. package/typechain-types/factories/ISiloIncentiveController__factory.ts +67 -0
  305. package/typechain-types/factories/ISiloLens__factory.ts +47 -0
  306. package/typechain-types/factories/ISilo__factory.ts +846 -0
  307. package/typechain-types/factories/KyberMathHelper__factory.ts +430 -0
  308. package/typechain-types/factories/KyberNftManagerBaseUpg__factory.ts +101 -0
  309. package/typechain-types/factories/MlpPricingHelper__factory.ts +303 -0
  310. package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +1209 -0
  311. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +389 -0
  312. package/typechain-types/factories/PendleERC20Upg__factory.ts +261 -0
  313. package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +1240 -0
  314. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +1351 -0
  315. package/typechain-types/factories/PendleLimitRouter__factory.ts +1 -1
  316. package/typechain-types/factories/PendleLinearDistributor__factory.ts +627 -0
  317. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +488 -0
  318. package/typechain-types/factories/PendleMlpSY__factory.ts +1314 -0
  319. package/typechain-types/factories/PendleOffchainStorage__factory.ts +492 -0
  320. package/typechain-types/factories/PendleRouterHelper2__factory.ts +206 -0
  321. package/typechain-types/factories/PendleRouterV3__factory.ts +1 -1
  322. package/typechain-types/factories/PendleRouter__factory.ts +264 -0
  323. package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +1266 -0
  324. package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
  325. package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
  326. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +43 -0
  327. package/typechain-types/factories/SYBaseUpg__factory.ts +988 -0
  328. package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +1061 -0
  329. package/typechain-types/factories/ShortStrings__factory.ts +77 -0
  330. package/typechain-types/hardhat.d.ts +675 -117
  331. package/typechain-types/index.ts +152 -20
@@ -0,0 +1,846 @@
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 { ISilo, ISiloInterface } from "../ISilo";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: "address",
16
+ name: "asset",
17
+ type: "address",
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: "enum ISilo.AssetStatus",
22
+ name: "status",
23
+ type: "uint8",
24
+ },
25
+ ],
26
+ name: "AssetStatusUpdate",
27
+ type: "event",
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: true,
34
+ internalType: "address",
35
+ name: "asset",
36
+ type: "address",
37
+ },
38
+ {
39
+ indexed: true,
40
+ internalType: "address",
41
+ name: "user",
42
+ type: "address",
43
+ },
44
+ {
45
+ indexed: false,
46
+ internalType: "uint256",
47
+ name: "amount",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ name: "Borrow",
52
+ type: "event",
53
+ },
54
+ {
55
+ anonymous: false,
56
+ inputs: [
57
+ {
58
+ indexed: true,
59
+ internalType: "address",
60
+ name: "asset",
61
+ type: "address",
62
+ },
63
+ {
64
+ indexed: true,
65
+ internalType: "address",
66
+ name: "depositor",
67
+ type: "address",
68
+ },
69
+ {
70
+ indexed: false,
71
+ internalType: "uint256",
72
+ name: "amount",
73
+ type: "uint256",
74
+ },
75
+ {
76
+ indexed: false,
77
+ internalType: "bool",
78
+ name: "collateralOnly",
79
+ type: "bool",
80
+ },
81
+ ],
82
+ name: "Deposit",
83
+ type: "event",
84
+ },
85
+ {
86
+ anonymous: false,
87
+ inputs: [
88
+ {
89
+ indexed: true,
90
+ internalType: "address",
91
+ name: "asset",
92
+ type: "address",
93
+ },
94
+ {
95
+ indexed: true,
96
+ internalType: "address",
97
+ name: "user",
98
+ type: "address",
99
+ },
100
+ {
101
+ indexed: false,
102
+ internalType: "uint256",
103
+ name: "shareAmountRepaid",
104
+ type: "uint256",
105
+ },
106
+ {
107
+ indexed: false,
108
+ internalType: "uint256",
109
+ name: "seizedCollateral",
110
+ type: "uint256",
111
+ },
112
+ ],
113
+ name: "Liquidate",
114
+ type: "event",
115
+ },
116
+ {
117
+ anonymous: false,
118
+ inputs: [
119
+ {
120
+ indexed: true,
121
+ internalType: "address",
122
+ name: "asset",
123
+ type: "address",
124
+ },
125
+ {
126
+ indexed: true,
127
+ internalType: "address",
128
+ name: "user",
129
+ type: "address",
130
+ },
131
+ {
132
+ indexed: false,
133
+ internalType: "uint256",
134
+ name: "amount",
135
+ type: "uint256",
136
+ },
137
+ ],
138
+ name: "Repay",
139
+ type: "event",
140
+ },
141
+ {
142
+ anonymous: false,
143
+ inputs: [
144
+ {
145
+ indexed: true,
146
+ internalType: "address",
147
+ name: "asset",
148
+ type: "address",
149
+ },
150
+ {
151
+ indexed: true,
152
+ internalType: "address",
153
+ name: "depositor",
154
+ type: "address",
155
+ },
156
+ {
157
+ indexed: true,
158
+ internalType: "address",
159
+ name: "receiver",
160
+ type: "address",
161
+ },
162
+ {
163
+ indexed: false,
164
+ internalType: "uint256",
165
+ name: "amount",
166
+ type: "uint256",
167
+ },
168
+ {
169
+ indexed: false,
170
+ internalType: "bool",
171
+ name: "collateralOnly",
172
+ type: "bool",
173
+ },
174
+ ],
175
+ name: "Withdraw",
176
+ type: "event",
177
+ },
178
+ {
179
+ inputs: [],
180
+ name: "VERSION",
181
+ outputs: [
182
+ {
183
+ internalType: "uint128",
184
+ name: "",
185
+ type: "uint128",
186
+ },
187
+ ],
188
+ stateMutability: "nonpayable",
189
+ type: "function",
190
+ },
191
+ {
192
+ inputs: [
193
+ {
194
+ internalType: "address",
195
+ name: "_asset",
196
+ type: "address",
197
+ },
198
+ ],
199
+ name: "accrueInterest",
200
+ outputs: [
201
+ {
202
+ internalType: "uint256",
203
+ name: "interest",
204
+ type: "uint256",
205
+ },
206
+ ],
207
+ stateMutability: "nonpayable",
208
+ type: "function",
209
+ },
210
+ {
211
+ inputs: [
212
+ {
213
+ internalType: "address",
214
+ name: "_asset",
215
+ type: "address",
216
+ },
217
+ ],
218
+ name: "assetStorage",
219
+ outputs: [
220
+ {
221
+ components: [
222
+ {
223
+ internalType: "address",
224
+ name: "collateralToken",
225
+ type: "address",
226
+ },
227
+ {
228
+ internalType: "address",
229
+ name: "collateralOnlyToken",
230
+ type: "address",
231
+ },
232
+ {
233
+ internalType: "address",
234
+ name: "debtToken",
235
+ type: "address",
236
+ },
237
+ {
238
+ internalType: "uint256",
239
+ name: "totalDeposits",
240
+ type: "uint256",
241
+ },
242
+ {
243
+ internalType: "uint256",
244
+ name: "collateralOnlyDeposits",
245
+ type: "uint256",
246
+ },
247
+ {
248
+ internalType: "uint256",
249
+ name: "totalBorrowAmount",
250
+ type: "uint256",
251
+ },
252
+ ],
253
+ internalType: "struct ISilo.AssetStorage",
254
+ name: "",
255
+ type: "tuple",
256
+ },
257
+ ],
258
+ stateMutability: "view",
259
+ type: "function",
260
+ },
261
+ {
262
+ inputs: [
263
+ {
264
+ internalType: "address",
265
+ name: "_asset",
266
+ type: "address",
267
+ },
268
+ {
269
+ internalType: "uint256",
270
+ name: "_amount",
271
+ type: "uint256",
272
+ },
273
+ ],
274
+ name: "borrow",
275
+ outputs: [
276
+ {
277
+ internalType: "uint256",
278
+ name: "debtAmount",
279
+ type: "uint256",
280
+ },
281
+ {
282
+ internalType: "uint256",
283
+ name: "debtShare",
284
+ type: "uint256",
285
+ },
286
+ ],
287
+ stateMutability: "nonpayable",
288
+ type: "function",
289
+ },
290
+ {
291
+ inputs: [
292
+ {
293
+ internalType: "address",
294
+ name: "_asset",
295
+ type: "address",
296
+ },
297
+ {
298
+ internalType: "address",
299
+ name: "_borrower",
300
+ type: "address",
301
+ },
302
+ {
303
+ internalType: "address",
304
+ name: "_receiver",
305
+ type: "address",
306
+ },
307
+ {
308
+ internalType: "uint256",
309
+ name: "_amount",
310
+ type: "uint256",
311
+ },
312
+ ],
313
+ name: "borrowFor",
314
+ outputs: [
315
+ {
316
+ internalType: "uint256",
317
+ name: "debtAmount",
318
+ type: "uint256",
319
+ },
320
+ {
321
+ internalType: "uint256",
322
+ name: "debtShare",
323
+ type: "uint256",
324
+ },
325
+ ],
326
+ stateMutability: "nonpayable",
327
+ type: "function",
328
+ },
329
+ {
330
+ inputs: [
331
+ {
332
+ internalType: "address",
333
+ name: "_asset",
334
+ type: "address",
335
+ },
336
+ {
337
+ internalType: "address",
338
+ name: "_borrower",
339
+ type: "address",
340
+ },
341
+ ],
342
+ name: "borrowPossible",
343
+ outputs: [
344
+ {
345
+ internalType: "bool",
346
+ name: "",
347
+ type: "bool",
348
+ },
349
+ ],
350
+ stateMutability: "view",
351
+ type: "function",
352
+ },
353
+ {
354
+ inputs: [
355
+ {
356
+ internalType: "address",
357
+ name: "_asset",
358
+ type: "address",
359
+ },
360
+ {
361
+ internalType: "uint256",
362
+ name: "_amount",
363
+ type: "uint256",
364
+ },
365
+ {
366
+ internalType: "bool",
367
+ name: "_collateralOnly",
368
+ type: "bool",
369
+ },
370
+ ],
371
+ name: "deposit",
372
+ outputs: [
373
+ {
374
+ internalType: "uint256",
375
+ name: "collateralAmount",
376
+ type: "uint256",
377
+ },
378
+ {
379
+ internalType: "uint256",
380
+ name: "collateralShare",
381
+ type: "uint256",
382
+ },
383
+ ],
384
+ stateMutability: "nonpayable",
385
+ type: "function",
386
+ },
387
+ {
388
+ inputs: [
389
+ {
390
+ internalType: "address",
391
+ name: "_asset",
392
+ type: "address",
393
+ },
394
+ {
395
+ internalType: "address",
396
+ name: "_depositor",
397
+ type: "address",
398
+ },
399
+ {
400
+ internalType: "uint256",
401
+ name: "_amount",
402
+ type: "uint256",
403
+ },
404
+ {
405
+ internalType: "bool",
406
+ name: "_collateralOnly",
407
+ type: "bool",
408
+ },
409
+ ],
410
+ name: "depositFor",
411
+ outputs: [
412
+ {
413
+ internalType: "uint256",
414
+ name: "collateralAmount",
415
+ type: "uint256",
416
+ },
417
+ {
418
+ internalType: "uint256",
419
+ name: "collateralShare",
420
+ type: "uint256",
421
+ },
422
+ ],
423
+ stateMutability: "nonpayable",
424
+ type: "function",
425
+ },
426
+ {
427
+ inputs: [
428
+ {
429
+ internalType: "address",
430
+ name: "_asset",
431
+ type: "address",
432
+ },
433
+ {
434
+ internalType: "address",
435
+ name: "_depositor",
436
+ type: "address",
437
+ },
438
+ ],
439
+ name: "depositPossible",
440
+ outputs: [
441
+ {
442
+ internalType: "bool",
443
+ name: "",
444
+ type: "bool",
445
+ },
446
+ ],
447
+ stateMutability: "view",
448
+ type: "function",
449
+ },
450
+ {
451
+ inputs: [
452
+ {
453
+ internalType: "address[]",
454
+ name: "_users",
455
+ type: "address[]",
456
+ },
457
+ {
458
+ internalType: "bytes",
459
+ name: "_flashReceiverData",
460
+ type: "bytes",
461
+ },
462
+ ],
463
+ name: "flashLiquidate",
464
+ outputs: [
465
+ {
466
+ internalType: "address[]",
467
+ name: "assets",
468
+ type: "address[]",
469
+ },
470
+ {
471
+ internalType: "uint256[][]",
472
+ name: "receivedCollaterals",
473
+ type: "uint256[][]",
474
+ },
475
+ {
476
+ internalType: "uint256[][]",
477
+ name: "shareAmountsToRepaid",
478
+ type: "uint256[][]",
479
+ },
480
+ ],
481
+ stateMutability: "nonpayable",
482
+ type: "function",
483
+ },
484
+ {
485
+ inputs: [],
486
+ name: "getAssets",
487
+ outputs: [
488
+ {
489
+ internalType: "address[]",
490
+ name: "assets",
491
+ type: "address[]",
492
+ },
493
+ ],
494
+ stateMutability: "view",
495
+ type: "function",
496
+ },
497
+ {
498
+ inputs: [],
499
+ name: "getAssetsWithState",
500
+ outputs: [
501
+ {
502
+ internalType: "address[]",
503
+ name: "assets",
504
+ type: "address[]",
505
+ },
506
+ {
507
+ components: [
508
+ {
509
+ internalType: "address",
510
+ name: "collateralToken",
511
+ type: "address",
512
+ },
513
+ {
514
+ internalType: "address",
515
+ name: "collateralOnlyToken",
516
+ type: "address",
517
+ },
518
+ {
519
+ internalType: "address",
520
+ name: "debtToken",
521
+ type: "address",
522
+ },
523
+ {
524
+ internalType: "uint256",
525
+ name: "totalDeposits",
526
+ type: "uint256",
527
+ },
528
+ {
529
+ internalType: "uint256",
530
+ name: "collateralOnlyDeposits",
531
+ type: "uint256",
532
+ },
533
+ {
534
+ internalType: "uint256",
535
+ name: "totalBorrowAmount",
536
+ type: "uint256",
537
+ },
538
+ ],
539
+ internalType: "struct ISilo.AssetStorage[]",
540
+ name: "assetsStorage",
541
+ type: "tuple[]",
542
+ },
543
+ ],
544
+ stateMutability: "view",
545
+ type: "function",
546
+ },
547
+ {
548
+ inputs: [],
549
+ name: "harvestProtocolFees",
550
+ outputs: [
551
+ {
552
+ internalType: "uint256[]",
553
+ name: "harvestedAmounts",
554
+ type: "uint256[]",
555
+ },
556
+ ],
557
+ stateMutability: "nonpayable",
558
+ type: "function",
559
+ },
560
+ {
561
+ inputs: [
562
+ {
563
+ internalType: "address",
564
+ name: "_asset",
565
+ type: "address",
566
+ },
567
+ ],
568
+ name: "interestData",
569
+ outputs: [
570
+ {
571
+ components: [
572
+ {
573
+ internalType: "uint256",
574
+ name: "harvestedProtocolFees",
575
+ type: "uint256",
576
+ },
577
+ {
578
+ internalType: "uint256",
579
+ name: "protocolFees",
580
+ type: "uint256",
581
+ },
582
+ {
583
+ internalType: "uint64",
584
+ name: "interestRateTimestamp",
585
+ type: "uint64",
586
+ },
587
+ {
588
+ internalType: "enum ISilo.AssetStatus",
589
+ name: "status",
590
+ type: "uint8",
591
+ },
592
+ ],
593
+ internalType: "struct ISilo.AssetInterestData",
594
+ name: "",
595
+ type: "tuple",
596
+ },
597
+ ],
598
+ stateMutability: "view",
599
+ type: "function",
600
+ },
601
+ {
602
+ inputs: [
603
+ {
604
+ internalType: "address",
605
+ name: "_user",
606
+ type: "address",
607
+ },
608
+ ],
609
+ name: "isSolvent",
610
+ outputs: [
611
+ {
612
+ internalType: "bool",
613
+ name: "",
614
+ type: "bool",
615
+ },
616
+ ],
617
+ stateMutability: "view",
618
+ type: "function",
619
+ },
620
+ {
621
+ inputs: [
622
+ {
623
+ internalType: "address",
624
+ name: "_asset",
625
+ type: "address",
626
+ },
627
+ ],
628
+ name: "liquidity",
629
+ outputs: [
630
+ {
631
+ internalType: "uint256",
632
+ name: "",
633
+ type: "uint256",
634
+ },
635
+ ],
636
+ stateMutability: "view",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "address",
643
+ name: "_asset",
644
+ type: "address",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "_amount",
649
+ type: "uint256",
650
+ },
651
+ ],
652
+ name: "repay",
653
+ outputs: [
654
+ {
655
+ internalType: "uint256",
656
+ name: "repaidAmount",
657
+ type: "uint256",
658
+ },
659
+ {
660
+ internalType: "uint256",
661
+ name: "burnedShare",
662
+ type: "uint256",
663
+ },
664
+ ],
665
+ stateMutability: "nonpayable",
666
+ type: "function",
667
+ },
668
+ {
669
+ inputs: [
670
+ {
671
+ internalType: "address",
672
+ name: "_asset",
673
+ type: "address",
674
+ },
675
+ {
676
+ internalType: "address",
677
+ name: "_borrower",
678
+ type: "address",
679
+ },
680
+ {
681
+ internalType: "uint256",
682
+ name: "_amount",
683
+ type: "uint256",
684
+ },
685
+ ],
686
+ name: "repayFor",
687
+ outputs: [
688
+ {
689
+ internalType: "uint256",
690
+ name: "repaidAmount",
691
+ type: "uint256",
692
+ },
693
+ {
694
+ internalType: "uint256",
695
+ name: "burnedShare",
696
+ type: "uint256",
697
+ },
698
+ ],
699
+ stateMutability: "nonpayable",
700
+ type: "function",
701
+ },
702
+ {
703
+ inputs: [],
704
+ name: "siloRepository",
705
+ outputs: [
706
+ {
707
+ internalType: "address",
708
+ name: "",
709
+ type: "address",
710
+ },
711
+ ],
712
+ stateMutability: "view",
713
+ type: "function",
714
+ },
715
+ {
716
+ inputs: [],
717
+ name: "syncBridgeAssets",
718
+ outputs: [],
719
+ stateMutability: "nonpayable",
720
+ type: "function",
721
+ },
722
+ {
723
+ inputs: [
724
+ {
725
+ internalType: "address",
726
+ name: "_asset",
727
+ type: "address",
728
+ },
729
+ ],
730
+ name: "utilizationData",
731
+ outputs: [
732
+ {
733
+ components: [
734
+ {
735
+ internalType: "uint256",
736
+ name: "totalDeposits",
737
+ type: "uint256",
738
+ },
739
+ {
740
+ internalType: "uint256",
741
+ name: "totalBorrowAmount",
742
+ type: "uint256",
743
+ },
744
+ {
745
+ internalType: "uint64",
746
+ name: "interestRateTimestamp",
747
+ type: "uint64",
748
+ },
749
+ ],
750
+ internalType: "struct ISilo.UtilizationData",
751
+ name: "data",
752
+ type: "tuple",
753
+ },
754
+ ],
755
+ stateMutability: "view",
756
+ type: "function",
757
+ },
758
+ {
759
+ inputs: [
760
+ {
761
+ internalType: "address",
762
+ name: "_asset",
763
+ type: "address",
764
+ },
765
+ {
766
+ internalType: "uint256",
767
+ name: "_amount",
768
+ type: "uint256",
769
+ },
770
+ {
771
+ internalType: "bool",
772
+ name: "_collateralOnly",
773
+ type: "bool",
774
+ },
775
+ ],
776
+ name: "withdraw",
777
+ outputs: [
778
+ {
779
+ internalType: "uint256",
780
+ name: "withdrawnAmount",
781
+ type: "uint256",
782
+ },
783
+ {
784
+ internalType: "uint256",
785
+ name: "withdrawnShare",
786
+ type: "uint256",
787
+ },
788
+ ],
789
+ stateMutability: "nonpayable",
790
+ type: "function",
791
+ },
792
+ {
793
+ inputs: [
794
+ {
795
+ internalType: "address",
796
+ name: "_asset",
797
+ type: "address",
798
+ },
799
+ {
800
+ internalType: "address",
801
+ name: "_depositor",
802
+ type: "address",
803
+ },
804
+ {
805
+ internalType: "address",
806
+ name: "_receiver",
807
+ type: "address",
808
+ },
809
+ {
810
+ internalType: "uint256",
811
+ name: "_amount",
812
+ type: "uint256",
813
+ },
814
+ {
815
+ internalType: "bool",
816
+ name: "_collateralOnly",
817
+ type: "bool",
818
+ },
819
+ ],
820
+ name: "withdrawFor",
821
+ outputs: [
822
+ {
823
+ internalType: "uint256",
824
+ name: "withdrawnAmount",
825
+ type: "uint256",
826
+ },
827
+ {
828
+ internalType: "uint256",
829
+ name: "withdrawnShare",
830
+ type: "uint256",
831
+ },
832
+ ],
833
+ stateMutability: "nonpayable",
834
+ type: "function",
835
+ },
836
+ ];
837
+
838
+ export class ISilo__factory {
839
+ static readonly abi = _abi;
840
+ static createInterface(): ISiloInterface {
841
+ return new utils.Interface(_abi) as ISiloInterface;
842
+ }
843
+ static connect(address: string, signerOrProvider: Signer | Provider): ISilo {
844
+ return new Contract(address, _abi, signerOrProvider) as ISilo;
845
+ }
846
+ }