@pendle/core-v2 6.5.0-swaphubtest → 6.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/LICENSE +12 -82
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerUpg.sol/PendleGaugeControllerUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/PendleMerkleDistributor.sol/PendleMerkleDistributor.dbg.json +1 -1
  10. package/build/artifacts/contracts/LiquidityMining/PendleMultiTokenMerkleDistributor.sol/PendleMultiTokenMerkleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  12. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  15. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  17. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/sPendle/StakedPendle.sol/StakedPendle.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/Market/PendleMarketFactoryV7Upg.sol/PendleMarketFactoryV7Upg.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/Market/PendleMarketV7.sol/PendleMarketV7.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactoryUpg.sol/PendleYieldContractFactoryUpg.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeableV2.sol/BoringOwnableUpgradeableV2.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/libraries/math/PMath.sol/PMath.dbg.json +1 -1
  45. package/build/artifacts/contracts/cross-chain/FixedPricePTAMM.sol/FixedPricePTAMM.dbg.json +1 -1
  46. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBox.sol/DepositBox.dbg.json +1 -1
  47. package/build/artifacts/contracts/cross-chain/deposit-box/DepositBoxFactory.sol/DepositBoxFactory.dbg.json +1 -1
  48. package/build/artifacts/contracts/cross-chain/factory/hub/PendlePTOFTAdapterFactory.sol/PendlePTOFTAdapterFactory.dbg.json +1 -1
  49. package/build/artifacts/contracts/cross-chain/oftImpl/hub/OFTAdapterImpl.sol/OFTAdapterImpl.dbg.json +1 -1
  50. package/build/artifacts/contracts/cross-chain/oftImpl/spoke/PendleBridgedPrincipalToken.sol/PendleBridgedPrincipalToken.dbg.json +1 -1
  51. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.dbg.json +1 -1
  52. package/build/artifacts/contracts/cross-chain/swap-hub/PendleCrossChainSwapHub.sol/PendleCrossChainSwapHub.json +2 -2
  53. package/build/artifacts/contracts/cross-chain/swap-hub/SwapHubBase.sol/SwapHubBase.dbg.json +1 -1
  54. package/build/artifacts/contracts/deprecated/VeDistributor/PendleFeeDistributorV2.sol/PendleFeeDistributorV2.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/ILPWrapper.sol/ILPWrapper.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IMarketSweed.sol/IMarketSweed.dbg.json +1 -1
  60. package/build/artifacts/contracts/interfaces/IOwnable.sol/IOwnable.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  63. package/build/artifacts/contracts/interfaces/IPActionCrossChain.sol/IPActionCrossChain.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  78. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  80. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  82. package/build/artifacts/contracts/interfaces/IPBridgedPrincipalToken.sol/IPBridgedPrincipalToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +1 -1
  84. package/build/artifacts/contracts/interfaces/IPChainlinkOracleEssential.sol/IPChainlinkOracleEssential.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IPCommonPoolDeployHelperV2.sol/IPCommonPoolDeployHelperV2.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IPCrossChainSwapHub.sol/IPCrossChainSwapHub.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IPDepositBox.sol/IPDepositBox.dbg.json +1 -1
  91. package/build/artifacts/contracts/interfaces/IPDepositBoxFactory.sol/IPDepositBoxFactory.dbg.json +1 -1
  92. package/build/artifacts/contracts/interfaces/IPExchangeRateOracle.sol/IPExchangeRateOracle.dbg.json +1 -1
  93. package/build/artifacts/contracts/interfaces/IPExchangeRateOracleApp.sol/IPExchangeRateOracleApp.dbg.json +1 -1
  94. package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
  95. package/build/artifacts/contracts/interfaces/IPFeeDistributorV2.sol/IPFeeDistributorV2.dbg.json +1 -1
  96. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMM.dbg.json +1 -1
  97. package/build/artifacts/contracts/interfaces/IPFixedPricePTAMM.sol/IPFixedPricePTAMMSwapCallback.dbg.json +1 -1
  98. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
  99. package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
  100. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +1 -1
  101. package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
  102. package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
  103. package/build/artifacts/contracts/interfaces/IPLPWrapperFactory.sol/IPLPWrapperFactory.dbg.json +1 -1
  104. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  105. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  106. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +231 -0
  107. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  108. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  109. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  110. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  111. package/build/artifacts/contracts/interfaces/IPMerkleDistributor.sol/IPMerkleDistributor.dbg.json +1 -1
  112. package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
  113. package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
  114. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  115. package/build/artifacts/contracts/interfaces/IPMultiTokenMerkleDistributor.sol/IPMultiTokenMerkleDistributor.dbg.json +1 -1
  116. package/build/artifacts/contracts/interfaces/IPOffchainStorage.sol/IPOffchainStorage.dbg.json +1 -1
  117. package/build/artifacts/contracts/interfaces/IPOracleForSy.sol/IPOracleForSy.dbg.json +1 -1
  118. package/build/artifacts/contracts/interfaces/IPPTOFTAdapterFactory.sol/IPPTOFTAdapterFactory.dbg.json +1 -1
  119. package/build/artifacts/contracts/interfaces/IPPYLpOracle.sol/IPPYLpOracle.dbg.json +1 -1
  120. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +1 -1
  121. package/build/artifacts/contracts/interfaces/IPPoolDeployHelperV2.sol/IPPoolDeployHelperV2.dbg.json +1 -1
  122. package/build/artifacts/contracts/interfaces/IPPriceFeed.sol/IPPriceFeed.dbg.json +1 -1
  123. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
  124. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +1 -1
  125. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  126. package/build/artifacts/contracts/interfaces/IPStakedPendle.sol/IPStakedPendle.dbg.json +1 -1
  127. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +1 -1
  128. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
  129. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  130. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  131. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  132. package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
  133. package/build/artifacts/contracts/interfaces/IRedstonePriceFeed.sol/IRedstonePriceFeed.dbg.json +1 -1
  134. package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  135. package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
  136. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  137. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  138. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  139. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  140. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  141. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +226 -21
  142. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  143. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +228 -23
  144. package/build/artifacts/contracts/limit/helpers/NonceManager.sol/NonceManager.dbg.json +1 -1
  145. package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
  146. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/AutomateReady.dbg.json +1 -1
  147. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IAutomate.dbg.json +1 -1
  148. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/IOpsProxyFactory.dbg.json +1 -1
  149. package/build/artifacts/contracts/offchain-helpers/AutomateReady.sol/ITaskTreasuryUpgradable.dbg.json +1 -1
  150. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/BalanceReader.dbg.json +1 -1
  151. package/build/artifacts/contracts/offchain-helpers/BalanceReader.sol/ILegacyMarket.dbg.json +1 -1
  152. package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
  153. package/build/artifacts/contracts/offchain-helpers/BytesLib.sol/BytesLib.dbg.json +1 -1
  154. package/build/artifacts/contracts/offchain-helpers/EmptyUUPS.sol/EmptyUUPS.dbg.json +1 -1
  155. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.dbg.json +1 -1
  156. package/build/artifacts/contracts/offchain-helpers/ExpiredLpPtRedeemer.sol/ExpiredLpPtRedeemer.json +2 -2
  157. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/LegacyNFTHelper.dbg.json +1 -1
  158. package/build/artifacts/contracts/offchain-helpers/LegacyNFTHelper.sol/StarNFTV1.dbg.json +1 -1
  159. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.dbg.json +1 -1
  160. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelperV2.sol/LimitBackendHelperV2.json +2 -2
  161. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.dbg.json +1 -1
  162. package/build/artifacts/contracts/offchain-helpers/MarketSweed.sol/MarketSweed.json +2 -2
  163. package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
  164. package/build/artifacts/contracts/offchain-helpers/PendleAPIFeeDepositor.sol/PendleAPIFeeDepositor.dbg.json +1 -1
  165. package/build/artifacts/contracts/offchain-helpers/PendleExchangeRateOracle.sol/PendleExchangeRateOracle.dbg.json +1 -1
  166. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.dbg.json +1 -1
  167. package/build/artifacts/contracts/offchain-helpers/PendleFeeSetter.sol/PendleFeeSetter.json +2 -2
  168. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +1 -1
  169. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapper.sol/PendleLPWrapper.dbg.json +1 -1
  170. package/build/artifacts/contracts/offchain-helpers/PendleLPWrapperFactory.sol/PendleLPWrapperFactory.dbg.json +1 -1
  171. package/build/artifacts/contracts/offchain-helpers/PendleMerkleDepositor.sol/PendleMerkleDepositor.dbg.json +1 -1
  172. package/build/artifacts/contracts/offchain-helpers/PendleMulticallOwnerV1.sol/PendleMulticallOwnerV1.dbg.json +1 -1
  173. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV1.sol/PendleMulticallV1.dbg.json +1 -1
  174. package/build/artifacts/contracts/offchain-helpers/PendleMulticallV2.sol/PendleMulticallV2.dbg.json +1 -1
  175. package/build/artifacts/contracts/offchain-helpers/PendleOffchainStorage.sol/PendleOffchainStorage.dbg.json +1 -1
  176. package/build/artifacts/contracts/offchain-helpers/PendleWstETHPriceFeed.sol/PendleWstETHPriceFeed.dbg.json +1 -1
  177. package/build/artifacts/contracts/offchain-helpers/SimulateHelper.sol/SimulateHelper.dbg.json +1 -1
  178. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  179. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  180. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  181. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +2 -2
  182. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  183. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  184. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  185. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  186. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.json +2 -2
  187. package/build/artifacts/contracts/offchain-helpers/deploy/lib/MarketDeployLib.sol/MarketDeployLib.dbg.json +1 -1
  188. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  189. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  190. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  191. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  192. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  193. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  194. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  195. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  196. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  197. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  198. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  199. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  200. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  201. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  202. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  203. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  204. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.json +2 -2
  205. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  206. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.json +2 -2
  207. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  208. package/build/artifacts/contracts/oracles/CrossChainOracle/base/PendleCrossChainOracleBaseApp_Init.sol/PendleCrossChainOracleBaseApp_Init.dbg.json +1 -1
  209. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleApp.sol/PendleExchangeRateOracleApp.dbg.json +1 -1
  210. package/build/artifacts/contracts/oracles/CrossChainOracle/exchangeRate/PendleExchangeRateOracleV2.sol/PendleExchangeRateOracleV2.dbg.json +1 -1
  211. package/build/artifacts/contracts/oracles/CrossChainOracle/libraries/ExchangeRateMsgCodec.sol/ExchangeRateMsgCodec.dbg.json +1 -1
  212. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  213. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  214. package/build/artifacts/contracts/oracles/PtYtLpOracle/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  215. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +1 -1
  216. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +1 -1
  217. package/build/artifacts/contracts/oracles/PtYtLpOracle/chainlink/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +1 -1
  218. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  219. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  220. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  221. package/build/artifacts/contracts/oracles/PtYtLpOracle/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  222. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleLinearDiscountOracleWrapper.sol/PendleLinearDiscountOracleWrapper.dbg.json +1 -1
  223. package/build/artifacts/contracts/oracles/StatelessWrapper/PendleSparkLinearDiscountOracleFactoryWrapper.sol/PendleSparkLinearDiscountOracleFactoryWrapper.dbg.json +1 -1
  224. package/build/artifacts/contracts/oracles/internal/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  225. package/build/artifacts/contracts/oracles/internal/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  226. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/LPExpiry.dbg.json +1 -1
  227. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracle.sol/PendleLpLinearDiscountOracle.dbg.json +1 -1
  228. package/build/artifacts/contracts/oracles/internal/PendleLpLinearDiscountOracleFactory.sol/PendleLpLinearDiscountOracleFactory.dbg.json +1 -1
  229. package/build/artifacts/contracts/oracles/internal/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  230. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  231. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  232. package/build/artifacts/contracts/oracles/internal/PendleSparkLinearDiscountOracleFactory.sol/PendleSparkLinearDiscountOracleFactory.dbg.json +1 -1
  233. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  234. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  235. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  236. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  237. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.dbg.json +1 -1
  238. package/build/artifacts/contracts/router/ActionCrossChain.sol/ActionCrossChain.json +2 -2
  239. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  240. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  241. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  242. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  243. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  244. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  245. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  246. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  247. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  248. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  249. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  250. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  251. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  252. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  253. package/build/artifacts/contracts/router/RouterStorage.sol/RouterStorage.dbg.json +1 -1
  254. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  255. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  256. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  257. package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
  258. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  259. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  260. package/build/artifacts/contracts/router/math/MarketApproxEstimateLib.sol/MarketApproxEstimateLib.dbg.json +1 -1
  261. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  262. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  263. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  264. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  265. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  266. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.json +2 -2
  267. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  268. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.json +2 -2
  269. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  270. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  271. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  272. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  273. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  274. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  275. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  276. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  277. package/contracts/cross-chain/swap-hub/SwapHubBase.sol +3 -3
  278. package/contracts/interfaces/IPLimitRouter.sol +7 -0
  279. package/contracts/limit/LimitRouterBase.sol +2 -11
  280. package/contracts/limit/PendleLimitRouter.sol +23 -1
  281. package/deployments/1-core.json +10 -6
  282. package/deployments/10-core.json +8 -4
  283. package/deployments/130-core.json +8 -2
  284. package/deployments/143-core.json +18 -0
  285. package/deployments/146-core.json +8 -4
  286. package/deployments/42161-core.json +8 -4
  287. package/deployments/43114-core.json +5 -2
  288. package/deployments/43114-offchain-helper.json +3 -0
  289. package/deployments/5000-core.json +8 -4
  290. package/deployments/56-core.json +8 -4
  291. package/deployments/57073-core.json +18 -0
  292. package/deployments/747474-core.json +18 -0
  293. package/deployments/80094-core.json +8 -4
  294. package/deployments/8453-core.json +8 -4
  295. package/deployments/9745-core.json +7 -3
  296. package/deployments/999-core.json +7 -3
  297. package/package.json +1 -1
  298. package/typechain-types/IPLimitRouter.ts +83 -0
  299. package/typechain-types/LimitRouterBase.ts +79 -46
  300. package/typechain-types/PendleLimitRouter.ts +79 -46
  301. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  302. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  303. package/typechain-types/factories/ActionCrossChain__factory.ts +1 -1
  304. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  305. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  306. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  307. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  308. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  309. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  310. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  311. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  312. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  313. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  314. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  315. package/typechain-types/factories/ExpiredLpPtRedeemer__factory.ts +1 -1
  316. package/typechain-types/factories/IPLimitRouter__factory.ts +231 -0
  317. package/typechain-types/factories/LimitBackendHelperV2__factory.ts +1 -1
  318. package/typechain-types/factories/LimitRouterBase__factory.ts +226 -21
  319. package/typechain-types/factories/MarketSweed__factory.ts +1 -1
  320. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +1 -1
  321. package/typechain-types/factories/PendleCrossChainSwapHub__factory.ts +1 -1
  322. package/typechain-types/factories/PendleFeeSetter__factory.ts +1 -1
  323. package/typechain-types/factories/PendleLimitRouter__factory.ts +227 -22
  324. package/typechain-types/factories/PendlePoolDeployHelperV2__factory.ts +1 -1
  325. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  326. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  327. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  328. package/typechain-types/factories/Reflector__factory.ts +1 -1
  329. package/typechain-types/Broadcaster.ts +0 -455
  330. package/typechain-types/IPGaugeControllerMainchain.ts +0 -319
  331. package/typechain-types/IPVotingController.ts +0 -534
  332. package/typechain-types/PendleFeeDistributor.ts +0 -746
  333. package/typechain-types/PendleGaugeControllerBaseUpg.ts +0 -689
  334. package/typechain-types/PendleGaugeControllerMainchainUpg.ts +0 -778
  335. package/typechain-types/PendleGaugeControllerSidechainUpg.ts +0 -770
  336. package/typechain-types/PendleMarketFactoryV6Upg.ts +0 -773
  337. package/typechain-types/PendleMarketV6.ts +0 -1248
  338. package/typechain-types/PendleVotingControllerUpg.ts +0 -1731
  339. package/typechain-types/VotingControllerStorageUpg.ts +0 -984
  340. package/typechain-types/factories/Broadcaster__factory.ts +0 -317
  341. package/typechain-types/factories/IPGaugeControllerMainchain__factory.ts +0 -202
  342. package/typechain-types/factories/IPVotingController__factory.ts +0 -395
  343. package/typechain-types/factories/PendleFeeDistributor__factory.ts +0 -671
  344. package/typechain-types/factories/PendleGaugeControllerBaseUpg__factory.ts +0 -470
  345. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +0 -648
  346. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +0 -638
  347. package/typechain-types/factories/PendleMarketFactoryV6Upg__factory.ts +0 -732
  348. package/typechain-types/factories/PendleMarketV6__factory.ts +0 -1261
  349. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +0 -1391
  350. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +0 -783
