@pendle/core-v2 5.10.0 → 5.10.1

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 (429) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  22. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/Market/v1/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/Market/v3/PendleMarketFactoryV3.sol/PendleMarketFactoryV3.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/erc20/PendleERC20PermitUpg.sol/PendleERC20PermitUpg.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/erc20/PendleERC20Upg.sol/PendleERC20Upg.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
  46. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.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/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  52. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  54. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPMarketFactoryV3.sol/IPMarketFactoryV3.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPMarketV3.sol/IPMarketV3.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  107. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  128. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  129. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  130. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  131. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  132. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  133. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  134. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  135. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  136. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  137. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  138. package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
  139. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  140. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  141. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  142. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  143. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  144. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.json +2 -2
  155. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  157. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  161. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  163. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +48 -3715
  165. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  168. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  175. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  176. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  177. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  178. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  179. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +2 -2
  180. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  181. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +2 -2
  182. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  183. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +2 -2
  184. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  185. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  186. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.json +2 -2
  187. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  188. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.json +2 -2
  189. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  190. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  191. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  192. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  193. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.json +2 -2
  194. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  195. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  196. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  197. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  198. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  199. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  200. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  201. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  202. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  203. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  204. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  205. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  206. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  207. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  208. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  209. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  210. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  211. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  212. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  213. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  214. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  215. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  216. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  217. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  218. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +9 -3
  219. package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +42 -494
  220. package/contracts/router/swap-aggregator/PendleSwap.sol +4 -4
  221. package/deployments/1-core.json +1 -1
  222. package/deployments/146-core.json +1 -1
  223. package/deployments/42161-core.json +1 -1
  224. package/deployments/5000-core.json +1 -1
  225. package/deployments/56-core.json +1 -1
  226. package/deployments/80094-core.json +1 -1
  227. package/deployments/8453-core.json +1 -1
  228. package/package.json +1 -1
  229. package/typechain-types/I1inchAggregationRouterV6.ts +337 -0
  230. package/typechain-types/IGenericSwapExactAmountIn.ts +161 -0
  231. package/typechain-types/IPendleCommonPoolDeployHelperV2.ts +391 -0
  232. package/typechain-types/MarketSwapNSeed.ts +222 -0
  233. package/typechain-types/PendleSwap.ts +7 -6
  234. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +1 -1
  235. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +1 -1
  236. package/typechain-types/factories/I1inchAggregationRouterV6__factory.ts +233 -0
  237. package/typechain-types/factories/IGenericSwapExactAmountIn__factory.ts +100 -0
  238. package/typechain-types/factories/IPendleCommonPoolDeployHelperV2__factory.ts +447 -0
  239. package/typechain-types/factories/MarketSwapNSeed__factory.ts +287 -0
  240. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +1 -1
  241. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +1 -1
  242. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +1 -1
  243. package/typechain-types/factories/PendleRedStoneRateOracleAdapter__factory.ts +1 -1
  244. package/typechain-types/factories/PendleSwap__factory.ts +8 -2
  245. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +47 -3714
  246. package/typechain-types/AccessControlUpgradeable.ts +0 -369
  247. package/typechain-types/ActionBase.ts +0 -81
  248. package/typechain-types/ActionDelegateBase.ts +0 -81
  249. package/typechain-types/ActionInputTracker.ts +0 -81
  250. package/typechain-types/AddressProvider.ts +0 -280
  251. package/typechain-types/AggregatorInterface.ts +0 -233
  252. package/typechain-types/AggregatorV2V3Interface.ts +0 -385
  253. package/typechain-types/AggregatorV3Interface.ts +0 -221
  254. package/typechain-types/AutomateReady.ts +0 -102
  255. package/typechain-types/BaseSplitCodeFactoryContract.ts +0 -276
  256. package/typechain-types/BoringOwnableUpgradeable.ts +0 -203
  257. package/typechain-types/BoringOwnableUpgradeableData.ts +0 -100
  258. package/typechain-types/ContextUpgradeable.ts +0 -68
  259. package/typechain-types/EIP712Upgradeable.ts +0 -144
  260. package/typechain-types/ERC165Upgradeable.ts +0 -113
  261. package/typechain-types/ERC1967Upgrade.ts +0 -97
  262. package/typechain-types/ERC20.ts +0 -417
  263. package/typechain-types/EmptyUUPS.ts +0 -352
  264. package/typechain-types/Errors.ts +0 -57
  265. package/typechain-types/IAccessControlUpgradeable.ts +0 -305
  266. package/typechain-types/IAddressProvider.ts +0 -123
  267. package/typechain-types/IAutomate.ts +0 -203
  268. package/typechain-types/IBeacon.ts +0 -87
  269. package/typechain-types/IERC1271.ts +0 -107
  270. package/typechain-types/IERC165Upgradeable.ts +0 -102
  271. package/typechain-types/IERC1822Proxiable.ts +0 -87
  272. package/typechain-types/IERC1967.ts +0 -97
  273. package/typechain-types/IERC20.ts +0 -300
  274. package/typechain-types/IERC20Metadata.ts +0 -339
  275. package/typechain-types/IERC20Permit.ts +0 -175
  276. package/typechain-types/IERC5267Upgradeable.ts +0 -135
  277. package/typechain-types/ILayerZeroEndpoint.ts +0 -256
  278. package/typechain-types/ILayerZeroReceiver.ts +0 -117
  279. package/typechain-types/IOpsProxyFactory.ts +0 -93
  280. package/typechain-types/IPActionInfoStatic.ts +0 -310
  281. package/typechain-types/IPActionMintRedeemStatic.ts +0 -435
  282. package/typechain-types/IPChainlinkOracleWithQuote.ts +0 -404
  283. package/typechain-types/IPExchangeRateOracle.ts +0 -87
  284. package/typechain-types/IPFeeDistributor.ts +0 -191
  285. package/typechain-types/IPFeeDistributorV2.ts +0 -287
  286. package/typechain-types/IPGauge.ts +0 -132
  287. package/typechain-types/IPGaugeController.ts +0 -275
  288. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  289. package/typechain-types/IPInterestManagerYT.ts +0 -131
  290. package/typechain-types/IPInterestManagerYTV2.ts +0 -117
  291. package/typechain-types/IPMarketFactory.ts +0 -234
  292. package/typechain-types/IPMarketSwapCallback.ts +0 -115
  293. package/typechain-types/IPMerkleDistributor.ts +0 -235
  294. package/typechain-types/IPMiniDiamond.ts +0 -147
  295. package/typechain-types/IPMsgReceiverApp.ts +0 -104
  296. package/typechain-types/IPMsgSendEndpoint.ts +0 -166
  297. package/typechain-types/IPOffchainStorage.ts +0 -146
  298. package/typechain-types/IPPYLpOracle.ts +0 -400
  299. package/typechain-types/IPPriceFeed.ts +0 -81
  300. package/typechain-types/IPPrincipalToken.ts +0 -501
  301. package/typechain-types/IPReflector.ts +0 -95
  302. package/typechain-types/IPTokenWithSupplyCap.ts +0 -110
  303. package/typechain-types/IPVeToken.ts +0 -201
  304. package/typechain-types/IPYieldContractFactory.ts +0 -370
  305. package/typechain-types/IPYieldToken.ts +0 -917
  306. package/typechain-types/IPYieldTokenV2.ts +0 -901
  307. package/typechain-types/IPossibleSupplyCapInterface.ts +0 -142
  308. package/typechain-types/IRedstonePriceFeed.ts +0 -259
  309. package/typechain-types/IRewardManager.ts +0 -108
  310. package/typechain-types/IStandardizedYield.ts +0 -895
  311. package/typechain-types/ITaskTreasuryUpgradable.ts +0 -160
  312. package/typechain-types/ITracker.ts +0 -224
  313. package/typechain-types/IWETH.ts +0 -380
  314. package/typechain-types/IWstETH.ts +0 -162
  315. package/typechain-types/Initializable.ts +0 -68
  316. package/typechain-types/LegacyNFTHelper.ts +0 -87
  317. package/typechain-types/Multicall2.ts +0 -437
  318. package/typechain-types/NonceManager.ts +0 -209
  319. package/typechain-types/OracleLib.ts +0 -124
  320. package/typechain-types/PTExpiry.ts +0 -81
  321. package/typechain-types/PendleERC20.ts +0 -339
  322. package/typechain-types/PendleFeeDistributorV2.ts +0 -722
  323. package/typechain-types/PendleMerkleDistributor.ts +0 -610
  324. package/typechain-types/PendleMsgReceiverAppUpg.ts +0 -125
  325. package/typechain-types/PendleMsgSenderAppUpg.ts +0 -353
  326. package/typechain-types/PendleMulticallV1.ts +0 -162
  327. package/typechain-types/PendleMulticallV2.ts +0 -241
  328. package/typechain-types/PendleOffchainStorage.ts +0 -666
  329. package/typechain-types/PendlePrincipalToken.ts +0 -510
  330. package/typechain-types/PendleSparkLinearDiscountOracle.ts +0 -213
  331. package/typechain-types/PendleWstETHPriceFeed.ts +0 -148
  332. package/typechain-types/Proxy.ts +0 -57
  333. package/typechain-types/SimulateHelper.ts +0 -153
  334. package/typechain-types/StarNFTV1.ts +0 -880
  335. package/typechain-types/SupplyCapReader.ts +0 -105
  336. package/typechain-types/Tracker.ts +0 -432
  337. package/typechain-types/UUPSUpgradeable.ts +0 -197
  338. package/typechain-types/factories/AccessControlUpgradeable__factory.ts +0 -247
  339. package/typechain-types/factories/ActionBase__factory.ts +0 -36
  340. package/typechain-types/factories/ActionDelegateBase__factory.ts +0 -93
  341. package/typechain-types/factories/ActionInputTracker__factory.ts +0 -39
  342. package/typechain-types/factories/AddressProvider__factory.ts +0 -196
  343. package/typechain-types/factories/AggregatorInterface__factory.ts +0 -153
  344. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -268
  345. package/typechain-types/factories/AggregatorV3Interface__factory.ts +0 -141
  346. package/typechain-types/factories/AutomateReady__factory.ts +0 -49
  347. package/typechain-types/factories/BaseSplitCodeFactoryContract__factory.ts +0 -239
  348. package/typechain-types/factories/BoringOwnableUpgradeableData__factory.ts +0 -96
  349. package/typechain-types/factories/BoringOwnableUpgradeable__factory.ts +0 -118
  350. package/typechain-types/factories/ContextUpgradeable__factory.ts +0 -39
  351. package/typechain-types/factories/EIP712Upgradeable__factory.ts +0 -88
  352. package/typechain-types/factories/ERC165Upgradeable__factory.ts +0 -58
  353. package/typechain-types/factories/ERC1967Upgrade__factory.ts +0 -71
  354. package/typechain-types/factories/ERC20__factory.ts +0 -348
  355. package/typechain-types/factories/EmptyUUPS__factory.ts +0 -250
  356. package/typechain-types/factories/Errors__factory.ts +0 -1483
  357. package/typechain-types/factories/IAccessControlUpgradeable__factory.ts +0 -202
  358. package/typechain-types/factories/IAddressProvider__factory.ts +0 -63
  359. package/typechain-types/factories/IAutomate__factory.ts +0 -126
  360. package/typechain-types/factories/IBeacon__factory.ts +0 -36
  361. package/typechain-types/factories/IERC1271__factory.ts +0 -47
  362. package/typechain-types/factories/IERC165Upgradeable__factory.ts +0 -45
  363. package/typechain-types/factories/IERC1822Proxiable__factory.ts +0 -39
  364. package/typechain-types/factories/IERC1967__factory.ts +0 -68
  365. package/typechain-types/factories/IERC20Metadata__factory.ts +0 -248
  366. package/typechain-types/factories/IERC20Permit__factory.ts +0 -98
  367. package/typechain-types/factories/IERC20__factory.ts +0 -203
  368. package/typechain-types/factories/IERC5267Upgradeable__factory.ts +0 -75
  369. package/typechain-types/factories/ILayerZeroEndpoint__factory.ts +0 -134
  370. package/typechain-types/factories/ILayerZeroReceiver__factory.ts +0 -54
  371. package/typechain-types/factories/IOpsProxyFactory__factory.ts +0 -50
  372. package/typechain-types/factories/IPActionInfoStatic__factory.ts +0 -322
  373. package/typechain-types/factories/IPActionMintRedeemStatic__factory.ts +0 -261
  374. package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +0 -281
  375. package/typechain-types/factories/IPExchangeRateOracle__factory.ts +0 -43
  376. package/typechain-types/factories/IPFeeDistributorV2__factory.ts +0 -184
  377. package/typechain-types/factories/IPFeeDistributor__factory.ts +0 -138
  378. package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +0 -202
  379. package/typechain-types/factories/IPGaugeController__factory.ts +0 -175
  380. package/typechain-types/factories/IPGauge__factory.ts +0 -74
  381. package/typechain-types/factories/IPInterestManagerYTV2__factory.ts +0 -59
  382. package/typechain-types/factories/IPInterestManagerYT__factory.ts +0 -63
  383. package/typechain-types/factories/IPMarketFactory__factory.ts +0 -168
  384. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +0 -53
  385. package/typechain-types/factories/IPMerkleDistributor__factory.ts +0 -165
  386. package/typechain-types/factories/IPMiniDiamond__factory.ts +0 -67
  387. package/typechain-types/factories/IPMsgReceiverApp__factory.ts +0 -39
  388. package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +0 -88
  389. package/typechain-types/factories/IPOffchainStorage__factory.ts +0 -82
  390. package/typechain-types/factories/IPPYLpOracle__factory.ts +0 -227
  391. package/typechain-types/factories/IPPriceFeed__factory.ts +0 -36
  392. package/typechain-types/factories/IPPrincipalToken__factory.ts +0 -362
  393. package/typechain-types/factories/IPReflector__factory.ts +0 -42
  394. package/typechain-types/factories/IPTokenWithSupplyCap__factory.ts +0 -56
  395. package/typechain-types/factories/IPVeToken__factory.ts +0 -116
  396. package/typechain-types/factories/IPYieldContractFactory__factory.ts +0 -285
  397. package/typechain-types/factories/IPYieldTokenV2__factory.ts +0 -694
  398. package/typechain-types/factories/IPYieldToken__factory.ts +0 -693
  399. package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +0 -82
  400. package/typechain-types/factories/IRedstonePriceFeed__factory.ts +0 -163
  401. package/typechain-types/factories/IRewardManager__factory.ts +0 -55
  402. package/typechain-types/factories/IStandardizedYield__factory.ts +0 -658
  403. package/typechain-types/factories/ITaskTreasuryUpgradable__factory.ts +0 -76
  404. package/typechain-types/factories/ITracker__factory.ts +0 -114
  405. package/typechain-types/factories/IWETH__factory.ts +0 -261
  406. package/typechain-types/factories/IWstETH__factory.ts +0 -87
  407. package/typechain-types/factories/Initializable__factory.ts +0 -36
  408. package/typechain-types/factories/LegacyNFTHelper__factory.ts +0 -83
  409. package/typechain-types/factories/Multicall2__factory.ts +0 -372
  410. package/typechain-types/factories/NonceManager__factory.ts +0 -149
  411. package/typechain-types/factories/OracleLib__factory.ts +0 -150
  412. package/typechain-types/factories/PTExpiry__factory.ts +0 -36
  413. package/typechain-types/factories/PendleERC20__factory.ts +0 -327
  414. package/typechain-types/factories/PendleFeeDistributorV2__factory.ts +0 -549
  415. package/typechain-types/factories/PendleMerkleDistributor__factory.ts +0 -488
  416. package/typechain-types/factories/PendleMsgReceiverAppUpg__factory.ts +0 -67
  417. package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +0 -193
  418. package/typechain-types/factories/PendleMulticallV1__factory.ts +0 -142
  419. package/typechain-types/factories/PendleMulticallV2__factory.ts +0 -212
  420. package/typechain-types/factories/PendleOffchainStorage__factory.ts +0 -492
  421. package/typechain-types/factories/PendlePrincipalToken__factory.ts +0 -489
  422. package/typechain-types/factories/PendleSparkLinearDiscountOracle__factory.ts +0 -209
  423. package/typechain-types/factories/PendleWstETHPriceFeed__factory.ts +0 -133
  424. package/typechain-types/factories/Proxy__factory.ts +0 -28
  425. package/typechain-types/factories/SimulateHelper__factory.ts +0 -137
  426. package/typechain-types/factories/StarNFTV1__factory.ts +0 -584
  427. package/typechain-types/factories/SupplyCapReader__factory.ts +0 -88
  428. package/typechain-types/factories/Tracker__factory.ts +0 -303
  429. package/typechain-types/factories/UUPSUpgradeable__factory.ts +0 -115
