@pendle/core-v2 2.2.0-mainnet → 2.3.0-mainnet
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.
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSeller.sol/BulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerFactory.sol/BulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/BulkSeller/BulkSellerMathCore.sol/BulkSellerMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
- package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/PYIndex.sol/PYIndexLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/SYUtils.sol/SYUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol/PendleAuraWethAnkrethSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRethSY.sol/PendleAuraWethRethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/FixedPoint.sol/FixedPoint.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStableMath.sol/MetaStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/MetaStable/MetaStablePreview.sol/MetaStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSY.sol/PendleAuraBalancerStableLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePoolUserData.sol/StablePoolUserData.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/StablePreviewBase.sol/StablePreviewBase.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Curve3CrvPoolHelper.sol/Curve3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveFraxUsdcPoolHelper.sol/CurveFraxUsdcPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/CurveUsdd3CrvPoolHelper.sol/CurveUsdd3CrvPoolHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/GLPPreviewHelper.sol/GLPPreviewHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStakingSY.sol/PendleLooksStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/InterestManagerYT.sol/InterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/InterestManagerYTV2.sol/InterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendlePrincipalTokenV2.sol/PendlePrincipalTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20.sol/PendleERC20.dbg.json +1 -1
- package/build/artifacts/contracts/core/erc20/PendleERC20Permit.sol/PendleERC20Permit.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/BaseSplitCodeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BaseSplitCodeFactory.sol/CodeDeployer.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeable.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/BoringOwnableUpgradeable.sol/BoringOwnableUpgradeableData.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/MiniHelpers.sol/MiniHelpers.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/StringLib.sol/StringLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/TokenHelper.sol/TokenHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/math/Math.sol/Math.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IAsset.sol/IAsset.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerFees.sol/IBalancerFees.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBalancerStablePreview.sol/IBalancerStablePreview.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IBasePool.sol/IBasePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IComposableStable.sol/IComposableStable.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IGauge.sol/IGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/ILiquidityGaugeFactory.sol/ILiquidityGaugeFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IMetaStablePool.sol/IMetaStablePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IRateProvider.sol/IRateProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Balancer/IVault.sol/IVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICrvDepositor.sol/ICrvDepositor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/ICvxCrv.sol/ICvxCrv.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Curve/ITriCrvPool.sol/ITriCrvPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGMXVault.sol/IGMXVault.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IGlpManager.sol/IGlpManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IRewardRouterV2.sol/IRewardRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/GMX/IVaultPriceFeed.sol/IVaultPriceFeed.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IAddressProvider.sol/IAddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IBenQiInterestRateModel.sol/IBenQiInterestRateModel.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionInfoStatic.sol/IPActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeemStatic.sol/IPActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMisc.sol/IPActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionVePendleStatic.sol/IPActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSeller.sol/IPBulkSeller.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerFactory.sol/IPBulkSellerFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPBulkSellerSYCallback.sol/IPBulkSellerCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeController.sol/IPGaugeController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGaugeControllerMainchain.sol/IPGaugeControllerMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYT.sol/IPInterestManagerYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPInterestManagerYTV2.sol/IPInterestManagerYTV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMiniDiamond.sol/IPMiniDiamond.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgReceiverApp.sol/IPMsgReceiverApp.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPYieldTokenV2.sol/IPYieldTokenV2.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiAvax.sol/IQiAvax.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IRewardManager.sol/IRewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStETH.sol/IStETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStandardizedYield.sol/IStandardizedYield.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateLPStaking.sol/IStargateLPStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargatePool.sol/IStargatePool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IStargateRouter.sol/IStargateRouter.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/AddressProvider.sol/AddressProvider.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BaseSplitCodeFactoryContract.sol/BaseSplitCodeFactoryContract.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Broadcaster.sol/Broadcaster.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/Multicall2.sol/Multicall2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/CallbackHelper.sol/CallbackHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwapAggregator.sol/PendleSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberAggregationRouterHelper.sol/KyberAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSY.sol +4 -3
- package/deployments/1-markets/BALANCER-LP-AURA-ANKRETH-WETH-MARCH-28-2024.json +11 -0
- package/package.json +1 -1
- package/typechain-types/AccessControl.ts +360 -0
- package/typechain-types/ActionBaseMintRedeem.ts +87 -0
- package/typechain-types/ActionCallback.ts +134 -0
- package/typechain-types/ActionCore.ts +1758 -0
- package/typechain-types/ActionSCYAndPTBase.ts +87 -0
- package/typechain-types/ActionSCYAndPYBase.ts +87 -0
- package/typechain-types/ActionSCYAndYTBase.ts +87 -0
- package/typechain-types/ActionSwapPTYT.ts +237 -0
- package/typechain-types/ActionYT.ts +509 -0
- package/typechain-types/AggregationRouterHelper.ts +392 -0
- package/typechain-types/BaseSplitCodeFactory.ts +118 -0
- package/typechain-types/BoringOwnable.ts +194 -0
- package/typechain-types/BoringOwnableData.ts +100 -0
- package/typechain-types/BribeDistributor.ts +363 -0
- package/typechain-types/CelerReceiverUpg.ts +372 -0
- package/typechain-types/CelerSenderUpg.ts +321 -0
- package/typechain-types/Curve3CrvPoolHelper.ts +236 -0
- package/typechain-types/CurveFraxUsdcPoolHelper.ts +158 -0
- package/typechain-types/CurveUsdd3CrvPoolHelper.ts +184 -0
- package/typechain-types/DistributorBase.ts +363 -0
- package/typechain-types/ERC165.ts +102 -0
- package/typechain-types/ERC1967UpgradeUpgradeable.ts +97 -0
- package/typechain-types/EpochResultManager.ts +261 -0
- package/typechain-types/FeeDistributor.ts +416 -0
- package/typechain-types/FeeDistributorAbstract.ts +240 -0
- package/typechain-types/FeeDistributorVePendle.ts +81 -0
- package/typechain-types/FeeDistributorVoting.ts +272 -0
- package/typechain-types/FeeDistributorVotingFactory.ts +293 -0
- package/typechain-types/GMXPreviewHelper.ts +121 -0
- package/typechain-types/IAccessControl.ts +305 -0
- package/typechain-types/IAggregationRouterHelper.ts +108 -0
- package/typechain-types/IBeaconUpgradeable.ts +87 -0
- package/typechain-types/ICelerMessageBus.ts +134 -0
- package/typechain-types/ICelerMessageReceiverApp.ts +120 -0
- package/typechain-types/IERC165.ts +102 -0
- package/typechain-types/IERC1822ProxiableUpgradeable.ts +87 -0
- package/typechain-types/IERC20Upgradeable.ts +300 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMultihopRouter.ts +209 -0
- package/typechain-types/IMultihopRouterEthereum.ts +209 -0
- package/typechain-types/IPActionCore.ts +1739 -0
- package/typechain-types/IPActionSwapPTYT.ts +237 -0
- package/typechain-types/IPActionYT.ts +490 -0
- package/typechain-types/IPBatchSeller.ts +234 -0
- package/typechain-types/IPFeeDistributorFactory.ts +101 -0
- package/typechain-types/IPVotingControllerStorage.ts +169 -0
- package/typechain-types/IPVotingEscrow.ts +344 -0
- package/typechain-types/IStargateLP.ts +306 -0
- package/typechain-types/IStargateStaking.ts +232 -0
- package/typechain-types/ISuperComposableYield.ts +895 -0
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/ImplicitSwapfeeContract.ts +149 -0
- package/typechain-types/KyberSwapHelper.ts +87 -0
- package/typechain-types/OwnableUpgradeable.ts +165 -0
- package/typechain-types/Pendle3CrvAndTokenSCY.ts +1215 -0
- package/typechain-types/Pendle3CrvAndTokenSY.ts +1243 -0
- package/typechain-types/Pendle3CrvHelper.ts +133 -0
- package/typechain-types/Pendle3CrvTokenSCY.ts +1150 -0
- package/typechain-types/PendleAaveV3SCY.ts +1088 -0
- package/typechain-types/PendleApeStakingSY.ts +1135 -0
- package/typechain-types/PendleBatchSeller.ts +648 -0
- package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
- package/typechain-types/PendleConvexCurveLP2PoolSCY.ts +1215 -0
- package/typechain-types/PendleConvexCurveLP3PoolSCY.ts +1269 -0
- package/typechain-types/PendleConvexCurveLP4PoolSCY.ts +1288 -0
- package/typechain-types/PendleConvexCurveLPSCY.ts +1189 -0
- package/typechain-types/PendleCvxCRVSCY.ts +1104 -0
- package/typechain-types/PendleERC4626SCY.ts +950 -0
- package/typechain-types/PendleEulerSCY.ts +965 -0
- package/typechain-types/PendleFeeDistributorAbstract.ts +289 -0
- package/typechain-types/PendleFeeDistributorFactory.ts +591 -0
- package/typechain-types/PendleFeeDistributorVoting.ts +321 -0
- package/typechain-types/PendleFeeDistributorVotingFactory.ts +294 -0
- package/typechain-types/PendleGovernanceManager.ts +187 -0
- package/typechain-types/PendleLooksStaking.ts +1052 -0
- package/typechain-types/PendlePtOracleBase.ts +139 -0
- package/typechain-types/PendleQiSAvaxSCY.ts +1098 -0
- package/typechain-types/PendleQiTokenSCY.ts +1166 -0
- package/typechain-types/PendleSAvaxSCY.ts +962 -0
- package/typechain-types/PendleSJoeSCY.ts +1053 -0
- package/typechain-types/PendleStargateLP.ts +1442 -0
- package/typechain-types/PendleStargateSCY.ts +1135 -0
- package/typechain-types/PendleWstEthSCY.ts +1040 -0
- package/typechain-types/PendleYearnVaultSCY.ts +963 -0
- package/typechain-types/PermissionsV2Upg.ts +87 -0
- package/typechain-types/PtAMMArb.ts +587 -0
- package/typechain-types/SCYBase.ts +1001 -0
- package/typechain-types/SCYBaseWithDynamicRewards.ts +1063 -0
- package/typechain-types/SCYBaseWithRewards.ts +1094 -0
- package/typechain-types/SSTORE2DeployerContract.ts +242 -0
- package/typechain-types/SYBaseAutoCompound.ts +1203 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/AccessControl__factory.ts +227 -0
- package/typechain-types/factories/ActionBaseMintRedeem__factory.ts +43 -0
- package/typechain-types/factories/ActionCallback__factory.ts +223 -0
- package/typechain-types/factories/ActionCore__factory.ts +1863 -0
- package/typechain-types/factories/ActionSCYAndPTBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSCYAndPYBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +39 -0
- package/typechain-types/factories/ActionSwapPTYT__factory.ts +396 -0
- package/typechain-types/factories/ActionYT__factory.ts +499 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +281 -0
- package/typechain-types/factories/BaseSplitCodeFactory__factory.ts +102 -0
- package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
- package/typechain-types/factories/BoringOwnable__factory.ts +141 -0
- package/typechain-types/factories/BribeDistributor__factory.ts +303 -0
- package/typechain-types/factories/CelerReceiverUpg__factory.ts +205 -0
- package/typechain-types/factories/CelerSenderUpg__factory.ts +163 -0
- package/typechain-types/factories/Curve3CrvPoolHelper__factory.ts +220 -0
- package/typechain-types/factories/CurveFraxUsdcPoolHelper__factory.ts +146 -0
- package/typechain-types/factories/CurveUsdd3CrvPoolHelper__factory.ts +172 -0
- package/typechain-types/factories/DistributorBase__factory.ts +249 -0
- package/typechain-types/factories/ERC165__factory.ts +39 -0
- package/typechain-types/factories/ERC1967UpgradeUpgradeable__factory.ts +75 -0
- package/typechain-types/factories/EpochResultManager__factory.ts +146 -0
- package/typechain-types/factories/FeeDistributorAbstract__factory.ts +127 -0
- package/typechain-types/factories/FeeDistributorVePendle__factory.ts +97 -0
- package/typechain-types/factories/FeeDistributorVotingFactory__factory.ts +211 -0
- package/typechain-types/factories/FeeDistributorVoting__factory.ts +219 -0
- package/typechain-types/factories/FeeDistributor__factory.ts +339 -0
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +65 -0
- package/typechain-types/factories/IAccessControl__factory.ts +198 -0
- package/typechain-types/factories/IAggregationRouterHelper__factory.ts +54 -0
- package/typechain-types/factories/IBeaconUpgradeable__factory.ts +39 -0
- package/typechain-types/factories/ICelerMessageBus__factory.ts +68 -0
- package/typechain-types/factories/ICelerMessageReceiverApp__factory.ts +64 -0
- package/typechain-types/factories/IERC165__factory.ts +42 -0
- package/typechain-types/factories/IERC1822ProxiableUpgradeable__factory.ts +43 -0
- package/typechain-types/factories/IERC20Upgradeable__factory.ts +209 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IMultihopRouterEthereum__factory.ts +155 -0
- package/typechain-types/factories/IMultihopRouter__factory.ts +151 -0
- package/typechain-types/factories/IPActionCore__factory.ts +1784 -0
- package/typechain-types/factories/IPActionSwapPTYT__factory.ts +205 -0
- package/typechain-types/factories/IPActionYT__factory.ts +435 -0
- package/typechain-types/factories/IPBatchSeller__factory.ts +132 -0
- package/typechain-types/factories/IPFeeDistributorFactory__factory.ts +86 -0
- package/typechain-types/factories/IPVotingControllerStorage__factory.ts +107 -0
- package/typechain-types/factories/IPVotingEscrow__factory.ts +250 -0
- package/typechain-types/factories/IStargateLP__factory.ts +212 -0
- package/typechain-types/factories/IStargateStaking__factory.ts +145 -0
- package/typechain-types/factories/ISuperComposableYield__factory.ts +662 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +239 -0
- package/typechain-types/factories/KyberSwapHelper__factory.ts +39 -0
- package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
- package/typechain-types/factories/OwnableUpgradeable__factory.ts +78 -0
- package/typechain-types/factories/Pendle3CrvAndTokenSCY__factory.ts +1130 -0
- package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1106 -0
- package/typechain-types/factories/Pendle3CrvHelper__factory.ts +129 -0
- package/typechain-types/factories/Pendle3CrvTokenSCY__factory.ts +996 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +874 -0
- package/typechain-types/factories/PendleApeStakingSY__factory.ts +981 -0
- package/typechain-types/factories/PendleAuraWethAnkrethSY__factory.ts +1 -1
- package/typechain-types/factories/PendleBatchSeller__factory.ts +480 -0
- package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
- package/typechain-types/factories/PendleConvexCurveLP2PoolSCY__factory.ts +1125 -0
- package/typechain-types/factories/PendleConvexCurveLP3PoolSCY__factory.ts +1067 -0
- package/typechain-types/factories/PendleConvexCurveLP4PoolSCY__factory.ts +1080 -0
- package/typechain-types/factories/PendleConvexCurveLPSCY__factory.ts +967 -0
- package/typechain-types/factories/PendleCvxCRVSCY__factory.ts +910 -0
- package/typechain-types/factories/PendleERC4626SCY__factory.ts +774 -0
- package/typechain-types/factories/PendleEulerSCY__factory.ts +805 -0
- package/typechain-types/factories/PendleFeeDistributorAbstract__factory.ts +183 -0
- package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +485 -0
- package/typechain-types/factories/PendleFeeDistributorVotingFactory__factory.ts +213 -0
- package/typechain-types/factories/PendleFeeDistributorVoting__factory.ts +275 -0
- package/typechain-types/factories/PendleGovernanceManager__factory.ts +149 -0
- package/typechain-types/factories/PendleLooksStaking__factory.ts +933 -0
- package/typechain-types/factories/PendlePtOracleBase__factory.ts +78 -0
- package/typechain-types/factories/PendleQiSAvaxSCY__factory.ts +917 -0
- package/typechain-types/factories/PendleQiTokenSCY__factory.ts +1095 -0
- package/typechain-types/factories/PendleSAvaxSCY__factory.ts +796 -0
- package/typechain-types/factories/PendleSJoeSCY__factory.ts +845 -0
- package/typechain-types/factories/PendleStargateLP__factory.ts +1241 -0
- package/typechain-types/factories/PendleStargateSCY__factory.ts +952 -0
- package/typechain-types/factories/PendleWstEthSCY__factory.ts +924 -0
- package/typechain-types/factories/PendleYearnVaultSCY__factory.ts +787 -0
- package/typechain-types/factories/PermissionsV2Upg__factory.ts +39 -0
- package/typechain-types/factories/PtAMMArb__factory.ts +525 -0
- package/typechain-types/factories/RouterStatic__factory.ts +1 -1
- package/typechain-types/factories/SCYBaseWithDynamicRewards__factory.ts +775 -0
- package/typechain-types/factories/SCYBaseWithRewards__factory.ts +867 -0
- package/typechain-types/factories/SCYBase__factory.ts +798 -0
- package/typechain-types/factories/SSTORE2DeployerContract__factory.ts +191 -0
- package/typechain-types/factories/SYBaseAutoCompound__factory.ts +942 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/hardhat.d.ts +81 -27
- package/typechain-types/index.ts +16 -6
|
@@ -0,0 +1,1863 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type { ActionCore, ActionCoreInterface } from "../ActionCore";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_kyberSwapRouter",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "_marketFactory",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
stateMutability: "nonpayable",
|
|
23
|
+
type: "constructor",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
anonymous: false,
|
|
27
|
+
inputs: [
|
|
28
|
+
{
|
|
29
|
+
indexed: true,
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "caller",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
indexed: true,
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "market",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
indexed: true,
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "receiver",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
indexed: false,
|
|
48
|
+
internalType: "uint256",
|
|
49
|
+
name: "scyUsed",
|
|
50
|
+
type: "uint256",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
indexed: false,
|
|
54
|
+
internalType: "uint256",
|
|
55
|
+
name: "ptUsed",
|
|
56
|
+
type: "uint256",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "lpOut",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
name: "AddLiquidityDualScyAndPt",
|
|
66
|
+
type: "event",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
anonymous: false,
|
|
70
|
+
inputs: [
|
|
71
|
+
{
|
|
72
|
+
indexed: true,
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "caller",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
indexed: true,
|
|
79
|
+
internalType: "address",
|
|
80
|
+
name: "market",
|
|
81
|
+
type: "address",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
indexed: true,
|
|
85
|
+
internalType: "address",
|
|
86
|
+
name: "receiver",
|
|
87
|
+
type: "address",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
indexed: false,
|
|
91
|
+
internalType: "address",
|
|
92
|
+
name: "tokenIn",
|
|
93
|
+
type: "address",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
indexed: false,
|
|
97
|
+
internalType: "uint256",
|
|
98
|
+
name: "tokenUsed",
|
|
99
|
+
type: "uint256",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
indexed: false,
|
|
103
|
+
internalType: "uint256",
|
|
104
|
+
name: "ptUsed",
|
|
105
|
+
type: "uint256",
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
indexed: false,
|
|
109
|
+
internalType: "uint256",
|
|
110
|
+
name: "lpOut",
|
|
111
|
+
type: "uint256",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
name: "AddLiquidityDualTokenAndPt",
|
|
115
|
+
type: "event",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
anonymous: false,
|
|
119
|
+
inputs: [
|
|
120
|
+
{
|
|
121
|
+
indexed: true,
|
|
122
|
+
internalType: "address",
|
|
123
|
+
name: "caller",
|
|
124
|
+
type: "address",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
indexed: true,
|
|
128
|
+
internalType: "address",
|
|
129
|
+
name: "receiver",
|
|
130
|
+
type: "address",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
indexed: true,
|
|
134
|
+
internalType: "address",
|
|
135
|
+
name: "YT",
|
|
136
|
+
type: "address",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
indexed: false,
|
|
140
|
+
internalType: "uint256",
|
|
141
|
+
name: "netScyIn",
|
|
142
|
+
type: "uint256",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
indexed: false,
|
|
146
|
+
internalType: "uint256",
|
|
147
|
+
name: "netPyOut",
|
|
148
|
+
type: "uint256",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
name: "MintPyFromScy",
|
|
152
|
+
type: "event",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
anonymous: false,
|
|
156
|
+
inputs: [
|
|
157
|
+
{
|
|
158
|
+
indexed: true,
|
|
159
|
+
internalType: "address",
|
|
160
|
+
name: "caller",
|
|
161
|
+
type: "address",
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
indexed: true,
|
|
165
|
+
internalType: "address",
|
|
166
|
+
name: "receiver",
|
|
167
|
+
type: "address",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
indexed: true,
|
|
171
|
+
internalType: "address",
|
|
172
|
+
name: "YT",
|
|
173
|
+
type: "address",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
indexed: false,
|
|
177
|
+
internalType: "address",
|
|
178
|
+
name: "tokenIn",
|
|
179
|
+
type: "address",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
indexed: false,
|
|
183
|
+
internalType: "uint256",
|
|
184
|
+
name: "netTokenIn",
|
|
185
|
+
type: "uint256",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
indexed: false,
|
|
189
|
+
internalType: "uint256",
|
|
190
|
+
name: "netPyOut",
|
|
191
|
+
type: "uint256",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
name: "MintPyFromToken",
|
|
195
|
+
type: "event",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
anonymous: false,
|
|
199
|
+
inputs: [
|
|
200
|
+
{
|
|
201
|
+
indexed: true,
|
|
202
|
+
internalType: "address",
|
|
203
|
+
name: "caller",
|
|
204
|
+
type: "address",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
indexed: true,
|
|
208
|
+
internalType: "address",
|
|
209
|
+
name: "receiver",
|
|
210
|
+
type: "address",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
indexed: true,
|
|
214
|
+
internalType: "address",
|
|
215
|
+
name: "SCY",
|
|
216
|
+
type: "address",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
indexed: false,
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "tokenIn",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
indexed: false,
|
|
226
|
+
internalType: "uint256",
|
|
227
|
+
name: "netTokenIn",
|
|
228
|
+
type: "uint256",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
indexed: false,
|
|
232
|
+
internalType: "uint256",
|
|
233
|
+
name: "netScyOut",
|
|
234
|
+
type: "uint256",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
name: "MintScyFromToken",
|
|
238
|
+
type: "event",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
anonymous: false,
|
|
242
|
+
inputs: [
|
|
243
|
+
{
|
|
244
|
+
indexed: true,
|
|
245
|
+
internalType: "address",
|
|
246
|
+
name: "caller",
|
|
247
|
+
type: "address",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
indexed: true,
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "receiver",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
indexed: true,
|
|
257
|
+
internalType: "address",
|
|
258
|
+
name: "YT",
|
|
259
|
+
type: "address",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
indexed: false,
|
|
263
|
+
internalType: "uint256",
|
|
264
|
+
name: "netPyIn",
|
|
265
|
+
type: "uint256",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
indexed: false,
|
|
269
|
+
internalType: "uint256",
|
|
270
|
+
name: "netScyOut",
|
|
271
|
+
type: "uint256",
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
name: "RedeemPyToScy",
|
|
275
|
+
type: "event",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
anonymous: false,
|
|
279
|
+
inputs: [
|
|
280
|
+
{
|
|
281
|
+
indexed: true,
|
|
282
|
+
internalType: "address",
|
|
283
|
+
name: "caller",
|
|
284
|
+
type: "address",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
indexed: true,
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "receiver",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
indexed: true,
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "YT",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
indexed: false,
|
|
300
|
+
internalType: "uint256",
|
|
301
|
+
name: "netPyIn",
|
|
302
|
+
type: "uint256",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
indexed: false,
|
|
306
|
+
internalType: "address",
|
|
307
|
+
name: "tokenOut",
|
|
308
|
+
type: "address",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
indexed: false,
|
|
312
|
+
internalType: "uint256",
|
|
313
|
+
name: "netTokenOut",
|
|
314
|
+
type: "uint256",
|
|
315
|
+
},
|
|
316
|
+
],
|
|
317
|
+
name: "RedeemPyToToken",
|
|
318
|
+
type: "event",
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
anonymous: false,
|
|
322
|
+
inputs: [
|
|
323
|
+
{
|
|
324
|
+
indexed: true,
|
|
325
|
+
internalType: "address",
|
|
326
|
+
name: "caller",
|
|
327
|
+
type: "address",
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
indexed: true,
|
|
331
|
+
internalType: "address",
|
|
332
|
+
name: "receiver",
|
|
333
|
+
type: "address",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
indexed: true,
|
|
337
|
+
internalType: "address",
|
|
338
|
+
name: "SCY",
|
|
339
|
+
type: "address",
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
indexed: false,
|
|
343
|
+
internalType: "uint256",
|
|
344
|
+
name: "netScyIn",
|
|
345
|
+
type: "uint256",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
indexed: false,
|
|
349
|
+
internalType: "address",
|
|
350
|
+
name: "tokenOut",
|
|
351
|
+
type: "address",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
indexed: false,
|
|
355
|
+
internalType: "uint256",
|
|
356
|
+
name: "netTokenOut",
|
|
357
|
+
type: "uint256",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
name: "RedeemScyToToken",
|
|
361
|
+
type: "event",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
anonymous: false,
|
|
365
|
+
inputs: [
|
|
366
|
+
{
|
|
367
|
+
indexed: true,
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "caller",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
indexed: true,
|
|
374
|
+
internalType: "address",
|
|
375
|
+
name: "market",
|
|
376
|
+
type: "address",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
indexed: false,
|
|
380
|
+
internalType: "address",
|
|
381
|
+
name: "receiver",
|
|
382
|
+
type: "address",
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
indexed: false,
|
|
386
|
+
internalType: "uint256",
|
|
387
|
+
name: "lpIn",
|
|
388
|
+
type: "uint256",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
indexed: false,
|
|
392
|
+
internalType: "uint256",
|
|
393
|
+
name: "amountPTOut",
|
|
394
|
+
type: "uint256",
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
indexed: false,
|
|
398
|
+
internalType: "uint256",
|
|
399
|
+
name: "amountIbTokenOut",
|
|
400
|
+
type: "uint256",
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
name: "RemoveLiquidityDualIbTokenAndPt",
|
|
404
|
+
type: "event",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
anonymous: false,
|
|
408
|
+
inputs: [
|
|
409
|
+
{
|
|
410
|
+
indexed: true,
|
|
411
|
+
internalType: "address",
|
|
412
|
+
name: "caller",
|
|
413
|
+
type: "address",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
indexed: true,
|
|
417
|
+
internalType: "address",
|
|
418
|
+
name: "market",
|
|
419
|
+
type: "address",
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
indexed: false,
|
|
423
|
+
internalType: "address",
|
|
424
|
+
name: "receiver",
|
|
425
|
+
type: "address",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
indexed: false,
|
|
429
|
+
internalType: "uint256",
|
|
430
|
+
name: "netlpIn",
|
|
431
|
+
type: "uint256",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
indexed: false,
|
|
435
|
+
internalType: "uint256",
|
|
436
|
+
name: "amountPTOut",
|
|
437
|
+
type: "uint256",
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
indexed: false,
|
|
441
|
+
internalType: "uint256",
|
|
442
|
+
name: "amountSCYOut",
|
|
443
|
+
type: "uint256",
|
|
444
|
+
},
|
|
445
|
+
],
|
|
446
|
+
name: "RemoveLiquidityDualScyAndPt",
|
|
447
|
+
type: "event",
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
anonymous: false,
|
|
451
|
+
inputs: [
|
|
452
|
+
{
|
|
453
|
+
indexed: true,
|
|
454
|
+
internalType: "address",
|
|
455
|
+
name: "caller",
|
|
456
|
+
type: "address",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
indexed: true,
|
|
460
|
+
internalType: "address",
|
|
461
|
+
name: "market",
|
|
462
|
+
type: "address",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
indexed: true,
|
|
466
|
+
internalType: "address",
|
|
467
|
+
name: "receiver",
|
|
468
|
+
type: "address",
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
indexed: false,
|
|
472
|
+
internalType: "int256",
|
|
473
|
+
name: "amountPtToAccount",
|
|
474
|
+
type: "int256",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
indexed: false,
|
|
478
|
+
internalType: "int256",
|
|
479
|
+
name: "amountScyToAccount",
|
|
480
|
+
type: "int256",
|
|
481
|
+
},
|
|
482
|
+
],
|
|
483
|
+
name: "SwapPtAndScy",
|
|
484
|
+
type: "event",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
anonymous: false,
|
|
488
|
+
inputs: [
|
|
489
|
+
{
|
|
490
|
+
indexed: true,
|
|
491
|
+
internalType: "address",
|
|
492
|
+
name: "caller",
|
|
493
|
+
type: "address",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
indexed: true,
|
|
497
|
+
internalType: "address",
|
|
498
|
+
name: "market",
|
|
499
|
+
type: "address",
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
indexed: true,
|
|
503
|
+
internalType: "address",
|
|
504
|
+
name: "token",
|
|
505
|
+
type: "address",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
indexed: false,
|
|
509
|
+
internalType: "address",
|
|
510
|
+
name: "receiver",
|
|
511
|
+
type: "address",
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
indexed: false,
|
|
515
|
+
internalType: "int256",
|
|
516
|
+
name: "amountPtToAccount",
|
|
517
|
+
type: "int256",
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
indexed: false,
|
|
521
|
+
internalType: "int256",
|
|
522
|
+
name: "amountTokenToAccount",
|
|
523
|
+
type: "int256",
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
name: "SwapPtAndToken",
|
|
527
|
+
type: "event",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
inputs: [
|
|
531
|
+
{
|
|
532
|
+
internalType: "address",
|
|
533
|
+
name: "receiver",
|
|
534
|
+
type: "address",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "address",
|
|
538
|
+
name: "market",
|
|
539
|
+
type: "address",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
internalType: "uint256",
|
|
543
|
+
name: "scyDesired",
|
|
544
|
+
type: "uint256",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
internalType: "uint256",
|
|
548
|
+
name: "ptDesired",
|
|
549
|
+
type: "uint256",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
internalType: "uint256",
|
|
553
|
+
name: "minLpOut",
|
|
554
|
+
type: "uint256",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
name: "addLiquidityDualScyAndPt",
|
|
558
|
+
outputs: [
|
|
559
|
+
{
|
|
560
|
+
internalType: "uint256",
|
|
561
|
+
name: "netLpOut",
|
|
562
|
+
type: "uint256",
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
internalType: "uint256",
|
|
566
|
+
name: "scyUsed",
|
|
567
|
+
type: "uint256",
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
internalType: "uint256",
|
|
571
|
+
name: "ptUsed",
|
|
572
|
+
type: "uint256",
|
|
573
|
+
},
|
|
574
|
+
],
|
|
575
|
+
stateMutability: "nonpayable",
|
|
576
|
+
type: "function",
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
inputs: [
|
|
580
|
+
{
|
|
581
|
+
internalType: "address",
|
|
582
|
+
name: "receiver",
|
|
583
|
+
type: "address",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
internalType: "address",
|
|
587
|
+
name: "market",
|
|
588
|
+
type: "address",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
internalType: "address",
|
|
592
|
+
name: "tokenIn",
|
|
593
|
+
type: "address",
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
internalType: "uint256",
|
|
597
|
+
name: "tokenDesired",
|
|
598
|
+
type: "uint256",
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
internalType: "uint256",
|
|
602
|
+
name: "ptDesired",
|
|
603
|
+
type: "uint256",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
internalType: "uint256",
|
|
607
|
+
name: "minLpOut",
|
|
608
|
+
type: "uint256",
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
name: "addLiquidityDualTokenAndPt",
|
|
612
|
+
outputs: [
|
|
613
|
+
{
|
|
614
|
+
internalType: "uint256",
|
|
615
|
+
name: "netLpOut",
|
|
616
|
+
type: "uint256",
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
internalType: "uint256",
|
|
620
|
+
name: "tokenUsed",
|
|
621
|
+
type: "uint256",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
internalType: "uint256",
|
|
625
|
+
name: "ptUsed",
|
|
626
|
+
type: "uint256",
|
|
627
|
+
},
|
|
628
|
+
],
|
|
629
|
+
stateMutability: "payable",
|
|
630
|
+
type: "function",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
inputs: [
|
|
634
|
+
{
|
|
635
|
+
internalType: "address",
|
|
636
|
+
name: "receiver",
|
|
637
|
+
type: "address",
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
internalType: "address",
|
|
641
|
+
name: "market",
|
|
642
|
+
type: "address",
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
internalType: "uint256",
|
|
646
|
+
name: "netPtIn",
|
|
647
|
+
type: "uint256",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
internalType: "uint256",
|
|
651
|
+
name: "minLpOut",
|
|
652
|
+
type: "uint256",
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
components: [
|
|
656
|
+
{
|
|
657
|
+
internalType: "uint256",
|
|
658
|
+
name: "guessMin",
|
|
659
|
+
type: "uint256",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
internalType: "uint256",
|
|
663
|
+
name: "guessMax",
|
|
664
|
+
type: "uint256",
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
internalType: "uint256",
|
|
668
|
+
name: "guessOffchain",
|
|
669
|
+
type: "uint256",
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
internalType: "uint256",
|
|
673
|
+
name: "maxIteration",
|
|
674
|
+
type: "uint256",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
internalType: "uint256",
|
|
678
|
+
name: "eps",
|
|
679
|
+
type: "uint256",
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
internalType: "struct ApproxParams",
|
|
683
|
+
name: "guessPtSwapToScy",
|
|
684
|
+
type: "tuple",
|
|
685
|
+
},
|
|
686
|
+
],
|
|
687
|
+
name: "addLiquiditySinglePt",
|
|
688
|
+
outputs: [
|
|
689
|
+
{
|
|
690
|
+
internalType: "uint256",
|
|
691
|
+
name: "netLpOut",
|
|
692
|
+
type: "uint256",
|
|
693
|
+
},
|
|
694
|
+
],
|
|
695
|
+
stateMutability: "nonpayable",
|
|
696
|
+
type: "function",
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
inputs: [
|
|
700
|
+
{
|
|
701
|
+
internalType: "address",
|
|
702
|
+
name: "receiver",
|
|
703
|
+
type: "address",
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
internalType: "address",
|
|
707
|
+
name: "market",
|
|
708
|
+
type: "address",
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
internalType: "uint256",
|
|
712
|
+
name: "netScyIn",
|
|
713
|
+
type: "uint256",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
internalType: "uint256",
|
|
717
|
+
name: "minLpOut",
|
|
718
|
+
type: "uint256",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
components: [
|
|
722
|
+
{
|
|
723
|
+
internalType: "uint256",
|
|
724
|
+
name: "guessMin",
|
|
725
|
+
type: "uint256",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
internalType: "uint256",
|
|
729
|
+
name: "guessMax",
|
|
730
|
+
type: "uint256",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
internalType: "uint256",
|
|
734
|
+
name: "guessOffchain",
|
|
735
|
+
type: "uint256",
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
internalType: "uint256",
|
|
739
|
+
name: "maxIteration",
|
|
740
|
+
type: "uint256",
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
internalType: "uint256",
|
|
744
|
+
name: "eps",
|
|
745
|
+
type: "uint256",
|
|
746
|
+
},
|
|
747
|
+
],
|
|
748
|
+
internalType: "struct ApproxParams",
|
|
749
|
+
name: "guessPtReceivedFromScy",
|
|
750
|
+
type: "tuple",
|
|
751
|
+
},
|
|
752
|
+
],
|
|
753
|
+
name: "addLiquiditySingleScy",
|
|
754
|
+
outputs: [
|
|
755
|
+
{
|
|
756
|
+
internalType: "uint256",
|
|
757
|
+
name: "netLpOut",
|
|
758
|
+
type: "uint256",
|
|
759
|
+
},
|
|
760
|
+
],
|
|
761
|
+
stateMutability: "nonpayable",
|
|
762
|
+
type: "function",
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
inputs: [
|
|
766
|
+
{
|
|
767
|
+
internalType: "address",
|
|
768
|
+
name: "receiver",
|
|
769
|
+
type: "address",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
internalType: "address",
|
|
773
|
+
name: "market",
|
|
774
|
+
type: "address",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
internalType: "uint256",
|
|
778
|
+
name: "minLpOut",
|
|
779
|
+
type: "uint256",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
components: [
|
|
783
|
+
{
|
|
784
|
+
internalType: "uint256",
|
|
785
|
+
name: "guessMin",
|
|
786
|
+
type: "uint256",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
internalType: "uint256",
|
|
790
|
+
name: "guessMax",
|
|
791
|
+
type: "uint256",
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
internalType: "uint256",
|
|
795
|
+
name: "guessOffchain",
|
|
796
|
+
type: "uint256",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
internalType: "uint256",
|
|
800
|
+
name: "maxIteration",
|
|
801
|
+
type: "uint256",
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
internalType: "uint256",
|
|
805
|
+
name: "eps",
|
|
806
|
+
type: "uint256",
|
|
807
|
+
},
|
|
808
|
+
],
|
|
809
|
+
internalType: "struct ApproxParams",
|
|
810
|
+
name: "guessPtReceivedFromScy",
|
|
811
|
+
type: "tuple",
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
components: [
|
|
815
|
+
{
|
|
816
|
+
internalType: "address",
|
|
817
|
+
name: "tokenIn",
|
|
818
|
+
type: "address",
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
internalType: "uint256",
|
|
822
|
+
name: "netTokenIn",
|
|
823
|
+
type: "uint256",
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
internalType: "address",
|
|
827
|
+
name: "tokenMintScy",
|
|
828
|
+
type: "address",
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
internalType: "bytes",
|
|
832
|
+
name: "kybercall",
|
|
833
|
+
type: "bytes",
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
internalType: "struct TokenInput",
|
|
837
|
+
name: "input",
|
|
838
|
+
type: "tuple",
|
|
839
|
+
},
|
|
840
|
+
],
|
|
841
|
+
name: "addLiquiditySingleToken",
|
|
842
|
+
outputs: [
|
|
843
|
+
{
|
|
844
|
+
internalType: "uint256",
|
|
845
|
+
name: "netLpOut",
|
|
846
|
+
type: "uint256",
|
|
847
|
+
},
|
|
848
|
+
],
|
|
849
|
+
stateMutability: "payable",
|
|
850
|
+
type: "function",
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
inputs: [],
|
|
854
|
+
name: "kyberSwapRouter",
|
|
855
|
+
outputs: [
|
|
856
|
+
{
|
|
857
|
+
internalType: "address",
|
|
858
|
+
name: "",
|
|
859
|
+
type: "address",
|
|
860
|
+
},
|
|
861
|
+
],
|
|
862
|
+
stateMutability: "view",
|
|
863
|
+
type: "function",
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
inputs: [
|
|
867
|
+
{
|
|
868
|
+
internalType: "address",
|
|
869
|
+
name: "receiver",
|
|
870
|
+
type: "address",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
internalType: "address",
|
|
874
|
+
name: "YT",
|
|
875
|
+
type: "address",
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
internalType: "uint256",
|
|
879
|
+
name: "netScyIn",
|
|
880
|
+
type: "uint256",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
internalType: "uint256",
|
|
884
|
+
name: "minPyOut",
|
|
885
|
+
type: "uint256",
|
|
886
|
+
},
|
|
887
|
+
],
|
|
888
|
+
name: "mintPyFromScy",
|
|
889
|
+
outputs: [
|
|
890
|
+
{
|
|
891
|
+
internalType: "uint256",
|
|
892
|
+
name: "netPyOut",
|
|
893
|
+
type: "uint256",
|
|
894
|
+
},
|
|
895
|
+
],
|
|
896
|
+
stateMutability: "nonpayable",
|
|
897
|
+
type: "function",
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
inputs: [
|
|
901
|
+
{
|
|
902
|
+
internalType: "address",
|
|
903
|
+
name: "receiver",
|
|
904
|
+
type: "address",
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
internalType: "address",
|
|
908
|
+
name: "YT",
|
|
909
|
+
type: "address",
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
internalType: "uint256",
|
|
913
|
+
name: "minPyOut",
|
|
914
|
+
type: "uint256",
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
components: [
|
|
918
|
+
{
|
|
919
|
+
internalType: "address",
|
|
920
|
+
name: "tokenIn",
|
|
921
|
+
type: "address",
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
internalType: "uint256",
|
|
925
|
+
name: "netTokenIn",
|
|
926
|
+
type: "uint256",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
internalType: "address",
|
|
930
|
+
name: "tokenMintScy",
|
|
931
|
+
type: "address",
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
internalType: "bytes",
|
|
935
|
+
name: "kybercall",
|
|
936
|
+
type: "bytes",
|
|
937
|
+
},
|
|
938
|
+
],
|
|
939
|
+
internalType: "struct TokenInput",
|
|
940
|
+
name: "input",
|
|
941
|
+
type: "tuple",
|
|
942
|
+
},
|
|
943
|
+
],
|
|
944
|
+
name: "mintPyFromToken",
|
|
945
|
+
outputs: [
|
|
946
|
+
{
|
|
947
|
+
internalType: "uint256",
|
|
948
|
+
name: "netPyOut",
|
|
949
|
+
type: "uint256",
|
|
950
|
+
},
|
|
951
|
+
],
|
|
952
|
+
stateMutability: "payable",
|
|
953
|
+
type: "function",
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
inputs: [
|
|
957
|
+
{
|
|
958
|
+
internalType: "address",
|
|
959
|
+
name: "receiver",
|
|
960
|
+
type: "address",
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
internalType: "address",
|
|
964
|
+
name: "SCY",
|
|
965
|
+
type: "address",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
internalType: "uint256",
|
|
969
|
+
name: "minScyOut",
|
|
970
|
+
type: "uint256",
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
components: [
|
|
974
|
+
{
|
|
975
|
+
internalType: "address",
|
|
976
|
+
name: "tokenIn",
|
|
977
|
+
type: "address",
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
internalType: "uint256",
|
|
981
|
+
name: "netTokenIn",
|
|
982
|
+
type: "uint256",
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
internalType: "address",
|
|
986
|
+
name: "tokenMintScy",
|
|
987
|
+
type: "address",
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
internalType: "bytes",
|
|
991
|
+
name: "kybercall",
|
|
992
|
+
type: "bytes",
|
|
993
|
+
},
|
|
994
|
+
],
|
|
995
|
+
internalType: "struct TokenInput",
|
|
996
|
+
name: "input",
|
|
997
|
+
type: "tuple",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
name: "mintScyFromToken",
|
|
1001
|
+
outputs: [
|
|
1002
|
+
{
|
|
1003
|
+
internalType: "uint256",
|
|
1004
|
+
name: "netScyOut",
|
|
1005
|
+
type: "uint256",
|
|
1006
|
+
},
|
|
1007
|
+
],
|
|
1008
|
+
stateMutability: "payable",
|
|
1009
|
+
type: "function",
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
inputs: [
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "address",
|
|
1015
|
+
name: "user",
|
|
1016
|
+
type: "address",
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
internalType: "address[]",
|
|
1020
|
+
name: "scys",
|
|
1021
|
+
type: "address[]",
|
|
1022
|
+
},
|
|
1023
|
+
{
|
|
1024
|
+
internalType: "address[]",
|
|
1025
|
+
name: "yts",
|
|
1026
|
+
type: "address[]",
|
|
1027
|
+
},
|
|
1028
|
+
{
|
|
1029
|
+
internalType: "address[]",
|
|
1030
|
+
name: "markets",
|
|
1031
|
+
type: "address[]",
|
|
1032
|
+
},
|
|
1033
|
+
],
|
|
1034
|
+
name: "redeemDueInterestAndRewards",
|
|
1035
|
+
outputs: [
|
|
1036
|
+
{
|
|
1037
|
+
internalType: "uint256[][]",
|
|
1038
|
+
name: "scyRewards",
|
|
1039
|
+
type: "uint256[][]",
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
internalType: "uint256[]",
|
|
1043
|
+
name: "ytInterests",
|
|
1044
|
+
type: "uint256[]",
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
internalType: "uint256[][]",
|
|
1048
|
+
name: "ytRewards",
|
|
1049
|
+
type: "uint256[][]",
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
internalType: "uint256[][]",
|
|
1053
|
+
name: "marketRewards",
|
|
1054
|
+
type: "uint256[][]",
|
|
1055
|
+
},
|
|
1056
|
+
],
|
|
1057
|
+
stateMutability: "nonpayable",
|
|
1058
|
+
type: "function",
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
inputs: [
|
|
1062
|
+
{
|
|
1063
|
+
internalType: "address",
|
|
1064
|
+
name: "receiver",
|
|
1065
|
+
type: "address",
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
internalType: "address",
|
|
1069
|
+
name: "YT",
|
|
1070
|
+
type: "address",
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
internalType: "uint256",
|
|
1074
|
+
name: "netPyIn",
|
|
1075
|
+
type: "uint256",
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
internalType: "uint256",
|
|
1079
|
+
name: "minScyOut",
|
|
1080
|
+
type: "uint256",
|
|
1081
|
+
},
|
|
1082
|
+
],
|
|
1083
|
+
name: "redeemPyToScy",
|
|
1084
|
+
outputs: [
|
|
1085
|
+
{
|
|
1086
|
+
internalType: "uint256",
|
|
1087
|
+
name: "netScyOut",
|
|
1088
|
+
type: "uint256",
|
|
1089
|
+
},
|
|
1090
|
+
],
|
|
1091
|
+
stateMutability: "nonpayable",
|
|
1092
|
+
type: "function",
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
inputs: [
|
|
1096
|
+
{
|
|
1097
|
+
internalType: "address",
|
|
1098
|
+
name: "receiver",
|
|
1099
|
+
type: "address",
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
internalType: "address",
|
|
1103
|
+
name: "YT",
|
|
1104
|
+
type: "address",
|
|
1105
|
+
},
|
|
1106
|
+
{
|
|
1107
|
+
internalType: "uint256",
|
|
1108
|
+
name: "netPyIn",
|
|
1109
|
+
type: "uint256",
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
components: [
|
|
1113
|
+
{
|
|
1114
|
+
internalType: "address",
|
|
1115
|
+
name: "tokenOut",
|
|
1116
|
+
type: "address",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
internalType: "uint256",
|
|
1120
|
+
name: "minTokenOut",
|
|
1121
|
+
type: "uint256",
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
internalType: "address",
|
|
1125
|
+
name: "tokenRedeemScy",
|
|
1126
|
+
type: "address",
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
internalType: "bytes",
|
|
1130
|
+
name: "kybercall",
|
|
1131
|
+
type: "bytes",
|
|
1132
|
+
},
|
|
1133
|
+
],
|
|
1134
|
+
internalType: "struct TokenOutput",
|
|
1135
|
+
name: "output",
|
|
1136
|
+
type: "tuple",
|
|
1137
|
+
},
|
|
1138
|
+
],
|
|
1139
|
+
name: "redeemPyToToken",
|
|
1140
|
+
outputs: [
|
|
1141
|
+
{
|
|
1142
|
+
internalType: "uint256",
|
|
1143
|
+
name: "netTokenOut",
|
|
1144
|
+
type: "uint256",
|
|
1145
|
+
},
|
|
1146
|
+
],
|
|
1147
|
+
stateMutability: "nonpayable",
|
|
1148
|
+
type: "function",
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
inputs: [
|
|
1152
|
+
{
|
|
1153
|
+
internalType: "address",
|
|
1154
|
+
name: "receiver",
|
|
1155
|
+
type: "address",
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
internalType: "address",
|
|
1159
|
+
name: "SCY",
|
|
1160
|
+
type: "address",
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
internalType: "uint256",
|
|
1164
|
+
name: "netScyIn",
|
|
1165
|
+
type: "uint256",
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
components: [
|
|
1169
|
+
{
|
|
1170
|
+
internalType: "address",
|
|
1171
|
+
name: "tokenOut",
|
|
1172
|
+
type: "address",
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
internalType: "uint256",
|
|
1176
|
+
name: "minTokenOut",
|
|
1177
|
+
type: "uint256",
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
internalType: "address",
|
|
1181
|
+
name: "tokenRedeemScy",
|
|
1182
|
+
type: "address",
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
internalType: "bytes",
|
|
1186
|
+
name: "kybercall",
|
|
1187
|
+
type: "bytes",
|
|
1188
|
+
},
|
|
1189
|
+
],
|
|
1190
|
+
internalType: "struct TokenOutput",
|
|
1191
|
+
name: "output",
|
|
1192
|
+
type: "tuple",
|
|
1193
|
+
},
|
|
1194
|
+
],
|
|
1195
|
+
name: "redeemScyToToken",
|
|
1196
|
+
outputs: [
|
|
1197
|
+
{
|
|
1198
|
+
internalType: "uint256",
|
|
1199
|
+
name: "netTokenOut",
|
|
1200
|
+
type: "uint256",
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
stateMutability: "nonpayable",
|
|
1204
|
+
type: "function",
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
inputs: [
|
|
1208
|
+
{
|
|
1209
|
+
internalType: "address",
|
|
1210
|
+
name: "receiver",
|
|
1211
|
+
type: "address",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
internalType: "address",
|
|
1215
|
+
name: "market",
|
|
1216
|
+
type: "address",
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
internalType: "uint256",
|
|
1220
|
+
name: "lpToRemove",
|
|
1221
|
+
type: "uint256",
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
internalType: "uint256",
|
|
1225
|
+
name: "scyOutMin",
|
|
1226
|
+
type: "uint256",
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
internalType: "uint256",
|
|
1230
|
+
name: "ptOutMin",
|
|
1231
|
+
type: "uint256",
|
|
1232
|
+
},
|
|
1233
|
+
],
|
|
1234
|
+
name: "removeLiquidityDualScyAndPt",
|
|
1235
|
+
outputs: [
|
|
1236
|
+
{
|
|
1237
|
+
internalType: "uint256",
|
|
1238
|
+
name: "netScyOut",
|
|
1239
|
+
type: "uint256",
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
internalType: "uint256",
|
|
1243
|
+
name: "netPtOut",
|
|
1244
|
+
type: "uint256",
|
|
1245
|
+
},
|
|
1246
|
+
],
|
|
1247
|
+
stateMutability: "nonpayable",
|
|
1248
|
+
type: "function",
|
|
1249
|
+
},
|
|
1250
|
+
{
|
|
1251
|
+
inputs: [
|
|
1252
|
+
{
|
|
1253
|
+
internalType: "address",
|
|
1254
|
+
name: "receiver",
|
|
1255
|
+
type: "address",
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
internalType: "address",
|
|
1259
|
+
name: "market",
|
|
1260
|
+
type: "address",
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
internalType: "uint256",
|
|
1264
|
+
name: "lpToRemove",
|
|
1265
|
+
type: "uint256",
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
internalType: "address",
|
|
1269
|
+
name: "tokenOut",
|
|
1270
|
+
type: "address",
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
internalType: "uint256",
|
|
1274
|
+
name: "tokenOutMin",
|
|
1275
|
+
type: "uint256",
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
internalType: "uint256",
|
|
1279
|
+
name: "ptOutMin",
|
|
1280
|
+
type: "uint256",
|
|
1281
|
+
},
|
|
1282
|
+
],
|
|
1283
|
+
name: "removeLiquidityDualTokenAndPt",
|
|
1284
|
+
outputs: [
|
|
1285
|
+
{
|
|
1286
|
+
internalType: "uint256",
|
|
1287
|
+
name: "netTokenOut",
|
|
1288
|
+
type: "uint256",
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
internalType: "uint256",
|
|
1292
|
+
name: "netPtOut",
|
|
1293
|
+
type: "uint256",
|
|
1294
|
+
},
|
|
1295
|
+
],
|
|
1296
|
+
stateMutability: "nonpayable",
|
|
1297
|
+
type: "function",
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
inputs: [
|
|
1301
|
+
{
|
|
1302
|
+
internalType: "address",
|
|
1303
|
+
name: "receiver",
|
|
1304
|
+
type: "address",
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
internalType: "address",
|
|
1308
|
+
name: "market",
|
|
1309
|
+
type: "address",
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
internalType: "uint256",
|
|
1313
|
+
name: "lpToRemove",
|
|
1314
|
+
type: "uint256",
|
|
1315
|
+
},
|
|
1316
|
+
{
|
|
1317
|
+
internalType: "uint256",
|
|
1318
|
+
name: "minPtOut",
|
|
1319
|
+
type: "uint256",
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
components: [
|
|
1323
|
+
{
|
|
1324
|
+
internalType: "uint256",
|
|
1325
|
+
name: "guessMin",
|
|
1326
|
+
type: "uint256",
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
internalType: "uint256",
|
|
1330
|
+
name: "guessMax",
|
|
1331
|
+
type: "uint256",
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
internalType: "uint256",
|
|
1335
|
+
name: "guessOffchain",
|
|
1336
|
+
type: "uint256",
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
internalType: "uint256",
|
|
1340
|
+
name: "maxIteration",
|
|
1341
|
+
type: "uint256",
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
internalType: "uint256",
|
|
1345
|
+
name: "eps",
|
|
1346
|
+
type: "uint256",
|
|
1347
|
+
},
|
|
1348
|
+
],
|
|
1349
|
+
internalType: "struct ApproxParams",
|
|
1350
|
+
name: "guessPtOut",
|
|
1351
|
+
type: "tuple",
|
|
1352
|
+
},
|
|
1353
|
+
],
|
|
1354
|
+
name: "removeLiquiditySinglePt",
|
|
1355
|
+
outputs: [
|
|
1356
|
+
{
|
|
1357
|
+
internalType: "uint256",
|
|
1358
|
+
name: "netPtOut",
|
|
1359
|
+
type: "uint256",
|
|
1360
|
+
},
|
|
1361
|
+
],
|
|
1362
|
+
stateMutability: "nonpayable",
|
|
1363
|
+
type: "function",
|
|
1364
|
+
},
|
|
1365
|
+
{
|
|
1366
|
+
inputs: [
|
|
1367
|
+
{
|
|
1368
|
+
internalType: "address",
|
|
1369
|
+
name: "receiver",
|
|
1370
|
+
type: "address",
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
internalType: "address",
|
|
1374
|
+
name: "market",
|
|
1375
|
+
type: "address",
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
internalType: "uint256",
|
|
1379
|
+
name: "lpToRemove",
|
|
1380
|
+
type: "uint256",
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
internalType: "uint256",
|
|
1384
|
+
name: "minScyOut",
|
|
1385
|
+
type: "uint256",
|
|
1386
|
+
},
|
|
1387
|
+
],
|
|
1388
|
+
name: "removeLiquiditySingleScy",
|
|
1389
|
+
outputs: [
|
|
1390
|
+
{
|
|
1391
|
+
internalType: "uint256",
|
|
1392
|
+
name: "netScyOut",
|
|
1393
|
+
type: "uint256",
|
|
1394
|
+
},
|
|
1395
|
+
],
|
|
1396
|
+
stateMutability: "nonpayable",
|
|
1397
|
+
type: "function",
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
inputs: [
|
|
1401
|
+
{
|
|
1402
|
+
internalType: "address",
|
|
1403
|
+
name: "receiver",
|
|
1404
|
+
type: "address",
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
internalType: "address",
|
|
1408
|
+
name: "market",
|
|
1409
|
+
type: "address",
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
internalType: "uint256",
|
|
1413
|
+
name: "lpToRemove",
|
|
1414
|
+
type: "uint256",
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
components: [
|
|
1418
|
+
{
|
|
1419
|
+
internalType: "address",
|
|
1420
|
+
name: "tokenOut",
|
|
1421
|
+
type: "address",
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
internalType: "uint256",
|
|
1425
|
+
name: "minTokenOut",
|
|
1426
|
+
type: "uint256",
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
internalType: "address",
|
|
1430
|
+
name: "tokenRedeemScy",
|
|
1431
|
+
type: "address",
|
|
1432
|
+
},
|
|
1433
|
+
{
|
|
1434
|
+
internalType: "bytes",
|
|
1435
|
+
name: "kybercall",
|
|
1436
|
+
type: "bytes",
|
|
1437
|
+
},
|
|
1438
|
+
],
|
|
1439
|
+
internalType: "struct TokenOutput",
|
|
1440
|
+
name: "output",
|
|
1441
|
+
type: "tuple",
|
|
1442
|
+
},
|
|
1443
|
+
],
|
|
1444
|
+
name: "removeLiquiditySingleToken",
|
|
1445
|
+
outputs: [
|
|
1446
|
+
{
|
|
1447
|
+
internalType: "uint256",
|
|
1448
|
+
name: "netTokenOut",
|
|
1449
|
+
type: "uint256",
|
|
1450
|
+
},
|
|
1451
|
+
],
|
|
1452
|
+
stateMutability: "nonpayable",
|
|
1453
|
+
type: "function",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
inputs: [
|
|
1457
|
+
{
|
|
1458
|
+
internalType: "address",
|
|
1459
|
+
name: "receiver",
|
|
1460
|
+
type: "address",
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
internalType: "address",
|
|
1464
|
+
name: "market",
|
|
1465
|
+
type: "address",
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
internalType: "uint256",
|
|
1469
|
+
name: "exactPtIn",
|
|
1470
|
+
type: "uint256",
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
internalType: "uint256",
|
|
1474
|
+
name: "minScyOut",
|
|
1475
|
+
type: "uint256",
|
|
1476
|
+
},
|
|
1477
|
+
],
|
|
1478
|
+
name: "swapExactPtForScy",
|
|
1479
|
+
outputs: [
|
|
1480
|
+
{
|
|
1481
|
+
internalType: "uint256",
|
|
1482
|
+
name: "netScyOut",
|
|
1483
|
+
type: "uint256",
|
|
1484
|
+
},
|
|
1485
|
+
],
|
|
1486
|
+
stateMutability: "nonpayable",
|
|
1487
|
+
type: "function",
|
|
1488
|
+
},
|
|
1489
|
+
{
|
|
1490
|
+
inputs: [
|
|
1491
|
+
{
|
|
1492
|
+
internalType: "address",
|
|
1493
|
+
name: "receiver",
|
|
1494
|
+
type: "address",
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
internalType: "address",
|
|
1498
|
+
name: "market",
|
|
1499
|
+
type: "address",
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
internalType: "uint256",
|
|
1503
|
+
name: "exactPtIn",
|
|
1504
|
+
type: "uint256",
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
components: [
|
|
1508
|
+
{
|
|
1509
|
+
internalType: "address",
|
|
1510
|
+
name: "tokenOut",
|
|
1511
|
+
type: "address",
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
internalType: "uint256",
|
|
1515
|
+
name: "minTokenOut",
|
|
1516
|
+
type: "uint256",
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
internalType: "address",
|
|
1520
|
+
name: "tokenRedeemScy",
|
|
1521
|
+
type: "address",
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
internalType: "bytes",
|
|
1525
|
+
name: "kybercall",
|
|
1526
|
+
type: "bytes",
|
|
1527
|
+
},
|
|
1528
|
+
],
|
|
1529
|
+
internalType: "struct TokenOutput",
|
|
1530
|
+
name: "output",
|
|
1531
|
+
type: "tuple",
|
|
1532
|
+
},
|
|
1533
|
+
],
|
|
1534
|
+
name: "swapExactPtForToken",
|
|
1535
|
+
outputs: [
|
|
1536
|
+
{
|
|
1537
|
+
internalType: "uint256",
|
|
1538
|
+
name: "netTokenOut",
|
|
1539
|
+
type: "uint256",
|
|
1540
|
+
},
|
|
1541
|
+
],
|
|
1542
|
+
stateMutability: "nonpayable",
|
|
1543
|
+
type: "function",
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
inputs: [
|
|
1547
|
+
{
|
|
1548
|
+
internalType: "address",
|
|
1549
|
+
name: "receiver",
|
|
1550
|
+
type: "address",
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
internalType: "address",
|
|
1554
|
+
name: "market",
|
|
1555
|
+
type: "address",
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
internalType: "uint256",
|
|
1559
|
+
name: "exactScyIn",
|
|
1560
|
+
type: "uint256",
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
internalType: "uint256",
|
|
1564
|
+
name: "minPtOut",
|
|
1565
|
+
type: "uint256",
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
components: [
|
|
1569
|
+
{
|
|
1570
|
+
internalType: "uint256",
|
|
1571
|
+
name: "guessMin",
|
|
1572
|
+
type: "uint256",
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
internalType: "uint256",
|
|
1576
|
+
name: "guessMax",
|
|
1577
|
+
type: "uint256",
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
internalType: "uint256",
|
|
1581
|
+
name: "guessOffchain",
|
|
1582
|
+
type: "uint256",
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
internalType: "uint256",
|
|
1586
|
+
name: "maxIteration",
|
|
1587
|
+
type: "uint256",
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
internalType: "uint256",
|
|
1591
|
+
name: "eps",
|
|
1592
|
+
type: "uint256",
|
|
1593
|
+
},
|
|
1594
|
+
],
|
|
1595
|
+
internalType: "struct ApproxParams",
|
|
1596
|
+
name: "guessPtOut",
|
|
1597
|
+
type: "tuple",
|
|
1598
|
+
},
|
|
1599
|
+
],
|
|
1600
|
+
name: "swapExactScyForPt",
|
|
1601
|
+
outputs: [
|
|
1602
|
+
{
|
|
1603
|
+
internalType: "uint256",
|
|
1604
|
+
name: "netPtOut",
|
|
1605
|
+
type: "uint256",
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
stateMutability: "nonpayable",
|
|
1609
|
+
type: "function",
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
inputs: [
|
|
1613
|
+
{
|
|
1614
|
+
internalType: "address",
|
|
1615
|
+
name: "receiver",
|
|
1616
|
+
type: "address",
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
internalType: "address",
|
|
1620
|
+
name: "market",
|
|
1621
|
+
type: "address",
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
internalType: "uint256",
|
|
1625
|
+
name: "minPtOut",
|
|
1626
|
+
type: "uint256",
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
components: [
|
|
1630
|
+
{
|
|
1631
|
+
internalType: "uint256",
|
|
1632
|
+
name: "guessMin",
|
|
1633
|
+
type: "uint256",
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
internalType: "uint256",
|
|
1637
|
+
name: "guessMax",
|
|
1638
|
+
type: "uint256",
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
internalType: "uint256",
|
|
1642
|
+
name: "guessOffchain",
|
|
1643
|
+
type: "uint256",
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
internalType: "uint256",
|
|
1647
|
+
name: "maxIteration",
|
|
1648
|
+
type: "uint256",
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
internalType: "uint256",
|
|
1652
|
+
name: "eps",
|
|
1653
|
+
type: "uint256",
|
|
1654
|
+
},
|
|
1655
|
+
],
|
|
1656
|
+
internalType: "struct ApproxParams",
|
|
1657
|
+
name: "guessPtOut",
|
|
1658
|
+
type: "tuple",
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
components: [
|
|
1662
|
+
{
|
|
1663
|
+
internalType: "address",
|
|
1664
|
+
name: "tokenIn",
|
|
1665
|
+
type: "address",
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
internalType: "uint256",
|
|
1669
|
+
name: "netTokenIn",
|
|
1670
|
+
type: "uint256",
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
internalType: "address",
|
|
1674
|
+
name: "tokenMintScy",
|
|
1675
|
+
type: "address",
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
internalType: "bytes",
|
|
1679
|
+
name: "kybercall",
|
|
1680
|
+
type: "bytes",
|
|
1681
|
+
},
|
|
1682
|
+
],
|
|
1683
|
+
internalType: "struct TokenInput",
|
|
1684
|
+
name: "input",
|
|
1685
|
+
type: "tuple",
|
|
1686
|
+
},
|
|
1687
|
+
],
|
|
1688
|
+
name: "swapExactTokenForPt",
|
|
1689
|
+
outputs: [
|
|
1690
|
+
{
|
|
1691
|
+
internalType: "uint256",
|
|
1692
|
+
name: "netPtOut",
|
|
1693
|
+
type: "uint256",
|
|
1694
|
+
},
|
|
1695
|
+
],
|
|
1696
|
+
stateMutability: "payable",
|
|
1697
|
+
type: "function",
|
|
1698
|
+
},
|
|
1699
|
+
{
|
|
1700
|
+
inputs: [
|
|
1701
|
+
{
|
|
1702
|
+
internalType: "address",
|
|
1703
|
+
name: "receiver",
|
|
1704
|
+
type: "address",
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
internalType: "address",
|
|
1708
|
+
name: "market",
|
|
1709
|
+
type: "address",
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
internalType: "uint256",
|
|
1713
|
+
name: "exactScyOut",
|
|
1714
|
+
type: "uint256",
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
internalType: "uint256",
|
|
1718
|
+
name: "maxPtIn",
|
|
1719
|
+
type: "uint256",
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
components: [
|
|
1723
|
+
{
|
|
1724
|
+
internalType: "uint256",
|
|
1725
|
+
name: "guessMin",
|
|
1726
|
+
type: "uint256",
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
internalType: "uint256",
|
|
1730
|
+
name: "guessMax",
|
|
1731
|
+
type: "uint256",
|
|
1732
|
+
},
|
|
1733
|
+
{
|
|
1734
|
+
internalType: "uint256",
|
|
1735
|
+
name: "guessOffchain",
|
|
1736
|
+
type: "uint256",
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
internalType: "uint256",
|
|
1740
|
+
name: "maxIteration",
|
|
1741
|
+
type: "uint256",
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
internalType: "uint256",
|
|
1745
|
+
name: "eps",
|
|
1746
|
+
type: "uint256",
|
|
1747
|
+
},
|
|
1748
|
+
],
|
|
1749
|
+
internalType: "struct ApproxParams",
|
|
1750
|
+
name: "guessPtIn",
|
|
1751
|
+
type: "tuple",
|
|
1752
|
+
},
|
|
1753
|
+
],
|
|
1754
|
+
name: "swapPtForExactScy",
|
|
1755
|
+
outputs: [
|
|
1756
|
+
{
|
|
1757
|
+
internalType: "uint256",
|
|
1758
|
+
name: "netPtIn",
|
|
1759
|
+
type: "uint256",
|
|
1760
|
+
},
|
|
1761
|
+
],
|
|
1762
|
+
stateMutability: "nonpayable",
|
|
1763
|
+
type: "function",
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
inputs: [
|
|
1767
|
+
{
|
|
1768
|
+
internalType: "address",
|
|
1769
|
+
name: "receiver",
|
|
1770
|
+
type: "address",
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
internalType: "address",
|
|
1774
|
+
name: "market",
|
|
1775
|
+
type: "address",
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
internalType: "uint256",
|
|
1779
|
+
name: "exactPtOut",
|
|
1780
|
+
type: "uint256",
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
internalType: "uint256",
|
|
1784
|
+
name: "maxScyIn",
|
|
1785
|
+
type: "uint256",
|
|
1786
|
+
},
|
|
1787
|
+
],
|
|
1788
|
+
name: "swapScyForExactPt",
|
|
1789
|
+
outputs: [
|
|
1790
|
+
{
|
|
1791
|
+
internalType: "uint256",
|
|
1792
|
+
name: "netScyIn",
|
|
1793
|
+
type: "uint256",
|
|
1794
|
+
},
|
|
1795
|
+
],
|
|
1796
|
+
stateMutability: "nonpayable",
|
|
1797
|
+
type: "function",
|
|
1798
|
+
},
|
|
1799
|
+
];
|
|
1800
|
+
|
|
1801
|
+
const _bytecode =
|
|
1802
|
+
"0x60a06040523480156200001157600080fd5b506040516200599138038062005991833981016040819052620000349162000064565b506001600160a01b03166080526200009c565b80516001600160a01b03811681146200005f57600080fd5b919050565b600080604083850312156200007857600080fd5b620000838362000047565b9150620000936020840162000047565b90509250929050565b6080516158cb620000c6600039600081816101780152818161292f01526129ae01526158cb6000f3fe60806040526004361061011b5760003560e01c806305ac8a7b146101205780630c56fc7a146101535780631ef6f327146101665780631f8dfdf0146101a7578063226c71f6146101c7578063268d89cf146101f65780633af1f329146101a75780634f0c717914610216578063694ab559146101a75780637027acd01461022957806372d24598146102495780637307a7a5146102695780639b4def431461027c578063b013d88214610297578063b03861b3146102b7578063d65d45a9146102d7578063d79ca240146102f7578063eda0b71514610317578063f17b8c4a14610345578063f3a411b814610353578063f615fe1114610373578063f7e375e814610393578063febde725146103c3578063ffaec3ce146103de575b600080fd5b34801561012c57600080fd5b5061014061013b366004614a9f565b6103f1565b6040519081526020015b60405180910390f35b610140610161366004614b09565b610462565b34801561017257600080fd5b5061019a7f000000000000000000000000000000000000000000000000000000000000000081565b60405161014a9190614b88565b3480156101b357600080fd5b506101406101c2366004614b9c565b6104f1565b3480156101d357600080fd5b506101e76101e2366004614bf9565b61053c565b60405161014a93929190614c4a565b34801561020257600080fd5b50610140610211366004614c60565b6105b1565b610140610224366004614c60565b610625565b34801561023557600080fd5b50610140610244366004614c60565b610687565b34801561025557600080fd5b50610140610264366004614a9f565b6106f4565b6101e7610277366004614ccb565b610744565b34801561028857600080fd5b506101406101c2366004614a9f565b3480156102a357600080fd5b506101406102b2366004614a9f565b6107bb565b3480156102c357600080fd5b506101406102d2366004614c60565b61081c565b3480156102e357600080fd5b506101406102f2366004614a9f565b61086c565b34801561030357600080fd5b50610140610312366004614b9c565b6108ae565b34801561032357600080fd5b50610337610332366004614bf9565b61090d565b60405161014a929190614d30565b6101406101c2366004614b09565b34801561035f57600080fd5b5061033761036e366004614d3e565b610977565b34801561037f57600080fd5b5061014061038e366004614b9c565b6109e3565b34801561039f57600080fd5b506103b36103ae366004614dee565b610a34565b60405161014a9493929190614f16565b3480156103cf57600080fd5b506101406101c2366004614c60565b6101406103ec366004614c60565b610e18565b6000610401858585856001610e65565b9050836001600160a01b0316856001600160a01b0316336001600160a01b03167f8c9344489e325849d32f59e2ee2deb5d01934b9d495a6d85db24085ca8e55fd88685604051610452929190614d30565b60405180910390a4949350505050565b600061047f86868661047936889003880188614fc9565b86611006565b905061048e6020830183615038565b6001600160a01b0316856001600160a01b0316336001600160a01b0316600080516020615876833981519152896104c48661109b565b6104d188602001356110b5565b6040516104e093929190615055565b60405180910390a495945050505050565b60405162461bcd60e51b815260206004820152600f60248201526e1393d5081253541311535153951151608a1b60448201526000906064015b60405180910390fd5b95945050505050565b6000806000610550888888888860016110d2565b60405192955090935091506001600160a01b03808a16919089169033907f0db691c6956ae614f5038616009ba884fade551caf94d16b641a94c578841d609061059e90879087908a90614c4a565b60405180910390a4955095509592505050565b60006105c18585858560016112cb565b90506001600160a01b03808516908616337f2784d6ea8bae36a9c43f44fe6a4f8153883269c0c87a4cfd4048fd7e50a998a1866106016020880188615038565b604080519283526001600160a01b0390911660208301528101869052606001610452565b6000610633858585856114cb565b90506001600160a01b03808516908616337f09da2fc436ad394bf1327f5093ce9827d01a19b5d1f4d733361a22eefe9929d46106726020870187615038565b86602001358660405161045293929190615055565b600061069785858585600161162a565b90506106a66020830183615038565b6001600160a01b0316846001600160a01b0316336001600160a01b0316600080516020615876833981519152886106dc886110b5565b6106e58761109b565b60405161045293929190615055565b60006107048585858560016116b3565b90506001600160a01b038086169085163360008051602061582d83398151915261072d8761109b565b610736866110b5565b604051610452929190614d30565b600080600061075789898989898961189d565b60405192955090935091506001600160a01b03808b1691908a169033907f7f646a534401967ac0913451efea28d9e170ffc164efa98e3957cde363c0245f906107a7908c908c9088908b90615076565b60405180910390a496509650969350505050565b60006107cb858585856001611c3d565b9050836001600160a01b0316856001600160a01b0316336001600160a01b03167f80f0d1bdd81309f30b5d061d4a6d39b7eead7d492e68cd9a35496caf6e10e86b8685604051610452929190614d30565b600061082c858585856001611d52565b90506001600160a01b03808516908616337fb77e59c2b79297ca3a25f9eac2acee3fc1c25e074b468742f96a5d8b8cd0d172866106016020880188615038565b600061087c858585856001611f4d565b90506001600160a01b038086169085163360008051602061582d8339815191526108a5876110b5565b6107368661109b565b60006108cd868686866108c636889003880188614fc9565b6001612077565b90506001600160a01b038087169086163360008051602061582d8339815191526108f68561109b565b6108ff896110b5565b6040516104e0929190614d30565b60008061091d878787878761223f565b60405191935091506001600160a01b0387169033907f5679d08d637341ee04c1fc1dd03601a3a56736e677507260a2ade55bad840b7d90610965908b908a9087908990615076565b60405180910390a39550959350505050565b600080610988888888888888612316565b60405191935091506001600160a01b0388169033907f0208872161aa68a47020959b612dde57d89000cbd93e82e69c6fd13a9f044fa9906109d0908c908b9087908990615076565b60405180910390a3965096945050505050565b6000610a02868686866109fb36889003880188614fc9565b60016124ad565b90506001600160a01b038087169086163360008051602061582d833981519152610a2b856110b5565b6108ff8961109b565b6060808080886001600160401b03811115610a5157610a51614f8a565b604051908082528060200260200182016040528015610a8457816020015b6060815260200190600190039081610a6f5790505b50935060005b89811015610b59578a8a82818110610aa457610aa461509c565b9050602002016020810190610ab99190615038565b6001600160a01b031663ef5cfb8c8d6040518263ffffffff1660e01b8152600401610ae49190614b88565b6000604051808303816000875af1158015610b03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b2b9190810190615141565b858281518110610b3d57610b3d61509c565b602002602001018190525080610b529061518b565b9050610a8a565b50866001600160401b03811115610b7257610b72614f8a565b604051908082528060200260200182016040528015610b9b578160200160208202803683370190505b509250866001600160401b03811115610bb657610bb6614f8a565b604051908082528060200260200182016040528015610be957816020015b6060815260200190600190039081610bd45790505b50915060005b87811015610ce857888882818110610c0957610c0961509c565b9050602002016020810190610c1e9190615038565b604051637d24da4d60e01b81526001600160a01b038e8116600483015260016024830181905260448301529190911690637d24da4d906064016000604051808303816000875af1158015610c76573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c9e91908101906151a4565b858381518110610cb057610cb061509c565b60200260200101858481518110610cc957610cc961509c565b602090810291909101019190915252610ce18161518b565b9050610bef565b50846001600160401b03811115610d0157610d01614f8a565b604051908082528060200260200182016040528015610d3457816020015b6060815260200190600190039081610d1f5790505b50905060005b85811015610e0957868682818110610d5457610d5461509c565b9050602002016020810190610d699190615038565b6001600160a01b0316639262187b8d6040518263ffffffff1660e01b8152600401610d949190614b88565b6000604051808303816000875af1158015610db3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ddb9190810190615141565b828281518110610ded57610ded61509c565b602002602001018190525080610e029061518b565b9050610d3a565b50975097509750979350505050565b6000610e26858585856126e7565b90506001600160a01b03808516908616337ff586e656e1e436d9ca7c96e43cb793e47b685467d5d574a66efabb8501a333b86106726020870187615038565b600080856001600160a01b031663d94073d46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eca91906151f6565b90508215610f6b576000866001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f369190615213565b159050610f4e6001600160a01b0383163389896127f8565b8015610f6957610f696001600160a01b0388163389896127f8565b505b60405163bcb7ea5d60e01b81526001600160a01b0387169063bcb7ea5d90610f97908a90600401614b88565b6020604051808303816000875af1158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190615235565b915083821015610ffc5760405162461bcd60e51b815260040161052a9061524e565b5095945050505050565b600080856001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106b919061527c565b50509050600061107e87836001876114cb565b905061108f88888389896000612077565b98975050505050505050565b60006001600160ff1b038211156110b157600080fd5b5090565b60006110c08261109b565b6110cc906000196152c9565b92915050565b6000806000806000808a6001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611119573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113d919061527c565b604051631cf38c7b60e11b815260006004820181905293965091945092506001600160a01b038d16906339e718f69060240161018060405180830381865afa15801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b1919061534e565b90506111d26111c8836001600160a01b0316612856565b82908d8d426128bc565b9199509750955050888710156111fa5760405162461bcd60e51b815260040161052a906153ef565b871561122a576112156001600160a01b038516338e896127f8565b61122a6001600160a01b038416338e886127f8565b8b6001600160a01b0316636a6278428e6040518263ffffffff1660e01b81526004016112569190614b88565b6020604051808303816000875af1158015611275573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112999190615235565b9650888710156112bb5760405162461bcd60e51b815260040161052a9061541c565b5050505096509650969350505050565b600081156112e8576112e86001600160a01b0386163387876127f8565b6112f56020840184615038565b6001600160a01b031661130e6060850160408601615038565b6001600160a01b0316036113a9576001600160a01b03851663a2bbcf138761133c6060870160408801615038565b86602001356040518463ffffffff1660e01b815260040161135f9392919061544c565b6020604051808303816000875af115801561137e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a29190615235565b9050610533565b60006001600160a01b03861663a2bbcf13306113cb6060880160408901615038565b60016040518463ffffffff1660e01b81526004016113eb9392919061544c565b6020604051808303816000875af115801561140a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142e9190615235565b90506114566114436060860160408701615038565b826114516060880188615470565b612929565b61146b6114666020860186615038565b6129dc565b915083602001358210156114b45760405162461bcd60e51b815260206004820152601060248201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604482015260640161052a565b610ffc6114c46020860186615038565b8884612a66565b60006114e86114dd6020840184615038565b338460200135612b2f565b6114f86060830160408401615038565b6001600160a01b031661150e6020840184615038565b6001600160a01b03161461153e5761153e61152c6020840184615038565b60208401356114516060860186615470565b6115576115516060840160408501615038565b85612b96565b600061156c6114666060850160408601615038565b90506000806115816060860160408701615038565b6001600160a01b031614611596576000611598565b815b90506001600160a01b0386166320e8c56582896115bb6060890160408a01615038565b868a6040518663ffffffff1660e01b81526004016115dc94939291906154b6565b60206040518083038185885af11580156115fa573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061161f9190615235565b979650505050505050565b600080856001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561166b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168f919061527c565b5050905060006116a3828888600188611f4d565b905061108f8883838860006112cb565b604051631cf38c7b60e11b81526000600482018190529081906001600160a01b038716906339e718f69060240161018060405180830381865afa1580156116fe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611722919061534e565b9050600080876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611765573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611789919061527c565b92505091506117ac6117a3826001600160a01b0316612856565b84908942612c49565b509350858411156117f55760405162461bcd60e51b815260206004820152601360248201527232bc31b2b2b2103634b6b4ba1029a1ac9034b760691b604482015260640161052a565b8415611810576118106001600160a01b038316338a876127f8565b604080516000815260208101918290526307bb0e7160e41b9091526001600160a01b03891690637bb0e7109061184d908c908b9060248101615537565b60408051808303816000875af115801561186b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188f919061555e565b505050505095945050505050565b6000806000806000808a6001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa1580156118e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611908919061527c565b9250925092506000836001600160a01b031663b8f82b268c8c6040518363ffffffff1660e01b815260040161193e929190615582565b602060405180830381865afa15801561195b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197f9190615235565b604051631cf38c7b60e11b815260006004820181905291925081906001600160a01b038f16906339e718f69060240161018060405180830381865afa1580156119cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f0919061534e565b9050611a11611a07856001600160a01b0316612856565b8290858e426128bc565b919b509098509250505088881015611a3b5760405162461bcd60e51b815260040161052a906153ef565b611a506001600160a01b038516338f896127f8565b611a6482611a5e838e61559b565b90612c90565b96506001600160a01b038c16611b0f57611a7f8c338d612b2f565b846001600160a01b03166320e8c565888f8f8b866040518663ffffffff1660e01b8152600401611ab294939291906154b6565b60206040518083038185885af1158015611ad0573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611af59190615235565b50611b0a8c33611b058a8f6155ba565b612a66565b611b9b565b611b1a8c3389612b2f565b611b248c86612b96565b846001600160a01b03166320e8c5658e8e8a856040518563ffffffff1660e01b8152600401611b5694939291906154b6565b6020604051808303816000875af1158015611b75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b999190615235565b505b8c6001600160a01b0316636a6278428f6040518263ffffffff1660e01b8152600401611bc79190614b88565b6020604051808303816000875af1158015611be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0a9190615235565b975088881015611c2c5760405162461bcd60e51b815260040161052a9061541c565b505050505096509650969350505050565b600080856001600160a01b03166347bfac626040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca291906151f6565b90508215611cbf57611cbf6001600160a01b0382163388886127f8565b60405163db74aa1560e01b81526001600160a01b0387169063db74aa1590611ced908a9081906004016155d1565b6020604051808303816000875af1158015611d0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d309190615235565b915083821015610ffc5760405162461bcd60e51b815260040161052a906155eb565b600080856001600160a01b031663d94073d46040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db791906151f6565b90506000866001600160a01b03166347bfac626040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1d91906151f6565b90508315611ebe576000876001600160a01b0316632f13b60c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e899190615213565b159050611ea16001600160a01b038416338a8a6127f8565b8015611ebc57611ebc6001600160a01b038916338a8a6127f8565b505b60405163bcb7ea5d60e01b81526000906001600160a01b0389169063bcb7ea5d90611eed908590600401614b88565b6020604051808303816000875af1158015611f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f309190615235565b9050611f408983838960006112cb565b9998505050505050505050565b60008115611fd5576000856001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015611f95573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb9919061527c565b509150611fd390506001600160a01b0382163388886127f8565b505b6040805160008152602081019182905263d8e763c160e01b9091526001600160a01b0386169063d8e763c190612012908990889060248101615537565b60408051808303816000875af1158015612030573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612054919061555e565b509050828110156105335760405162461bcd60e51b815260040161052a9061524e565b604051631cf38c7b60e11b81526000600482018190529081906001600160a01b038816906339e718f69060240161018060405180830381865afa1580156120c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e6919061534e565b9050600080886001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015612129573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214d919061527c565b9250509150612171612167826001600160a01b0316612856565b84908a428a612cba565b5090945050868410156121965760405162461bcd60e51b815260040161052a90615618565b84156121b1576121b16001600160a01b038316338b8b6127f8565b604080516000815260208101918290526307bb0e7160e41b9091526001600160a01b038a1690637bb0e710906121ee908d90889060248101615537565b60408051808303816000875af115801561220c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612230919061555e565b50505050509695505050505050565b6000806122576001600160a01b0387163388886127f8565b6040516327fc84a360e01b81526001600160a01b038716906327fc84a390612285908a9081906004016155d1565b60408051808303816000875af11580156122a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c7919061555e565b9092509050838210156122ec5760405162461bcd60e51b815260040161052a9061524e565b8281101561230c5760405162461bcd60e51b815260040161052a90615618565b9550959350505050565b6000806000876001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015612359573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237d919061527c565b5090915061239890506001600160a01b038916338a8a6127f8565b6040516327fc84a360e01b81526001600160a01b038916906327fc84a3906123c69084908d906004016155d1565b60408051808303816000875af11580156123e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612408919061555e565b60405163a2bbcf1360e01b81529093506001600160a01b038316915063a2bbcf139061243c908c908a908a9060040161544c565b6020604051808303816000875af115801561245b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247f9190615235565b9250838210156124a15760405162461bcd60e51b815260040161052a90615618565b50965096945050505050565b604051631cf38c7b60e11b81526000600482018190529081906001600160a01b038816906339e718f69060240161018060405180830381865afa1580156124f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251c919061534e565b9050600080886001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa15801561255f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612583919061527c565b92509250506125a761259d826001600160a01b0316612856565b84908a428a612e68565b5090945050868411156125f15760405162461bcd60e51b815260206004820152601260248201527132bc31b2b2b2103634b6b4ba10282a1034b760711b604482015260640161052a565b841561260c5761260c6001600160a01b038316338b876127f8565b604080516000808252602082019283905263d8e763c160e01b9092526001600160a01b038b169063d8e763c19061264a908e90899060248101615537565b60408051808303816000875af1158015612668573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268c919061555e565b509050888110156126d95760405162461bcd60e51b81526020600482015260176024820152761194c81a5b9cdd59999a58da595b9d0814d0d6481bdd5d604a1b604482015260640161052a565b505050509695505050505050565b600080846001600160a01b03166347bfac626040518163ffffffff1660e01b8152600401602060405180830381865afa158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c91906151f6565b905061275b85826001866114cb565b5060405163db74aa1560e01b81526001600160a01b0386169063db74aa159061278a90899081906004016155d1565b6020604051808303816000875af11580156127a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cd9190615235565b9150838210156127ef5760405162461bcd60e51b815260040161052a906155eb565b50949350505050565b612850846323b872dd60e01b8585856040516024016128199392919061544c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612ff7565b50505050565b6000816001600160a01b0316631d52edc46040518163ffffffff1660e01b81526004016020604051808303816000875af1158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cc9190615235565b6000806000806000806000806128e58d8d6128d68e61109b565b6128df8e61109b565b8d6130c9565b93509350935093506128f6846132da565b9750612901836132da565b965061290c826132da565b9550612917816132da565b94505050505095509550955095915050565b612953847f0000000000000000000000000000000000000000000000000000000000000000612b96565b6129d582828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050506001600160a01b038616156129a25760006129a4565b845b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691906132e9565b5050505050565b60006001600160a01b03821615612a5f576040516370a0823160e01b81526001600160a01b038316906370a0823190612a19903090600401614b88565b602060405180830381865afa158015612a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a5a9190615235565b6110cc565b4792915050565b80600003612a7357505050565b6001600160a01b038316612b16576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612ace576040519150601f19603f3d011682016040523d82523d6000602084013e612ad3565b606091505b50509050806128505760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b604482015260640161052a565b612b2a6001600160a01b0384168383613317565b505050565b6001600160a01b038316612b7b57803414612b2a5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b604482015260640161052a565b8015612b2a57612b2a6001600160a01b0384168330846127f8565b6001600160a01b038216612ba8575050565b612bba60026001600160601b0361565b565b6001600160601b0316826001600160a01b031663dd62ed3e30846040518363ffffffff1660e01b8152600401612bf19291906155d1565b602060405180830381865afa158015612c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c329190615235565b1015612c4557612c458282600019613336565b5050565b600080600080612c638888612c5d8961109b565b88613443565b91509150612c78612c7383613510565b6132da565b9350612c83816132da565b9250505094509492505050565b6000816001612c9f8286615681565b612ca991906155ba565b612cb39190615699565b9392505050565b6000806000612cc88461351e565b612ce45760405162461bcd60e51b815260040161052a906156ad565b612d166040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b6000612d238a8a89613546565b9050600019866020015103612d44578951612d3e9082613660565b60208701525b612d4e89896136fd565b825260005b8660600151811015612e2657612d698188613709565b60208401819052612d87908390612d7f9061109b565b8d9190613768565b606085015260408401819052612d9c90613875565b60808401819052835110612e135760208301518752608080840151845191890151600092612dca9291613887565b90508015612e0d5760208401516080850151612de7908d906138ba565b612dfe612df787606001516132da565b8e906138ba565b96509650965050505050612e5d565b50612e1e565b602080840151908801525b600101612d53565b5060405162461bcd60e51b815260206004820152600b60248201526a185c1c1c9bde0819985a5b60aa1b604482015260640161052a565b955095509592505050565b6000806000612e768461351e565b612e925760405162461bcd60e51b815260040161052a906156ad565b612ed46040518060e001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b6000612ee18a8a89613546565b9050600019866020015103612f0357612efd81602001516138c6565b60208701525b612f0d89896138dd565b608083015260005b8660600151811015612e2657612f2b8188613709565b8084528b5160a0850151612f41928592916138ea565b60a0850152151560c08401819052612f5f5782516020880152612f15565b612f7082612d7f85600001516110b5565b604085015260208401819052612f85906132da565b60608401819052608084015111612fea5782516020880152606083015160808085015190890151600092612fba92909161393d565b90508015612fe45783516060850151612fd4908d906138ba565b612dfe612df787604001516132da565b50612fef565b825187525b600101612f15565b600061304c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661396b9092919063ffffffff16565b805190915015612b2a578080602001905181019061306a9190615213565b612b2a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161052a565b6000806000806000871380156130df5750600086135b61311a5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f414d4f554e545360a01b604482015260640161052a565b610100890151851061313e5760405162461bcd60e51b815260040161052a906156dc565b8860400151600003613191576103e861317561317061316b896131618d8d61397a565b612c7391906152c9565b6139b1565b61109b565b61317f9190615704565b92506103e89350869150859050613234565b885160408a0151600091906131a690896152c9565b6131b09190615743565b905060008a602001518b604001518a6131c991906152c9565b6131d39190615743565b905080821215613209578194508792508a60400151858c602001516131f891906152c9565b6132029190615743565b9350613231565b8094508893508a60400151858c6000015161322491906152c9565b61322e9190615743565b92505b50505b600083136132845760405162461bcd60e51b815260206004820152601d60248201527f494e53554646494349454e545f4c49515549444954595f4d494e544544000000604482015260640161052a565b81896020018181516132969190615771565b905250885181908a906132aa908390615771565b9052506132b78484615771565b896040018181516132c89190615771565b90525092989197509550909350915050565b6000808212156110b157600080fd5b606061330f84848460405180606001604052806029815260200161584d60299139613a21565b949350505050565b612b2a8363a9059cbb60e01b8484604051602401612819929190615582565b600080846001600160a01b031663095ea7b360e01b858560405160240161335e929190615582565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161339c91906157b2565b6000604051808303816000865af19150503d80600081146133d9576040519150601f19603f3d011682016040523d82523d6000602084013e6133de565b606091505b50915091508180156134085750805115806134085750808060200190518101906134089190615213565b6129d55760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640161052a565b60008061345586610100015184101590565b156134725760405162461bcd60e51b815260040161052a906156dc565b855184126134bb5760405162461bcd60e51b8152602060048201526016602482015275696e73756666696369656e74206c697175696469747960501b604482015260640161052a565b60006134c8878786613546565b90506000806134d8898489613768565b90925090506134e78883613b47565b94506134f38882613b47565b935061350489848a8a89898c613b74565b50505094509492505050565b60006110cc826000196152c9565b600081602001518260000151111580156110cc57505060800151670de0b6b3a7640000101590565b6135716040518060800160405280600081526020016000815260200160008152602001600081525090565b61010084015182106135955760405162461bcd60e51b815260040161052a906156dc565b6000828561010001516135a891906155ba565b90506135b48582613c33565b825260208501516135c690859061397a565b60208301528451158015906135de5750602082015115155b6136215760405162461bcd60e51b8152602060048201526014602482015273696e76616c6964206d61726b657420737461746560601b604482015260640161052a565b61363f85600001518661014001518460200151856000015185613cb2565b604083015260c08501516136539082613d22565b6060830152509392505050565b60008061368d6136888460000151856040015186606001516136829190615704565b90613d56565b613d79565b905060006136ad6136a6670de0b6b3a764000084615771565b839061418e565b905060006136cb8560200151876136c49190615771565b8390613d56565b905060006136d98288615704565b90506103e86136e7826132da565b6136f3906103e761559b565b61161f9190615699565b6000612cb383836141b4565b60008215801561371c5750604082015115155b1561372c575060408101516110cc565b602082015182511115613744575060208101516110cc565b6020820151825160029161375791615681565b6137619190615699565b90506110cc565b600080600061378a8660000151866020015187600001518860400151886141c9565b905060006137a061379b868461418e565b613510565b6060870151909150600086131561380b5760006137bd848361418e565b9050670de0b6b3a76400008112156137e75760405162461bcd60e51b815260040161052a906157ce565b6138036137fc83670de0b6b3a7640000615704565b8490613d56565b915050613838565b6138358161382181670de0b6b3a7640000615704565b61382b90856152c9565b61379b9190615743565b90505b606461384889610120015161109b565b61385290836152c9565b61385c9190615743565b93506138688183615704565b9450505050935093915050565b60008082136110b157612a5a826157fd565b600082841115801561330f57506138af836138aa84670de0b6b3a76400006155ba565b614293565b909310159392505050565b6000612cb383836142b3565b600060016138d3836132da565b6110cc91906155ba565b60008261330f81846142c8565b6000808284116138ff57506001905081613934565b60006139148661390e876110b5565b896142ea565b90506000811261392b576001859250925050613934565b60008492509250505b94509492505050565b600082841015801561330f5750613960836138aa84670de0b6b3a7640000615681565b909311159392505050565b606061330f8484600085613a21565b6000806000831261398c576001613990565b6000195b90506139a7613170856139a286613875565b6141b4565b61330f90826152c9565b60006003821115613a1257508060006139cb600283615699565b6139d6906001615681565b90505b81811015613a0c579050806002816139f18186615699565b6139fb9190615681565b613a059190615699565b90506139d9565b50919050565b8115613a1c575060015b919050565b606082471015613a825760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161052a565b6001600160a01b0385163b613ad95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161052a565b600080866001600160a01b03168587604051613af591906157b2565b60006040518083038185875af1925050503d8060008114613b32576040519150601f19603f3d011682016040523d82523d6000602084013e613b37565b606091505b509150915061161f8282866143f7565b60008060008312613b59576001613b5d565b6000195b90506139a761317085613b6f86613875565b6142b3565b600081886101000151613b8791906155ba565b61016089018390528851909150613b9e9086614430565b8852613bb8613bad8486615771565b60208a015190614430565b602089018190528851613bdd91613bd090899061397a565b895160408b015185614477565b6101408901819052600003613c295760405162461bcd60e51b81526020600482015260126024820152717a65726f206c6e496d706c6965645261746560701b604482015260640161052a565b5050505050505050565b6000613c3e8261109b565b613c506131706201518061016d61559b565b8460a00151613c5f91906152c9565b613c699190615743565b9050600081136110cc5760405162461bcd60e51b8152602060048201526014602482015273726174655363616c617220756e646572666c6f7760601b604482015260640161052a565b600080613cbf8684613d22565b9050670de0b6b3a7640000811215613ce95760405162461bcd60e51b815260040161052a906157ce565b6000613cff613cf8878a615771565b899061418e565b90506000613d0c826144be565b9050613d18818761418e565b611f409084615704565b600080613d346201518061016d61559b565b613d3e848661559b565b613d489190615699565b905061330f6136888261109b565b600080613d6383856152c9565b9050670de0b6b3a7640000815b05949350505050565b6000680238fd42c5cf03ffff198212158015613d9e575068070c1cc73b00c800008213155b613ddd5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640161052a565b6000821215613e1557613df282600003613d79565b6a0c097ce7bc90715b34b9f160241b81613e0e57613e0e615645565b0592915050565b60006806f05b59d3b20000008312613e5357506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b613e89565b6803782dace9d90000008312613e8557506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380613e89565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac620000008412613ed95768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412613f15576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b188000008412613f4f57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412613f89576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac62000008412613fc257680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d631000008412613ffb5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412614034576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c40000841261406d5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b6000806141a3670de0b6b3a7640000856152c9565b9050828181613d7057613d70615645565b6000670de0b6b3a7640000612ca9848461559b565b6000806141d68784614430565b905060006141e76136a6888a615771565b9050670d529ae9e860000081131561423b5760405162461bcd60e51b81526020600482015260176024820152761b585e081c1c9bdc1bdc9d1a5bdb88195e18d959591959604a1b604482015260640161052a565b6000614246826144be565b905085614253828961418e565b61425d9190615771565b9350670de0b6b3a76400008412156142875760405162461bcd60e51b815260040161052a906157ce565b50505095945050505050565b6000806142a0838561559b565b670de0b6b3a76400009004949350505050565b600082612ca9670de0b6b3a76400008461559b565b6000670de0b6b3a76400006001816142e0868661559b565b612c9f9190615681565b6000806142f6846157fd565b9050600081846020015161430a9190615704565b905060006143188784615771565b905060008213801561432a5750600081135b61436b5760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a59081c1d151bd3585c9ad95d60721b604482015260640161052a565b600061439961437a84846152c9565b6020880151614389908b615771565b61439390876152c9565b9061418e565b905060006143af6143aa848661418e565b614539565b87519091506000906143ca90670de0b6b3a76400009061418e565b90506143da816136828486615704565b88604001516143e99190615704565b9a9950505050505050505050565b60608315614406575081612cb3565b8251156144165782518084602001fd5b8160405162461bcd60e51b815260040161052a9190615819565b60008183121561446d5760405162461bcd60e51b81526020600482015260086024820152676e6567617469766560c01b604482015260640161052a565b612cb38284615704565b6000806144888787878760006141c9565b90506000614498612c7383614539565b9050836144aa6201518061016d61559b565b6144b4908361559b565b61108f9190615699565b6000670de0b6b3a764000082036145145760405162461bcd60e51b815260206004820152601a60248201527970726f706f7274696f6e206d757374206e6f74206265206f6e6560301b604482015260640161052a565b600061453261452b84670de0b6b3a7640000615704565b849061418e565b9050612cb3815b600080821361457a5760405162461bcd60e51b815260206004820152600d60248201526c6f7574206f6620626f756e647360981b604482015260640161052a565b670c7d713b49da0000821380156145985750670f43fc2c04ee000082125b156145bc57670de0b6b3a76400006145af836145c5565b81613e0e57613e0e615645565b6110cc826146e4565b670de0b6b3a7640000026000806a0c097ce7bc90715b34b9f160241b808401906ec097ce7bc90715b34b9f0fffffffff198501028161460657614606615645565b05905060006a0c097ce7bc90715b34b9f160241b82800205905081806a0c097ce7bc90715b34b9f160241b81840205915060038205016a0c097ce7bc90715b34b9f160241b82840205915060058205016a0c097ce7bc90715b34b9f160241b82840205915060078205016a0c097ce7bc90715b34b9f160241b82840205915060098205016a0c097ce7bc90715b34b9f160241b828402059150600b8205016a0c097ce7bc90715b34b9f160241b828402059150600d8205016a0c097ce7bc90715b34b9f160241b828402059150600f82050160020295945050505050565b6000670de0b6b3a76400008212156147255761471c826a0c097ce7bc90715b34b9f160241b8161471657614716615645565b056146e4565b60000392915050565b6000775803bcc5cb9634ba4cfb2213f784019318ed4dcb6017880f60361b83126147705772195e54c5dd42177f53a27172fa9ec63026282760241b830592506806f05b59d3b2000000015b6f8bcc0026baae9e45e470190267a230cf60191b83126147a7576b1425982cf597cd205cef7380830592506803782dace9d9000000015b606492830292026e01855144814a7ff805980ff008400083126147ef576e01855144814a7ff805980ff008400068056bc75e2d63100000840205925068ad78ebc5ac62000000015b6b02df0ab5a80a22c61ab5a700831261482a576b02df0ab5a80a22c61ab5a70068056bc75e2d6310000084020592506856bc75e2d631000000015b693f1fce3da636ea5cf850831261486157693f1fce3da636ea5cf85068056bc75e2d631000008402059250682b5e3af16b18800000015b690127fa27722cc06cc5e2831261489857690127fa27722cc06cc5e268056bc75e2d6310000084020592506815af1d78b58c400000015b68280e60114edb805d0383126148cd5768280e60114edb805d0368056bc75e2d631000008402059250680ad78ebc5ac6200000015b680ebc5fb4174612111083126148f857680ebc5fb4174612111068056bc75e2d631000009384020592015b6808f00f760a4b2db55d831261492d576808f00f760a4b2db55d68056bc75e2d6310000084020592506802b5e3af16b1880000015b6806f5f17757889379378312614962576806f5f177578893793768056bc75e2d63100000840205925068015af1d78b58c40000015b6806248f33704b2866038312614996576806248f33704b28660368056bc75e2d63100000840205925067ad78ebc5ac620000015b6805c548670b9510e7ac83126149ca576805c548670b9510e7ac68056bc75e2d6310000084020592506756bc75e2d6310000015b600068056bc75e2d63100000840168056bc75e2d6310000080860302816149f3576149f3615645565b059050600068056bc75e2d63100000828002059050818068056bc75e2d63100000818402059150600382050168056bc75e2d63100000828402059150600582050168056bc75e2d63100000828402059150600782050168056bc75e2d63100000828402059150600982050168056bc75e2d63100000828402059150600b820501600202606485820105979650505050505050565b6001600160a01b0381168114614a9c57600080fd5b50565b60008060008060808587031215614ab557600080fd5b8435614ac081614a87565b93506020850135614ad081614a87565b93969395505050506040820135916060013590565b600060a08284031215613a0c57600080fd5b600060808284031215613a0c57600080fd5b60008060008060006101208688031215614b2257600080fd5b8535614b2d81614a87565b94506020860135614b3d81614a87565b935060408601359250614b538760608801614ae5565b91506101008601356001600160401b03811115614b6f57600080fd5b614b7b88828901614af7565b9150509295509295909350565b6001600160a01b0391909116815260200190565b60008060008060006101208688031215614bb557600080fd5b8535614bc081614a87565b94506020860135614bd081614a87565b93506040860135925060608601359150614bed8760808801614ae5565b90509295509295909350565b600080600080600060a08688031215614c1157600080fd5b8535614c1c81614a87565b94506020860135614c2c81614a87565b94979496505050506040830135926060810135926080909101359150565b9283526020830191909152604082015260600190565b60008060008060808587031215614c7657600080fd5b8435614c8181614a87565b93506020850135614c9181614a87565b92506040850135915060608501356001600160401b03811115614cb357600080fd5b614cbf87828801614af7565b91505092959194509250565b60008060008060008060c08789031215614ce457600080fd5b8635614cef81614a87565b95506020870135614cff81614a87565b94506040870135614d0f81614a87565b959894975094956060810135955060808101359460a0909101359350915050565b918252602082015260400190565b60008060008060008060c08789031215614d5757600080fd5b8635614d6281614a87565b95506020870135614d7281614a87565b9450604087013593506060870135614d8981614a87565b9598949750929560808101359460a0909101359350915050565b60008083601f840112614db557600080fd5b5081356001600160401b03811115614dcc57600080fd5b6020830191508360208260051b8501011115614de757600080fd5b9250929050565b60008060008060008060006080888a031215614e0957600080fd5b8735614e1481614a87565b965060208801356001600160401b0380821115614e3057600080fd5b614e3c8b838c01614da3565b909850965060408a0135915080821115614e5557600080fd5b614e618b838c01614da3565b909650945060608a0135915080821115614e7a57600080fd5b50614e878a828b01614da3565b989b979a50959850939692959293505050565b600081518084526020808501808196508360051b810191508286016000805b86811015614f08578385038a52825180518087529087019087870190845b81811015614ef357835183529289019291890191600101614ed7565b50509a87019a95505091850191600101614eb9565b509298975050505050505050565b608081526000614f296080830187614e9a565b82810360208481019190915286518083528782019282019060005b81811015614f6057845183529383019391830191600101614f44565b50508481036040860152614f748188614e9a565b92505050828103606084015261161f8185614e9a565b634e487b7160e01b600052604160045260246000fd5b60405161018081016001600160401b0381118282101715614fc357614fc3614f8a565b60405290565b600060a08284031215614fdb57600080fd5b60405160a081016001600160401b0381118282101715614ffd57614ffd614f8a565b806040525082358152602083013560208201526040830135604082015260608301356060820152608083013560808201528091505092915050565b60006020828403121561504a57600080fd5b8135612cb381614a87565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600082601f8301126150c357600080fd5b815160206001600160401b03808311156150df576150df614f8a565b8260051b604051601f19603f8301168101818110848211171561510457615104614f8a565b60405293845285810183019383810192508785111561512257600080fd5b83870191505b8482101561161f57815183529183019190830190615128565b60006020828403121561515357600080fd5b81516001600160401b0381111561516957600080fd5b61330f848285016150b2565b634e487b7160e01b600052601160045260246000fd5b60006001820161519d5761519d615175565b5060010190565b600080604083850312156151b757600080fd5b825160208401519092506001600160401b038111156151d557600080fd5b6151e1858286016150b2565b9150509250929050565b8051613a1c81614a87565b60006020828403121561520857600080fd5b8151612cb381614a87565b60006020828403121561522557600080fd5b81518015158114612cb357600080fd5b60006020828403121561524757600080fd5b5051919050565b6020808252601490820152731a5b9cdd59999a58da595b9d0814d0d6481bdd5d60621b604082015260600190565b60008060006060848603121561529157600080fd5b835161529c81614a87565b60208501519093506152ad81614a87565b60408501519092506152be81614a87565b809150509250925092565b60006001600160ff1b03818413828413808216868404861116156152ef576152ef615175565b600160ff1b600087128281168783058912161561530e5761530e615175565b6000871292508782058712848416161561532a5761532a615175565b8785058712818416161561534057615340615175565b505050929093029392505050565b6000610180828403121561536157600080fd5b615369614fa0565b82518152602083015160208201526040830151604082015260608301516060820152615397608084016151eb565b608082015260a0838101519082015260c0808401519082015260e08084015190820152610100808401519082015261012080840151908201526101408084015190820152610160928301519281019290925250919050565b6020808252601390820152721a5b9cdd59999a58da595b9d081b1c081bdd5d606a1b604082015260600190565b6020808252601690820152751194c81a5b9cdd59999a58da595b9d081b1c081bdd5d60521b604082015260600190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000808335601e1984360301811261548757600080fd5b8301803591506001600160401b038211156154a157600080fd5b602001915036819003821315614de757600080fd5b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b60005b838110156154fa5781810151838201526020016154e2565b838111156128505750506000910152565b600081518084526155238160208601602086016154df565b601f01601f19169290920160200192915050565b60018060a01b0384168152826020820152606060408201526000610533606083018461550b565b6000806040838503121561557157600080fd5b505080516020909101519092909150565b6001600160a01b03929092168252602082015260400190565b60008160001904831182151516156155b5576155b5615175565b500290565b6000828210156155cc576155cc615175565b500390565b6001600160a01b0392831681529116602082015260400190565b6020808252601390820152721a5b9cdd59999a58da595b9d081416481bdd5d606a1b604082015260600190565b6020808252601390820152721a5b9cdd59999a58da595b9d081415081bdd5d606a1b604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b038381168061567557615675615645565b92169190910492915050565b6000821982111561569457615694615175565b500190565b6000826156a8576156a8615645565b500490565b6020808252601590820152740d2dcecc2d8d2c840c2e0e0e4def040c2e0e0e4def605b1b604082015260600190565b6020808252600e908201526d1b585c9ad95d08195e1c1a5c995960921b604082015260600190565b60008083128015600160ff1b85018412161561572257615722615175565b6001600160ff1b038401831381161561573d5761573d615175565b50500390565b60008261575257615752615645565b600160ff1b82146000198414161561576c5761576c615175565b500590565b600080821280156001600160ff1b038490038513161561579357615793615175565b600160ff1b83900384128116156157ac576157ac615175565b50500190565b600082516157c48184602087016154df565b9190910192915050565b60208082526015908201527465786368616e676520726174652062656c6f77203160581b604082015260600190565b6000600160ff1b820161581257615812615175565b5060000390565b602081526000612cb3602083018461550b56fec63e731085b5bdd8931c46f55e56e122352a12d4d2cd895116684fbe1292b127416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c656478e08a1e3c7a72f78d2c8ad8254052914bad73f8c681dbdc4267d0bb8ac9423ca26469706673582212201fb0378f9b72e47eaff4d0f22d78ad7a25dd20db916e3c56c819cc7302074b2464736f6c634300080f0033";
|
|
1803
|
+
|
|
1804
|
+
type ActionCoreConstructorParams =
|
|
1805
|
+
| [signer?: Signer]
|
|
1806
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1807
|
+
|
|
1808
|
+
const isSuperArgs = (
|
|
1809
|
+
xs: ActionCoreConstructorParams
|
|
1810
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1811
|
+
|
|
1812
|
+
export class ActionCore__factory extends ContractFactory {
|
|
1813
|
+
constructor(...args: ActionCoreConstructorParams) {
|
|
1814
|
+
if (isSuperArgs(args)) {
|
|
1815
|
+
super(...args);
|
|
1816
|
+
} else {
|
|
1817
|
+
super(_abi, _bytecode, args[0]);
|
|
1818
|
+
}
|
|
1819
|
+
this.contractName = "ActionCore";
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
deploy(
|
|
1823
|
+
_kyberSwapRouter: string,
|
|
1824
|
+
_marketFactory: string,
|
|
1825
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1826
|
+
): Promise<ActionCore> {
|
|
1827
|
+
return super.deploy(
|
|
1828
|
+
_kyberSwapRouter,
|
|
1829
|
+
_marketFactory,
|
|
1830
|
+
overrides || {}
|
|
1831
|
+
) as Promise<ActionCore>;
|
|
1832
|
+
}
|
|
1833
|
+
getDeployTransaction(
|
|
1834
|
+
_kyberSwapRouter: string,
|
|
1835
|
+
_marketFactory: string,
|
|
1836
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1837
|
+
): TransactionRequest {
|
|
1838
|
+
return super.getDeployTransaction(
|
|
1839
|
+
_kyberSwapRouter,
|
|
1840
|
+
_marketFactory,
|
|
1841
|
+
overrides || {}
|
|
1842
|
+
);
|
|
1843
|
+
}
|
|
1844
|
+
attach(address: string): ActionCore {
|
|
1845
|
+
return super.attach(address) as ActionCore;
|
|
1846
|
+
}
|
|
1847
|
+
connect(signer: Signer): ActionCore__factory {
|
|
1848
|
+
return super.connect(signer) as ActionCore__factory;
|
|
1849
|
+
}
|
|
1850
|
+
static readonly contractName: "ActionCore";
|
|
1851
|
+
public readonly contractName: "ActionCore";
|
|
1852
|
+
static readonly bytecode = _bytecode;
|
|
1853
|
+
static readonly abi = _abi;
|
|
1854
|
+
static createInterface(): ActionCoreInterface {
|
|
1855
|
+
return new utils.Interface(_abi) as ActionCoreInterface;
|
|
1856
|
+
}
|
|
1857
|
+
static connect(
|
|
1858
|
+
address: string,
|
|
1859
|
+
signerOrProvider: Signer | Provider
|
|
1860
|
+
): ActionCore {
|
|
1861
|
+
return new Contract(address, _abi, signerOrProvider) as ActionCore;
|
|
1862
|
+
}
|
|
1863
|
+
}
|