@@ -1,1261 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- PendleMarketV6,
15
- PendleMarketV6Interface,
16
- } from "../PendleMarketV6";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "address",
23
- name: "_PT",
24
- type: "address",
25
- },
26
- {
27
- internalType: "int256",
28
- name: "_scalarRoot",
29
- type: "int256",
30
- },
31
- {
32
- internalType: "int256",
33
- name: "_initialAnchor",
34
- type: "int256",
35
- },
36
- {
37
- internalType: "uint80",
38
- name: "_lnFeeRateRoot",
39
- type: "uint80",
40
- },
41
- {
42
- internalType: "address",
43
- name: "_vePendle",
44
- type: "address",
45
- },
46
- {
47
- internalType: "address",
48
- name: "_gaugeController",
49
- type: "address",
50
- },
51
- ],
52
- stateMutability: "nonpayable",
53
- type: "constructor",
54
- },
55
- {
56
- inputs: [
57
- {
58
- internalType: "int256",
59
- name: "exchangeRate",
60
- type: "int256",
61
- },
62
- ],
63
- name: "MarketExchangeRateBelowOne",
64
- type: "error",
65
- },
66
- {
67
- inputs: [],
68
- name: "MarketExpired",
69
- type: "error",
70
- },
71
- {
72
- inputs: [
73
- {
74
- internalType: "int256",
75
- name: "currentAmount",
76
- type: "int256",
77
- },
78
- {
79
- internalType: "int256",
80
- name: "requiredAmount",
81
- type: "int256",
82
- },
83
- ],
84
- name: "MarketInsufficientPtForTrade",
85
- type: "error",
86
- },
87
- {
88
- inputs: [
89
- {
90
- internalType: "uint256",
91
- name: "actualBalance",
92
- type: "uint256",
93
- },
94
- {
95
- internalType: "uint256",
96
- name: "requiredBalance",
97
- type: "uint256",
98
- },
99
- ],
100
- name: "MarketInsufficientPtReceived",
101
- type: "error",
102
- },
103
- {
104
- inputs: [
105
- {
106
- internalType: "uint256",
107
- name: "actualBalance",
108
- type: "uint256",
109
- },
110
- {
111
- internalType: "uint256",
112
- name: "requiredBalance",
113
- type: "uint256",
114
- },
115
- ],
116
- name: "MarketInsufficientSyReceived",
117
- type: "error",
118
- },
119
- {
120
- inputs: [],
121
- name: "MarketProportionMustNotEqualOne",
122
- type: "error",
123
- },
124
- {
125
- inputs: [
126
- {
127
- internalType: "int256",
128
- name: "proportion",
129
- type: "int256",
130
- },
131
- {
132
- internalType: "int256",
133
- name: "maxProportion",
134
- type: "int256",
135
- },
136
- ],
137
- name: "MarketProportionTooHigh",
138
- type: "error",
139
- },
140
- {
141
- inputs: [
142
- {
143
- internalType: "int256",
144
- name: "rateScalar",
145
- type: "int256",
146
- },
147
- ],
148
- name: "MarketRateScalarBelowZero",
149
- type: "error",
150
- },
151
- {
152
- inputs: [
153
- {
154
- internalType: "int256",
155
- name: "scalarRoot",
156
- type: "int256",
157
- },
158
- ],
159
- name: "MarketScalarRootBelowZero",
160
- type: "error",
161
- },
162
- {
163
- inputs: [],
164
- name: "MarketZeroAmountsInput",
165
- type: "error",
166
- },
167
- {
168
- inputs: [],
169
- name: "MarketZeroAmountsOutput",
170
- type: "error",
171
- },
172
- {
173
- inputs: [],
174
- name: "MarketZeroLnImpliedRate",
175
- type: "error",
176
- },
177
- {
178
- inputs: [],
179
- name: "MarketZeroNetLPFee",
180
- type: "error",
181
- },
182
- {
183
- inputs: [
184
- {
185
- internalType: "int256",
186
- name: "totalPt",
187
- type: "int256",
188
- },
189
- {
190
- internalType: "int256",
191
- name: "totalAsset",
192
- type: "int256",
193
- },
194
- ],
195
- name: "MarketZeroTotalPtOrTotalAsset",
196
- type: "error",
197
- },
198
- {
199
- anonymous: false,
200
- inputs: [
201
- {
202
- indexed: true,
203
- internalType: "address",
204
- name: "owner",
205
- type: "address",
206
- },
207
- {
208
- indexed: true,
209
- internalType: "address",
210
- name: "spender",
211
- type: "address",
212
- },
213
- {
214
- indexed: false,
215
- internalType: "uint256",
216
- name: "value",
217
- type: "uint256",
218
- },
219
- ],
220
- name: "Approval",
221
- type: "event",
222
- },
223
- {
224
- anonymous: false,
225
- inputs: [
226
- {
227
- indexed: true,
228
- internalType: "address",
229
- name: "receiverSy",
230
- type: "address",
231
- },
232
- {
233
- indexed: true,
234
- internalType: "address",
235
- name: "receiverPt",
236
- type: "address",
237
- },
238
- {
239
- indexed: false,
240
- internalType: "uint256",
241
- name: "netLpBurned",
242
- type: "uint256",
243
- },
244
- {
245
- indexed: false,
246
- internalType: "uint256",
247
- name: "netSyOut",
248
- type: "uint256",
249
- },
250
- {
251
- indexed: false,
252
- internalType: "uint256",
253
- name: "netPtOut",
254
- type: "uint256",
255
- },
256
- ],
257
- name: "Burn",
258
- type: "event",
259
- },
260
- {
261
- anonymous: false,
262
- inputs: [
263
- {
264
- indexed: false,
265
- internalType: "uint16",
266
- name: "observationCardinalityNextOld",
267
- type: "uint16",
268
- },
269
- {
270
- indexed: false,
271
- internalType: "uint16",
272
- name: "observationCardinalityNextNew",
273
- type: "uint16",
274
- },
275
- ],
276
- name: "IncreaseObservationCardinalityNext",
277
- type: "event",
278
- },
279
- {
280
- anonymous: false,
281
- inputs: [
282
- {
283
- indexed: true,
284
- internalType: "address",
285
- name: "receiver",
286
- type: "address",
287
- },
288
- {
289
- indexed: false,
290
- internalType: "uint256",
291
- name: "netLpMinted",
292
- type: "uint256",
293
- },
294
- {
295
- indexed: false,
296
- internalType: "uint256",
297
- name: "netSyUsed",
298
- type: "uint256",
299
- },
300
- {
301
- indexed: false,
302
- internalType: "uint256",
303
- name: "netPtUsed",
304
- type: "uint256",
305
- },
306
- ],
307
- name: "Mint",
308
- type: "event",
309
- },
310
- {
311
- anonymous: false,
312
- inputs: [
313
- {
314
- indexed: true,
315
- internalType: "address",
316
- name: "user",
317
- type: "address",
318
- },
319
- {
320
- indexed: false,
321
- internalType: "uint256[]",
322
- name: "rewardsOut",
323
- type: "uint256[]",
324
- },
325
- ],
326
- name: "RedeemRewards",
327
- type: "event",
328
- },
329
- {
330
- anonymous: false,
331
- inputs: [
332
- {
333
- indexed: true,
334
- internalType: "address",
335
- name: "caller",
336
- type: "address",
337
- },
338
- {
339
- indexed: true,
340
- internalType: "address",
341
- name: "receiver",
342
- type: "address",
343
- },
344
- {
345
- indexed: false,
346
- internalType: "int256",
347
- name: "netPtOut",
348
- type: "int256",
349
- },
350
- {
351
- indexed: false,
352
- internalType: "int256",
353
- name: "netSyOut",
354
- type: "int256",
355
- },
356
- {
357
- indexed: false,
358
- internalType: "uint256",
359
- name: "netSyFee",
360
- type: "uint256",
361
- },
362
- {
363
- indexed: false,
364
- internalType: "uint256",
365
- name: "netSyToReserve",
366
- type: "uint256",
367
- },
368
- ],
369
- name: "Swap",
370
- type: "event",
371
- },
372
- {
373
- anonymous: false,
374
- inputs: [
375
- {
376
- indexed: true,
377
- internalType: "address",
378
- name: "from",
379
- type: "address",
380
- },
381
- {
382
- indexed: true,
383
- internalType: "address",
384
- name: "to",
385
- type: "address",
386
- },
387
- {
388
- indexed: false,
389
- internalType: "uint256",
390
- name: "value",
391
- type: "uint256",
392
- },
393
- ],
394
- name: "Transfer",
395
- type: "event",
396
- },
397
- {
398
- anonymous: false,
399
- inputs: [
400
- {
401
- indexed: true,
402
- internalType: "address",
403
- name: "user",
404
- type: "address",
405
- },
406
- {
407
- indexed: false,
408
- internalType: "uint256",
409
- name: "newActiveBalance",
410
- type: "uint256",
411
- },
412
- ],
413
- name: "UpdateActiveBalance",
414
- type: "event",
415
- },
416
- {
417
- anonymous: false,
418
- inputs: [
419
- {
420
- indexed: true,
421
- internalType: "uint256",
422
- name: "timestamp",
423
- type: "uint256",
424
- },
425
- {
426
- indexed: false,
427
- internalType: "uint256",
428
- name: "lnLastImpliedRate",
429
- type: "uint256",
430
- },
431
- ],
432
- name: "UpdateImpliedRate",
433
- type: "event",
434
- },
435
- {
436
- inputs: [],
437
- name: "VERSION",
438
- outputs: [
439
- {
440
- internalType: "uint256",
441
- name: "",
442
- type: "uint256",
443
- },
444
- ],
445
- stateMutability: "view",
446
- type: "function",
447
- },
448
- {
449
- inputs: [],
450
- name: "_storage",
451
- outputs: [
452
- {
453
- internalType: "int128",
454
- name: "totalPt",
455
- type: "int128",
456
- },
457
- {
458
- internalType: "int128",
459
- name: "totalSy",
460
- type: "int128",
461
- },
462
- {
463
- internalType: "uint96",
464
- name: "lastLnImpliedRate",
465
- type: "uint96",
466
- },
467
- {
468
- internalType: "uint16",
469
- name: "observationIndex",
470
- type: "uint16",
471
- },
472
- {
473
- internalType: "uint16",
474
- name: "observationCardinality",
475
- type: "uint16",
476
- },
477
- {
478
- internalType: "uint16",
479
- name: "observationCardinalityNext",
480
- type: "uint16",
481
- },
482
- ],
483
- stateMutability: "view",
484
- type: "function",
485
- },
486
- {
487
- inputs: [
488
- {
489
- internalType: "address",
490
- name: "",
491
- type: "address",
492
- },
493
- ],
494
- name: "activeBalance",
495
- outputs: [
496
- {
497
- internalType: "uint256",
498
- name: "",
499
- type: "uint256",
500
- },
501
- ],
502
- stateMutability: "view",
503
- type: "function",
504
- },
505
- {
506
- inputs: [
507
- {
508
- internalType: "address",
509
- name: "owner",
510
- type: "address",
511
- },
512
- {
513
- internalType: "address",
514
- name: "spender",
515
- type: "address",
516
- },
517
- ],
518
- name: "allowance",
519
- outputs: [
520
- {
521
- internalType: "uint256",
522
- name: "",
523
- type: "uint256",
524
- },
525
- ],
526
- stateMutability: "view",
527
- type: "function",
528
- },
529
- {
530
- inputs: [
531
- {
532
- internalType: "address",
533
- name: "spender",
534
- type: "address",
535
- },
536
- {
537
- internalType: "uint256",
538
- name: "amount",
539
- type: "uint256",
540
- },
541
- ],
542
- name: "approve",
543
- outputs: [
544
- {
545
- internalType: "bool",
546
- name: "",
547
- type: "bool",
548
- },
549
- ],
550
- stateMutability: "nonpayable",
551
- type: "function",
552
- },
553
- {
554
- inputs: [
555
- {
556
- internalType: "address",
557
- name: "account",
558
- type: "address",
559
- },
560
- ],
561
- name: "balanceOf",
562
- outputs: [
563
- {
564
- internalType: "uint256",
565
- name: "",
566
- type: "uint256",
567
- },
568
- ],
569
- stateMutability: "view",
570
- type: "function",
571
- },
572
- {
573
- inputs: [
574
- {
575
- internalType: "address",
576
- name: "receiverSy",
577
- type: "address",
578
- },
579
- {
580
- internalType: "address",
581
- name: "receiverPt",
582
- type: "address",
583
- },
584
- {
585
- internalType: "uint256",
586
- name: "netLpToBurn",
587
- type: "uint256",
588
- },
589
- ],
590
- name: "burn",
591
- outputs: [
592
- {
593
- internalType: "uint256",
594
- name: "netSyOut",
595
- type: "uint256",
596
- },
597
- {
598
- internalType: "uint256",
599
- name: "netPtOut",
600
- type: "uint256",
601
- },
602
- ],
603
- stateMutability: "nonpayable",
604
- type: "function",
605
- },
606
- {
607
- inputs: [],
608
- name: "decimals",
609
- outputs: [
610
- {
611
- internalType: "uint8",
612
- name: "",
613
- type: "uint8",
614
- },
615
- ],
616
- stateMutability: "view",
617
- type: "function",
618
- },
619
- {
620
- inputs: [],
621
- name: "expiry",
622
- outputs: [
623
- {
624
- internalType: "uint256",
625
- name: "",
626
- type: "uint256",
627
- },
628
- ],
629
- stateMutability: "view",
630
- type: "function",
631
- },
632
- {
633
- inputs: [],
634
- name: "factory",
635
- outputs: [
636
- {
637
- internalType: "address",
638
- name: "",
639
- type: "address",
640
- },
641
- ],
642
- stateMutability: "view",
643
- type: "function",
644
- },
645
- {
646
- inputs: [],
647
- name: "getNonOverrideLnFeeRateRoot",
648
- outputs: [
649
- {
650
- internalType: "uint80",
651
- name: "",
652
- type: "uint80",
653
- },
654
- ],
655
- stateMutability: "view",
656
- type: "function",
657
- },
658
- {
659
- inputs: [],
660
- name: "getRewardTokens",
661
- outputs: [
662
- {
663
- internalType: "address[]",
664
- name: "",
665
- type: "address[]",
666
- },
667
- ],
668
- stateMutability: "view",
669
- type: "function",
670
- },
671
- {
672
- inputs: [
673
- {
674
- internalType: "uint16",
675
- name: "cardinalityNext",
676
- type: "uint16",
677
- },
678
- ],
679
- name: "increaseObservationsCardinalityNext",
680
- outputs: [],
681
- stateMutability: "nonpayable",
682
- type: "function",
683
- },
684
- {
685
- inputs: [],
686
- name: "isExpired",
687
- outputs: [
688
- {
689
- internalType: "bool",
690
- name: "",
691
- type: "bool",
692
- },
693
- ],
694
- stateMutability: "view",
695
- type: "function",
696
- },
697
- {
698
- inputs: [],
699
- name: "lastRewardBlock",
700
- outputs: [
701
- {
702
- internalType: "uint256",
703
- name: "",
704
- type: "uint256",
705
- },
706
- ],
707
- stateMutability: "view",
708
- type: "function",
709
- },
710
- {
711
- inputs: [
712
- {
713
- internalType: "address",
714
- name: "receiver",
715
- type: "address",
716
- },
717
- {
718
- internalType: "uint256",
719
- name: "netSyDesired",
720
- type: "uint256",
721
- },
722
- {
723
- internalType: "uint256",
724
- name: "netPtDesired",
725
- type: "uint256",
726
- },
727
- ],
728
- name: "mint",
729
- outputs: [
730
- {
731
- internalType: "uint256",
732
- name: "netLpOut",
733
- type: "uint256",
734
- },
735
- {
736
- internalType: "uint256",
737
- name: "netSyUsed",
738
- type: "uint256",
739
- },
740
- {
741
- internalType: "uint256",
742
- name: "netPtUsed",
743
- type: "uint256",
744
- },
745
- ],
746
- stateMutability: "nonpayable",
747
- type: "function",
748
- },
749
- {
750
- inputs: [],
751
- name: "name",
752
- outputs: [
753
- {
754
- internalType: "string",
755
- name: "",
756
- type: "string",
757
- },
758
- ],
759
- stateMutability: "view",
760
- type: "function",
761
- },
762
- {
763
- inputs: [
764
- {
765
- internalType: "uint256",
766
- name: "",
767
- type: "uint256",
768
- },
769
- ],
770
- name: "observations",
771
- outputs: [
772
- {
773
- internalType: "uint32",
774
- name: "blockTimestamp",
775
- type: "uint32",
776
- },
777
- {
778
- internalType: "uint216",
779
- name: "lnImpliedRateCumulative",
780
- type: "uint216",
781
- },
782
- {
783
- internalType: "bool",
784
- name: "initialized",
785
- type: "bool",
786
- },
787
- ],
788
- stateMutability: "view",
789
- type: "function",
790
- },
791
- {
792
- inputs: [
793
- {
794
- internalType: "uint32[]",
795
- name: "secondsAgos",
796
- type: "uint32[]",
797
- },
798
- ],
799
- name: "observe",
800
- outputs: [
801
- {
802
- internalType: "uint216[]",
803
- name: "lnImpliedRateCumulative",
804
- type: "uint216[]",
805
- },
806
- ],
807
- stateMutability: "view",
808
- type: "function",
809
- },
810
- {
811
- inputs: [
812
- {
813
- internalType: "address",
814
- name: "router",
815
- type: "address",
816
- },
817
- ],
818
- name: "readState",
819
- outputs: [
820
- {
821
- components: [
822
- {
823
- internalType: "int256",
824
- name: "totalPt",
825
- type: "int256",
826
- },
827
- {
828
- internalType: "int256",
829
- name: "totalSy",
830
- type: "int256",
831
- },
832
- {
833
- internalType: "int256",
834
- name: "totalLp",
835
- type: "int256",
836
- },
837
- {
838
- internalType: "address",
839
- name: "treasury",
840
- type: "address",
841
- },
842
- {
843
- internalType: "int256",
844
- name: "scalarRoot",
845
- type: "int256",
846
- },
847
- {
848
- internalType: "uint256",
849
- name: "expiry",
850
- type: "uint256",
851
- },
852
- {
853
- internalType: "uint256",
854
- name: "lnFeeRateRoot",
855
- type: "uint256",
856
- },
857
- {
858
- internalType: "uint256",
859
- name: "reserveFeePercent",
860
- type: "uint256",
861
- },
862
- {
863
- internalType: "uint256",
864
- name: "lastLnImpliedRate",
865
- type: "uint256",
866
- },
867
- ],
868
- internalType: "struct MarketState",
869
- name: "market",
870
- type: "tuple",
871
- },
872
- ],
873
- stateMutability: "view",
874
- type: "function",
875
- },
876
- {
877
- inputs: [],
878
- name: "readTokens",
879
- outputs: [
880
- {
881
- internalType: "contract IStandardizedYield",
882
- name: "_SY",
883
- type: "address",
884
- },
885
- {
886
- internalType: "contract IPPrincipalToken",
887
- name: "_PT",
888
- type: "address",
889
- },
890
- {
891
- internalType: "contract IPYieldToken",
892
- name: "_YT",
893
- type: "address",
894
- },
895
- ],
896
- stateMutability: "view",
897
- type: "function",
898
- },
899
- {
900
- inputs: [
901
- {
902
- internalType: "address",
903
- name: "user",
904
- type: "address",
905
- },
906
- ],
907
- name: "redeemRewards",
908
- outputs: [
909
- {
910
- internalType: "uint256[]",
911
- name: "",
912
- type: "uint256[]",
913
- },
914
- ],
915
- stateMutability: "nonpayable",
916
- type: "function",
917
- },
918
- {
919
- inputs: [],
920
- name: "reentrancyGuardEntered",
921
- outputs: [
922
- {
923
- internalType: "bool",
924
- name: "",
925
- type: "bool",
926
- },
927
- ],
928
- stateMutability: "view",
929
- type: "function",
930
- },
931
- {
932
- inputs: [
933
- {
934
- internalType: "address",
935
- name: "",
936
- type: "address",
937
- },
938
- ],
939
- name: "rewardState",
940
- outputs: [
941
- {
942
- internalType: "uint128",
943
- name: "index",
944
- type: "uint128",
945
- },
946
- {
947
- internalType: "uint128",
948
- name: "lastBalance",
949
- type: "uint128",
950
- },
951
- ],
952
- stateMutability: "view",
953
- type: "function",
954
- },
955
- {
956
- inputs: [],
957
- name: "skim",
958
- outputs: [],
959
- stateMutability: "nonpayable",
960
- type: "function",
961
- },
962
- {
963
- inputs: [
964
- {
965
- internalType: "address",
966
- name: "receiver",
967
- type: "address",
968
- },
969
- {
970
- internalType: "uint256",
971
- name: "exactPtIn",
972
- type: "uint256",
973
- },
974
- {
975
- internalType: "bytes",
976
- name: "data",
977
- type: "bytes",
978
- },
979
- ],
980
- name: "swapExactPtForSy",
981
- outputs: [
982
- {
983
- internalType: "uint256",
984
- name: "netSyOut",
985
- type: "uint256",
986
- },
987
- {
988
- internalType: "uint256",
989
- name: "netSyFee",
990
- type: "uint256",
991
- },
992
- ],
993
- stateMutability: "nonpayable",
994
- type: "function",
995
- },
996
- {
997
- inputs: [
998
- {
999
- internalType: "address",
1000
- name: "receiver",
1001
- type: "address",
1002
- },
1003
- {
1004
- internalType: "uint256",
1005
- name: "exactPtOut",
1006
- type: "uint256",
1007
- },
1008
- {
1009
- internalType: "bytes",
1010
- name: "data",
1011
- type: "bytes",
1012
- },
1013
- ],
1014
- name: "swapSyForExactPt",
1015
- outputs: [
1016
- {
1017
- internalType: "uint256",
1018
- name: "netSyIn",
1019
- type: "uint256",
1020
- },
1021
- {
1022
- internalType: "uint256",
1023
- name: "netSyFee",
1024
- type: "uint256",
1025
- },
1026
- ],
1027
- stateMutability: "nonpayable",
1028
- type: "function",
1029
- },
1030
- {
1031
- inputs: [],
1032
- name: "symbol",
1033
- outputs: [
1034
- {
1035
- internalType: "string",
1036
- name: "",
1037
- type: "string",
1038
- },
1039
- ],
1040
- stateMutability: "view",
1041
- type: "function",
1042
- },
1043
- {
1044
- inputs: [],
1045
- name: "totalActiveSupply",
1046
- outputs: [
1047
- {
1048
- internalType: "uint256",
1049
- name: "",
1050
- type: "uint256",
1051
- },
1052
- ],
1053
- stateMutability: "view",
1054
- type: "function",
1055
- },
1056
- {
1057
- inputs: [],
1058
- name: "totalSupply",
1059
- outputs: [
1060
- {
1061
- internalType: "uint256",
1062
- name: "",
1063
- type: "uint256",
1064
- },
1065
- ],
1066
- stateMutability: "view",
1067
- type: "function",
1068
- },
1069
- {
1070
- inputs: [
1071
- {
1072
- internalType: "address",
1073
- name: "to",
1074
- type: "address",
1075
- },
1076
- {
1077
- internalType: "uint256",
1078
- name: "amount",
1079
- type: "uint256",
1080
- },
1081
- ],
1082
- name: "transfer",
1083
- outputs: [
1084
- {
1085
- internalType: "bool",
1086
- name: "",
1087
- type: "bool",
1088
- },
1089
- ],
1090
- stateMutability: "nonpayable",
1091
- type: "function",
1092
- },
1093
- {
1094
- inputs: [
1095
- {
1096
- internalType: "address",
1097
- name: "from",
1098
- type: "address",
1099
- },
1100
- {
1101
- internalType: "address",
1102
- name: "to",
1103
- type: "address",
1104
- },
1105
- {
1106
- internalType: "uint256",
1107
- name: "amount",
1108
- type: "uint256",
1109
- },
1110
- ],
1111
- name: "transferFrom",
1112
- outputs: [
1113
- {
1114
- internalType: "bool",
1115
- name: "",
1116
- type: "bool",
1117
- },
1118
- ],
1119
- stateMutability: "nonpayable",
1120
- type: "function",
1121
- },
1122
- {
1123
- inputs: [
1124
- {
1125
- internalType: "address",
1126
- name: "",
1127
- type: "address",
1128
- },
1129
- {
1130
- internalType: "address",
1131
- name: "",
1132
- type: "address",
1133
- },
1134
- ],
1135
- name: "userReward",
1136
- outputs: [
1137
- {
1138
- internalType: "uint128",
1139
- name: "index",
1140
- type: "uint128",
1141
- },
1142
- {
1143
- internalType: "uint128",
1144
- name: "accrued",
1145
- type: "uint128",
1146
- },
1147
- ],
1148
- stateMutability: "view",
1149
- type: "function",
1150
- },
1151
- ];
1152
-
1153
- const _bytecode =
1154
- "0x610220604052348015610010575f5ffd5b50604051615ff6380380615ff683398101604081905261002f91610713565b856001600160a01b031663afd27bf56040518163ffffffff1660e01b8152600401602060405180830381865afa15801561006b573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061008f9190610784565b828261009a896103c3565b6100a38a61047f565b601260066100b1848261083c565b5060076100be838261083c565b5060ff166080525050600580546001600160f81b0316600160f81b1790556001600160a01b0380841660a05282811660e052811661010081905260408051635162986d60e11b8152905163a2c530da9160048082019260209290919082900301815f875af1158015610132573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101569190610784565b6001600160a01b0390811660c05289166101208190526040805163afd27bf560e01b8152905191945063afd27bf5935060048082019350602092918290030181865afa1580156101a8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101cc9190610784565b6001600160a01b0316610140816001600160a01b031681525050610120516001600160a01b031663781c18db6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610225573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102499190610784565b6001600160a01b03166101605260405163329f6acb60e21b8152600c600482015263ffffffff4216602482015273__$048ed23d805a6069d4ffa97e047467fd4a$__9063ca7dab2c906044016040805180830381865af41580156102af573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102d39190610907565b600b805463ffffffff60701b1916600160801b61ffff9384160261ffff60701b191617600160701b93909216929092021790555f851361032d5760405163483512b160e11b81526004810186905260240160405180910390fd5b6101c08590526101e08490526001600160501b03831661020052604080516370c264df60e11b815290516001600160a01b0388169163e184c9be9160048083019260209291908290030181865afa15801561038a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ae9190610938565b6101a0525050336101805250610b3c92505050565b606061047961044f604051806040016040528060038152602001620282a160ed1b815250846001600160a01b03166306fdde036040518163ffffffff1660e01b81526004015f60405180830381865afa158015610422573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610449919081019061094f565b90610502565b6040805180820190915260048152630282628160e51b602082015261047390610535565b9061055b565b92915050565b60606104796104de6040518060400160405280600381526020016250542d60e81b815250846001600160a01b03166395d89b416040518163ffffffff1660e01b81526004015f60405180830381865afa158015610422573d5f5f3e3d5ffd5b604080518082019091526004815263504c502d60e01b602082015261047390610535565b61050a6106e0565b5f61051484610535565b90505f61052084610535565b905061052c82826105ee565b95945050505050565b61053d6106e0565b50604080518082019091528151815260209182019181019190915290565b805182516060915f9161056e9190610a28565b6001600160401b03811115610585576105856107a4565b6040519080825280601f01601f1916602001820160405280156105af576020820181803683370190505b506020858101518651929350908301916105ca918391610667565b84516105e6906105da9083610a28565b60208601518651610667565b509392505050565b6105f66106e0565b815183511015610607575081610479565b602080830151908401516001911461062e5750815160208481015190840151829020919020145b801561065f57825184518590610645908390610a3b565b905250825160208501805161065b908390610a28565b9052505b509192915050565b6020811061069f578151835261067e602084610a28565b925061068b602083610a28565b9150610698602082610a3b565b9050610667565b5f1981156106cd5760016106b4836020610a3b565b6106c090610100610b31565b6106ca9190610a3b565b90505b9151835183169219169190911790915250565b60405180604001604052805f81526020015f81525090565b80516001600160a01b038116811461070e575f5ffd5b919050565b5f5f5f5f5f5f60c08789031215610728575f5ffd5b610731876106f8565b6020880151604089015160608a015192985090965094506001600160501b038116811461075c575f5ffd5b925061076a608088016106f8565b915061077860a088016106f8565b90509295509295509295565b5f60208284031215610794575f5ffd5b61079d826106f8565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806107cc57607f821691505b6020821081036107ea57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561083757805f5260205f20601f840160051c810160208510156108155750805b601f840160051c820191505b81811015610834575f8155600101610821565b50505b505050565b81516001600160401b03811115610855576108556107a4565b6108698161086384546107b8565b846107f0565b6020601f82116001811461089b575f83156108845750848201515b5f19600385901b1c1916600184901b178455610834565b5f84815260208120601f198516915b828110156108ca57878501518255602094850194600190920191016108aa565b50848210156108e757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b805161ffff8116811461070e575f5ffd5b5f5f60408385031215610918575f5ffd5b610921836108f6565b915061092f602084016108f6565b90509250929050565b5f60208284031215610948575f5ffd5b5051919050565b5f6020828403121561095f575f5ffd5b81516001600160401b03811115610974575f5ffd5b8201601f81018413610984575f5ffd5b80516001600160401b0381111561099d5761099d6107a4565b604051601f8201601f19908116603f011681016001600160401b03811182821017156109cb576109cb6107a4565b6040528181528282016020018610156109e2575f5ffd5b5f5b82811015610a00576020818501810151838301820152016109e4565b505f91810160200191909152949350505050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561047957610479610a14565b8181038181111561047957610479610a14565b6001815b6001841115610a8957808504811115610a6d57610a6d610a14565b6001841615610a7b57908102905b60019390931c928002610a52565b935093915050565b5f82610a9f57506001610479565b81610aab57505f610479565b8160018114610ac15760028114610acb57610ae7565b6001915050610479565b60ff841115610adc57610adc610a14565b50506001821b610479565b5060208310610133831016604e8410600b8410161715610b0a575081810a610479565b610b165f198484610a4e565b805f1904821115610b2957610b29610a14565b029392505050565b5f61079d8383610a91565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051615370610c865f395f818161061b015261142701525f61081801525f61145801525f81816105ec01528181610ecf015261147e01525f8181610588015261138b01525f81816102fd015281816107c601528181610c8c01526110d801525f81816102b00152818161086d0152818161089c01528181610a8d01528181610b1601528181610cec01528181610d26015281816111720152818161122101528181611250015261171c01525f81816102d5015281816108f80152818161092701528181610a4a01528181610ad601528181610dd301528181610e0201528181611138015261176001525f61465901525f61472601525f8181612215015261224901525f818161218d01526145df01525f61033901526153705ff3fe608060405234801561000f575f5ffd5b5060043610610189575f3560e01c806306fdde031461018d5780630892cd8b146101ab578063095ea7b3146101d8578063156e29f6146101fb57806318160ddd1461021d5780631dd19cb41461022557806323b872dd1461022f578063252c09d71461024257806329910b11146102815780632c8ce6bc146102a25780632f13b60c1461032c578063313ce5671461033457806337d45e3a1461036d5780635b709f17146103805780635cbadbe41461039357806370a08231146103ee5780637206926414610401578063794052f31461040a578063883bdbfd146104915780639262187b146104b157806395d89b41146104d1578063a9059cbb146104d9578063a9f8d181146104ec578063c3fb90d6146104f5578063c45a015514610583578063c4f59f9b146105b7578063d2c725e0146105cc578063dd62ed3e146105d4578063e184c9be146105e7578063e4f8b2e91461060e578063ea64a82014610645578063f6b911bc14610678578063ffa1ad741461068b575b5f5ffd5b610195610693565b6040516101a2919061492d565b60405180910390f35b6101ca6101b9366004614973565b60096020525f908152604090205481565b6040519081526020016101a2565b6101eb6101e636600461498e565b610723565b60405190151581526020016101a2565b61020e6102093660046149b8565b61073c565b6040516101a2939291906149ea565b6101ca6109da565b61022d6109e9565b005b6101eb61023d366004614a00565b610b57565b610255610250366004614a3e565b610bd4565b6040805163ffffffff90941684526001600160d81b0390921660208401521515908201526060016101a2565b61029461028f366004614a55565b610c0d565b6040516101a2929190614ad8565b604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f0000000000000000000000000000000000000000000000000000000000000000811660208301527f000000000000000000000000000000000000000000000000000000000000000016918101919091526060016101a2565b6101eb610ecd565b61035b7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101a2565b61022d61037b366004614af5565b610ef9565b61029461038e366004614a55565b611059565b6103ce6103a1366004614b10565b5f6020818152928152604080822090935290815220546001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016101a2565b6101ca6103fc366004614973565b6112cb565b6101ca60085481565b61041d610418366004614973565b6112e5565b6040516101a291905f6101208201905082518252602083015160208301526040830151604083015260018060a01b0360608401511660608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015261010083015161010083015292915050565b6104a461049f366004614bad565b6114b9565b6040516101a29190614c53565b6104c46104bf366004614973565b61155d565b6040516101a29190614c9e565b6101956115c8565b6101eb6104e736600461498e565b6115d7565b6101ca60015481565b600a54600b5461053991600f81810b92600160801b9283900490910b916001600160601b0382169161ffff600160601b8204811692600160701b8304821692041686565b60408051600f97880b81529590960b60208601526001600160601b039093169484019490945261ffff908116606084015292831660808301529190911660a082015260c0016101a2565b6105aa7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101a29190614cd5565b6105bf611648565b6040516101a29190614ce9565b6101eb611652565b6101ca6105e2366004614b10565b611669565b6101ca7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160501b037f00000000000000000000000000000000000000000000000000000000000000001681526020016101a2565b6103ce610653366004614973565b60026020525f90815260409020546001600160801b0380821691600160801b90041682565b610294610686366004614a00565b611693565b6101ca600681565b6060600680546106a290614d29565b80601f01602080910402602001604051908101604052809291908181526020018280546106ce90614d29565b80156107195780601f106106f057610100808354040283529160200191610719565b820191905f5260205f20905b8154815290600101906020018083116106fc57829003601f168201915b5050505050905090565b5f336107308185856117ff565b60019150505b92915050565b6005545f9081908190600119600160f81b90910460ff16016107795760405162461bcd60e51b815260040161077090614d5b565b60405180910390fd5b600580546001600160f81b0316600160f91b179055610796610ecd565b156107b45760405163b2094b5960e01b815260040160405180910390fd5b5f6107be336112e5565b90505f6107f37f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611922565b90505f61080283898942611984565b91985096509450905080156108485761083d83837f0000000000000000000000000000000000000000000000000000000000000000426119eb565b610848600182611a6b565b6108528987611a6b565b61085b83611b86565b6108688360200151611d20565b6108917f0000000000000000000000000000000000000000000000000000000000000000611d31565b10156108e8576108c07f0000000000000000000000000000000000000000000000000000000000000000611d31565b6108cd8460200151611d20565b60405163f62951c760e01b8152600401610770929190614ad8565b82516108f390611d20565b61091c7f0000000000000000000000000000000000000000000000000000000000000000611d31565b10156109715761094b7f0000000000000000000000000000000000000000000000000000000000000000611d31565b835161095690611d20565b604051632c49ea0f60e01b8152600401610770929190614ad8565b886001600160a01b03167fb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb8787876040516109ae939291906149ea565b60405180910390a25050600580546001600160f81b0316600160f81b1790555091959094509092509050565b6005546001600160f81b031690565b600554600119600160f81b90910460ff1601610a175760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b1790555f610a36336112e5565b90505f610a45825f0151611d20565b610a6e7f0000000000000000000000000000000000000000000000000000000000000000611d31565b610a789190614da6565b90505f610a888360200151611d20565b610ab17f0000000000000000000000000000000000000000000000000000000000000000611d31565b610abb9190614da6565b90508115610afd576060830151610afd906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169084611d7a565b8015610b3d576060830151610b3d906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611d7a565b5050600580546001600160f81b0316600160f81b17905550565b6005545f90600119600160f81b90910460ff1601610b875760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b17905533610ba8858285611dd1565b610bb3858585611e49565b6001915050600580546001600160f81b0316600160f81b1790559392505050565b600c8161ffff8110610be4575f80fd5b015463ffffffff81169150600160201b81046001600160d81b031690600160f81b900460ff1683565b6005545f908190600119600160f81b90910460ff1601610c3f5760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b179055610c5c610ecd565b15610c7a5760405163b2094b5960e01b815260040160405180910390fd5b5f610c84336112e5565b90505f610cb97f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611922565b90505f610cc883838a4261206e565b919650945090506001600160a01b0389163014610d1357610d136001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168a87611d7a565b6060830151610d4d906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611d7a565b610d5683611b86565b8515610dc3573363fa483e72610d6b8a6120bc565b610d74886120d1565b8a8a6040518563ffffffff1660e01b8152600401610d959493929190614db9565b5f604051808303815f87803b158015610dac575f5ffd5b505af1158015610dbe573d5f5f3e3d5ffd5b505050505b8251610dce90611d20565b610df77f0000000000000000000000000000000000000000000000000000000000000000611d31565b1015610e265761094b7f0000000000000000000000000000000000000000000000000000000000000000611d31565b610e3a610e338286614da6565b83906120e5565b5f03610e5957604051632203334b60e21b815260040160405180910390fd5b6001600160a01b038916335f5160206152fb5f395f51905f52610e7b8b6120bc565b610e84896120d1565b60408051928352602083019190915281018890526060810185905260800160405180910390a35050600580546001600160f81b0316600160f81b17905550909590945092505050565b7f000000000000000000000000000000000000000000000000000000000000000042101590565b905090565b600554600119600160f81b90910460ff1601610f275760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b179055600b54604051632c3e6e0360e11b8152600c6004820152600160801b90910461ffff908116602483018190529083166044830152905f9073__$048ed23d805a6069d4ffa97e047467fd4a$__9063587cdc0690606401602060405180830381865af4158015610fad573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fd19190614df5565b90508061ffff168261ffff1614610b3d57600b805461ffff60801b1916600160801b61ffff8481169182029290921790925560408051918516825260208201929092527fac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a910160405180910390a15050600580546001600160f81b0316600160f81b17905550565b6005545f908190600119600160f81b90910460ff160161108b5760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b1790556110a8610ecd565b156110c65760405163b2094b5960e01b815260040160405180910390fd5b5f6110d0336112e5565b90505f6111057f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316611922565b90505f61111483838a426120f7565b919650945090506001600160a01b038916301461115f5761115f6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168a8a611d7a565b6060830151611199906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169083611d7a565b6111a283611b86565b851561120f573363fa483e726111b78a6120d1565b6111c0886120bc565b8a8a6040518563ffffffff1660e01b81526004016111e19493929190614db9565b5f604051808303815f87803b1580156111f8575f5ffd5b505af115801561120a573d5f5f3e3d5ffd5b505050505b61121c8360200151611d20565b6112457f0000000000000000000000000000000000000000000000000000000000000000611d31565b1015611274576108c07f0000000000000000000000000000000000000000000000000000000000000000611d31565b611281610e338286614da6565b5f036112a057604051632203334b60e21b815260040160405180910390fd5b6001600160a01b038916335f5160206152fb5f395f51905f526112c28b6120d1565b610e84896120bc565b6001600160a01b03165f9081526003602052604090205490565b6113346040518061012001604052805f81526020015f81526020015f81526020015f6001600160a01b031681526020015f81526020015f81526020015f81526020015f81526020015f81525090565b600a54600f81810b8352600160801b909104900b602082015261135d6113586109da565b6120d1565b60408281019190915251635c098c1160e01b81523060048201526001600160a01b0383811660248301525f917f000000000000000000000000000000000000000000000000000000000000000090911690635c098c1190604401606060405180830381865afa1580156113d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113f69190614e10565b60ff1660e08501526001600160a01b03909116606084015290506001600160501b038116156114255780611447565b7f00000000000000000000000000000000000000000000000000000000000000005b6001600160501b031660c0830152507f000000000000000000000000000000000000000000000000000000000000000060808201527f000000000000000000000000000000000000000000000000000000000000000060a0820152600b546001600160601b0316610100820152919050565b600b54604051630eea10e760e11b815260609173__$048ed23d805a6069d4ffa97e047467fd4a$__91631dd421ce9161151c91600c91429188916001600160601b0381169161ffff600160601b8304811692600160701b90041690600401614e6a565b5f60405180830381865af4158015611536573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526107369190810190614ef6565b600554606090600119600160f81b90910460ff160161158e5760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b1790556115ac82612122565b9050600580546001600160f81b0316600160f81b179055919050565b6060600780546106a290614d29565b6005545f90600119600160f81b90910460ff16016116075760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b17905533611628818585611e49565b6001915050600580546001600160f81b0316600160f81b17905592915050565b6060610ef4612188565b5f610ef4600554600160f81b900460ff1660021490565b6001600160a01b039182165f90815260046020908152604080832093909416825291909152205490565b6005545f908190600119600160f81b90910460ff16016116c55760405162461bcd60e51b815260040161077090614d5b565b600580546001600160f81b0316600160f91b1790555f6116e4336112e5565b90506116f03085612273565b6116fa81856123f9565b90935091506001600160a01b0386163014611743576117436001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168785611d7a565b6001600160a01b0385163014611787576117876001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168684611d7a565b61179081611b86565b846001600160a01b0316866001600160a01b03167f4cf25bc1d991c17529c25213d3cc0cda295eeaad5f13f361969b12ea48015f908686866040516117d7939291906149ea565b60405180910390a350600580546001600160f81b0316600160f81b1790559094909350915050565b6001600160a01b0383166118615760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610770565b6001600160a01b0382166118c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610770565b6001600160a01b038381165f8181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303815f875af1158015611960573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107369190614f90565b5f5f5f5f5f5f5f5f6119a88c6119998d6120d1565b6119a28d6120d1565b8c612432565b93509350935093506119b984611d20565b97506119c483611d20565b96506119cf82611d20565b95506119da81611d20565b945050505050945094509450949050565b60a08401518110611a0f5760405163b2094b5960e01b815260040160405180910390fd5b5f611a278560200151856125ea90919063ffffffff16565b90505f828660a00151611a3a9190614da6565b90505f611a478783612626565b9050611a59875f015184838886612680565b61010090970196909652505050505050565b6001600160a01b038216611ac15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610770565b611acc5f83836126d0565b611ad5816126db565b600580545f90611aef9084906001600160f81b0316614fa7565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060035f846001600160a01b03166001600160a01b031681526020019081526020015f205f828254611b459190614fc6565b90915550506040518181526001600160a01b038316905f905f51602061531b5f395f51905f529060200160405180910390a3611b825f83836126ef565b5050565b5f611b958261010001516126fa565b90505f611ba4835f015161270e565b90505f611bb4846020015161270e565b600b5460405163095ee96d60e31b8152600c600482015261ffff600160601b8304811660248301524263ffffffff1660448301526001600160601b0383166064830152600160701b830481166084830152600160801b90920490911660a48201529091505f90819073__$048ed23d805a6069d4ffa97e047467fd4a$__90634af74b689060c4016040805180830381865af4158015611c55573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c799190614fd9565b6001600160801b03858116600160801b0290871617600a55600b805461ffff808416600160701b0261ffff60701b19918616600160601b026001600160701b03199093166001600160601b038c1617929092171617905561010088015160405192945090925042917f5c0e21d57bb4cf91d8fe238d6f92e2685a695371b19209afcce6217b478f83e191611d109190815260200190565b60405180910390a2505050505050565b5f5f821215611d2d575f5ffd5b5090565b6040516370a0823160e01b81525f906001600160a01b038316906370a0823190611d5f903090600401614cd5565b602060405180830381865afa158015611960573d5f5f3e3d5ffd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dcc908490612736565b505050565b5f611ddc8484611669565b90505f198114611e435781811015611e365760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610770565b611e4384848484036117ff565b50505050565b6001600160a01b038316611ead5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610770565b6001600160a01b038216611f0f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610770565b816001600160a01b0316836001600160a01b031603611f6a5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610770565b611f758383836126d0565b6001600160a01b0383165f9081526003602052604090205481811015611fec5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610770565b6001600160a01b038085165f90815260036020526040808220858503905591851681529081208054849290612022908490614fc6565b92505081905550826001600160a01b0316846001600160a01b03165f51602061531b5f395f51905f528460405161205b91815260200190565b60405180910390a3611e438484846126ef565b5f5f5f5f5f5f6120888a8a6120828b6120bc565b8a612809565b92509250925061209783611d20565b95506120a282611d20565b94506120ad81611d20565b93505050509450945094915050565b5f6120c6826120d1565b610736905f19615006565b5f6001600160ff1b03821115611d2d575f5ffd5b5f6120f08383612899565b9392505050565b5f5f5f5f5f5f61210b8a8a6120828b6120d1565b92509250925061209761211d846128b7565b611d20565b606061212d826128c3565b612136826128d0565b61214082836128da565b9050816001600160a01b03167f78d61a0c27b13f43911095f9f356f14daa3cd8b125eea1aa22421245e90e813d8260405161217b9190614c9e565b60405180910390a2919050565b60605f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c4f59f9b6040518163ffffffff1660e01b81526004015f60405180830381865afa1580156121e6573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261220d9190810190615035565b9050612239817f0000000000000000000000000000000000000000000000000000000000000000612b65565b1561224357919050565b61226d817f0000000000000000000000000000000000000000000000000000000000000000612bc2565b91505090565b6001600160a01b0382166122d35760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610770565b6122de825f836126d0565b6001600160a01b0382165f90815260036020526040902054818110156123515760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610770565b6001600160a01b0383165f9081526003602052604090208282039055612376826126db565b600580545f906123909084906001600160f81b03166150c4565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055505f6001600160a01b0316836001600160a01b03165f51602061531b5f395f51905f52846040516123e691815260200190565b60405180910390a3611dcc835f846126ef565b5f5f5f5f61240f8661240a876120d1565b612ca6565b9150915061241c82611d20565b935061242781611d20565b925050509250929050565b5f808080861580612441575085155b1561245f576040516325daaec360e01b815260040160405180910390fd5b60a088015185106124835760405163b2094b5960e01b815260040160405180910390fd5b87604001515f036124c5576103e86124a96113586124a461211d8a8c615006565b612d70565b6124b391906150e3565b92506103e8935086915085905061255d565b875160408901515f91906124d99089615006565b6124e3919061511d565b90505f89602001518a604001518a6124fb9190615006565b612505919061511d565b90508082121561253a578194508792506125338a60400151868c6020015161252d9190615006565b90612dde565b935061255a565b8094508893506125578a60400151868c5f015161252d9190615006565b92505b50505b5f8313158061256c57505f8213155b8061257757505f8113155b1561259557604051631997ea8d60e31b815260040160405180910390fd5b81886020018181516125a79190615149565b9052508751819089906125bb908390615149565b9052506125c88484615149565b886040018181516125d99190615149565b905250929791965094509092509050565b5f5f5f83126125fa5760016125fd565b5f195b90506126146113588561260f86612e00565b612899565b61261e9082615006565b949350505050565b5f612630826120d1565b6126426113586201518061016d615168565b84608001516126519190615006565b61265b919061511d565b90505f811361073657604051630e520c3b60e11b815260048101829052602401610770565b5f5f61268f878787875f612e16565b90505f61269e61211d83612ecb565b9050836126b06201518061016d615168565b6126ba9083615168565b6126c4919061517f565b98975050505050505050565b611dcc838383612f5d565b5f6001600160f81b03821115611d2d575f5ffd5b611dcc838383612f67565b5f6001600160601b03821115611d2d575f5ffd5b5f60016001607f1b0319821280159061272e575060016001607f1b038213155b611d2d575f5ffd5b5f61278a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f719092919063ffffffff16565b905080515f14806127aa5750808060200190518101906127aa9190615192565b611dcc5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610770565b5f5f5f61281a8760a0015185101590565b156128385760405163b2094b5960e01b815260040160405180910390fd5b8651851261285e578651604051632185509b60e21b815261077091908790600401614ad8565b5f61286a888887612f7f565b905061287888828989613072565b9195509350915061288e8882898988878b6131bc565b509450945094915050565b5f670de0b6b3a76400006128ad8484615168565b6120f0919061517f565b5f610736825f19615006565b6128cd815f61324c565b50565b6128cd815f6132ca565b60605f6128e5612188565b905080516001600160401b0381111561290057612900614b47565b604051908082528060200260200182016040528015612929578160200160208202803683370190505b5091505f5b8151811015612b5d575f5f83838151811061294b5761294b6151b1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f866001600160a01b03166001600160a01b031681526020019081526020015f205f0160109054906101000a90046001600160801b03166001600160801b03168382815181106129c4576129c46151b1565b6020026020010181815250508281815181106129e2576129e26151b1565b60200260200101515f14612b55575f5f5f848481518110612a0557612a056151b1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f876001600160a01b03166001600160a01b031681526020019081526020015f205f0160106101000a8154816001600160801b0302191690836001600160801b03160217905550612a95838281518110612a8857612a886151b1565b6020026020010151613328565b60025f848481518110612aaa57612aaa6151b1565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160108282829054906101000a90046001600160801b0316612af491906151c5565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612b55828281518110612b2d57612b2d6151b1565b602002602001015185858481518110612b4857612b486151b1565b602002602001015161333c565b60010161292e565b505092915050565b81515f90815b81811015612bb857836001600160a01b0316858281518110612b8f57612b8f6151b1565b60200260200101516001600160a01b031603612bb057600192505050610736565b600101612b6b565b505f949350505050565b8151606090612bd2816001614fc6565b6001600160401b03811115612be957612be9614b47565b604051908082528060200260200182016040528015612c12578160200160208202803683370190505b5091505f5b81811015612c6b57848181518110612c3157612c316151b1565b6020026020010151838281518110612c4b57612c4b6151b1565b6001600160a01b0390921660209283029190910190910152600101612c17565b5082828281518110612c7f57612c7f6151b1565b60200260200101906001600160a01b031690816001600160a01b0316815250505092915050565b5f5f825f03612cc8576040516325daaec360e01b815260040160405180910390fd5b60408401516020850151612cdc9085615006565b612ce6919061511d565b6040850151855191935090612cfb9085615006565b612d05919061511d565b905081158015612d13575080155b15612d3157604051631997ea8d60e31b815260040160405180910390fd5b6040840151612d4090846133fb565b60408501528351612d5190826133fb565b84526020840151612d6290836133fb565b602090940193909352929050565b5f6003821115612dcf5750805f612d8860028361517f565b612d93906001614fc6565b90505b81811015612dc957905080600281612dae818661517f565b612db89190614fc6565b612dc2919061517f565b9050612d96565b50919050565b8115612dd9575060015b919050565b5f816001612dec8286615149565b612df691906150e3565b6120f0919061511d565b5f5f8213611d2d57612e11826151e4565b610736565b5f80612e2287846133fb565b90505f612e39612e32888a615149565b8390613441565b9050670d529ae9e8600000811315612e705780670d529ae9e8600000604051637e34684f60e11b8152600401610770929190614ad8565b5f612e7a8261346f565b905085612e878289613441565b612e919190615149565b9350670de0b6b3a7640000841215612ebf5760405163329e322960e21b815260048101859052602401610770565b50505095945050505050565b5f5f8213612f0b5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b6044820152606401610770565b670c7d713b49da000082138015612f295750670f43fc2c04ee000082125b15612f5457670de0b6b3a7640000612f40836134c0565b81612f4d57612f4d615109565b0592915050565b610736826135dd565b611dcc838361324c565b611dcc83836132ca565b606061261e84845f8561397b565b612fa660405180608001604052805f81526020015f81526020015f81526020015f81525090565b60a08401518210612fca5760405163b2094b5960e01b815260040160405180910390fd5b5f828560a00151612fdb9190614da6565b9050612fe78582612626565b82526020850151612ff99085906125ea565b60208301528451158061300e57506020820151155b15613035578451602083015160405163b1c4aefb60e01b8152610770929190600401614ad8565b613051855f01518661010001518460200151855f015185613a52565b604083015260c08501516130659082613ad0565b6060830152509392505050565b5f5f5f5f613091885f01518860200151895f01518a6040015189612e16565b90505f6130a66130a18784613441565b6128b7565b60608901519091505f871315613113575f6130c18483613441565b9050670de0b6b3a76400008112156130ef5760405163329e322960e21b815260048101829052602401610770565b61310b61310483670de0b6b3a76400006150e3565b8490613b08565b915050613140565b61313d8161312981670de0b6b3a76400006150e3565b6131339085615006565b6130a1919061511d565b90505b5f60646131508c60e001516120d1565b61315a9084615006565b613164919061511d565b90505f61317183856150e3565b90505f8112613189576131848a82613b25565b613193565b6131938a82613b4f565b975061319f8a84613b25565b96506131ab8a83613b25565b955050505050509450945094915050565b5f818860a001516131cd9190614da6565b88519091506131dc90866133fb565b88526131f66131eb8486615149565b60208a0151906133fb565b60208901819052885161321b9161320e9089906125ea565b895160408b015185612680565b61010089018190525f0361324257604051635534d70f60e11b815260040160405180910390fd5b5050505050505050565b5f5f613256613b79565b9150915081515f036132685750505050565b6001600160a01b0384161580159061328957506001600160a01b0384163014155b1561329957613299848383613dec565b6001600160a01b038316158015906132ba57506001600160a01b0383163014155b15611e4357611e43838383613dec565b6001600160a01b038216158015906132eb57506001600160a01b0382163014155b156132f9576132f982614025565b6001600160a01b0381161580159061331a57506001600160a01b0381163014155b15611b8257611b8281614025565b5f6001600160801b03821115611d2d575f5ffd5b805f0361334857505050565b6001600160a01b0383166133e7575f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461339f576040519150601f19603f3d011682016040523d82523d5f602084013e6133a4565b606091505b5050905080611e435760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610770565b611dcc6001600160a01b0384168383611d7a565b5f818312156134375760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b6044820152606401610770565b6120f082846150e3565b5f80613455670de0b6b3a764000085615006565b905082818161346657613466615109565b05949350505050565b5f670de0b6b3a764000082036134985760405163a9c8b14d60e01b815260040160405180910390fd5b5f6134b56134ae84670de0b6b3a76400006150e3565b8490613441565b90506120f081612ecb565b670de0b6b3a7640000025f806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff198501028161350057613500615109565b0590505f6a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b5f670de0b6b3a764000082121561361c57613614826a0c097ce7bc90715b34b9f160241b8161360e5761360e615109565b056135dd565b5f0392915050565b5f775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126136665772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b831261369d576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126136e5576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a7008312613720576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261375757693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261378e57690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126137c35768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126137ee57680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d8312613823576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312613858576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b286603831261388c576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126138c0576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b5f68056bc75e2d63100000840168056bc75e2d6310000080860302816138e8576138e8615109565b0590505f68056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6060824710156139dc5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610770565b5f5f866001600160a01b031685876040516139f791906151fe565b5f6040518083038185875af1925050503d805f8114613a31576040519150601f19603f3d011682016040523d82523d5f602084013e613a36565b606091505b5091509150613a4787838387614107565b979650505050505050565b5f5f613a5e8684613ad0565b9050670de0b6b3a7640000811215613a8c5760405163329e322960e21b815260048101829052602401610770565b5f613aa1613a9a878a615149565b8990613441565b90505f613aad8261346f565b9050613ab98187613441565b613ac390846150e3565b9998505050505050505050565b5f80613ae16201518061016d615168565b613aeb8486615168565b613af5919061517f565b905061261e613b03826120d1565b61417f565b5f80613b148385615006565b9050670de0b6b3a764000081613466565b5f5f5f8312613b35576001613b38565b5f195b905061261461135885613b4a86612e00565b614589565b5f5f5f8312613b5f576001613b62565b5f195b905061261461135885613b7486612e00565b61459d565b606080613b84612188565b915081516001600160401b03811115613b9f57613b9f614b47565b604051908082528060200260200182016040528015613bc8578160200160208202803683370190505b50905081515f03613bd7579091565b4360015414613d7157436001555f613bee60085490565b9050613bf86145c8565b5f5b8351811015613d6b575f848281518110613c1657613c166151b1565b6020908102919091018101516001600160a01b0381165f9081526002835260408082208151808301909252546001600160801b03808216808452600160801b9092041694820185905289519395509093929091908390613c8f908b9089908110613c8257613c826151b1565b60200260200101516146c1565b613c999190614da6565b9050815f03613ca757600191505b8615613cc457613cb781886146cc565b613cc19083614fc6565b91505b6040518060400160405280613cd884613328565b6001600160801b03168152602001613cf8613cf38487614fc6565b613328565b6001600160801b039081169091526001600160a01b0387165f908152600260209081526040909120835193909101518216600160801b029290911691909117905587518290899088908110613d4f57613d4f6151b1565b6020026020010181815250505050505050806001019050613bfa565b50509091565b5f5b8251811015613de75760025f848381518110613d9157613d916151b1565b6020908102919091018101516001600160a01b031682528101919091526040015f205482516001600160801b0390911690839083908110613dd457613dd46151b1565b6020908102919091010152600101613d73565b509091565b6001600160a01b03831615801590613e0d57506001600160a01b0383163014155b613e1957613e19615219565b6001600160a01b0383165f90815260096020526040812054905b835181101561401e575f848281518110613e4f57613e4f6151b1565b602002602001015190505f848381518110613e6c57613e6c6151b1565b6020908102919091018101516001600160a01b038085165f9081528084526040808220928c168252919093528220549092506001600160801b031690819003613ec557613eb96001613328565b6001600160801b031690505b81811480613ed1575081155b15613ede57505050614016565b5f613ee98284614da6565b90505f613ef687836146fa565b6001600160a01b038681165f90815260208181526040808320938f1683529290529081205491925090613f3a908390600160801b90046001600160801b0316614fc6565b90506040518060400160405280613f5087613328565b6001600160801b03168152602001613f6783613328565b6001600160801b03168152505f5f886001600160a01b03166001600160a01b031681526020019081526020015f205f8d6001600160a01b03166001600160a01b031681526020019081526020015f205f820151815f015f6101000a8154816001600160801b0302191690836001600160801b031602179055506020820151815f0160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b600101613e33565b5050505050565b6001600160a01b0381161580159061404657506001600160a01b0381163014155b61405257614052615219565b5f61405c82614717565b90505f6140698383614721565b90505f6140768284614834565b6001600160a01b0385165f9081526009602052604090205460085491925082916140a09190614da6565b6140aa9190614fc6565b6008556001600160a01b0384165f8181526009602052604090819020839055517f15db480654d6b3ac10d36677c6f855f2c8b1322d2c53afc972b502a130371d54906140f99084815260200190565b60405180910390a250505050565b606083156141755782515f0361416e576001600160a01b0385163b61416e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610770565b508161261e565b61261e8383614849565b5f680238fd42c5cf03ffff1982121580156141a3575068070c1cc73b00c800008213155b6141e25760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b6044820152606401610770565b5f821215614211576141f5825f0361417f565b6a0c097ce7bc90715b34b9f160241b81612f4d57612f4d615109565b5f6806f05b59d3b2000000831261424e57506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b614284565b6803782dace9d9000000831261428057506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380614284565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126142d45768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412614310576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261434a57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412614384576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126143bd57680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126143f65768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b1880000841261442f576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c4000084126144685768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b5f826128ad670de0b6b3a764000084615168565b5f826001816145b4670de0b6b3a764000086615168565b6145be9190614fc6565b6128ad9190614da6565b604051633bd73ee360e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ef5cfb8c90614614903090600401614cd5565b5f604051808303815f875af115801561462f573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052614656919081019061522d565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166358f3d1636040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156146af575f5ffd5b505af1158015611e43573d5f5f3e3d5ffd5b5f6107363083614873565b5f806146e0670de0b6b3a764000085615168565b90508281816146f1576146f1615109565b04949350505050565b5f806147068385615168565b9050670de0b6b3a7640000816146f1565b5f610736826112cb565b5f5f5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e268b3a4866040518263ffffffff1660e01b81526004016147709190614cd5565b60408051808303815f875af115801561478b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147af91906152c9565b6001600160801b0391821693501690505f60646147cd602887615168565b6147d7919061517f565b9050821561482b5760646147ec602882614da6565b84846147f6614902565b6148009190615168565b61480a919061517f565b6148149190615168565b61481e919061517f565b6148289082614fc6565b90505b95945050505050565b5f81831061484257816120f0565b5090919050565b8151156148595781518083602001fd5b8060405162461bcd60e51b8152600401610770919061492d565b5f6001600160a01b038216156148f3576040516370a0823160e01b81526001600160a01b038316906370a08231906148af908690600401614cd5565b602060405180830381865afa1580156148ca573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148ee9190614f90565b6120f0565b50506001600160a01b03163190565b5f610ef46109da565b5f5b8381101561492557818101518382015260200161490d565b50505f910152565b602081525f825180602084015261494b81604085016020870161490b565b601f01601f19169190910160400192915050565b6001600160a01b03811681146128cd575f5ffd5b5f60208284031215614983575f5ffd5b81356120f08161495f565b5f5f6040838503121561499f575f5ffd5b82356149aa8161495f565b946020939093013593505050565b5f5f5f606084860312156149ca575f5ffd5b83356149d58161495f565b95602085013595506040909401359392505050565b9283526020830191909152604082015260600190565b5f5f5f60608486031215614a12575f5ffd5b8335614a1d8161495f565b92506020840135614a2d8161495f565b929592945050506040919091013590565b5f60208284031215614a4e575f5ffd5b5035919050565b5f5f5f5f60608587031215614a68575f5ffd5b8435614a738161495f565b93506020850135925060408501356001600160401b03811115614a94575f5ffd5b8501601f81018713614aa4575f5ffd5b80356001600160401b03811115614ab9575f5ffd5b876020828401011115614aca575f5ffd5b949793965060200194505050565b918252602082015260400190565b61ffff811681146128cd575f5ffd5b5f60208284031215614b05575f5ffd5b81356120f081614ae6565b5f5f60408385031215614b21575f5ffd5b8235614b2c8161495f565b91506020830135614b3c8161495f565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715614b8357614b83614b47565b604052919050565b5f6001600160401b03821115614ba357614ba3614b47565b5060051b60200190565b5f60208284031215614bbd575f5ffd5b81356001600160401b03811115614bd2575f5ffd5b8201601f81018413614be2575f5ffd5b8035614bf5614bf082614b8b565b614b5b565b8082825260208201915060208360051b850101925086831115614c16575f5ffd5b6020840193505b82841015614c4957833563ffffffff81168114614c38575f5ffd5b825260209384019390910190614c1d565b9695505050505050565b602080825282518282018190525f918401906040840190835b81811015614c935783516001600160d81b0316835260209384019390920191600101614c6c565b509095945050505050565b602080825282518282018190525f918401906040840190835b81811015614c93578351835260209384019390920191600101614cb7565b6001600160a01b0391909116815260200190565b602080825282518282018190525f918401906040840190835b81811015614c935783516001600160a01b0316835260209384019390920191600101614d02565b600181811c90821680614d3d57607f821691505b602082108103612dc957634e487b7160e01b5f52602260045260245ffd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561073657610736614d92565b84815283602082015260606040820152816060820152818360808301375f818301608090810191909152601f909201601f191601019392505050565b5f60208284031215614e05575f5ffd5b81516120f081614ae6565b5f5f5f60608486031215614e22575f5ffd5b8351614e2d8161495f565b60208501519093506001600160501b0381168114614e49575f5ffd5b604085015190925060ff81168114614e5f575f5ffd5b809150509250925092565b5f60c0820188835263ffffffff8816602084015260c0604084015280875180835260e0850191506020890192505f5b81811015614ebd57835163ffffffff16835260209384019390920191600101614e99565b50506001600160601b03871660608501529150614ed79050565b61ffff8416608083015261ffff831660a0830152979650505050505050565b5f60208284031215614f06575f5ffd5b81516001600160401b03811115614f1b575f5ffd5b8201601f81018413614f2b575f5ffd5b8051614f39614bf082614b8b565b8082825260208201915060208360051b850101925086831115614f5a575f5ffd5b6020840193505b82841015614c495783516001600160d81b0381168114614f7f575f5ffd5b825260209384019390910190614f61565b5f60208284031215614fa0575f5ffd5b5051919050565b6001600160f81b03818116838216019081111561073657610736614d92565b8082018082111561073657610736614d92565b5f5f60408385031215614fea575f5ffd5b8251614ff581614ae6565b6020840151909250614b3c81614ae6565b8082025f8212600160ff1b8414161561502157615021614d92565b818105831482151761073657610736614d92565b5f60208284031215615045575f5ffd5b81516001600160401b0381111561505a575f5ffd5b8201601f8101841361506a575f5ffd5b8051615078614bf082614b8b565b8082825260208201915060208360051b850101925086831115615099575f5ffd5b6020840193505b82841015614c495783516150b38161495f565b8252602093840193909101906150a0565b6001600160f81b03828116828216039081111561073657610736614d92565b8181035f83128015838313168383128216171561510257615102614d92565b5092915050565b634e487b7160e01b5f52601260045260245ffd5b5f8261512b5761512b615109565b600160ff1b82145f198414161561514457615144614d92565b500590565b8082018281125f831280158216821582161715612b5d57612b5d614d92565b808202811582820484141761073657610736614d92565b5f8261518d5761518d615109565b500490565b5f602082840312156151a2575f5ffd5b815180151581146120f0575f5ffd5b634e487b7160e01b5f52603260045260245ffd5b6001600160801b03828116828216039081111561073657610736614d92565b5f600160ff1b82016151f8576151f8614d92565b505f0390565b5f825161520f81846020870161490b565b9190910192915050565b634e487b7160e01b5f52600160045260245ffd5b5f6020828403121561523d575f5ffd5b81516001600160401b03811115615252575f5ffd5b8201601f81018413615262575f5ffd5b8051615270614bf082614b8b565b8082825260208201915060208360051b850101925086831115615291575f5ffd5b6020840193505b82841015614c49578351825260209384019390910190615298565b80516001600160801b0381168114612dd9575f5ffd5b5f5f604083850312156152da575f5ffd5b6152e3836152b3565b91506152f1602084016152b3565b9050925092905056fe829000a5bc6a12d46e30cdcecd7c56b1efd88f6d7d059da6734a04f3764557c4ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122044c2f14a9608ac2773ffaaac94a9182fd3afbf9f33689e0ba877501c799f592e64736f6c634300081e0033";
1155
-
1156
- type PendleMarketV6ConstructorParams =
1157
- | [linkLibraryAddresses: PendleMarketV6LibraryAddresses, signer?: Signer]
1158
- | ConstructorParameters<typeof ContractFactory>;
1159
-
1160
- const isSuperArgs = (
1161
- xs: PendleMarketV6ConstructorParams
1162
- ): xs is ConstructorParameters<typeof ContractFactory> => {
1163
- return (
1164
- typeof xs[0] === "string" ||
1165
- (Array.isArray as (arg: any) => arg is readonly any[])(xs[0]) ||
1166
- "_isInterface" in xs[0]
1167
- );
1168
- };
1169
-
1170
- export class PendleMarketV6__factory extends ContractFactory {
1171
- constructor(...args: PendleMarketV6ConstructorParams) {
1172
- if (isSuperArgs(args)) {
1173
- super(...args);
1174
- } else {
1175
- const [linkLibraryAddresses, signer] = args;
1176
- super(
1177
- _abi,
1178
- PendleMarketV6__factory.linkBytecode(linkLibraryAddresses),
1179
- signer
1180
- );
1181
- }
1182
- this.contractName = "PendleMarketV6";
1183
- }
1184
-
1185
- static linkBytecode(
1186
- linkLibraryAddresses: PendleMarketV6LibraryAddresses
1187
- ): string {
1188
- let linkedBytecode = _bytecode;
1189
-
1190
- linkedBytecode = linkedBytecode.replace(
1191
- new RegExp("__\\$048ed23d805a6069d4ffa97e047467fd4a\\$__", "g"),
1192
- linkLibraryAddresses["contracts/core/Market/OracleLib.sol:OracleLib"]
1193
- .replace(/^0x/, "")
1194
- .toLowerCase()
1195
- );
1196
-
1197
- return linkedBytecode;
1198
- }
1199
-
1200
- deploy(
1201
- _PT: string,
1202
- _scalarRoot: BigNumberish,
1203
- _initialAnchor: BigNumberish,
1204
- _lnFeeRateRoot: BigNumberish,
1205
- _vePendle: string,
1206
- _gaugeController: string,
1207
- overrides?: Overrides & { from?: string | Promise<string> }
1208
- ): Promise<PendleMarketV6> {
1209
- return super.deploy(
1210
- _PT,
1211
- _scalarRoot,
1212
- _initialAnchor,
1213
- _lnFeeRateRoot,
1214
- _vePendle,
1215
- _gaugeController,
1216
- overrides || {}
1217
- ) as Promise<PendleMarketV6>;
1218
- }
1219
- getDeployTransaction(
1220
- _PT: string,
1221
- _scalarRoot: BigNumberish,
1222
- _initialAnchor: BigNumberish,
1223
- _lnFeeRateRoot: BigNumberish,
1224
- _vePendle: string,
1225
- _gaugeController: string,
1226
- overrides?: Overrides & { from?: string | Promise<string> }
1227
- ): TransactionRequest {
1228
- return super.getDeployTransaction(
1229
- _PT,
1230
- _scalarRoot,
1231
- _initialAnchor,
1232
- _lnFeeRateRoot,
1233
- _vePendle,
1234
- _gaugeController,
1235
- overrides || {}
1236
- );
1237
- }
1238
- attach(address: string): PendleMarketV6 {
1239
- return super.attach(address) as PendleMarketV6;
1240
- }
1241
- connect(signer: Signer): PendleMarketV6__factory {
1242
- return super.connect(signer) as PendleMarketV6__factory;
1243
- }
1244
- static readonly contractName: "PendleMarketV6";
1245
- public readonly contractName: "PendleMarketV6";
1246
- static readonly bytecode = _bytecode;
1247
- static readonly abi = _abi;
1248
- static createInterface(): PendleMarketV6Interface {
1249
- return new utils.Interface(_abi) as PendleMarketV6Interface;
1250
- }
1251
- static connect(
1252
- address: string,
1253
- signerOrProvider: Signer | Provider
1254
- ): PendleMarketV6 {
1255
- return new Contract(address, _abi, signerOrProvider) as PendleMarketV6;
1256
- }
1257
- }
1258
-
1259
- export interface PendleMarketV6LibraryAddresses {
1260
- ["contracts/core/Market/OracleLib.sol:OracleLib"]: string;
1261
- }