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

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 (369) 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/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +4 -0
  7. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.json +426 -0
  8. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAPoolHelper.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/BbAPoolHelper.sol/BbAWethHelper.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearMath.sol/LinearMath.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/Linear/LinearPreview.sol/LinearPreview.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/Flux/FluxTokenLib.sol/FluxTokenLib.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaLpHelper.sol/ThenaLpHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaMath.sol/ThenaMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/Balancer/IERC4626LinearPool.sol/IERC4626LinearPool.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/Balancer/IPComposableStablePreview.sol/IPComposableStablePreview.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/Balancer/IVersion.sol/IVersion.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/BinanceEth/IWBETH.sol/IWBETH.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/Camelot/ICamelotFactory.sol/ICamelotFactory.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTFactory.sol/ICamelotNFTFactory.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTHandler.sol/ICamelotNFTHandler.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPool.sol/ICamelotNitroPool.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/Camelot/ICamelotRouter.sol/ICamelotRouter.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/Camelot/ICamelotYieldBooster.sol/ICamelotYieldBooster.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/Camelot/IXGrail.sol/IXGrail.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/Flux/IFluxErc20.sol/IFluxErc20.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/Flux/IFluxInterestRateModel.sol/IFluxInterestRateModel.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/Frax/IFrxEthMinter.sol/IFrxEthMinter.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/HMX/IHLPStaking.sol/IHLPStaking.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/HMX/IHMXCalculator.sol/IHMXCalculator.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/HMX/IHMXCompounder.sol/IHMXCompounder.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/HMX/IHMXStaking.sol/IHMXStaking.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/HMX/IHMXVester.sol/IHMXVester.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IDailLikePermit.sol/IDaiLikePermit.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPExternalRewardDistributor.sol/IPExternalRewardDistributor.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/ILimitOrderCallee.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixin.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPOrderMixinType.dbg.json +1 -1
  138. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  139. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  140. package/build/artifacts/contracts/interfaces/IPMarketFactoryV2.sol/IPMarketFactoryV2.dbg.json +1 -1
  141. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  142. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +4 -0
  143. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.json +150 -0
  144. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  145. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  146. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  147. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  148. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  149. package/build/artifacts/contracts/interfaces/IPPtOracle.sol/IPPtOracle.dbg.json +1 -1
  150. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  151. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  152. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  153. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  154. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  155. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  156. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  157. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  158. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +1 -1
  159. package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
  160. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  161. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  162. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  163. package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
  164. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  165. package/build/artifacts/contracts/interfaces/IStargateLP.sol/IStargateLP.dbg.json +1 -1
  166. package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
  167. package/build/artifacts/contracts/interfaces/IStargateStaking.sol/IStargateStaking.dbg.json +1 -1
  168. package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +1 -1
  169. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  170. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  171. package/build/artifacts/contracts/interfaces/Lybra/IEUSD.sol/IEUSD.dbg.json +1 -1
  172. package/build/artifacts/contracts/interfaces/Thena/IThenaFactory.sol/IThenaFactory.dbg.json +1 -1
  173. package/build/artifacts/contracts/interfaces/Thena/IThenaGaugeV2.sol/IThenaGaugeV2.dbg.json +1 -1
  174. package/build/artifacts/contracts/interfaces/Thena/IThenaPair.sol/IThenaPair.dbg.json +1 -1
  175. package/build/artifacts/contracts/interfaces/Thena/IThenaRouter.sol/IThenaRouter.dbg.json +1 -1
  176. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  177. package/build/artifacts/contracts/limit/PendleOrderMixin.sol/PendleOrderMixin.dbg.json +1 -1
  178. package/build/artifacts/contracts/limit/helpers/ArgumentsDecoder.sol/ArgumentsDecoder.dbg.json +1 -1
  179. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  180. package/build/artifacts/contracts/limit/helpers/Permitable.sol/Permitable.dbg.json +1 -1
  181. package/build/artifacts/contracts/limit/helpers/RevertReasonParser.sol/RevertReasonParser.dbg.json +1 -1
  182. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  185. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  187. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  191. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  193. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +1 -1
  195. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  197. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/PtAndLpToAsset.sol/PtAndLpToAsset.dbg.json +1 -1
  199. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/base/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  219. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
  220. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
  221. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
  222. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
  223. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
  224. package/build/artifacts/contracts/router/swap-aggregator/oneinch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
  225. package/build/artifacts/contracts/router/swap-aggregator/oneinch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
  226. package/contracts/LiquidityMining/PendleMerkleDistributor.sol +95 -0
  227. package/contracts/interfaces/IPMerkleDistributor.sol +24 -0
  228. package/package.json +1 -1
  229. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +1 -1
  230. package/typechain-types/hardhat.d.ts +0 -675
  231. package/typechain-types/index.ts +0 -138
  232. package/typechain-types/AccessControlUpgradeable.ts +0 -369
  233. package/typechain-types/ActionAddRemoveLiq.ts +0 -1239
  234. package/typechain-types/ActionMintRedeem.ts +0 -673
  235. package/typechain-types/ActionMisc.ts +0 -155
  236. package/typechain-types/ActionSwapPT.ts +0 -544
  237. package/typechain-types/ActionSwapYT.ts +0 -730
  238. package/typechain-types/AuraWethVethSYUpg.ts +0 -1612
  239. package/typechain-types/BeaconProxy.ts +0 -97
  240. package/typechain-types/BulkSeller.ts +0 -743
  241. package/typechain-types/BulkSellerFactory.ts +0 -712
  242. package/typechain-types/BulkSellerOffchain.ts +0 -251
  243. package/typechain-types/ContextUpgradeable.ts +0 -68
  244. package/typechain-types/EIP712.ts +0 -135
  245. package/typechain-types/ERC165Upgradeable.ts +0 -113
  246. package/typechain-types/GMTokenPricingHelper.ts +0 -478
  247. package/typechain-types/IAccessControlUpgradeable.ts +0 -305
  248. package/typechain-types/IAggregationExecutorOptimistic.ts +0 -394
  249. package/typechain-types/IERC165Upgradeable.ts +0 -102
  250. package/typechain-types/IERC1967.ts +0 -97
  251. package/typechain-types/IERC5267.ts +0 -135
  252. package/typechain-types/IERC5267Upgradeable.ts +0 -135
  253. package/typechain-types/IExecutorHelperL2.ts +0 -2272
  254. package/typechain-types/IGMXPriceHelper.ts +0 -84
  255. package/typechain-types/IGMXV2DataStore.ts +0 -87
  256. package/typechain-types/IGMXV2Oracle.ts +0 -107
  257. package/typechain-types/IGMXV2Reader.ts +0 -204
  258. package/typechain-types/IKyberElasticFactory.ts +0 -734
  259. package/typechain-types/IKyberElasticPool.ts +0 -514
  260. package/typechain-types/IKyberElasticRouter.ts +0 -315
  261. package/typechain-types/IKyberLiquidityMining.ts +0 -968
  262. package/typechain-types/IKyberMathHelper.ts +0 -231
  263. package/typechain-types/IKyberPositionManager.ts +0 -773
  264. package/typechain-types/IMUXRewardRouter.ts +0 -1599
  265. package/typechain-types/IPActionAddRemoveLiq.ts +0 -1239
  266. package/typechain-types/IPActionMintRedeem.ts +0 -673
  267. package/typechain-types/IPActionMisc.ts +0 -155
  268. package/typechain-types/IPActionSwapPT.ts +0 -544
  269. package/typechain-types/IPActionSwapYT.ts +0 -686
  270. package/typechain-types/IPAllAction.ts +0 -2935
  271. package/typechain-types/IPBulkSeller.ts +0 -391
  272. package/typechain-types/IPBulkSellerCallback.ts +0 -115
  273. package/typechain-types/IPBulkSellerFactory.ts +0 -152
  274. package/typechain-types/IPLinearDistributor.ts +0 -199
  275. package/typechain-types/IPOffchainStorage.ts +0 -146
  276. package/typechain-types/IPPriceFeed.ts +0 -81
  277. package/typechain-types/ISilo.ts +0 -1093
  278. package/typechain-types/ISiloIncentiveController.ts +0 -129
  279. package/typechain-types/ISiloLens.ts +0 -107
  280. package/typechain-types/KyberMathHelper.ts +0 -604
  281. package/typechain-types/KyberNftManagerBaseUpg.ts +0 -148
  282. package/typechain-types/MlpPricingHelper.ts +0 -397
  283. package/typechain-types/PendleAuraBalancerStableLPSYV3Upg.ts +0 -1577
  284. package/typechain-types/PendleERC20PermitUpg.ts +0 -517
  285. package/typechain-types/PendleERC20Upg.ts +0 -348
  286. package/typechain-types/PendleGMV2TokenSY.ts +0 -1434
  287. package/typechain-types/PendleKyberElasticSYUpg.ts +0 -1648
  288. package/typechain-types/PendleLinearDistributor.ts +0 -829
  289. package/typechain-types/PendleMlpSY.ts +0 -1606
  290. package/typechain-types/PendleOffchainStorage.ts +0 -666
  291. package/typechain-types/PendleRouter.ts +0 -217
  292. package/typechain-types/PendleRouterHelper2.ts +0 -185
  293. package/typechain-types/PendleSiloWithIncentiveSY.ts +0 -1455
  294. package/typechain-types/PendleSwapBase.ts +0 -126
  295. package/typechain-types/PendleSwapL1.ts +0 -126
  296. package/typechain-types/PendleSwapL2.ts +0 -126
  297. package/typechain-types/ReentrancyGuardUpgradeable.ts +0 -68
  298. package/typechain-types/SYBaseUpg.ts +0 -1270
  299. package/typechain-types/SYBaseWithRewardsUpg.ts +0 -1363
  300. package/typechain-types/ShortStrings.ts +0 -57
  301. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
  302. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +0 -1676
  303. package/typechain-types/factories/ActionMintRedeem__factory.ts +0 -806
  304. package/typechain-types/factories/ActionMisc__factory.ts +0 -129
  305. package/typechain-types/factories/ActionSwapPT__factory.ts +0 -770
  306. package/typechain-types/factories/ActionSwapYT__factory.ts +0 -1041
  307. package/typechain-types/factories/AuraWethVethSYUpg__factory.ts +0 -1264
  308. package/typechain-types/factories/BeaconProxy__factory.ts +0 -141
  309. package/typechain-types/factories/BulkSellerFactory__factory.ts +0 -574
  310. package/typechain-types/factories/BulkSellerOffchain__factory.ts +0 -178
  311. package/typechain-types/factories/BulkSeller__factory.ts +0 -692
  312. package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
  313. package/typechain-types/factories/EIP712__factory.ts +0 -85
  314. package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
  315. package/typechain-types/factories/GMTokenPricingHelper__factory.ts +0 -354
  316. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
  317. package/typechain-types/factories/IAggregationExecutorOptimistic__factory.ts +0 -213
  318. package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
  319. package/typechain-types/factories/IERC1967__factory.ts +0 -68
  320. package/typechain-types/factories/IERC5267Upgradeable__factory.ts +0 -75
  321. package/typechain-types/factories/IERC5267__factory.ts +0 -72
  322. package/typechain-types/factories/IExecutorHelperL2__factory.ts +0 -1862
  323. package/typechain-types/factories/IGMXPriceHelper__factory.ts +0 -45
  324. package/typechain-types/factories/IGMXV2DataStore__factory.ts +0 -45
  325. package/typechain-types/factories/IGMXV2Oracle__factory.ts +0 -47
  326. package/typechain-types/factories/IGMXV2Reader__factory.ts +0 -192
  327. package/typechain-types/factories/IKyberElasticFactory__factory.ts +0 -455
  328. package/typechain-types/factories/IKyberElasticPool__factory.ts +0 -315
  329. package/typechain-types/factories/IKyberElasticRouter__factory.ts +0 -240
  330. package/typechain-types/factories/IKyberLiquidityMining__factory.ts +0 -913
  331. package/typechain-types/factories/IKyberMathHelper__factory.ts +0 -143
  332. package/typechain-types/factories/IKyberPositionManager__factory.ts +0 -633
  333. package/typechain-types/factories/IMUXRewardRouter__factory.ts +0 -885
  334. package/typechain-types/factories/IPActionAddRemoveLiq__factory.ts +0 -1446
  335. package/typechain-types/factories/IPActionMintRedeem__factory.ts +0 -720
  336. package/typechain-types/factories/IPActionMisc__factory.ts +0 -91
  337. package/typechain-types/factories/IPActionSwapPT__factory.ts +0 -544
  338. package/typechain-types/factories/IPActionSwapYT__factory.ts +0 -723
  339. package/typechain-types/factories/IPAllAction__factory.ts +0 -3515
  340. package/typechain-types/factories/IPBulkSellerCallback__factory.ts +0 -53
  341. package/typechain-types/factories/IPBulkSellerFactory__factory.ts +0 -107
  342. package/typechain-types/factories/IPBulkSeller__factory.ts +0 -333
  343. package/typechain-types/factories/IPLinearDistributor__factory.ts +0 -150
  344. package/typechain-types/factories/IPOffchainStorage__factory.ts +0 -82
  345. package/typechain-types/factories/IPPriceFeed__factory.ts +0 -36
  346. package/typechain-types/factories/ISiloIncentiveController__factory.ts +0 -67
  347. package/typechain-types/factories/ISiloLens__factory.ts +0 -47
  348. package/typechain-types/factories/ISilo__factory.ts +0 -846
  349. package/typechain-types/factories/KyberMathHelper__factory.ts +0 -430
  350. package/typechain-types/factories/KyberNftManagerBaseUpg__factory.ts +0 -101
  351. package/typechain-types/factories/MlpPricingHelper__factory.ts +0 -303
  352. package/typechain-types/factories/PendleAuraBalancerStableLPSYV3Upg__factory.ts +0 -1209
  353. package/typechain-types/factories/PendleERC20PermitUpg__factory.ts +0 -389
  354. package/typechain-types/factories/PendleERC20Upg__factory.ts +0 -261
  355. package/typechain-types/factories/PendleGMV2TokenSY__factory.ts +0 -1240
  356. package/typechain-types/factories/PendleKyberElasticSYUpg__factory.ts +0 -1351
  357. package/typechain-types/factories/PendleLinearDistributor__factory.ts +0 -627
  358. package/typechain-types/factories/PendleMlpSY__factory.ts +0 -1314
  359. package/typechain-types/factories/PendleOffchainStorage__factory.ts +0 -492
  360. package/typechain-types/factories/PendleRouterHelper2__factory.ts +0 -206
  361. package/typechain-types/factories/PendleRouter__factory.ts +0 -264
  362. package/typechain-types/factories/PendleSiloWithIncentiveSY__factory.ts +0 -1266
  363. package/typechain-types/factories/PendleSwapBase__factory.ts +0 -91
  364. package/typechain-types/factories/PendleSwapL1__factory.ts +0 -126
  365. package/typechain-types/factories/PendleSwapL2__factory.ts +0 -126
  366. package/typechain-types/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
  367. package/typechain-types/factories/SYBaseUpg__factory.ts +0 -988
  368. package/typechain-types/factories/SYBaseWithRewardsUpg__factory.ts +0 -1061
  369. package/typechain-types/factories/ShortStrings__factory.ts +0 -77
