@pendle/core-v2 1.3.0-mainnet → 1.4.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/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +2 -2
- 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/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +2 -2
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +1 -1
- package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +2 -2
- 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/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/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/StEthHelper.sol/StEthHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/StEthHelper.sol/StEthHelper.json +1 -41
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ape/sAPE.sol/sAPE.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAura3EthSY.sol/PendleAura3EthSY.json +2 -41
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraCbethWstethSY.sol/PendleAuraCbethWstethSY.json +2 -41
- 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/PendleAuraWethWstethSY.sol/PendleAuraWethWstethSY.json +2 -41
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStableMath.sol/ComposableStableMath.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/ComposableStable/ComposableStablePreview.sol/ComposableStablePreview.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/PendleConvexLPSY.sol/PendleConvexLPSY.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/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/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.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/IRewards.sol/IRewards.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IApeStaking.sol/IApeStaking.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.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/IPFeeDistributor.sol/IPFeeDistributor.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.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/offchain-helpers/BulkSellerOffchain.sol/BulkSellerOffchain.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.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 +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleMulticall.sol/PendleMulticall.json +47 -0
- package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.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/ActionSwapPTYT.sol/ActionSwapPTYT.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/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.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/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/AggregationRouterHelper.sol/AggregationRouterHelper.json +2 -2
- package/build/artifacts/contracts/router/kyberswap/IAggregatorRouterHelper.sol/IAggregationRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/KyberSwapHelper.sol/KyberSwapHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol/ScaleDataHelperEthereum1.json +10 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol/IAggregationExecutor.json +65 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol/IExecutorHelperEthereum1.json +359 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IHashflow.sol/IHashflow.json +101 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol/IMetaAggregationRouter.json +183 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.dbg.json +4 -0
- package/build/artifacts/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol/IMetaAggregationRouterV2.json +215 -0
- package/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol +7 -9
- package/contracts/core/StandardizedYield/StEthHelper.sol +4 -4
- package/contracts/offchain-helpers/PendleMulticall.sol +26 -0
- package/contracts/router/kyberswap/AggregationRouterHelper.sol +182 -206
- package/contracts/router/kyberswap/ScaleDataHelperEthereum1.sol +134 -0
- package/contracts/router/kyberswap/interfaces/IAggregationExecutor.sol +17 -0
- package/contracts/router/kyberswap/interfaces/IExecutorHelperEthereum1.sol +185 -0
- package/contracts/router/kyberswap/interfaces/IHashflow.sol +30 -0
- package/contracts/router/kyberswap/interfaces/IMetaAggregationRouter.sol +33 -0
- package/contracts/router/kyberswap/interfaces/IMetaAggregationRouterV2.sol +42 -0
- package/deployments/1-markets/BALANCER-LP-AURA-WSTETH-WETH-JUN272024.json +10 -0
- package/deployments/1-offchain-helper.json +4 -0
- package/package.json +1 -1
- package/typechain-types/GMXPreviewHelper.ts +81 -0
- package/typechain-types/I1inchAggregationRouterV5.ts +257 -0
- package/typechain-types/IAggregationExecutor.ts +182 -0
- package/typechain-types/IExecutorHelperEthereum1.ts +599 -0
- package/typechain-types/IGMXVault.ts +494 -0
- package/typechain-types/IGlpManager.ts +115 -0
- package/typechain-types/IHashflow.ts +159 -0
- package/typechain-types/IKyberSwapAggregationRouterHelper.ts +109 -0
- package/typechain-types/IMetaAggregationRouter.ts +213 -0
- package/typechain-types/IMetaAggregationRouterV2.ts +221 -0
- package/typechain-types/IPYieldTokenV2.ts +915 -0
- package/typechain-types/IRewardRouterV2.ts +303 -0
- package/typechain-types/ISwapAggregator.ts +124 -0
- package/typechain-types/IVaultPriceFeed.ts +114 -0
- package/typechain-types/InterestManagerYTV2.ts +124 -0
- package/typechain-types/PendleAura3EthSY.ts +0 -39
- package/typechain-types/PendleAuraCbethWstethSY.ts +0 -39
- package/typechain-types/PendleAuraWethWstethSY.ts +0 -39
- package/typechain-types/PendleGlpSY.ts +1396 -0
- package/typechain-types/PendleMulticall.ts +110 -0
- package/typechain-types/PendlePrincipalTokenV2.ts +614 -0
- package/typechain-types/PendleYieldContractFactoryV2.ts +801 -0
- package/typechain-types/PendleYieldTokenV2.ts +1304 -0
- package/typechain-types/SwapAggregator.ts +406 -0
- package/typechain-types/factories/AggregationRouterHelper__factory.ts +1 -1
- package/typechain-types/factories/GMXPreviewHelper__factory.ts +39 -0
- package/typechain-types/factories/I1inchAggregationRouterV5__factory.ts +179 -0
- package/typechain-types/factories/IAggregationExecutor__factory.ts +84 -0
- package/typechain-types/factories/IExecutorHelperEthereum1__factory.ts +378 -0
- package/typechain-types/factories/IGMXVault__factory.ts +320 -0
- package/typechain-types/factories/IGlpManager__factory.ts +55 -0
- package/typechain-types/factories/IHashflow__factory.ts +113 -0
- package/typechain-types/factories/IKyberSwapAggregationRouterHelper__factory.ts +56 -0
- package/typechain-types/factories/IMetaAggregationRouterV2__factory.ts +234 -0
- package/typechain-types/factories/IMetaAggregationRouter__factory.ts +202 -0
- package/typechain-types/factories/IPYieldTokenV2__factory.ts +702 -0
- package/typechain-types/factories/IRewardRouterV2__factory.ts +180 -0
- package/typechain-types/factories/ISwapAggregator__factory.ts +66 -0
- package/typechain-types/factories/IVaultPriceFeed__factory.ts +60 -0
- package/typechain-types/factories/InterestManagerYTV2__factory.ts +63 -0
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1 -40
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1 -40
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1 -40
- package/typechain-types/factories/PendleGlpSY__factory.ts +1216 -0
- package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleMulticall__factory.ts +100 -0
- package/typechain-types/factories/PendlePrincipalTokenV2__factory.ts +564 -0
- package/typechain-types/factories/PendleYieldContractFactoryV2__factory.ts +674 -0
- package/typechain-types/factories/PendleYieldTokenV2__factory.ts +1122 -0
- package/typechain-types/factories/SwapAggregator__factory.ts +309 -0
- package/typechain-types/hardhat.d.ts +103 -13
- package/typechain-types/index.ts +24 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.dbg.json +0 -4
- package/build/artifacts/contracts/router/kyberswap/IMultihopRouterEthereum.sol/IMultihopRouterEthereum.json +0 -136
- package/contracts/router/kyberswap/IMultihopRouterEthereum.sol +0 -141
|
@@ -0,0 +1,1216 @@
|
|
|
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 { PendleGlpSY, PendleGlpSYInterface } from "../PendleGlpSY";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "string",
|
|
13
|
+
name: "_name",
|
|
14
|
+
type: "string",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "string",
|
|
18
|
+
name: "_symbol",
|
|
19
|
+
type: "string",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_glp",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "_fsGlp",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "address",
|
|
33
|
+
name: "_stakedGlp",
|
|
34
|
+
type: "address",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_rewardRouter",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
internalType: "address",
|
|
43
|
+
name: "_glpRouter",
|
|
44
|
+
type: "address",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "_vault",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
stateMutability: "nonpayable",
|
|
53
|
+
type: "constructor",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [
|
|
57
|
+
{
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "actualSharesOut",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "requiredSharesOut",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "SYInsufficientSharesOut",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: "uint256",
|
|
75
|
+
name: "actualTokenOut",
|
|
76
|
+
type: "uint256",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "requiredTokenOut",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "SYInsufficientTokenOut",
|
|
85
|
+
type: "error",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "token",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
name: "SYInvalidTokenIn",
|
|
96
|
+
type: "error",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [
|
|
100
|
+
{
|
|
101
|
+
internalType: "address",
|
|
102
|
+
name: "token",
|
|
103
|
+
type: "address",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
name: "SYInvalidTokenOut",
|
|
107
|
+
type: "error",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
inputs: [],
|
|
111
|
+
name: "SYZeroDeposit",
|
|
112
|
+
type: "error",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "SYZeroRedeem",
|
|
117
|
+
type: "error",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
anonymous: false,
|
|
121
|
+
inputs: [
|
|
122
|
+
{
|
|
123
|
+
indexed: true,
|
|
124
|
+
internalType: "address",
|
|
125
|
+
name: "owner",
|
|
126
|
+
type: "address",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "spender",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
indexed: false,
|
|
136
|
+
internalType: "uint256",
|
|
137
|
+
name: "value",
|
|
138
|
+
type: "uint256",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "Approval",
|
|
142
|
+
type: "event",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
anonymous: false,
|
|
146
|
+
inputs: [
|
|
147
|
+
{
|
|
148
|
+
indexed: true,
|
|
149
|
+
internalType: "address",
|
|
150
|
+
name: "user",
|
|
151
|
+
type: "address",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
indexed: false,
|
|
155
|
+
internalType: "address[]",
|
|
156
|
+
name: "rewardTokens",
|
|
157
|
+
type: "address[]",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
indexed: false,
|
|
161
|
+
internalType: "uint256[]",
|
|
162
|
+
name: "rewardAmounts",
|
|
163
|
+
type: "uint256[]",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
name: "ClaimRewards",
|
|
167
|
+
type: "event",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
anonymous: false,
|
|
171
|
+
inputs: [
|
|
172
|
+
{
|
|
173
|
+
indexed: true,
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "caller",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
indexed: true,
|
|
180
|
+
internalType: "address",
|
|
181
|
+
name: "receiver",
|
|
182
|
+
type: "address",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
indexed: true,
|
|
186
|
+
internalType: "address",
|
|
187
|
+
name: "tokenIn",
|
|
188
|
+
type: "address",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
indexed: false,
|
|
192
|
+
internalType: "uint256",
|
|
193
|
+
name: "amountDeposited",
|
|
194
|
+
type: "uint256",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
indexed: false,
|
|
198
|
+
internalType: "uint256",
|
|
199
|
+
name: "amountSyOut",
|
|
200
|
+
type: "uint256",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "Deposit",
|
|
204
|
+
type: "event",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
anonymous: false,
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
indexed: false,
|
|
211
|
+
internalType: "uint8",
|
|
212
|
+
name: "version",
|
|
213
|
+
type: "uint8",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
name: "Initialized",
|
|
217
|
+
type: "event",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
anonymous: false,
|
|
221
|
+
inputs: [
|
|
222
|
+
{
|
|
223
|
+
indexed: true,
|
|
224
|
+
internalType: "address",
|
|
225
|
+
name: "previousOwner",
|
|
226
|
+
type: "address",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
indexed: true,
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "newOwner",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
name: "OwnershipTransferred",
|
|
236
|
+
type: "event",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
anonymous: false,
|
|
240
|
+
inputs: [
|
|
241
|
+
{
|
|
242
|
+
indexed: false,
|
|
243
|
+
internalType: "address",
|
|
244
|
+
name: "account",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
],
|
|
248
|
+
name: "Paused",
|
|
249
|
+
type: "event",
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
anonymous: false,
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
indexed: true,
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "caller",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
indexed: true,
|
|
262
|
+
internalType: "address",
|
|
263
|
+
name: "receiver",
|
|
264
|
+
type: "address",
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
indexed: true,
|
|
268
|
+
internalType: "address",
|
|
269
|
+
name: "tokenOut",
|
|
270
|
+
type: "address",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
indexed: false,
|
|
274
|
+
internalType: "uint256",
|
|
275
|
+
name: "amountSyToRedeem",
|
|
276
|
+
type: "uint256",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
indexed: false,
|
|
280
|
+
internalType: "uint256",
|
|
281
|
+
name: "amountTokenOut",
|
|
282
|
+
type: "uint256",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
name: "Redeem",
|
|
286
|
+
type: "event",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
anonymous: false,
|
|
290
|
+
inputs: [
|
|
291
|
+
{
|
|
292
|
+
indexed: true,
|
|
293
|
+
internalType: "address",
|
|
294
|
+
name: "from",
|
|
295
|
+
type: "address",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
indexed: true,
|
|
299
|
+
internalType: "address",
|
|
300
|
+
name: "to",
|
|
301
|
+
type: "address",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
indexed: false,
|
|
305
|
+
internalType: "uint256",
|
|
306
|
+
name: "value",
|
|
307
|
+
type: "uint256",
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
name: "Transfer",
|
|
311
|
+
type: "event",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
anonymous: false,
|
|
315
|
+
inputs: [
|
|
316
|
+
{
|
|
317
|
+
indexed: false,
|
|
318
|
+
internalType: "address",
|
|
319
|
+
name: "account",
|
|
320
|
+
type: "address",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
name: "Unpaused",
|
|
324
|
+
type: "event",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [],
|
|
328
|
+
name: "DOMAIN_SEPARATOR",
|
|
329
|
+
outputs: [
|
|
330
|
+
{
|
|
331
|
+
internalType: "bytes32",
|
|
332
|
+
name: "",
|
|
333
|
+
type: "bytes32",
|
|
334
|
+
},
|
|
335
|
+
],
|
|
336
|
+
stateMutability: "view",
|
|
337
|
+
type: "function",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
inputs: [
|
|
341
|
+
{
|
|
342
|
+
internalType: "address",
|
|
343
|
+
name: "user",
|
|
344
|
+
type: "address",
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
name: "accruedRewards",
|
|
348
|
+
outputs: [
|
|
349
|
+
{
|
|
350
|
+
internalType: "uint256[]",
|
|
351
|
+
name: "rewardAmounts",
|
|
352
|
+
type: "uint256[]",
|
|
353
|
+
},
|
|
354
|
+
],
|
|
355
|
+
stateMutability: "view",
|
|
356
|
+
type: "function",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
inputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: "address",
|
|
362
|
+
name: "owner",
|
|
363
|
+
type: "address",
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
internalType: "address",
|
|
367
|
+
name: "spender",
|
|
368
|
+
type: "address",
|
|
369
|
+
},
|
|
370
|
+
],
|
|
371
|
+
name: "allowance",
|
|
372
|
+
outputs: [
|
|
373
|
+
{
|
|
374
|
+
internalType: "uint256",
|
|
375
|
+
name: "",
|
|
376
|
+
type: "uint256",
|
|
377
|
+
},
|
|
378
|
+
],
|
|
379
|
+
stateMutability: "view",
|
|
380
|
+
type: "function",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [
|
|
384
|
+
{
|
|
385
|
+
internalType: "address",
|
|
386
|
+
name: "spender",
|
|
387
|
+
type: "address",
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
internalType: "uint256",
|
|
391
|
+
name: "amount",
|
|
392
|
+
type: "uint256",
|
|
393
|
+
},
|
|
394
|
+
],
|
|
395
|
+
name: "approve",
|
|
396
|
+
outputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "bool",
|
|
399
|
+
name: "",
|
|
400
|
+
type: "bool",
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
stateMutability: "nonpayable",
|
|
404
|
+
type: "function",
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
inputs: [],
|
|
408
|
+
name: "assetInfo",
|
|
409
|
+
outputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
412
|
+
name: "assetType",
|
|
413
|
+
type: "uint8",
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
internalType: "address",
|
|
417
|
+
name: "assetAddress",
|
|
418
|
+
type: "address",
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
internalType: "uint8",
|
|
422
|
+
name: "assetDecimals",
|
|
423
|
+
type: "uint8",
|
|
424
|
+
},
|
|
425
|
+
],
|
|
426
|
+
stateMutability: "view",
|
|
427
|
+
type: "function",
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
inputs: [
|
|
431
|
+
{
|
|
432
|
+
internalType: "address",
|
|
433
|
+
name: "account",
|
|
434
|
+
type: "address",
|
|
435
|
+
},
|
|
436
|
+
],
|
|
437
|
+
name: "balanceOf",
|
|
438
|
+
outputs: [
|
|
439
|
+
{
|
|
440
|
+
internalType: "uint256",
|
|
441
|
+
name: "",
|
|
442
|
+
type: "uint256",
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
stateMutability: "view",
|
|
446
|
+
type: "function",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
inputs: [],
|
|
450
|
+
name: "claimOwnership",
|
|
451
|
+
outputs: [],
|
|
452
|
+
stateMutability: "nonpayable",
|
|
453
|
+
type: "function",
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
inputs: [
|
|
457
|
+
{
|
|
458
|
+
internalType: "address",
|
|
459
|
+
name: "user",
|
|
460
|
+
type: "address",
|
|
461
|
+
},
|
|
462
|
+
],
|
|
463
|
+
name: "claimRewards",
|
|
464
|
+
outputs: [
|
|
465
|
+
{
|
|
466
|
+
internalType: "uint256[]",
|
|
467
|
+
name: "rewardAmounts",
|
|
468
|
+
type: "uint256[]",
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
stateMutability: "nonpayable",
|
|
472
|
+
type: "function",
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
inputs: [],
|
|
476
|
+
name: "decimals",
|
|
477
|
+
outputs: [
|
|
478
|
+
{
|
|
479
|
+
internalType: "uint8",
|
|
480
|
+
name: "",
|
|
481
|
+
type: "uint8",
|
|
482
|
+
},
|
|
483
|
+
],
|
|
484
|
+
stateMutability: "view",
|
|
485
|
+
type: "function",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
inputs: [
|
|
489
|
+
{
|
|
490
|
+
internalType: "address",
|
|
491
|
+
name: "receiver",
|
|
492
|
+
type: "address",
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
internalType: "address",
|
|
496
|
+
name: "tokenIn",
|
|
497
|
+
type: "address",
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
name: "amountTokenToDeposit",
|
|
502
|
+
type: "uint256",
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
internalType: "uint256",
|
|
506
|
+
name: "minSharesOut",
|
|
507
|
+
type: "uint256",
|
|
508
|
+
},
|
|
509
|
+
],
|
|
510
|
+
name: "deposit",
|
|
511
|
+
outputs: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "uint256",
|
|
514
|
+
name: "amountSharesOut",
|
|
515
|
+
type: "uint256",
|
|
516
|
+
},
|
|
517
|
+
],
|
|
518
|
+
stateMutability: "payable",
|
|
519
|
+
type: "function",
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
inputs: [],
|
|
523
|
+
name: "exchangeRate",
|
|
524
|
+
outputs: [
|
|
525
|
+
{
|
|
526
|
+
internalType: "uint256",
|
|
527
|
+
name: "",
|
|
528
|
+
type: "uint256",
|
|
529
|
+
},
|
|
530
|
+
],
|
|
531
|
+
stateMutability: "view",
|
|
532
|
+
type: "function",
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
inputs: [],
|
|
536
|
+
name: "getRewardTokens",
|
|
537
|
+
outputs: [
|
|
538
|
+
{
|
|
539
|
+
internalType: "address[]",
|
|
540
|
+
name: "rewardTokens",
|
|
541
|
+
type: "address[]",
|
|
542
|
+
},
|
|
543
|
+
],
|
|
544
|
+
stateMutability: "view",
|
|
545
|
+
type: "function",
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
inputs: [],
|
|
549
|
+
name: "getTokensIn",
|
|
550
|
+
outputs: [
|
|
551
|
+
{
|
|
552
|
+
internalType: "address[]",
|
|
553
|
+
name: "res",
|
|
554
|
+
type: "address[]",
|
|
555
|
+
},
|
|
556
|
+
],
|
|
557
|
+
stateMutability: "view",
|
|
558
|
+
type: "function",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
inputs: [],
|
|
562
|
+
name: "getTokensOut",
|
|
563
|
+
outputs: [
|
|
564
|
+
{
|
|
565
|
+
internalType: "address[]",
|
|
566
|
+
name: "res",
|
|
567
|
+
type: "address[]",
|
|
568
|
+
},
|
|
569
|
+
],
|
|
570
|
+
stateMutability: "view",
|
|
571
|
+
type: "function",
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
inputs: [],
|
|
575
|
+
name: "glp",
|
|
576
|
+
outputs: [
|
|
577
|
+
{
|
|
578
|
+
internalType: "address",
|
|
579
|
+
name: "",
|
|
580
|
+
type: "address",
|
|
581
|
+
},
|
|
582
|
+
],
|
|
583
|
+
stateMutability: "view",
|
|
584
|
+
type: "function",
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
inputs: [],
|
|
588
|
+
name: "glpManager",
|
|
589
|
+
outputs: [
|
|
590
|
+
{
|
|
591
|
+
internalType: "address",
|
|
592
|
+
name: "",
|
|
593
|
+
type: "address",
|
|
594
|
+
},
|
|
595
|
+
],
|
|
596
|
+
stateMutability: "view",
|
|
597
|
+
type: "function",
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
inputs: [],
|
|
601
|
+
name: "glpRouter",
|
|
602
|
+
outputs: [
|
|
603
|
+
{
|
|
604
|
+
internalType: "address",
|
|
605
|
+
name: "",
|
|
606
|
+
type: "address",
|
|
607
|
+
},
|
|
608
|
+
],
|
|
609
|
+
stateMutability: "view",
|
|
610
|
+
type: "function",
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
inputs: [
|
|
614
|
+
{
|
|
615
|
+
internalType: "address",
|
|
616
|
+
name: "token",
|
|
617
|
+
type: "address",
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
name: "isValidTokenIn",
|
|
621
|
+
outputs: [
|
|
622
|
+
{
|
|
623
|
+
internalType: "bool",
|
|
624
|
+
name: "",
|
|
625
|
+
type: "bool",
|
|
626
|
+
},
|
|
627
|
+
],
|
|
628
|
+
stateMutability: "view",
|
|
629
|
+
type: "function",
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
inputs: [
|
|
633
|
+
{
|
|
634
|
+
internalType: "address",
|
|
635
|
+
name: "token",
|
|
636
|
+
type: "address",
|
|
637
|
+
},
|
|
638
|
+
],
|
|
639
|
+
name: "isValidTokenOut",
|
|
640
|
+
outputs: [
|
|
641
|
+
{
|
|
642
|
+
internalType: "bool",
|
|
643
|
+
name: "",
|
|
644
|
+
type: "bool",
|
|
645
|
+
},
|
|
646
|
+
],
|
|
647
|
+
stateMutability: "view",
|
|
648
|
+
type: "function",
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
inputs: [],
|
|
652
|
+
name: "lastRewardBlock",
|
|
653
|
+
outputs: [
|
|
654
|
+
{
|
|
655
|
+
internalType: "uint256",
|
|
656
|
+
name: "",
|
|
657
|
+
type: "uint256",
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
stateMutability: "view",
|
|
661
|
+
type: "function",
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
inputs: [],
|
|
665
|
+
name: "name",
|
|
666
|
+
outputs: [
|
|
667
|
+
{
|
|
668
|
+
internalType: "string",
|
|
669
|
+
name: "",
|
|
670
|
+
type: "string",
|
|
671
|
+
},
|
|
672
|
+
],
|
|
673
|
+
stateMutability: "view",
|
|
674
|
+
type: "function",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
inputs: [
|
|
678
|
+
{
|
|
679
|
+
internalType: "address",
|
|
680
|
+
name: "owner",
|
|
681
|
+
type: "address",
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
name: "nonces",
|
|
685
|
+
outputs: [
|
|
686
|
+
{
|
|
687
|
+
internalType: "uint256",
|
|
688
|
+
name: "",
|
|
689
|
+
type: "uint256",
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
stateMutability: "view",
|
|
693
|
+
type: "function",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
inputs: [],
|
|
697
|
+
name: "owner",
|
|
698
|
+
outputs: [
|
|
699
|
+
{
|
|
700
|
+
internalType: "address",
|
|
701
|
+
name: "",
|
|
702
|
+
type: "address",
|
|
703
|
+
},
|
|
704
|
+
],
|
|
705
|
+
stateMutability: "view",
|
|
706
|
+
type: "function",
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
inputs: [],
|
|
710
|
+
name: "pause",
|
|
711
|
+
outputs: [],
|
|
712
|
+
stateMutability: "nonpayable",
|
|
713
|
+
type: "function",
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
inputs: [],
|
|
717
|
+
name: "paused",
|
|
718
|
+
outputs: [
|
|
719
|
+
{
|
|
720
|
+
internalType: "bool",
|
|
721
|
+
name: "",
|
|
722
|
+
type: "bool",
|
|
723
|
+
},
|
|
724
|
+
],
|
|
725
|
+
stateMutability: "view",
|
|
726
|
+
type: "function",
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
inputs: [],
|
|
730
|
+
name: "pendingOwner",
|
|
731
|
+
outputs: [
|
|
732
|
+
{
|
|
733
|
+
internalType: "address",
|
|
734
|
+
name: "",
|
|
735
|
+
type: "address",
|
|
736
|
+
},
|
|
737
|
+
],
|
|
738
|
+
stateMutability: "view",
|
|
739
|
+
type: "function",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
inputs: [
|
|
743
|
+
{
|
|
744
|
+
internalType: "address",
|
|
745
|
+
name: "owner",
|
|
746
|
+
type: "address",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
internalType: "address",
|
|
750
|
+
name: "spender",
|
|
751
|
+
type: "address",
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
internalType: "uint256",
|
|
755
|
+
name: "value",
|
|
756
|
+
type: "uint256",
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
internalType: "uint256",
|
|
760
|
+
name: "deadline",
|
|
761
|
+
type: "uint256",
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
internalType: "uint8",
|
|
765
|
+
name: "v",
|
|
766
|
+
type: "uint8",
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
internalType: "bytes32",
|
|
770
|
+
name: "r",
|
|
771
|
+
type: "bytes32",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
internalType: "bytes32",
|
|
775
|
+
name: "s",
|
|
776
|
+
type: "bytes32",
|
|
777
|
+
},
|
|
778
|
+
],
|
|
779
|
+
name: "permit",
|
|
780
|
+
outputs: [],
|
|
781
|
+
stateMutability: "nonpayable",
|
|
782
|
+
type: "function",
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
inputs: [
|
|
786
|
+
{
|
|
787
|
+
internalType: "address",
|
|
788
|
+
name: "tokenIn",
|
|
789
|
+
type: "address",
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
internalType: "uint256",
|
|
793
|
+
name: "amountTokenToDeposit",
|
|
794
|
+
type: "uint256",
|
|
795
|
+
},
|
|
796
|
+
],
|
|
797
|
+
name: "previewDeposit",
|
|
798
|
+
outputs: [
|
|
799
|
+
{
|
|
800
|
+
internalType: "uint256",
|
|
801
|
+
name: "amountSharesOut",
|
|
802
|
+
type: "uint256",
|
|
803
|
+
},
|
|
804
|
+
],
|
|
805
|
+
stateMutability: "view",
|
|
806
|
+
type: "function",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
inputs: [
|
|
810
|
+
{
|
|
811
|
+
internalType: "address",
|
|
812
|
+
name: "tokenOut",
|
|
813
|
+
type: "address",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
internalType: "uint256",
|
|
817
|
+
name: "amountSharesToRedeem",
|
|
818
|
+
type: "uint256",
|
|
819
|
+
},
|
|
820
|
+
],
|
|
821
|
+
name: "previewRedeem",
|
|
822
|
+
outputs: [
|
|
823
|
+
{
|
|
824
|
+
internalType: "uint256",
|
|
825
|
+
name: "amountTokenOut",
|
|
826
|
+
type: "uint256",
|
|
827
|
+
},
|
|
828
|
+
],
|
|
829
|
+
stateMutability: "view",
|
|
830
|
+
type: "function",
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
inputs: [
|
|
834
|
+
{
|
|
835
|
+
internalType: "address",
|
|
836
|
+
name: "receiver",
|
|
837
|
+
type: "address",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
internalType: "uint256",
|
|
841
|
+
name: "amountSharesToRedeem",
|
|
842
|
+
type: "uint256",
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
internalType: "address",
|
|
846
|
+
name: "tokenOut",
|
|
847
|
+
type: "address",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
internalType: "uint256",
|
|
851
|
+
name: "minTokenOut",
|
|
852
|
+
type: "uint256",
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
internalType: "bool",
|
|
856
|
+
name: "burnFromInternalBalance",
|
|
857
|
+
type: "bool",
|
|
858
|
+
},
|
|
859
|
+
],
|
|
860
|
+
name: "redeem",
|
|
861
|
+
outputs: [
|
|
862
|
+
{
|
|
863
|
+
internalType: "uint256",
|
|
864
|
+
name: "amountTokenOut",
|
|
865
|
+
type: "uint256",
|
|
866
|
+
},
|
|
867
|
+
],
|
|
868
|
+
stateMutability: "nonpayable",
|
|
869
|
+
type: "function",
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
inputs: [],
|
|
873
|
+
name: "rewardIndexesCurrent",
|
|
874
|
+
outputs: [
|
|
875
|
+
{
|
|
876
|
+
internalType: "uint256[]",
|
|
877
|
+
name: "indexes",
|
|
878
|
+
type: "uint256[]",
|
|
879
|
+
},
|
|
880
|
+
],
|
|
881
|
+
stateMutability: "nonpayable",
|
|
882
|
+
type: "function",
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
inputs: [],
|
|
886
|
+
name: "rewardIndexesStored",
|
|
887
|
+
outputs: [
|
|
888
|
+
{
|
|
889
|
+
internalType: "uint256[]",
|
|
890
|
+
name: "indexes",
|
|
891
|
+
type: "uint256[]",
|
|
892
|
+
},
|
|
893
|
+
],
|
|
894
|
+
stateMutability: "view",
|
|
895
|
+
type: "function",
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
inputs: [],
|
|
899
|
+
name: "rewardRouter",
|
|
900
|
+
outputs: [
|
|
901
|
+
{
|
|
902
|
+
internalType: "address",
|
|
903
|
+
name: "",
|
|
904
|
+
type: "address",
|
|
905
|
+
},
|
|
906
|
+
],
|
|
907
|
+
stateMutability: "view",
|
|
908
|
+
type: "function",
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
inputs: [
|
|
912
|
+
{
|
|
913
|
+
internalType: "address",
|
|
914
|
+
name: "",
|
|
915
|
+
type: "address",
|
|
916
|
+
},
|
|
917
|
+
],
|
|
918
|
+
name: "rewardState",
|
|
919
|
+
outputs: [
|
|
920
|
+
{
|
|
921
|
+
internalType: "uint128",
|
|
922
|
+
name: "index",
|
|
923
|
+
type: "uint128",
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
internalType: "uint128",
|
|
927
|
+
name: "lastBalance",
|
|
928
|
+
type: "uint128",
|
|
929
|
+
},
|
|
930
|
+
],
|
|
931
|
+
stateMutability: "view",
|
|
932
|
+
type: "function",
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
inputs: [],
|
|
936
|
+
name: "stakedGlp",
|
|
937
|
+
outputs: [
|
|
938
|
+
{
|
|
939
|
+
internalType: "address",
|
|
940
|
+
name: "",
|
|
941
|
+
type: "address",
|
|
942
|
+
},
|
|
943
|
+
],
|
|
944
|
+
stateMutability: "view",
|
|
945
|
+
type: "function",
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
inputs: [],
|
|
949
|
+
name: "symbol",
|
|
950
|
+
outputs: [
|
|
951
|
+
{
|
|
952
|
+
internalType: "string",
|
|
953
|
+
name: "",
|
|
954
|
+
type: "string",
|
|
955
|
+
},
|
|
956
|
+
],
|
|
957
|
+
stateMutability: "view",
|
|
958
|
+
type: "function",
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
inputs: [],
|
|
962
|
+
name: "totalSupply",
|
|
963
|
+
outputs: [
|
|
964
|
+
{
|
|
965
|
+
internalType: "uint256",
|
|
966
|
+
name: "",
|
|
967
|
+
type: "uint256",
|
|
968
|
+
},
|
|
969
|
+
],
|
|
970
|
+
stateMutability: "view",
|
|
971
|
+
type: "function",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
inputs: [
|
|
975
|
+
{
|
|
976
|
+
internalType: "address",
|
|
977
|
+
name: "to",
|
|
978
|
+
type: "address",
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
internalType: "uint256",
|
|
982
|
+
name: "amount",
|
|
983
|
+
type: "uint256",
|
|
984
|
+
},
|
|
985
|
+
],
|
|
986
|
+
name: "transfer",
|
|
987
|
+
outputs: [
|
|
988
|
+
{
|
|
989
|
+
internalType: "bool",
|
|
990
|
+
name: "",
|
|
991
|
+
type: "bool",
|
|
992
|
+
},
|
|
993
|
+
],
|
|
994
|
+
stateMutability: "nonpayable",
|
|
995
|
+
type: "function",
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
inputs: [
|
|
999
|
+
{
|
|
1000
|
+
internalType: "address",
|
|
1001
|
+
name: "from",
|
|
1002
|
+
type: "address",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
internalType: "address",
|
|
1006
|
+
name: "to",
|
|
1007
|
+
type: "address",
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
internalType: "uint256",
|
|
1011
|
+
name: "amount",
|
|
1012
|
+
type: "uint256",
|
|
1013
|
+
},
|
|
1014
|
+
],
|
|
1015
|
+
name: "transferFrom",
|
|
1016
|
+
outputs: [
|
|
1017
|
+
{
|
|
1018
|
+
internalType: "bool",
|
|
1019
|
+
name: "",
|
|
1020
|
+
type: "bool",
|
|
1021
|
+
},
|
|
1022
|
+
],
|
|
1023
|
+
stateMutability: "nonpayable",
|
|
1024
|
+
type: "function",
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
inputs: [
|
|
1028
|
+
{
|
|
1029
|
+
internalType: "address",
|
|
1030
|
+
name: "newOwner",
|
|
1031
|
+
type: "address",
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
internalType: "bool",
|
|
1035
|
+
name: "direct",
|
|
1036
|
+
type: "bool",
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
internalType: "bool",
|
|
1040
|
+
name: "renounce",
|
|
1041
|
+
type: "bool",
|
|
1042
|
+
},
|
|
1043
|
+
],
|
|
1044
|
+
name: "transferOwnership",
|
|
1045
|
+
outputs: [],
|
|
1046
|
+
stateMutability: "nonpayable",
|
|
1047
|
+
type: "function",
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
inputs: [],
|
|
1051
|
+
name: "unpause",
|
|
1052
|
+
outputs: [],
|
|
1053
|
+
stateMutability: "nonpayable",
|
|
1054
|
+
type: "function",
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
inputs: [
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "address",
|
|
1060
|
+
name: "",
|
|
1061
|
+
type: "address",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "address",
|
|
1065
|
+
name: "",
|
|
1066
|
+
type: "address",
|
|
1067
|
+
},
|
|
1068
|
+
],
|
|
1069
|
+
name: "userReward",
|
|
1070
|
+
outputs: [
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "uint128",
|
|
1073
|
+
name: "index",
|
|
1074
|
+
type: "uint128",
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
internalType: "uint128",
|
|
1078
|
+
name: "accrued",
|
|
1079
|
+
type: "uint128",
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
stateMutability: "view",
|
|
1083
|
+
type: "function",
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
inputs: [],
|
|
1087
|
+
name: "vault",
|
|
1088
|
+
outputs: [
|
|
1089
|
+
{
|
|
1090
|
+
internalType: "contract IGMXVault",
|
|
1091
|
+
name: "",
|
|
1092
|
+
type: "address",
|
|
1093
|
+
},
|
|
1094
|
+
],
|
|
1095
|
+
stateMutability: "view",
|
|
1096
|
+
type: "function",
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
inputs: [],
|
|
1100
|
+
name: "weth",
|
|
1101
|
+
outputs: [
|
|
1102
|
+
{
|
|
1103
|
+
internalType: "address",
|
|
1104
|
+
name: "",
|
|
1105
|
+
type: "address",
|
|
1106
|
+
},
|
|
1107
|
+
],
|
|
1108
|
+
stateMutability: "view",
|
|
1109
|
+
type: "function",
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
inputs: [],
|
|
1113
|
+
name: "yieldToken",
|
|
1114
|
+
outputs: [
|
|
1115
|
+
{
|
|
1116
|
+
internalType: "address",
|
|
1117
|
+
name: "",
|
|
1118
|
+
type: "address",
|
|
1119
|
+
},
|
|
1120
|
+
],
|
|
1121
|
+
stateMutability: "view",
|
|
1122
|
+
type: "function",
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
stateMutability: "payable",
|
|
1126
|
+
type: "receive",
|
|
1127
|
+
},
|
|
1128
|
+
];
|
|
1129
|
+
|
|
1130
|
+
const _bytecode =
|
|
1131
|
+
"0x6102606040523480156200001257600080fd5b5060405162006284380380620062848339810160408190526200003591620008af565b808888878282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200007d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000a3919062000989565b6040805180820190915260018152603160f81b602082015283908184846003620000ce848262000a44565b506004620000dd838262000a44565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001908184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001d757506007546001600160a01b90910460ff16105b806200020e5750620001f4306200055060201b62001cd61760201c565b1580156200020e5750600754600160a01b900460ff166001145b620002775760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002a5576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002bd6200055f565b801562000306576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b0394851661018052505050508681166101a0528481166101c0528381166101e052821661020081905260408051633e9b6c6f60e21b8152905163fa6db1bc916004808201926020929091908290030181865afa15801562000375573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039b919062000b10565b6001600160a01b0316610220816001600160a01b031681525050610200516001600160a01b0316633fc8cef36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003f7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200041d919062000b10565b6001600160a01b0316610240816001600160a01b0316815250506000610180516001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200047b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004a1919062000b2e565b905060005b81811015620005405761018051604051630e468baf60e41b8152600481018390526200052d916001600160a01b03169063e468baf090602401602060405180830381865afa158015620004fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000523919062000b10565b61022051620005e2565b620005388162000b48565b9050620004a6565b5050505050505050505062000be7565b6001600160a01b03163b151590565b600754600160a81b900460ff16620005ce5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b60648201526084016200026e565b600680546001600160a01b03191633179055565b6001600160a01b038216620005f5575050565b6200060960026001600160601b0362000b70565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801562000663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000689919062000b2e565b1015620006ad576200069e82826000620006b1565b620006ad8282600019620006b1565b5050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291516000928392908716916200070f919062000ba5565b6000604051808303816000865af19150503d80600081146200074e576040519150601f19603f3d011682016040523d82523d6000602084013e62000753565b606091505b5091509150818015620007815750805115806200078157508080602001905181019062000781919062000bc3565b620007be5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016200026e565b5050505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620007f8578181015183820152602001620007de565b50506000910152565b600082601f8301126200081357600080fd5b81516001600160401b0380821115620008305762000830620007c5565b604051601f8301601f19908116603f011681019082821181831017156200085b576200085b620007c5565b816040528381528660208588010111156200087557600080fd5b62000888846020830160208901620007db565b9695505050505050565b80516001600160a01b0381168114620008aa57600080fd5b919050565b600080600080600080600080610100898b031215620008cd57600080fd5b88516001600160401b0380821115620008e557600080fd5b620008f38c838d0162000801565b995060208b01519150808211156200090a57600080fd5b50620009198b828c0162000801565b9750506200092a60408a0162000892565b95506200093a60608a0162000892565b94506200094a60808a0162000892565b93506200095a60a08a0162000892565b92506200096a60c08a0162000892565b91506200097a60e08a0162000892565b90509295985092959890939650565b6000602082840312156200099c57600080fd5b815160ff81168114620009ae57600080fd5b9392505050565b600181811c90821680620009ca57607f821691505b602082108103620009eb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a3f57600081815260208120601f850160051c8101602086101562000a1a5750805b601f850160051c820191505b8181101562000a3b5782815560010162000a26565b5050505b505050565b81516001600160401b0381111562000a605762000a60620007c5565b62000a788162000a718454620009b5565b84620009f1565b602080601f83116001811462000ab0576000841562000a975750858301515b600019600386901b1c1916600185901b17855562000a3b565b600085815260208120601f198616915b8281101562000ae15788860151825594840194600190910190840162000ac0565b508582101562000b005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000b2357600080fd5b620009ae8262000892565b60006020828403121562000b4157600080fd5b5051919050565b60006001820162000b6957634e487b7160e01b600052601160045260246000fd5b5060010190565b60006001600160601b038381168062000b9957634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000825162000bb9818460208701620007db565b9190910192915050565b60006020828403121562000bd657600080fd5b81518015158114620009ae57600080fd5b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161547e62000e066000396000818161042701528181611e2e015281816129490152612b0e015260008181610828015281816129840152612b4901526000818161075e01528181611f51015281816120090152818161279c015261284501526000818161047001526140320152600081816102c3015281816109e4015281816111100152818161167301528181611eee01528181612718015281816128fb0152612ac00152600081816105bc015281816117b3015281816117d4015281816129fd0152612bc201526000818161085c0152818161091401528181610a7501528181610b1b01528181610ba801528181611040015281816111a101528181611247015281816112d4015281816116d501528181613472015281816134ee01528181613586015281816135b7015281816137030152818161378501528181613821015281816138b9015281816138ea015281816139dc01528181613a8e01528181613b7901528181613bfb0152818161424e015281816142ef015281816143850152818161442a015281816145fd01528181614680015281816149b301528181614acc0152614b4601526000610568015260006124b201526000612501015260006124dc015260006124350152600061245f015260006124890152600061039c015261547e6000f3fe6080604052600436106102065760003560e01c806306fdde0314610212578063071bc3c91461023d578063078dfbe71461025f578063095ea7b3146102815780630ddc56d3146102b1578063128fced1146102f257806318160ddd1461031f57806320e8c56514610342578063213cae631461035557806323b872dd1461036a578063313ce5671461038a5780633644e515146103d05780633ba0b9a9146103e55780633f4ba83a146104005780633fc8cef3146104155780634e71e0c8146104495780635a3bb9891461045e5780635c975abb146104925780635cbadbe4146104aa57806370a0823114610516578063769f8e5d1461053657806376d5de8514610556578063784367d61461058a57806378a207ee146105aa5780637ecebe00146105de5780638456cb59146105fe5780638da5cb5b1461061357806395d89b4114610633578063a40bee5014610648578063a9059cbb1461066c578063a9f8d1811461068c578063b8f82b26146106a2578063c4f59f9b146106c2578063cbe52ae3146106d7578063d505accf146106f7578063da88ecb414610717578063dd62ed3e1461072c578063e016e44b1461074c578063e30c397814610780578063ea64a820146107a0578063ef5cfb8c146107e1578063f8b2f99114610801578063fa5a4f061461058a578063fa6db1bc14610816578063fbfa77cf1461084a57600080fd5b3661020d57005b600080fd5b34801561021e57600080fd5b5061022761087e565b6040516102349190614d75565b60405180910390f35b34801561024957600080fd5b50610252610910565b6040516102349190614dec565b34801561026b57600080fd5b5061027f61027a366004614e22565b610cc1565b005b34801561028d57600080fd5b506102a161029c366004614e6d565b610dbe565b6040519015158152602001610234565b3480156102bd57600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b6040516102349190614e99565b3480156102fe57600080fd5b5061031261030d366004614ead565b610dd8565b6040516102349190614efa565b34801561032b57600080fd5b50610334610ee4565b604051908152602001610234565b610334610350366004614f0d565b610ef3565b34801561036157600080fd5b5061025261103c565b34801561037657600080fd5b506102a1610385366004614f53565b611392565b34801561039657600080fd5b506103be7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610234565b3480156103dc57600080fd5b50610334611410565b3480156103f157600080fd5b50670de0b6b3a7640000610334565b34801561040c57600080fd5b5061027f61141f565b34801561042157600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561045557600080fd5b5061027f611453565b34801561046a57600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561049e57600080fd5b5060385460ff166102a1565b3480156104b657600080fd5b506104f66104c5366004614f94565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610234565b34801561052257600080fd5b50610334610531366004614ead565b6114ff565b34801561054257600080fd5b50610334610551366004614fcd565b61151a565b34801561056257600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561059657600080fd5b506102a16105a5366004614ead565b61166f565b3480156105b657600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b3480156105ea57600080fd5b506103346105f9366004614ead565b61174b565b34801561060a57600080fd5b5061027f611769565b34801561061f57600080fd5b506006546102e5906001600160a01b031681565b34801561063f57600080fd5b5061022761179b565b34801561065457600080fd5b5061065d6117aa565b60405161023493929190615042565b34801561067857600080fd5b506102a1610687366004614e6d565b61185f565b34801561069857600080fd5b50610334603a5481565b3480156106ae57600080fd5b506103346106bd366004614e6d565b6118d1565b3480156106ce57600080fd5b5061025261190c565b3480156106e357600080fd5b506103346106f2366004614e6d565b611916565b34801561070357600080fd5b5061027f610712366004615093565b61194a565b34801561072357600080fd5b50610312611aae565b34801561073857600080fd5b50610334610747366004614f94565b611b7a565b34801561075857600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561078c57600080fd5b506007546102e5906001600160a01b031681565b3480156107ac57600080fd5b506104f66107bb366004614ead565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b3480156107ed57600080fd5b506103126107fc366004614ead565b611ba5565b34801561080d57600080fd5b50610312611c64565b34801561082257600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b34801561085657600080fd5b506102e57f000000000000000000000000000000000000000000000000000000000000000081565b60606003805461088d90615104565b80601f01602080910402602001604051908101604052809291908181526020018280546108b990615104565b80156109065780601f106108db57610100808354040283529160200191610906565b820191906000526020600020905b8154815290600101906020018083116108e957829003601f168201915b5050505050905090565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166362287a326040518163ffffffff1660e01b8152600401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190615138565b61099f906002615167565b6001600160401b038111156109b6576109b661517a565b6040519080825280602002602001820160405280156109df578160200160208202803683370190505b5090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610a1657610a16615190565b60200260200101906001600160a01b031690816001600160a01b031681525050600081600181518110610a4b57610a4b615190565b60200260200101906001600160a01b031690816001600160a01b03168152505060006002905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af59190615138565b905060005b81811015610c6657604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa158015610b6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8e91906151a6565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c21090610bdd908490600401614e99565b602060405180830381865afa158015610bfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1e91906151c3565b15610c5d5780858581518110610c3657610c36615190565b60200260200101906001600160a01b031690816001600160a01b0316815250508360010193505b50600101610afa565b5082518214610cbc5760405162461bcd60e51b815260206004820152601e60248201527f57726f6e672077686974656c697374656420746f6b656e7320636f756e74000060448201526064015b60405180910390fd5b505090565b6006546001600160a01b03163314610ceb5760405162461bcd60e51b8152600401610cb3906151e0565b8115610d9d576001600160a01b038316151580610d055750805b610d495760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610cb3565b6006546040516001600160a01b0380861692169060008051602061540983398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610dcc818585611ce5565b60019150505b92915050565b60606000610de4611e0a565b905080516001600160401b03811115610dff57610dff61517a565b604051908082528060200260200182016040528015610e28578160200160208202803683370190505b50915060005b8151811015610edd5760396000838381518110610e4d57610e4d615190565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610eca57610eca615190565b6020908102919091010152600101610e2e565b5050919050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff1601610f245760405162461bcd60e51b8152600401610cb390615215565b600280546001600160f81b0316600160f91b179055610f428461166f565b610f6157836040516315d57ce360e31b8152600401610cb39190614e99565b82600003610f8257604051630a907f2f60e41b815260040160405180910390fd5b610f8d843385611e83565b610f978484611eea565b905081811015610fbe578082604051635e38f95d60e11b8152600401610cb392919061524c565b610fc88582612076565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d59868560405161101792919061524c565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b60607f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166362287a326040518163ffffffff1660e01b8152600401602060405180830381865afa15801561109c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c09190615138565b6110cb906002615167565b6001600160401b038111156110e2576110e261517a565b60405190808252806020026020018201604052801561110b578160200160208202803683370190505b5090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061114257611142615190565b60200260200101906001600160a01b031690816001600160a01b03168152505060008160018151811061117757611177615190565b60200260200101906001600160a01b031690816001600160a01b03168152505060006002905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630842b0766040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112219190615138565b905060005b81811015610c6657604051630e468baf60e41b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e468baf090602401602060405180830381865afa158015611296573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ba91906151a6565b604051630daf9c2160e41b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c21090611309908490600401614e99565b602060405180830381865afa158015611326573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134a91906151c3565b15611389578085858151811061136257611362615190565b60200260200101906001600160a01b031690816001600160a01b0316815250508360010193505b50600101611226565b600254600090600119600160f81b90910460ff16016113c35760405162461bcd60e51b8152600401610cb390615215565b600280546001600160f81b0316600160f91b179055336113e485828561218c565b6113ef858585612206565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b600061141a612428565b905090565b6006546001600160a01b031633146114495760405162461bcd60e51b8152600401610cb3906151e0565b61145161254f565b565b6007546001600160a01b03163381146114ae5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610cb3565b6006546040516001600160a01b0380841692169060008051602061540983398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff160161154b5760405162461bcd60e51b8152600401610cb390615215565b600280546001600160f81b0316600160f91b1790556115698461166f565b61158857836040516388a5056160e01b8152600401610cb39190614e99565b846000036115a95760405163c3d83b0760e01b815260040160405180910390fd5b81156115be576115b9308661259b565b6115c8565b6115c8338661259b565b6115d3868587612714565b9050828110156115fa5780836040516305ff726560e51b8152600401610cb392919061524c565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c888560405161164992919061524c565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806116b857506001600160a01b038216155b80610dd25750604051630daf9c2160e41b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063daf9c2109061170a908590600401614e99565b602060405180830381865afa158015611727573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd291906151c3565b6001600160a01b038116600090815260056020526040812054610dd2565b6006546001600160a01b031633146117935760405162461bcd60e51b8152600401610cb3906151e0565b6114516128ba565b60606004805461088d90615104565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611830573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611854919061525a565b925092509250909192565b600254600090600119600160f81b90910460ff16016118905760405162461bcd60e51b8152600401610cb390615215565b600280546001600160f81b0316600160f91b179055336118b1818585612206565b6001915050600280546001600160f81b0316600160f81b17905592915050565b60006118dc8361166f565b6118fb57826040516315d57ce360e31b8152600401610cb39190614e99565b61190583836128f7565b9392505050565b606061141a611e0a565b60006119218361166f565b61194057826040516388a5056160e01b8152600401610cb39190614e99565b6119058383612abc565b8342111561199a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610cb3565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886119c98c612c69565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611a2482612c91565b90506000611a3482878787612cdf565b9050896001600160a01b0316816001600160a01b031614611a975760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610cb3565b611aa28a8a8a611ce5565b50505050505050505050565b60606000611aba611e0a565b905080516001600160401b03811115611ad557611ad561517a565b604051908082528060200260200182016040528015611afe578160200160208202803683370190505b50915060005b8151811015610cbc57603b6000838381518110611b2357611b23615190565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110611b6757611b67615190565b6020908102919091010152600101611b04565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600254606090600119600160f81b90910460ff1601611bd65760405162461bcd60e51b8152600401610cb390615215565b600280546001600160f81b0316600160f91b179055611bf482612d07565b611bfe8283612d15565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611c33611e0a565b83604051611c42929190615277565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff1601611c955760405162461bcd60e51b8152600401610cb390615215565b600280546001600160f81b0316600160f91b179055611cb2612fbd565b5050611cbc611aae565b9050600280546001600160f81b0316600160f81b17905590565b6001600160a01b03163b151590565b6001600160a01b038316611d475760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cb3565b6001600160a01b038216611da85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cb3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b604080516001808252818301909252606091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611e6057611e60615190565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6001600160a01b038316611ecf57803414610db95760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610cb3565b8015610db957610db96001600160a01b038416833084613258565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611f2c575080610dd2565b6001600160a01b038316611fd5576040516353a8aa0360e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906353a8aa03903490611f8b90600090819060040161524c565b60206040518083038185885af1158015611fa9573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611fce9190615138565b9050610dd2565b60405163364e231160e01b81526001600160a01b0384811660048301526024820184905260006044830181905260648301527f0000000000000000000000000000000000000000000000000000000000000000169063364e2311906084016020604051808303816000875af1158015612052573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119059190615138565b6001600160a01b0382166120cc5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610cb3565b6120d8600083836132c3565b6120e1816132cd565b600280546000906120fc9084906001600160f81b031661529c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546121549190615167565b90915550506040518181526001600160a01b038316906000906000805160206154298339815191529060200160405180910390a35050565b60006121988484611b7a565b9050600019811461220057818110156121f35760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cb3565b6122008484848403611ce5565b50505050565b6001600160a01b03831661226a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610cb3565b6001600160a01b0382166122cc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610cb3565b816001600160a01b0316836001600160a01b0316036123275760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610cb3565b6123328383836132c3565b6001600160a01b038316600090815260208190526040902054818110156123aa5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cb3565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906123e1908490615167565b92505081905550826001600160a01b0316846001600160a01b03166000805160206154298339815191528460405161241b91815260200190565b60405180910390a3612200565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561248157507f000000000000000000000000000000000000000000000000000000000000000046145b156124ab57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6125576132e7565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516125919190614e99565b60405180910390a1565b6001600160a01b0382166125fb5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610cb3565b612607826000836132c3565b6001600160a01b0382166000908152602081905260409020548181101561267b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610cb3565b6001600160a01b038316600090815260208190526040902082820390556126a1826132cd565b600280546000906126bc9084906001600160f81b03166152c3565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b031660008051602061542983398151915284604051611dfd91815260200190565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03160361276157508061275c838583613330565b611905565b6001600160a01b038316612810576040516355daf2f160e11b815260048101839052600060248201526001600160a01b0385811660448301527f0000000000000000000000000000000000000000000000000000000000000000169063abb5e5e2906064016020604051808303816000875af11580156127e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128099190615138565b9050611905565b6040516303cea95560e21b81526001600160a01b038481166004830152602482018490526000604483015285811660648301527f00000000000000000000000000000000000000000000000000000000000000001690630f3aa554906084016020604051808303816000875af115801561288e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b29190615138565b949350505050565b6128c26133f4565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125843390565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612939575080610dd2565b6001600160a01b03831661296b577f000000000000000000000000000000000000000000000000000000000000000092505b604051630345051f60e51b8152600160048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906368a0a3e090602401602060405180830381865afa1580156129d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129f79190615138565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7d9190615138565b90506000612a8b868661343a565b905060008315612aaf5783612aa084846152e3565b612aaa9190615310565b612ab1565b815b979650505050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612afe575080610dd2565b6001600160a01b038316612b30577f000000000000000000000000000000000000000000000000000000000000000092505b604051630345051f60e51b8152600060048201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906368a0a3e090602401602060405180830381865afa158015612b98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bbc9190615138565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c429190615138565b9050600081612c5184876152e3565b612c5b9190615310565b90506000612ab187836139d5565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6000610dd2612c9e612428565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612cf087878787613cfc565b91509150612cfd81613ddf565b5095945050505050565b612d12816000613f90565b50565b60606000612d21611e0a565b905080516001600160401b03811115612d3c57612d3c61517a565b604051908082528060200260200182016040528015612d65578160200160208202803683370190505b50915060005b8151811015612fb55760396000838381518110612d8a57612d8a615190565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110612e0757612e07615190565b602002602001018181525050828181518110612e2557612e25615190565b6020026020010151600014612fa357600060396000848481518110612e4c57612e4c615190565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b03160217905550612ee0838281518110612ed357612ed3615190565b6020026020010151614010565b603b6000848481518110612ef657612ef6615190565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b0316612f429190615332565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550612fa3828281518110612f7b57612f7b615190565b602002602001015185858481518110612f9657612f96615190565b6020026020010151613330565b80612fad81615352565b915050612d6b565b505092915050565b606080612fc8611e0a565b915081516001600160401b03811115612fe357612fe361517a565b60405190808252806020026020018201604052801561300c578160200160208202803683370190505b509050815160000361301c579091565b43603a54146131d05743603a556000613033614026565b905061303d614030565b60005b83518110156131cd57600084828151811061305d5761305d615190565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b0316906130bb908890869081106130ae576130ae615190565b602002602001015161409f565b6130c5919061536b565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b03909116908190036130f8575060015b8415613115576131088286614129565b6131129082615167565b90505b61311e81614010565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b039290921691909117905561315d82614010565b6001600160a01b0384166000908152603b602052604090208054601090613195908490600160801b90046001600160801b031661537e565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550505050806131c690615352565b9050613040565b50505b60005b825181101561325357603b60008483815181106131f2576131f2615190565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061323657613236615190565b60209081029190910101528061324b81615352565b9150506131d3565b509091565b6040516001600160a01b03808516602483015283166044820152606481018290526122009085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614158565b610db98383613f90565b60006001600160f81b038211156132e357600080fd5b5090565b60385460ff166114515760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610cb3565b8060000361333d57505050565b6001600160a01b0383166133e0576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613398576040519150601f19603f3d011682016040523d82523d6000602084013e61339d565b606091505b50509050806122005760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610cb3565b610db96001600160a01b038416838361422a565b60385460ff16156114515760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610cb3565b60006134468383614249565b9150600082116134585761345861539e565b6040516340d3096b60e11b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906381a612d6906134a7908790600401614e99565b602060405180830381865afa1580156134c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134e89190615138565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395082d256040518163ffffffff1660e01b8152600401602060405180830381865afa15801561354a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356e9190615138565b61357883866152e3565b6135829190615310565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634215287382877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f5b91b7b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613613573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363791906151a6565b6040518463ffffffff1660e01b8152600401613655939291906153b4565b602060405180830381865afa158015613672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136969190615138565b9050600081116136f85760405162461bcd60e51b815260206004820152602760248201527f7072657669657720627579555344473a2075736467416d6f756e74206d7573746044820152660206265203e20360cc1b6064820152608401610cb3565b600061380c868360007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634d47b3046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561375f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137839190615138565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a210a2b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138059190615138565b6001614381565b9050600061381b8787846145f8565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395082d256040518163ffffffff1660e01b8152600401602060405180830381865afa15801561387d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138a19190615138565b6138ab86846152e3565b6138b59190615310565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166342152873828a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f5b91b7b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613946573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396a91906151a6565b6040518463ffffffff1660e01b8152600401613988939291906153b4565b602060405180830381865afa1580156139a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c99190615138565b98975050505050505050565b6000613a627f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f5b91b7b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5c91906151a6565b83614249565b915060008211613a7457613a7461539e565b604051632c668ec160e01b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690632c668ec190613ac590879087906004016153d3565b602060405180830381865afa158015613ae2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b069190615138565b905060008111613b6f5760405162461bcd60e51b815260206004820152602e60248201527f707265766965772073656c6c555344473a20726564656d7074696f6e416d6f7560448201526d06e74206d757374206265203e20360941b6064820152608401610cb3565b6000613c828585867f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634d47b3046040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bf99190615138565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637a210a2b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613c57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c7b9190615138565b6000614381565b90506000613c918684846145f8565b905060008111613cf35760405162461bcd60e51b815260206004820152602760248201527f707265766965772073656c6c555344473a20616d6f756e744f7574206d7573746044820152660206265203e20360cc1b6064820152608401610cb3565b95945050505050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115613d295750600090506003613dd6565b8460ff16601b14158015613d4157508460ff16601c14155b15613d525750600090506004613dd6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613da6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613dcf57600060019250925050613dd6565b9150600090505b94509492505050565b6000816004811115613df357613df361502c565b03613dfb5750565b6001816004811115613e0f57613e0f61502c565b03613e575760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610cb3565b6002816004811115613e6b57613e6b61502c565b03613eb85760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610cb3565b6003816004811115613ecc57613ecc61502c565b03613f245760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610cb3565b6004816004811115613f3857613f3861502c565b03612d125760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610cb3565b600080613f9b612fbd565b915091508151600003613fae5750505050565b6001600160a01b03841615801590613fcf57506001600160a01b0384163014155b15613fdf57613fdf84838361471e565b6001600160a01b0383161580159061400057506001600160a01b0383163014155b156122005761220083838361471e565b60006001600160801b038211156132e357600080fd5b600061141a610ee4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634e71d92d6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561408b57600080fd5b505af1158015612200573d6000803e3d6000fd5b60006001600160a01b03821615614122576040516370a0823160e01b81526001600160a01b038316906370a08231906140dc903090600401614e99565b602060405180830381865afa1580156140f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061411d9190615138565b610dd2565b4792915050565b60008061413e670de0b6b3a7640000856152e3565b905082818161414f5761414f6152fa565b04949350505050565b60006141ad826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661499e9092919063ffffffff16565b805190915015610db957808060200190518101906141cb91906151c3565b610db95760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610cb3565b610db98363a9059cbb60e01b848460405160240161328c9291906153d3565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663523fba7f856040518263ffffffff1660e01b81526004016142989190614e99565b602060405180830381865afa1580156142b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142d99190615138565b9050600083856001600160a01b03166370a082317f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161432a9190614e99565b602060405180830381865afa158015614347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061436b9190615138565b6143759190615167565b9050613cf3828261536b565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639f392eb36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156143e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061440591906151c3565b6144105750826145ee565b604051631aa4ace560e01b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631aa4ace59061445f908b90600401614e99565b602060405180830381865afa15801561447c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144a09190615138565b9050858110156144b15760006144bb565b6144bb868261536b565b905060006144c98883615167565b9050836144ec578188116144e6576144e1888361536b565b6144e9565b60005b90505b60006144f88a896149ad565b90508060000361450d578693505050506145ee565b600081841161452557614520848361536b565b61452f565b61452f828561536b565b9050600082841161454957614544848461536b565b614553565b614553838561536b565b90508181101561459c5760008361456a848b6152e3565b6145749190615310565b905089811161458c57614587818b61536b565b61458f565b60005b96505050505050506145ee565b600060026145aa8385615167565b6145b49190615310565b9050838111156145c15750825b6000846145ce838c6152e3565b6145d89190615310565b90506145e4818c615167565b9750505050505050505b9695505050505050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663126082cf6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614659573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061467d9190615138565b837f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663126082cf6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156146dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147009190615138565b61470a919061536b565b61471490866152e3565b613cf39190615310565b6001600160a01b0383161580159061473f57506001600160a01b0383163014155b61474b5761474b61539e565b600061475684614bd0565b905060005b835181101561499757600084828151811061477857614778615190565b60200260200101519050600084838151811061479657614796615190565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b031690819003614832576147e482614010565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506149879050565b81810361484157505050614987565b600061484d828461536b565b9050600061485b8783614bdb565b6001600160a01b038681166000908152603960209081526040808320938f16835292905290812054919250906148a2908390600160801b90046001600160801b0316615167565b905060405180604001604052806148b887614010565b6001600160801b031681526020016148cf83614010565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61499081615352565b905061475b565b5050505050565b60606128b28484600085614bf9565b600080827f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f5b91b7b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a3391906151a6565b6001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614a70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a949190615138565b614a9e919061536b565b905080600003614ab2576000915050610dd2565b604051632acbceb560e21b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063ab2f3ad490614b01908890600401614e99565b602060405180830381865afa158015614b1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b429190615138565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663dc8f5fac6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bc69190615138565b61471483836152e3565b6000610dd2826114ff565b600080614be883856152e3565b9050670de0b6b3a76400008161414f565b606082471015614c5a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610cb3565b614c6385611cd6565b614caf5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610cb3565b600080866001600160a01b03168587604051614ccb91906153ec565b60006040518083038185875af1925050503d8060008114614d08576040519150601f19603f3d011682016040523d82523d6000602084013e614d0d565b606091505b5091509150612ab182828660608315614d27575081611905565b825115614d375782518084602001fd5b8160405162461bcd60e51b8152600401610cb39190614d75565b60005b83811015614d6c578181015183820152602001614d54565b50506000910152565b6020815260008251806020840152614d94816040850160208701614d51565b601f01601f19169190910160400192915050565b600081518084526020808501945080840160005b83811015614de15781516001600160a01b031687529582019590820190600101614dbc565b509495945050505050565b6020815260006119056020830184614da8565b6001600160a01b0381168114612d1257600080fd5b8015158114612d1257600080fd5b600080600060608486031215614e3757600080fd5b8335614e4281614dff565b92506020840135614e5281614e14565b91506040840135614e6281614e14565b809150509250925092565b60008060408385031215614e8057600080fd5b8235614e8b81614dff565b946020939093013593505050565b6001600160a01b0391909116815260200190565b600060208284031215614ebf57600080fd5b813561190581614dff565b600081518084526020808501945080840160005b83811015614de157815187529582019590820190600101614ede565b6020815260006119056020830184614eca565b60008060008060808587031215614f2357600080fd5b8435614f2e81614dff565b93506020850135614f3e81614dff565b93969395505050506040820135916060013590565b600080600060608486031215614f6857600080fd5b8335614f7381614dff565b92506020840135614f8381614dff565b929592945050506040919091013590565b60008060408385031215614fa757600080fd5b8235614fb281614dff565b91506020830135614fc281614dff565b809150509250929050565b600080600080600060a08688031215614fe557600080fd5b8535614ff081614dff565b945060208601359350604086013561500781614dff565b925060608601359150608086013561501e81614e14565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b606081016002851061506457634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff81168114612d1257600080fd5b600080600080600080600060e0888a0312156150ae57600080fd5b87356150b981614dff565b965060208801356150c981614dff565b9550604088013594506060880135935060808801356150e781615084565b9699959850939692959460a0840135945060c09093013592915050565b600181811c9082168061511857607f821691505b602082108103612c8b57634e487b7160e01b600052602260045260246000fd5b60006020828403121561514a57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610dd257610dd2615151565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156151b857600080fd5b815161190581614dff565b6000602082840312156151d557600080fd5b815161190581614e14565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b60006020828403121561526c57600080fd5b815161190581615084565b60408152600061528a6040830185614da8565b8281036020840152613cf38185614eca565b6001600160f81b038181168382160190808211156152bc576152bc615151565b5092915050565b6001600160f81b038281168282160390808211156152bc576152bc615151565b8082028115828204841417610dd257610dd2615151565b634e487b7160e01b600052601260045260246000fd5b60008261532d57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160801b038281168282160390808211156152bc576152bc615151565b60006001820161536457615364615151565b5060010190565b81810381811115610dd257610dd2615151565b6001600160801b038181168382160190808211156152bc576152bc615151565b634e487b7160e01b600052600160045260246000fd5b9283526001600160a01b03918216602084015216604082015260600190565b6001600160a01b03929092168252602082015260400190565b600082516153fe818460208701614d51565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207d4d7fa3313d25bc6d2a4ca1bfdbd419d58fa3e5fcf6b0c3b2fb2d4e35bf8bf764736f6c63430008110033";
|
|
1132
|
+
|
|
1133
|
+
type PendleGlpSYConstructorParams =
|
|
1134
|
+
| [signer?: Signer]
|
|
1135
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1136
|
+
|
|
1137
|
+
const isSuperArgs = (
|
|
1138
|
+
xs: PendleGlpSYConstructorParams
|
|
1139
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1140
|
+
|
|
1141
|
+
export class PendleGlpSY__factory extends ContractFactory {
|
|
1142
|
+
constructor(...args: PendleGlpSYConstructorParams) {
|
|
1143
|
+
if (isSuperArgs(args)) {
|
|
1144
|
+
super(...args);
|
|
1145
|
+
} else {
|
|
1146
|
+
super(_abi, _bytecode, args[0]);
|
|
1147
|
+
}
|
|
1148
|
+
this.contractName = "PendleGlpSY";
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
deploy(
|
|
1152
|
+
_name: string,
|
|
1153
|
+
_symbol: string,
|
|
1154
|
+
_glp: string,
|
|
1155
|
+
_fsGlp: string,
|
|
1156
|
+
_stakedGlp: string,
|
|
1157
|
+
_rewardRouter: string,
|
|
1158
|
+
_glpRouter: string,
|
|
1159
|
+
_vault: string,
|
|
1160
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1161
|
+
): Promise<PendleGlpSY> {
|
|
1162
|
+
return super.deploy(
|
|
1163
|
+
_name,
|
|
1164
|
+
_symbol,
|
|
1165
|
+
_glp,
|
|
1166
|
+
_fsGlp,
|
|
1167
|
+
_stakedGlp,
|
|
1168
|
+
_rewardRouter,
|
|
1169
|
+
_glpRouter,
|
|
1170
|
+
_vault,
|
|
1171
|
+
overrides || {}
|
|
1172
|
+
) as Promise<PendleGlpSY>;
|
|
1173
|
+
}
|
|
1174
|
+
getDeployTransaction(
|
|
1175
|
+
_name: string,
|
|
1176
|
+
_symbol: string,
|
|
1177
|
+
_glp: string,
|
|
1178
|
+
_fsGlp: string,
|
|
1179
|
+
_stakedGlp: string,
|
|
1180
|
+
_rewardRouter: string,
|
|
1181
|
+
_glpRouter: string,
|
|
1182
|
+
_vault: string,
|
|
1183
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1184
|
+
): TransactionRequest {
|
|
1185
|
+
return super.getDeployTransaction(
|
|
1186
|
+
_name,
|
|
1187
|
+
_symbol,
|
|
1188
|
+
_glp,
|
|
1189
|
+
_fsGlp,
|
|
1190
|
+
_stakedGlp,
|
|
1191
|
+
_rewardRouter,
|
|
1192
|
+
_glpRouter,
|
|
1193
|
+
_vault,
|
|
1194
|
+
overrides || {}
|
|
1195
|
+
);
|
|
1196
|
+
}
|
|
1197
|
+
attach(address: string): PendleGlpSY {
|
|
1198
|
+
return super.attach(address) as PendleGlpSY;
|
|
1199
|
+
}
|
|
1200
|
+
connect(signer: Signer): PendleGlpSY__factory {
|
|
1201
|
+
return super.connect(signer) as PendleGlpSY__factory;
|
|
1202
|
+
}
|
|
1203
|
+
static readonly contractName: "PendleGlpSY";
|
|
1204
|
+
public readonly contractName: "PendleGlpSY";
|
|
1205
|
+
static readonly bytecode = _bytecode;
|
|
1206
|
+
static readonly abi = _abi;
|
|
1207
|
+
static createInterface(): PendleGlpSYInterface {
|
|
1208
|
+
return new utils.Interface(_abi) as PendleGlpSYInterface;
|
|
1209
|
+
}
|
|
1210
|
+
static connect(
|
|
1211
|
+
address: string,
|
|
1212
|
+
signerOrProvider: Signer | Provider
|
|
1213
|
+
): PendleGlpSY {
|
|
1214
|
+
return new Contract(address, _abi, signerOrProvider) as PendleGlpSY;
|
|
1215
|
+
}
|
|
1216
|
+
}
|