@@ -1,584 +0,0 @@
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 { StarNFTV1, StarNFTV1Interface } from "../StarNFTV1";
8
-
9
- const _abi = [
10
- {
11
- anonymous: false,
12
- inputs: [
13
- {
14
- indexed: true,
15
- internalType: "address",
16
- name: "account",
17
- type: "address",
18
- },
19
- {
20
- indexed: true,
21
- internalType: "address",
22
- name: "operator",
23
- type: "address",
24
- },
25
- {
26
- indexed: false,
27
- internalType: "bool",
28
- name: "approved",
29
- type: "bool",
30
- },
31
- ],
32
- name: "ApprovalForAll",
33
- type: "event",
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "previousOwner",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "newOwner",
48
- type: "address",
49
- },
50
- ],
51
- name: "OwnershipTransferred",
52
- type: "event",
53
- },
54
- {
55
- anonymous: false,
56
- inputs: [
57
- {
58
- indexed: true,
59
- internalType: "address",
60
- name: "operator",
61
- type: "address",
62
- },
63
- {
64
- indexed: true,
65
- internalType: "address",
66
- name: "from",
67
- type: "address",
68
- },
69
- {
70
- indexed: true,
71
- internalType: "address",
72
- name: "to",
73
- type: "address",
74
- },
75
- {
76
- indexed: false,
77
- internalType: "uint256[]",
78
- name: "ids",
79
- type: "uint256[]",
80
- },
81
- {
82
- indexed: false,
83
- internalType: "uint256[]",
84
- name: "values",
85
- type: "uint256[]",
86
- },
87
- ],
88
- name: "TransferBatch",
89
- type: "event",
90
- },
91
- {
92
- anonymous: false,
93
- inputs: [
94
- {
95
- indexed: true,
96
- internalType: "address",
97
- name: "operator",
98
- type: "address",
99
- },
100
- {
101
- indexed: true,
102
- internalType: "address",
103
- name: "from",
104
- type: "address",
105
- },
106
- {
107
- indexed: true,
108
- internalType: "address",
109
- name: "to",
110
- type: "address",
111
- },
112
- {
113
- indexed: false,
114
- internalType: "uint256",
115
- name: "id",
116
- type: "uint256",
117
- },
118
- {
119
- indexed: false,
120
- internalType: "uint256",
121
- name: "value",
122
- type: "uint256",
123
- },
124
- ],
125
- name: "TransferSingle",
126
- type: "event",
127
- },
128
- {
129
- anonymous: false,
130
- inputs: [
131
- {
132
- indexed: false,
133
- internalType: "string",
134
- name: "value",
135
- type: "string",
136
- },
137
- {
138
- indexed: true,
139
- internalType: "uint256",
140
- name: "id",
141
- type: "uint256",
142
- },
143
- ],
144
- name: "URI",
145
- type: "event",
146
- },
147
- {
148
- inputs: [
149
- {
150
- internalType: "address",
151
- name: "minter",
152
- type: "address",
153
- },
154
- ],
155
- name: "addMinter",
156
- outputs: [],
157
- stateMutability: "nonpayable",
158
- type: "function",
159
- },
160
- {
161
- inputs: [
162
- {
163
- internalType: "address",
164
- name: "account",
165
- type: "address",
166
- },
167
- {
168
- internalType: "uint256",
169
- name: "id",
170
- type: "uint256",
171
- },
172
- ],
173
- name: "balanceOf",
174
- outputs: [
175
- {
176
- internalType: "uint256",
177
- name: "",
178
- type: "uint256",
179
- },
180
- ],
181
- stateMutability: "view",
182
- type: "function",
183
- },
184
- {
185
- inputs: [
186
- {
187
- internalType: "address[]",
188
- name: "accounts",
189
- type: "address[]",
190
- },
191
- {
192
- internalType: "uint256[]",
193
- name: "ids",
194
- type: "uint256[]",
195
- },
196
- ],
197
- name: "balanceOfBatch",
198
- outputs: [
199
- {
200
- internalType: "uint256[]",
201
- name: "",
202
- type: "uint256[]",
203
- },
204
- ],
205
- stateMutability: "view",
206
- type: "function",
207
- },
208
- {
209
- inputs: [],
210
- name: "baseURI",
211
- outputs: [
212
- {
213
- internalType: "string",
214
- name: "",
215
- type: "string",
216
- },
217
- ],
218
- stateMutability: "view",
219
- type: "function",
220
- },
221
- {
222
- inputs: [
223
- {
224
- internalType: "address",
225
- name: "account",
226
- type: "address",
227
- },
228
- {
229
- internalType: "uint256",
230
- name: "id",
231
- type: "uint256",
232
- },
233
- ],
234
- name: "burn",
235
- outputs: [],
236
- stateMutability: "nonpayable",
237
- type: "function",
238
- },
239
- {
240
- inputs: [
241
- {
242
- internalType: "address",
243
- name: "account",
244
- type: "address",
245
- },
246
- {
247
- internalType: "uint256[]",
248
- name: "ids",
249
- type: "uint256[]",
250
- },
251
- ],
252
- name: "burnBatch",
253
- outputs: [],
254
- stateMutability: "nonpayable",
255
- type: "function",
256
- },
257
- {
258
- inputs: [
259
- {
260
- internalType: "address",
261
- name: "account",
262
- type: "address",
263
- },
264
- {
265
- internalType: "address",
266
- name: "operator",
267
- type: "address",
268
- },
269
- ],
270
- name: "isApprovedForAll",
271
- outputs: [
272
- {
273
- internalType: "bool",
274
- name: "",
275
- type: "bool",
276
- },
277
- ],
278
- stateMutability: "view",
279
- type: "function",
280
- },
281
- {
282
- inputs: [
283
- {
284
- internalType: "address",
285
- name: "account",
286
- type: "address",
287
- },
288
- {
289
- internalType: "uint256",
290
- name: "id",
291
- type: "uint256",
292
- },
293
- ],
294
- name: "isOwnerOf",
295
- outputs: [
296
- {
297
- internalType: "bool",
298
- name: "",
299
- type: "bool",
300
- },
301
- ],
302
- stateMutability: "view",
303
- type: "function",
304
- },
305
- {
306
- inputs: [
307
- {
308
- internalType: "address",
309
- name: "account",
310
- type: "address",
311
- },
312
- {
313
- internalType: "uint256",
314
- name: "powah",
315
- type: "uint256",
316
- },
317
- ],
318
- name: "mint",
319
- outputs: [
320
- {
321
- internalType: "uint256",
322
- name: "",
323
- type: "uint256",
324
- },
325
- ],
326
- stateMutability: "nonpayable",
327
- type: "function",
328
- },
329
- {
330
- inputs: [
331
- {
332
- internalType: "address",
333
- name: "account",
334
- type: "address",
335
- },
336
- {
337
- internalType: "uint256",
338
- name: "amount",
339
- type: "uint256",
340
- },
341
- {
342
- internalType: "uint256[]",
343
- name: "powahArr",
344
- type: "uint256[]",
345
- },
346
- ],
347
- name: "mintBatch",
348
- outputs: [
349
- {
350
- internalType: "uint256[]",
351
- name: "",
352
- type: "uint256[]",
353
- },
354
- ],
355
- stateMutability: "nonpayable",
356
- type: "function",
357
- },
358
- {
359
- inputs: [
360
- {
361
- internalType: "address",
362
- name: "",
363
- type: "address",
364
- },
365
- ],
366
- name: "minters",
367
- outputs: [
368
- {
369
- internalType: "bool",
370
- name: "",
371
- type: "bool",
372
- },
373
- ],
374
- stateMutability: "view",
375
- type: "function",
376
- },
377
- {
378
- inputs: [],
379
- name: "owner",
380
- outputs: [
381
- {
382
- internalType: "address",
383
- name: "",
384
- type: "address",
385
- },
386
- ],
387
- stateMutability: "view",
388
- type: "function",
389
- },
390
- {
391
- inputs: [
392
- {
393
- internalType: "address",
394
- name: "minter",
395
- type: "address",
396
- },
397
- ],
398
- name: "removeMinter",
399
- outputs: [],
400
- stateMutability: "nonpayable",
401
- type: "function",
402
- },
403
- {
404
- inputs: [],
405
- name: "renounceOwnership",
406
- outputs: [],
407
- stateMutability: "nonpayable",
408
- type: "function",
409
- },
410
- {
411
- inputs: [
412
- {
413
- internalType: "address",
414
- name: "from",
415
- type: "address",
416
- },
417
- {
418
- internalType: "address",
419
- name: "to",
420
- type: "address",
421
- },
422
- {
423
- internalType: "uint256[]",
424
- name: "ids",
425
- type: "uint256[]",
426
- },
427
- {
428
- internalType: "uint256[]",
429
- name: "amounts",
430
- type: "uint256[]",
431
- },
432
- {
433
- internalType: "bytes",
434
- name: "data",
435
- type: "bytes",
436
- },
437
- ],
438
- name: "safeBatchTransferFrom",
439
- outputs: [],
440
- stateMutability: "nonpayable",
441
- type: "function",
442
- },
443
- {
444
- inputs: [
445
- {
446
- internalType: "address",
447
- name: "from",
448
- type: "address",
449
- },
450
- {
451
- internalType: "address",
452
- name: "to",
453
- type: "address",
454
- },
455
- {
456
- internalType: "uint256",
457
- name: "id",
458
- type: "uint256",
459
- },
460
- {
461
- internalType: "uint256",
462
- name: "amount",
463
- type: "uint256",
464
- },
465
- {
466
- internalType: "bytes",
467
- name: "data",
468
- type: "bytes",
469
- },
470
- ],
471
- name: "safeTransferFrom",
472
- outputs: [],
473
- stateMutability: "nonpayable",
474
- type: "function",
475
- },
476
- {
477
- inputs: [
478
- {
479
- internalType: "address",
480
- name: "operator",
481
- type: "address",
482
- },
483
- {
484
- internalType: "bool",
485
- name: "approved",
486
- type: "bool",
487
- },
488
- ],
489
- name: "setApprovalForAll",
490
- outputs: [],
491
- stateMutability: "nonpayable",
492
- type: "function",
493
- },
494
- {
495
- inputs: [
496
- {
497
- internalType: "string",
498
- name: "newURI",
499
- type: "string",
500
- },
501
- ],
502
- name: "setURI",
503
- outputs: [],
504
- stateMutability: "nonpayable",
505
- type: "function",
506
- },
507
- {
508
- inputs: [],
509
- name: "starCount",
510
- outputs: [
511
- {
512
- internalType: "uint256",
513
- name: "",
514
- type: "uint256",
515
- },
516
- ],
517
- stateMutability: "view",
518
- type: "function",
519
- },
520
- {
521
- inputs: [
522
- {
523
- internalType: "bytes4",
524
- name: "interfaceId",
525
- type: "bytes4",
526
- },
527
- ],
528
- name: "supportsInterface",
529
- outputs: [
530
- {
531
- internalType: "bool",
532
- name: "",
533
- type: "bool",
534
- },
535
- ],
536
- stateMutability: "view",
537
- type: "function",
538
- },
539
- {
540
- inputs: [
541
- {
542
- internalType: "address",
543
- name: "newOwner",
544
- type: "address",
545
- },
546
- ],
547
- name: "transferOwnership",
548
- outputs: [],
549
- stateMutability: "nonpayable",
550
- type: "function",
551
- },
552
- {
553
- inputs: [
554
- {
555
- internalType: "uint256",
556
- name: "id",
557
- type: "uint256",
558
- },
559
- ],
560
- name: "uri",
561
- outputs: [
562
- {
563
- internalType: "string",
564
- name: "",
565
- type: "string",
566
- },
567
- ],
568
- stateMutability: "view",
569
- type: "function",
570
- },
571
- ];
572
-
573
- export class StarNFTV1__factory {
574
- static readonly abi = _abi;
575
- static createInterface(): StarNFTV1Interface {
576
- return new utils.Interface(_abi) as StarNFTV1Interface;
577
- }
578
- static connect(
579
- address: string,
580
- signerOrProvider: Signer | Provider
581
- ): StarNFTV1 {
582
- return new Contract(address, _abi, signerOrProvider) as StarNFTV1;
583
- }
584
- }
@@ -1,88 +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 {
7
- SupplyCapReader,
8
- SupplyCapReaderInterface,
9
- } from "../SupplyCapReader";
10
-
11
- const _abi = [
12
- {
13
- inputs: [
14
- {
15
- internalType: "address",
16
- name: "syAddr",
17
- type: "address",
18
- },
19
- ],
20
- name: "read",
21
- outputs: [
22
- {
23
- internalType: "uint256",
24
- name: "currentSupply",
25
- type: "uint256",
26
- },
27
- {
28
- internalType: "uint256",
29
- name: "supplyCap",
30
- type: "uint256",
31
- },
32
- ],
33
- stateMutability: "view",
34
- type: "function",
35
- },
36
- ];
37
-
38
- const _bytecode =
39
- "0x608060405234801561001057600080fd5b5061027d806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a087a87e14610030575b600080fd5b61004361003e3660046101fe565b61005c565b6040805192835260208301919091520160405180910390f35b6000806000839050806001600160a01b0316630186533d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156100be575060408051601f3d908101601f191682019092526100bb9181019061022e565b60015b61018f57806001600160a01b0316638f770ad06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610100573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610124919061022e565b9150806001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610164573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610188919061022e565b92506101f8565b809250816001600160a01b03166380975cc46040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f4919061022e565b9350505b50915091565b60006020828403121561021057600080fd5b81356001600160a01b038116811461022757600080fd5b9392505050565b60006020828403121561024057600080fd5b505191905056fea264697066735822122086be295fb62371de6ec86acab7ca4bbd9f43202da5f9337fb67a85ca99aeb7cc64736f6c63430008170033";
40
-
41
- type SupplyCapReaderConstructorParams =
42
- | [signer?: Signer]
43
- | ConstructorParameters<typeof ContractFactory>;
44
-
45
- const isSuperArgs = (
46
- xs: SupplyCapReaderConstructorParams
47
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
48
-
49
- export class SupplyCapReader__factory extends ContractFactory {
50
- constructor(...args: SupplyCapReaderConstructorParams) {
51
- if (isSuperArgs(args)) {
52
- super(...args);
53
- } else {
54
- super(_abi, _bytecode, args[0]);
55
- }
56
- this.contractName = "SupplyCapReader";
57
- }
58
-
59
- deploy(
60
- overrides?: Overrides & { from?: string | Promise<string> }
61
- ): Promise<SupplyCapReader> {
62
- return super.deploy(overrides || {}) as Promise<SupplyCapReader>;
63
- }
64
- getDeployTransaction(
65
- overrides?: Overrides & { from?: string | Promise<string> }
66
- ): TransactionRequest {
67
- return super.getDeployTransaction(overrides || {});
68
- }
69
- attach(address: string): SupplyCapReader {
70
- return super.attach(address) as SupplyCapReader;
71
- }
72
- connect(signer: Signer): SupplyCapReader__factory {
73
- return super.connect(signer) as SupplyCapReader__factory;
74
- }
75
- static readonly contractName: "SupplyCapReader";
76
- public readonly contractName: "SupplyCapReader";
77
- static readonly bytecode = _bytecode;
78
- static readonly abi = _abi;
79
- static createInterface(): SupplyCapReaderInterface {
80
- return new utils.Interface(_abi) as SupplyCapReaderInterface;
81
- }
82
- static connect(
83
- address: string,
84
- signerOrProvider: Signer | Provider
85
- ): SupplyCapReader {
86
- return new Contract(address, _abi, signerOrProvider) as SupplyCapReader;
87
- }
88
- }