@@ -1,692 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
- import { Provider, TransactionRequest } from "@ethersproject/providers";
6
- import type { BulkSeller, BulkSellerInterface } from "../BulkSeller";
7
-
8
- const _abi = [
9
- {
10
- inputs: [
11
- {
12
- internalType: "uint256",
13
- name: "actualRate",
14
- type: "uint256",
15
- },
16
- {
17
- internalType: "uint256",
18
- name: "currentRate",
19
- type: "uint256",
20
- },
21
- {
22
- internalType: "uint256",
23
- name: "eps",
24
- type: "uint256",
25
- },
26
- ],
27
- name: "BulkBadRateSyToToken",
28
- type: "error",
29
- },
30
- {
31
- inputs: [
32
- {
33
- internalType: "uint256",
34
- name: "actualRate",
35
- type: "uint256",
36
- },
37
- {
38
- internalType: "uint256",
39
- name: "currentRate",
40
- type: "uint256",
41
- },
42
- {
43
- internalType: "uint256",
44
- name: "eps",
45
- type: "uint256",
46
- },
47
- ],
48
- name: "BulkBadRateTokenToSy",
49
- type: "error",
50
- },
51
- {
52
- inputs: [
53
- {
54
- internalType: "uint256",
55
- name: "actualSyOut",
56
- type: "uint256",
57
- },
58
- {
59
- internalType: "uint256",
60
- name: "requiredSyOut",
61
- type: "uint256",
62
- },
63
- ],
64
- name: "BulkInSufficientSyOut",
65
- type: "error",
66
- },
67
- {
68
- inputs: [
69
- {
70
- internalType: "uint256",
71
- name: "actualTokenOut",
72
- type: "uint256",
73
- },
74
- {
75
- internalType: "uint256",
76
- name: "requiredTokenOut",
77
- type: "uint256",
78
- },
79
- ],
80
- name: "BulkInSufficientTokenOut",
81
- type: "error",
82
- },
83
- {
84
- inputs: [
85
- {
86
- internalType: "uint256",
87
- name: "currentAmount",
88
- type: "uint256",
89
- },
90
- {
91
- internalType: "uint256",
92
- name: "requiredAmount",
93
- type: "uint256",
94
- },
95
- ],
96
- name: "BulkInsufficientSyForTrade",
97
- type: "error",
98
- },
99
- {
100
- inputs: [
101
- {
102
- internalType: "uint256",
103
- name: "actualBalance",
104
- type: "uint256",
105
- },
106
- {
107
- internalType: "uint256",
108
- name: "requiredBalance",
109
- type: "uint256",
110
- },
111
- ],
112
- name: "BulkInsufficientSyReceived",
113
- type: "error",
114
- },
115
- {
116
- inputs: [
117
- {
118
- internalType: "uint256",
119
- name: "currentAmount",
120
- type: "uint256",
121
- },
122
- {
123
- internalType: "uint256",
124
- name: "requiredAmount",
125
- type: "uint256",
126
- },
127
- ],
128
- name: "BulkInsufficientTokenForTrade",
129
- type: "error",
130
- },
131
- {
132
- inputs: [],
133
- name: "BulkNotMaintainer",
134
- type: "error",
135
- },
136
- {
137
- anonymous: false,
138
- inputs: [
139
- {
140
- indexed: false,
141
- internalType: "uint256",
142
- name: "newFeeRate",
143
- type: "uint256",
144
- },
145
- {
146
- indexed: false,
147
- internalType: "uint256",
148
- name: "oldFeeRate",
149
- type: "uint256",
150
- },
151
- ],
152
- name: "FeeRateUpdated",
153
- type: "event",
154
- },
155
- {
156
- anonymous: false,
157
- inputs: [
158
- {
159
- indexed: false,
160
- internalType: "uint8",
161
- name: "version",
162
- type: "uint8",
163
- },
164
- ],
165
- name: "Initialized",
166
- type: "event",
167
- },
168
- {
169
- anonymous: false,
170
- inputs: [
171
- {
172
- indexed: false,
173
- internalType: "uint256",
174
- name: "newRateTokenToSy",
175
- type: "uint256",
176
- },
177
- {
178
- indexed: false,
179
- internalType: "uint256",
180
- name: "newRateSyToToken",
181
- type: "uint256",
182
- },
183
- {
184
- indexed: false,
185
- internalType: "uint256",
186
- name: "oldRateTokenToSy",
187
- type: "uint256",
188
- },
189
- {
190
- indexed: false,
191
- internalType: "uint256",
192
- name: "oldRateSyToToken",
193
- type: "uint256",
194
- },
195
- ],
196
- name: "RateUpdated",
197
- type: "event",
198
- },
199
- {
200
- anonymous: false,
201
- inputs: [
202
- {
203
- indexed: false,
204
- internalType: "uint256",
205
- name: "netSyRedeem",
206
- type: "uint256",
207
- },
208
- {
209
- indexed: false,
210
- internalType: "uint256",
211
- name: "netTokenFromSy",
212
- type: "uint256",
213
- },
214
- {
215
- indexed: false,
216
- internalType: "uint256",
217
- name: "newTokenProp",
218
- type: "uint256",
219
- },
220
- {
221
- indexed: false,
222
- internalType: "uint256",
223
- name: "oldTokenProp",
224
- type: "uint256",
225
- },
226
- ],
227
- name: "ReBalanceSyToToken",
228
- type: "event",
229
- },
230
- {
231
- anonymous: false,
232
- inputs: [
233
- {
234
- indexed: false,
235
- internalType: "uint256",
236
- name: "netTokenDeposit",
237
- type: "uint256",
238
- },
239
- {
240
- indexed: false,
241
- internalType: "uint256",
242
- name: "netSyFromToken",
243
- type: "uint256",
244
- },
245
- {
246
- indexed: false,
247
- internalType: "uint256",
248
- name: "newTokenProp",
249
- type: "uint256",
250
- },
251
- {
252
- indexed: false,
253
- internalType: "uint256",
254
- name: "oldTokenProp",
255
- type: "uint256",
256
- },
257
- ],
258
- name: "ReBalanceTokenToSy",
259
- type: "event",
260
- },
261
- {
262
- anonymous: false,
263
- inputs: [
264
- {
265
- indexed: false,
266
- internalType: "uint256",
267
- name: "totalToken",
268
- type: "uint256",
269
- },
270
- {
271
- indexed: false,
272
- internalType: "uint256",
273
- name: "totalSy",
274
- type: "uint256",
275
- },
276
- ],
277
- name: "ReserveUpdated",
278
- type: "event",
279
- },
280
- {
281
- anonymous: false,
282
- inputs: [
283
- {
284
- indexed: false,
285
- internalType: "address",
286
- name: "receiver",
287
- type: "address",
288
- },
289
- {
290
- indexed: false,
291
- internalType: "uint256",
292
- name: "netSyIn",
293
- type: "uint256",
294
- },
295
- {
296
- indexed: false,
297
- internalType: "uint256",
298
- name: "netTokenOut",
299
- type: "uint256",
300
- },
301
- ],
302
- name: "SwapExactSyForToken",
303
- type: "event",
304
- },
305
- {
306
- anonymous: false,
307
- inputs: [
308
- {
309
- indexed: false,
310
- internalType: "address",
311
- name: "receiver",
312
- type: "address",
313
- },
314
- {
315
- indexed: false,
316
- internalType: "uint256",
317
- name: "netTokenIn",
318
- type: "uint256",
319
- },
320
- {
321
- indexed: false,
322
- internalType: "uint256",
323
- name: "netSyOut",
324
- type: "uint256",
325
- },
326
- ],
327
- name: "SwapExactTokenForSy",
328
- type: "event",
329
- },
330
- {
331
- inputs: [],
332
- name: "SY",
333
- outputs: [
334
- {
335
- internalType: "address",
336
- name: "",
337
- type: "address",
338
- },
339
- ],
340
- stateMutability: "view",
341
- type: "function",
342
- },
343
- {
344
- inputs: [],
345
- name: "_storage",
346
- outputs: [
347
- {
348
- internalType: "uint128",
349
- name: "rateTokenToSy",
350
- type: "uint128",
351
- },
352
- {
353
- internalType: "uint128",
354
- name: "rateSyToToken",
355
- type: "uint128",
356
- },
357
- {
358
- internalType: "uint128",
359
- name: "totalSy",
360
- type: "uint128",
361
- },
362
- {
363
- internalType: "uint128",
364
- name: "totalToken",
365
- type: "uint128",
366
- },
367
- ],
368
- stateMutability: "view",
369
- type: "function",
370
- },
371
- {
372
- inputs: [
373
- {
374
- internalType: "uint256",
375
- name: "netTokenOut",
376
- type: "uint256",
377
- },
378
- {
379
- internalType: "uint256",
380
- name: "netSyOut",
381
- type: "uint256",
382
- },
383
- ],
384
- name: "decreaseReserve",
385
- outputs: [],
386
- stateMutability: "nonpayable",
387
- type: "function",
388
- },
389
- {
390
- inputs: [],
391
- name: "factory",
392
- outputs: [
393
- {
394
- internalType: "address",
395
- name: "",
396
- type: "address",
397
- },
398
- ],
399
- stateMutability: "view",
400
- type: "function",
401
- },
402
- {
403
- inputs: [],
404
- name: "feeRate",
405
- outputs: [
406
- {
407
- internalType: "uint64",
408
- name: "",
409
- type: "uint64",
410
- },
411
- ],
412
- stateMutability: "view",
413
- type: "function",
414
- },
415
- {
416
- inputs: [
417
- {
418
- internalType: "uint256",
419
- name: "netTokenIn",
420
- type: "uint256",
421
- },
422
- {
423
- internalType: "uint256",
424
- name: "netSyIn",
425
- type: "uint256",
426
- },
427
- ],
428
- name: "increaseReserve",
429
- outputs: [],
430
- stateMutability: "payable",
431
- type: "function",
432
- },
433
- {
434
- inputs: [
435
- {
436
- internalType: "address",
437
- name: "_token",
438
- type: "address",
439
- },
440
- {
441
- internalType: "address",
442
- name: "_SY",
443
- type: "address",
444
- },
445
- {
446
- internalType: "address",
447
- name: "_factory",
448
- type: "address",
449
- },
450
- ],
451
- name: "initialize",
452
- outputs: [],
453
- stateMutability: "nonpayable",
454
- type: "function",
455
- },
456
- {
457
- inputs: [
458
- {
459
- internalType: "uint256",
460
- name: "targetProp",
461
- type: "uint256",
462
- },
463
- {
464
- internalType: "uint256",
465
- name: "maxDiff",
466
- type: "uint256",
467
- },
468
- ],
469
- name: "reBalance",
470
- outputs: [],
471
- stateMutability: "nonpayable",
472
- type: "function",
473
- },
474
- {
475
- inputs: [],
476
- name: "readState",
477
- outputs: [
478
- {
479
- components: [
480
- {
481
- internalType: "uint256",
482
- name: "rateTokenToSy",
483
- type: "uint256",
484
- },
485
- {
486
- internalType: "uint256",
487
- name: "rateSyToToken",
488
- type: "uint256",
489
- },
490
- {
491
- internalType: "uint256",
492
- name: "totalToken",
493
- type: "uint256",
494
- },
495
- {
496
- internalType: "uint256",
497
- name: "totalSy",
498
- type: "uint256",
499
- },
500
- {
501
- internalType: "uint256",
502
- name: "feeRate",
503
- type: "uint256",
504
- },
505
- ],
506
- internalType: "struct BulkSellerState",
507
- name: "state",
508
- type: "tuple",
509
- },
510
- ],
511
- stateMutability: "view",
512
- type: "function",
513
- },
514
- {
515
- inputs: [],
516
- name: "redeemRewards",
517
- outputs: [],
518
- stateMutability: "nonpayable",
519
- type: "function",
520
- },
521
- {
522
- inputs: [
523
- {
524
- internalType: "uint64",
525
- name: "newFeeRate",
526
- type: "uint64",
527
- },
528
- ],
529
- name: "setFeeRate",
530
- outputs: [],
531
- stateMutability: "nonpayable",
532
- type: "function",
533
- },
534
- {
535
- inputs: [
536
- {
537
- internalType: "uint256",
538
- name: "newRateSyToToken",
539
- type: "uint256",
540
- },
541
- {
542
- internalType: "uint256",
543
- name: "newRateTokenToSy",
544
- type: "uint256",
545
- },
546
- {
547
- internalType: "uint256",
548
- name: "maxDiff",
549
- type: "uint256",
550
- },
551
- ],
552
- name: "setRate",
553
- outputs: [],
554
- stateMutability: "nonpayable",
555
- type: "function",
556
- },
557
- {
558
- inputs: [],
559
- name: "skim",
560
- outputs: [],
561
- stateMutability: "nonpayable",
562
- type: "function",
563
- },
564
- {
565
- inputs: [
566
- {
567
- internalType: "address",
568
- name: "receiver",
569
- type: "address",
570
- },
571
- {
572
- internalType: "uint256",
573
- name: "exactSyIn",
574
- type: "uint256",
575
- },
576
- {
577
- internalType: "uint256",
578
- name: "minTokenOut",
579
- type: "uint256",
580
- },
581
- {
582
- internalType: "bool",
583
- name: "swapFromInternalBalance",
584
- type: "bool",
585
- },
586
- ],
587
- name: "swapExactSyForToken",
588
- outputs: [
589
- {
590
- internalType: "uint256",
591
- name: "netTokenOut",
592
- type: "uint256",
593
- },
594
- ],
595
- stateMutability: "nonpayable",
596
- type: "function",
597
- },
598
- {
599
- inputs: [
600
- {
601
- internalType: "address",
602
- name: "receiver",
603
- type: "address",
604
- },
605
- {
606
- internalType: "uint256",
607
- name: "netTokenIn",
608
- type: "uint256",
609
- },
610
- {
611
- internalType: "uint256",
612
- name: "minSyOut",
613
- type: "uint256",
614
- },
615
- ],
616
- name: "swapExactTokenForSy",
617
- outputs: [
618
- {
619
- internalType: "uint256",
620
- name: "netSyOut",
621
- type: "uint256",
622
- },
623
- ],
624
- stateMutability: "payable",
625
- type: "function",
626
- },
627
- {
628
- inputs: [],
629
- name: "token",
630
- outputs: [
631
- {
632
- internalType: "address",
633
- name: "",
634
- type: "address",
635
- },
636
- ],
637
- stateMutability: "view",
638
- type: "function",
639
- },
640
- ];
641
-
642
- const _bytecode =
643
- "0x608060405234801561001057600080fd5b506122e7806100206000396000f3fe6080604052600436106100c35760003560e01c80631dd19cb4146100c85780632778c334146100df5780633989c6661461013f578063459770f61461015f5780636d71be4c1461017f57806383f5b76614610192578063978bbdb9146101c0578063a279879b146101ff578063afd27bf51461021f578063b27670701461024c578063c0c53b8b1461025f578063c3fb90d61461027f578063c45a0155146102eb578063d0378d071461030b578063f0fc4ec11461032b578063fc0c546a14610340575b600080fd5b3480156100d457600080fd5b506100dd610360565b005b3480156100eb57600080fd5b506100f461048d565b6040516101369190600060a082019050825182526020830151602083015260408301516040830152606083015160608301526080830151608083015292915050565b60405180910390f35b34801561014b57600080fd5b506100dd61015a366004611d7f565b61051c565b34801561016b57600080fd5b506100dd61017a366004611dab565b610613565b6100dd61018d366004611dd4565b61071c565b34801561019e57600080fd5b506101b26101ad366004611e1c565b61085a565b604051908152602001610136565b3480156101cc57600080fd5b506034546101e790600160a01b90046001600160401b031681565b6040516001600160401b039091168152602001610136565b34801561020b57600080fd5b506100dd61021a366004611dd4565b610989565b34801561022b57600080fd5b5060345461023f906001600160a01b031681565b6040516101369190611e66565b6101b261025a366004611e7a565b610b29565b34801561026b57600080fd5b506100dd61027a366004611eaf565b610bf4565b34801561028b57600080fd5b506036546037546102b8916001600160801b0380821692600160801b928390048216928183169291041684565b604080516001600160801b0395861681529385166020850152918416918301919091529091166060820152608001610136565b3480156102f757600080fd5b5060355461023f906001600160a01b031681565b34801561031757600080fd5b506100dd610326366004611dd4565b610d58565b34801561033757600080fd5b506100dd610e6e565b34801561034c57600080fd5b5060335461023f906001600160a01b031681565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a90610390903390600401611e66565b602060405180830381865afa1580156103ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d19190611efa565b6103ee57604051630de65d1160e11b815260040160405180910390fd5b60006103f861048d565b6040810151603354919250600091610418906001600160a01b031661107e565b6104229190611f2d565b6060830151603454919250600091610442906001600160a01b031661107e565b61044c9190611f2d565b9050811561046b5760335461046b906001600160a01b03163384611109565b801561048857603454610488906001600160a01b03163383611109565b505050565b6104bf6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b506040805160a0810182526036546001600160801b038082168352600160801b91829004811660208401526037549182048116938301939093529091166060820152603454600160a01b90046001600160401b0316608082015290565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a9061054c903390600401611e66565b602060405180830381865afa158015610569573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061058d9190611efa565b6105aa57604051630de65d1160e11b815260040160405180910390fd5b60006105b461048d565b805160208201516040519293507fdd8196f9280a887c2cda9ceaa0c9f147ee5931086cfa28738c70c45ce383f1cb926105f09287928992611f40565b60405180910390a16106048185858561115f565b61060d816111f0565b50505050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a90610643903390600401611e66565b602060405180830381865afa158015610660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106849190611efa565b6106a157604051630de65d1160e11b815260040160405180910390fd5b603454604080516001600160401b038085168252600160a01b90930490921660208301527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957910160405180910390a1603480546001600160401b03909216600160a01b02600160a01b600160e01b0319909216919091179055565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a9061074c903390600401611e66565b602060405180830381865afa158015610769573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078d9190611efa565b6107aa57604051630de65d1160e11b815260040160405180910390fd5b60006107b461048d565b905082816040018181516107c89190611f5b565b9052506060810180518391906107df908390611f5b565b9052506033546107f9906001600160a01b0316338561129c565b603454610810906001600160a01b0316338461129c565b7f32dc813d3f262a05478ad1165d5701040e411d9a6e1684c8c2da1c8e6f3b802281604001518260600151604051610849929190611f6e565b60405180910390a1610488816111f0565b6000610864611303565b600061086e61048d565b9050826108915760345461088c906001600160a01b0316338761129c565b6108eb565b6060810151603454600091906108af906001600160a01b031661107e565b6108b99190611f2d565b9050858110156108e9578086604051636313b4e560e01b81526004016108e0929190611f6e565b60405180910390fd5b505b6108f5818661135c565b91508382101561091c57818460405163d407991560e01b81526004016108e0929190611f6e565b603354610933906001600160a01b0316878461139c565b61093c816111f0565b7fe9dcd197d2f7d180de1ecfd3999f91ecf06bb65781541f206ddabbc08e4cd29b86868460405161096f93929190611f7c565b60405180910390a15061098160018055565b949350505050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a906109b9903390600401611e66565b602060405180830381865afa1580156109d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fa9190611efa565b610a1757604051630de65d1160e11b815260040160405180910390fd5b6000610a2161048d565b90506000610a2e82611466565b9050600080610a3d848761149a565b90925090508115610ab2576000610a5383611519565b9050610a61858483896115c2565b6000610a6c86611466565b90507fb569412a0abb89d32fca61e1a718d803d8e7dd8b1fe0b8e152a01e1808e7d23284838388604051610aa39493929190611f40565b60405180910390a15050610b18565b6000610abd82611635565b9050610acb858383896116dc565b6000610ad686611466565b90507fc41b352e51a1d27f9abe2577fe6a992eaee7f0c62e0185f726a6876463db710b83838388604051610b0d9493929190611f40565b60405180910390a150505b610b21846111f0565b505050505050565b6000610b33611303565b6000610b3d61048d565b603354909150610b57906001600160a01b0316338661129c565b610b618185611748565b915082821015610b8857818360405163efd9f0cd60e01b81526004016108e0929190611f6e565b603454610b9f906001600160a01b0316868461139c565b610ba8816111f0565b7fdeed462e5fd237e34f502e1dcf0d079b3a5e5958bebea6b03700434c7bec36d4858584604051610bdb93929190611f7c565b60405180910390a150610bed60018055565b9392505050565b600054610100900460ff1615808015610c145750600054600160ff909116105b80610c355750610c233061177f565b158015610c35575060005460ff166001145b610c985760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108e0565b6000805460ff191660011790558015610cbb576000805461ff0019166101001790555b610cc361178e565b603380546001600160a01b03199081166001600160a01b038781169182179093556034805483168785169081179091556035805490931693861693909317909155610d0d916117bf565b801561060d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150505050565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a90610d88903390600401611e66565b602060405180830381865afa158015610da5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc99190611efa565b610de657604051630de65d1160e11b815260040160405180910390fd5b6000610df061048d565b90506000198303610e0357806040015192505b6000198203610e1457806060015191505b8281604001818151610e269190611f2d565b905250606081018051839190610e3d908390611f2d565b905250603354610e57906001600160a01b0316338561139c565b603454610810906001600160a01b0316338461139c565b603554604051636eab9b3560e11b81526001600160a01b039091169063dd57366a90610e9e903390600401611e66565b602060405180830381865afa158015610ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edf9190611efa565b610efc57604051630de65d1160e11b815260040160405180910390fd5b603454604051633bd73ee360e21b81526001600160a01b039091169063ef5cfb8c90610f2c903090600401611e66565b6000604051808303816000875af1158015610f4b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f739190810190612006565b506034546040805163c4f59f9b60e01b815290516000926001600160a01b03169163c4f59f9b91600480830192869291908290030181865afa158015610fbd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610fe59190810190612090565b905060005b815181101561107a5760335482516001600160a01b03909116908390839081106110165761101661211e565b60200260200101516001600160a01b03160315611072576110728282815181106110425761104261211e565b60200260200101513361106d8585815181106110605761106061211e565b602002602001015161107e565b61139c565b600101610fea565b5050565b60006001600160a01b03821615611101576040516370a0823160e01b81526001600160a01b038316906370a08231906110bb903090600401611e66565b602060405180830381865afa1580156110d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fc9190612134565b611103565b475b92915050565b6104888363a9059cbb60e01b848460405160240161112892919061214d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261187f565b83511580159061117b575061117982856000015183611954565b155b1561119f57835160405163efb0d1c760e01b81526108e09184918490600401612166565b6020840151158015906111be57506111bc83856020015183611954565b155b156111e55760208401516040516334b59fe160e21b81526108e09185918490600401612166565b508252602090910152565b6000604051806080016040528061120a846000015161199c565b6001600160801b03168152602001611225846020015161199c565b6001600160801b03168152602001611240846060015161199c565b6001600160801b0316815260200161125b846040015161199c565b6001600160801b03908116909152815160208301518216600160801b9081029183169190911760365560408301516060909301518216029116176037555050565b6001600160a01b0383166112e8578034146104885760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016108e0565b8015610488576104886001600160a01b0384168330846119b6565b6002600154036113555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e0565b6002600155565b600061136883836119ee565b9050818360600181815161137c9190611f5b565b905250604083018051829190611393908390611f2d565b90525092915050565b806000036113a957505050565b6001600160a01b03831661144c576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611404576040519150601f19603f3d011682016040523d82523d6000602084013e611409565b606091505b505090508061060d5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016108e0565b6104886001600160a01b0384168383611109565b60018055565b60408101516020820151606083015160009291839161148491611a69565b90506109816114938284611f5b565b8390611a8c565b60008060006114a885611466565b9050838111156114db576114d4816114ce6114c38783611f2d565b604089015190611a69565b90611a8c565b9250611511565b60006114ef82670de0b6b3a7640000611f2d565b905061150d816114ce6115028589611f2d565b60608a015190611a69565b9250505b509250929050565b60335460009081906001600160a01b031615611536576000611538565b825b6034546033546040516320e8c56560e01b81523060048201526001600160a01b039182166024820152604481018790526000606482015292935016906320e8c56590839060840160206040518083038185885af115801561159d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610bed9190612134565b60006115ce8385611a8c565b90506115df81866000015184611954565b61160257845160405163efb0d1c760e01b81526108e09183918590600401612166565b83856040018181516116149190611f2d565b90525060608501805184919061162b908390611f5b565b9052505050505050565b60345460009061164f906001600160a01b0316808461139c565b60345460335460405163769f8e5d60e01b8152306004820152602481018590526001600160a01b039182166044820152600060648201526001608482015291169063769f8e5d9060a4016020604051808303816000875af11580156116b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190612134565b60006116e88385611a8c565b90506116f981866020015184611954565b61171f5760208501516040516334b59fe160e21b81526108e09183918590600401612166565b82856040018181516117319190611f5b565b90525060608501805185919061162b908390611f2d565b60006117548383611ab2565b905081836040018181516117689190611f5b565b905250606083018051829190611393908390611f2d565b6001600160a01b03163b151590565b600054610100900460ff166117b55760405162461bcd60e51b81526004016108e09061217c565b6117bd611b23565b565b6001600160a01b0382166117d1575050565b6117e360026001600160601b036121dd565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561183c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118609190612134565b101561107a5761187282826000611b4a565b61107a8282600019611b4a565b60006118d4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c5e9092919063ffffffff16565b90508051600014806118f55750808060200190518101906118f59190611efa565b6104885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108e0565b6000836119728461196d85670de0b6b3a7640000611f2d565b611a69565b1115801561098157506119918361196d84670de0b6b3a7640000611f5b565b841115949350505050565b60006001600160801b038211156119b257600080fd5b5090565b6040516001600160a01b038085166024830152831660448201526064810182905261060d9085906323b872dd60e01b90608401611128565b600080611a178460800151670de0b6b3a7640000611a0c9190611f2d565b602086015190611a69565b905080600003611a2957611a29612211565b611a338382611a69565b91508360400151821115611a6257836040015182604051631895cd1f60e01b81526004016108e0929190611f6e565b5092915050565b600080611a768385612227565b9050670de0b6b3a7640000815b04949350505050565b600080611aa1670de0b6b3a764000085612227565b9050828181611a8357611a836121c7565b600080611ad88460800151670de0b6b3a7640000611ad09190611f2d565b855190611a69565b905080600003611aea57611aea612211565b611af48382611a69565b91508360600151821115611a625783606001518260405163035c130560e21b81526004016108e0929190611f6e565b600054610100900460ff166114605760405162461bcd60e51b81526004016108e09061217c565b600080846001600160a01b031663095ea7b360e01b8585604051602401611b7292919061214d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051611bb09190612262565b6000604051808303816000865af19150503d8060008114611bed576040519150601f19603f3d011682016040523d82523d6000602084013e611bf2565b606091505b5091509150818015611c1c575080511580611c1c575080806020019051810190611c1c9190611efa565b611c575760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016108e0565b5050505050565b6060610981848460008585600080866001600160a01b03168587604051611c859190612262565b60006040518083038185875af1925050503d8060008114611cc2576040519150601f19603f3d011682016040523d82523d6000602084013e611cc7565b606091505b5091509150611cd887838387611ce3565b979650505050505050565b60608315611d50578251600003611d4957611cfd8561177f565b611d495760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108e0565b5081610981565b6109818383815115611d655781518083602001fd5b8060405162461bcd60e51b81526004016108e0919061227e565b600080600060608486031215611d9457600080fd5b505081359360208301359350604090920135919050565b600060208284031215611dbd57600080fd5b81356001600160401b0381168114610bed57600080fd5b60008060408385031215611de757600080fd5b50508035926020909101359150565b6001600160a01b0381168114611e0b57600080fd5b50565b8015158114611e0b57600080fd5b60008060008060808587031215611e3257600080fd5b8435611e3d81611df6565b935060208501359250604085013591506060850135611e5b81611e0e565b939692955090935050565b6001600160a01b0391909116815260200190565b600080600060608486031215611e8f57600080fd5b8335611e9a81611df6565b95602085013595506040909401359392505050565b600080600060608486031215611ec457600080fd5b8335611ecf81611df6565b92506020840135611edf81611df6565b91506040840135611eef81611df6565b809150509250925092565b600060208284031215611f0c57600080fd5b8151610bed81611e0e565b634e487b7160e01b600052601160045260246000fd5b8181038181111561110357611103611f17565b93845260208401929092526040830152606082015260800190565b8082018082111561110357611103611f17565b918252602082015260400190565b6001600160a01b039390931683526020830191909152604082015260600190565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fdb57611fdb611f9d565b604052919050565b60006001600160401b03821115611ffc57611ffc611f9d565b5060051b60200190565b6000602080838503121561201957600080fd5b82516001600160401b0381111561202f57600080fd5b8301601f8101851361204057600080fd5b805161205361204e82611fe3565b611fb3565b81815260059190911b8201830190838101908783111561207257600080fd5b928401925b82841015611cd857835182529284019290840190612077565b600060208083850312156120a357600080fd5b82516001600160401b038111156120b957600080fd5b8301601f810185136120ca57600080fd5b80516120d861204e82611fe3565b81815260059190911b820183019083810190878311156120f757600080fd5b928401925b82841015611cd857835161210f81611df6565b825292840192908401906120fc565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561214657600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b9283526020830191909152604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b038381168061220557634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b634e487b7160e01b600052600160045260246000fd5b808202811582820484141761110357611103611f17565b60005b83811015612259578181015183820152602001612241565b50506000910152565b6000825161227481846020870161223e565b9190910192915050565b602081526000825180602084015261229d81604085016020870161223e565b601f01601f1916919091016040019291505056fea26469706673582212204300554fe7d2e8faeac71636e8a0095b3d026aa7d44c8d43192ef964164cf4e364736f6c63430008170033";
644
-
645
- type BulkSellerConstructorParams =
646
- | [signer?: Signer]
647
- | ConstructorParameters<typeof ContractFactory>;
648
-
649
- const isSuperArgs = (
650
- xs: BulkSellerConstructorParams
651
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
652
-
653
- export class BulkSeller__factory extends ContractFactory {
654
- constructor(...args: BulkSellerConstructorParams) {
655
- if (isSuperArgs(args)) {
656
- super(...args);
657
- } else {
658
- super(_abi, _bytecode, args[0]);
659
- }
660
- this.contractName = "BulkSeller";
661
- }
662
-
663
- deploy(
664
- overrides?: Overrides & { from?: string | Promise<string> }
665
- ): Promise<BulkSeller> {
666
- return super.deploy(overrides || {}) as Promise<BulkSeller>;
667
- }
668
- getDeployTransaction(
669
- overrides?: Overrides & { from?: string | Promise<string> }
670
- ): TransactionRequest {
671
- return super.getDeployTransaction(overrides || {});
672
- }
673
- attach(address: string): BulkSeller {
674
- return super.attach(address) as BulkSeller;
675
- }
676
- connect(signer: Signer): BulkSeller__factory {
677
- return super.connect(signer) as BulkSeller__factory;
678
- }
679
- static readonly contractName: "BulkSeller";
680
- public readonly contractName: "BulkSeller";
681
- static readonly bytecode = _bytecode;
682
- static readonly abi = _abi;
683
- static createInterface(): BulkSellerInterface {
684
- return new utils.Interface(_abi) as BulkSellerInterface;
685
- }
686
- static connect(
687
- address: string,
688
- signerOrProvider: Signer | Provider
689
- ): BulkSeller {
690
- return new Contract(address, _abi, signerOrProvider) as BulkSeller;
691
- }
692
- }